I have some scripts and some starters for programs I didn't install via the Software Center in my ~/bin folder. It is in my $PATH variable and I can use my scripts by pressing Alt+F2 and also directly in a terminal. How can I achieve that I can call them also with unity (pressing Super)?
Thanks
*.desktop
file say asmyscript.desktop
, add command parameters as you want. In this case your script commands. See the below for more details on parameters of .desktop file.myscript.desktop
) by double clicking, if working fine just dragmyscript.desktop
file to launcher bar.Example : a .desktop file containing following code will launch gedit in name of "My Editor"
Note: you can also modify some properties of .desktop file (like command to execute) by right clicking the .desktop file and then go to properties
For a detailed guide, see here
You will need to create .desktop files for all of them, according to the XDG Desktop File Specification, and place the .desktop files in the
$HOME/.local/share/applications/
directory.