在X window 無法執行shell script

Ubuntu
回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

在X window 無法執行shell script

文章 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"
回覆文章

回到「Ubuntu」