You are not logged in.
I'm using Snap to get the most up to date versions of a few of the programs I'm using.
Acknowledging the debate of Snap in general...
How can I get the terminal to automatically include Snap programs when it's looking for commands?
I know I can do:
snap run [program]
And I can use this as a way to get the snap commands available in the terminal:
export PATH=$PATH:/snap/bin
But those commands still aren't showing up when I try to tab-autocomplete in the terminal. They're also not showing up with alt-F2 or in the programs that autocomplete from the Super-Main Menu functionality.
I'd love to not have to take this extra step running programs via Snap!
Fortune favours the bold.
ThinkPad T15 Gen 2i
Offline
As of tab autocomplete, the only thing I can think of right now is to check if /snap/bin/someapps are marked as executable.
file /snap/bin/something
should tell you something.
Offline
In my boxes, directory /snap/bin/ contains symlinks to /usr/bin/snap.
Usually I start snaps from terminal. In terminal autocompletion works for snaps, but not in gmrun.
Creating a symlink for cherrytree in ~/bin, makes auto-completion work in gmrun.
Command "which cherrytree", now points to $HOME/bin/cherrytree, instead of /snap/bin/cherrytree.
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline