четверг, 11 декабря 2014 г.

Раковина Борна .sh

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"
that will give you the option to edit, view or run the file going forward
Это чтобы вернуть контекстное меню при запуске .sh скриптов.