Is it possible to create desktop shortcut, that would do as follows:
- open Terminal
- change directory
- make a command inside that directory
- type password (sudo)
I tried with Terminal profiles, but I didn't find option for 2. and 4.
command lineshortcuts
Is it possible to create desktop shortcut, that would do as follows:
I tried with Terminal profiles, but I didn't find option for 2. and 4.
Best Answer
First you need a script like one from the following example:
Don't forget to make the script executable!
Then, if you are not familiar about how to execute a script using a desktop shortcut, see Execute sh script from *.desktop file?.