You are on page 1of 1

3/12/2016

launcher - How to execute a script just by double clicking like .EXE les in Windows? - Ask Ubuntu

I tested this and it worked ne. Ensure your script begins with the correct hash-bang, e.g. #!/bin/bash
Then follow these steps:
Hit

Alt

F2

, type dconfeditorand hit

Enter

In dconfg-editor goto: orggnomenautiluspreferences


Click on executabletextactivationand from drop down menu select:
launch: to launch scripts as programs.
OR
ask: to ask what to do via a dialog.
Close dconf-editor. Thats it!
Source:How do I run executable scripts in Nautilus?Answer courtesy of Basharat Sial.

http://askubuntu.com/questions/138908/how-to-execute-a-script-just-by-double-clicking-like-exe-les-in-windows

1/1

You might also like