0

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

Zanna
  • 70,465
guettli
  • 1,777
  • 1
    The applications you see when you press the windows key are defined in .desktop files stored in either /usr/share/applications or ~/.local/share/applications. This answer may help. – danzel Dec 19 '18 at 09:26
  • @danzel creating a .desktop file is a work-around. This is more complicated than it needs to be. – guettli Dec 19 '18 at 09:31
  • 1
    You can use alacarte to create menu entries (a.k.a desktop files) via GUI. – pLumo Dec 19 '18 at 09:49

0 Answers0