Hi. Is Plasma5 different for this? Nothing i tried worked, despite lots of [old, not Plasma5] supposed methods i followed. My bash scripts run just fine when i run them manually directly in Konsole, but the comparative elegance of simply double-clicking a desktop icon [which would launch Konsole itself, then run my script in it automagically, pausing only for me to input my password] appeals to me. Thanks.
[Solved] - How to create a desktop shortcut or launcher for sudo bash scripts?
|
19th December 2016, 15:17
Right Click -> New -> Link to application. Fill in a name. On the third tab enter the url to the script and a name. Under advanced options tick the run in terminal. If you like to also keep terminal open after command run.
If your script now uses sudo it should work just fine open up the terminal and ask for your password.
20th December 2016, 3:17
Excellent, thank you! I had already tried to do this, but clearly i made some error earlier, as now it does work for me. Much appreciation.
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
launcher | zhaba | 4 | 15,042 |
16th March 2018, 14:23 Last Post: MoonRise |
|
Keyboard shortcut for activities not working | germaineman | 2 | 10,971 |
11th December 2016, 12:01 Last Post: germaineman |
|
Chromium Launcher in Desktop Panel Disappears | dbyentzen | 6 | 23,848 |
9th September 2016, 23:03 Last Post: dbyentzen |