PDA

View Full Version : [ubuntu] Gnome settings reset on reboot.



u-slayer
July 5th, 2011, 05:04 AM
Some of my settings don't stick after I reboot. The window list widget disappears, the buttons go back to the left side and so on. I tried inserting the following into a script that runs when I startup the machine:



#!/bin/bash
#Disable update manager pop up
gconftool -s --type bool /apps/update-notifier/auto_launch false

#No icons on desktop
gconftool-2 --type=Boolean --set /apps/nautilus/preferences/show_desktop false

#CTRL-ALT-DELETE
gconftool-2 -t str --set /apps/metacity/global_keybindings/run_command_9 "<Control><Alt>Delete"
gconftool-2 -t str --set /apps/metacity/keybinding_commands/command_9 "gnome-system-monitor"

############################ 10.04 Fixes
#Buttons go on the right!
#http://www.ubuntugeek.com/mark-shuttleworths-response-to-left-side-button-criticisms.html
gconftool-2 --set /apps/metacity/general/button_layout --type string “menu:minimize,maximize,close,spacer”

#Text address bar
#http://www.webupd8.org/2010/05/use-text-mode-location-bar-in-nautilus.html
gconftool-2 --type=Boolean --set /apps/nautilus/preferences/always_use_location_entry true

But I can't get the script to run automatically correctly. I tried adding sudo -u $user myscriptname to /etc/rc.local but for some reason that doesn't do anything.

u-slayer
July 6th, 2011, 09:00 PM
hello?

u-slayer
July 11th, 2011, 03:23 AM
sigh