I would like to create a file, which could be saved in the Desktop or in another folder, which upon a user double click on it executes some commands, one of which should be as super user (sudo) and which executes another file.
An example of the commands I would like to execute could be this one:
cd Desktop/TargetFolder
sudo ./FileToExecute
Thank you very much!
gksu /home/user/Desktop/TargetFolder/FileToExecute
– John Orion May 18 '16 at 17:12