I have some scripts in /home/thierry/bin/ that I want to be able to find and run through the search bar.
I have tried to create a .desktop file: I can find it in the search, but when I try to start it, it just opens it in a text editor. The file is executable. When I double-click it, it executes the script correctly.
Content of the .desktop file:
[Desktop Entry]
Version=1.0
Exec=/home/thierry/bin/tunnel_db
Name=Tunnel DB
GenericName=Tunnel DB
Comment=Start SSH tunnel to DB
Encoding=UTF-8
Terminal=true
Type=Application
Categories=Application;Network;
I would prefer another method though, so I don't have to do it for every script I have in my bin folder.
How can I simply execute a script from the search bar?
It's ok if I have to move my scripts in a different folder
{}
tool of the editor field.