Every time I want to run a .sh file, Ubuntu asks whether I want to Run in Terminal/Display/Run it. Is there a way to set default action for some sh files?
-- I am using Ubuntu 12.04 without any special changes.
Execute authority is given to each .desktop files.
Filename : sample-term.desktop
Click this file, it will be able to run sample1.sh in terminal.
Filename : sample-edit.desktop
Click this file, it will be able to edit sample2.sh by
Filename : sample-run.desktop
Click this file, it will be able to run sample3.sh.
Open Nautilus, then go to Edit -> Preferences. Open