The sleep is there for some reason I cannot remember, probably due to a
race at login where the loaded settings would not apply properly if done
too early.
Make sure things are set up correctly first and that the settings have
properly been set in dconf as well, before dumping. Additionally, I also
lost keybindings defined in Gnome keyboard properties (control panel).
To set those at startup I run the following commands in addition:
By that time, you'll probably want to put all the mess together in a
script and load that at startup through .desktop autostart mechanism
above, instead.
This bug is a real pain for those of us who like to customize
keybindings and Compiz settings in general.
Gilles Tournier <email address hidden> writes:
[...]
> If backporting would unfortunately be impossible, does anybody know of a way to
> force the settings I want by using a script?
I have all my Compiz settings dumped to a text file which I load at
login ..
Created with command: settings. dconf
$ dconf dump /org/compiz/ > ~/.compiz-
Loaded at login with command: settings. dconf
$ sleep 3; dconf load /org/compiz/ < ~/.compiz-
You can make the command run at login by putting the following into an autostart/ load-compiz- settings. desktop] :
autostart file [~/.config/
[Desktop Entry] settings. dconf' Autostart- enabled= true
Type=Application
Exec=sh -c 'sleep 3; dconf load /org/compiz/ < ~/.compiz-
Hidden=false
NoDisplay=false
X-GNOME-
Name=Load Compiz settings
The sleep is there for some reason I cannot remember, probably due to a
race at login where the loaded settings would not apply properly if done
too early.
Make sure things are set up correctly first and that the settings have
properly been set in dconf as well, before dumping. Additionally, I also
lost keybindings defined in Gnome keyboard properties (control panel).
To set those at startup I run the following commands in addition:
dconf write /org/gnome/ desktop/ wm/keybindings/ switch- to-workspace- 1 "['<Super>j']" desktop/ wm/keybindings/ switch- to-workspace- 2 "['<Super>k']" desktop/ wm/keybindings/ switch- to-workspace- 3 "['<Super>l']" desktop/ wm/keybindings/ switch- to-workspace- 4 "['<Super>oslash']"
dconf write /org/gnome/
dconf write /org/gnome/
dconf write /org/gnome/
By that time, you'll probably want to put all the mess together in a
script and load that at startup through .desktop autostart mechanism
above, instead.
This bug is a real pain for those of us who like to customize
keybindings and Compiz settings in general.