1 頁 (共 1 頁)

在X window 無法執行shell script

發表於 : 2014-04-22 09:31:51
yehlu
http://androiddevelopernextstep.blogspo ... ytime.html

ubuntu run .sh in terminal everytime
The problem i have found on a few distributions is they have hidden the preferences option in nautilus... but to fix it in both ubuntu and other distributions using gnome3 is the same (literally just done the fedora version of this and posting the actual fix to remind me how in the future)
1) install dconf-editor
sudo apt-get install dconf-editor
2) run dconf-editor using the user account you want this on.. i.e NOT root
dconf-editor
3) navigate to the following location
org > gnome > nautilus > preferences
4) change the default option to not open by default
find "executable-text-activation" click the word "display" and change to "ask"