If I press the windows key I am able to type in the command which I want to execute. I like this autocomplete feature.
I have directory ~/scripts
which is in my PATH.
There is a script called ~/scripts/win.sh
which starts rdesktop
to a remote terminal server with my preferred resolution.
I can call this script via the terminal.
But the autocomplete input which I see after pressing the windows key does not know this command.
I would like to avoid opening a terminal to call win.sh
.
How can I start my script via the windows key?
I use default Ubuntu 18.04
.desktop
files stored in either/usr/share/applications
or~/.local/share/applications
. This answer may help. – danzel Dec 19 '18 at 09:26alacarte
to create menu entries (a.k.a desktop files) via GUI. – pLumo Dec 19 '18 at 09:49