You are not logged in.
Pages: 1
I am having a problem trying to get a script to run from an icon on my second desktop panel, the script runs perfectly from the command line.
I run three PC's through one monitor via a KVM, I recently changed my mouse and when I come back onto my linux PC (SolydX64 bit) (say from my windows PC) the mouse scroll speed is way to fast, so I have a little bash script that I run manually, now I would like to run the script from an icon on my 2nd desktop panel which would be a lot quicker than opening a terminal and running the script manually.
I have made a .desktop file and added it to .local/share/application/ folder but I guess I have something wrong as when I click on the icon, something does happen but the mouse scroll speed is unchanged. Can somebody tell me the correct procedure for getting a bash script to run from a panel icon please.
Offline
In the launcher properties, try setting the command to:
bash -c "your/script/here"
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks Toz, that worked perfectly.
Offline
Pages: 1
[ Generated in 0.006 seconds, 7 queries executed - Memory usage: 522.63 KiB (Peak: 529.34 KiB) ]