1

I'm trying to figure out a way to set a flag on Nautilus for all/new users. It's just set always_use_browser to True. I didn't find any way to set it globally, just locally. I spent hours doing a workaround which uses gconftool-2, but to solve this issue, I think it could be more simple than applying and avoid resources usage to run my (dirty) solution.

Does Gnome have file/command to set this nautilus flag (always_use_browser=True) globally?

  • Finally, I found a solution. gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults/ --type boolean --set /apps/nautilus/preferences/always_use_browser true – manoelhc Jan 6 '12 at 18:00
1
  • Check whether you have 'always_use_browser' property supported in the files. /usr/share/nautilus/glade/nautilus-file-management-properties.glade.

  • Schema should be supporting it: /etc/gconf/schemas/apps_nautilus_preferences.schemas

Make sure you take a backup before editing any of these xml files.

  • Use gconftool-2

Open GConf Editor (GUI mode):

               (Menu > System > Configuration > Gnome > Advanced)

               Expand: Apps > Nautilus > Preferences

               Put A Check Next To "always_use_browser"

Or Alternatively from the command line mode (CLI):

[centos@centos glade]$ gconftool-2  -T --get /apps/nautilus/preferences/always_use_browser
false
bool

Set the value to true

[centos@centos glade]$ sudo gconftool-2 --type bool  --set /apps/nautilus/preferences/always_use_browser true
[centos@centos glade]$ sudo gconftool-2   --get /apps/nautilus/preferences/always_use_browser 
true
[centos@centos glade]$ 
  • Thank you very much Nikhil. I found a way to use gconftool-2 globally. The problem of modifying a Nautilus project file is the warrant of functioning, mainly after a nautilus update. – manoelhc Jan 6 '12 at 18:16
  • @manoelhc You are welcome :-) – Nikhil Mulley Jan 6 '12 at 18:25
  • I would suggest to execute this command on behalf of everyone since the already existing users's personal gconf db settings would overwrite the global settings. – Nikhil Mulley Jan 6 '12 at 18:48
  • 1
    You can look for other useful settings at library.gnome.org/admin/system-admin-guide/stable/… – Nikhil Mulley Jan 6 '12 at 18:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.