Skip to content

Instantly share code, notes, and snippets.

@reikoNeko
Last active October 27, 2017 16:17
Show Gist options
  • Save reikoNeko/0a1a0952c58c3165ded0061121954736 to your computer and use it in GitHub Desktop.
Save reikoNeko/0a1a0952c58c3165ded0061121954736 to your computer and use it in GitHub Desktop.
finding hard-to-find gnome3 settings and changing them
I see a few things in /usr/share/glib-2.0/schemas/org.gnome.desktop.wm.preferences.gschema.xml that aren't in Gnome-tweak-tool.
So I make a change and then do a find to see where the changes were made: .config/dconf/user -- which is parsed by dconf.
$ dconf dump / |grep -C1 raise
[org/gnome/desktop/wm/preferences]
auto-raise=true
That can be changed on the command line.
$ dconf write /org/gnome/desktop/wm/preferences/auto-raise false
$ dconf dump / |grep -C1 raise
[org/gnome/desktop/wm/preferences]
auto-raise=false
So you can browse the xml and then change the values at will for these guiless items.
Most definitely a need to write a better perl/python tool to do this.
$ grep 'key name' /usr/share/glib-2.0/schemas/org.gnome.desktop.wm.preferences.gschema.xml
<key name="mouse-button-modifier" type="s">
<key name="resize-with-right-button" type="b">
<key name="button-layout" type="s">
<key name="focus-mode" enum="org.gnome.desktop.GDesktopFocusMode">
<key name="focus-new-windows"
<key name="raise-on-click" type="b">
<key name="action-double-click-titlebar"
<key name="action-middle-click-titlebar"
<key name="action-right-click-titlebar"
<key name="auto-raise" type="b">
<key name="auto-raise-delay" type="i">
<key name="theme" type="s">
<key name="titlebar-uses-system-font" type="b">
<key name="titlebar-font" type="s">
<key name="num-workspaces" type="i">
<key name="audible-bell" type="b">
<key name="visual-bell" type="b">
<key name="visual-bell-type"
<key name="disable-workarounds" type="b">
<key name="workspace-names" type="as">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment