#!/bin/bash
# Gnome 3 can be customised from the command line via the gsettings command
# This script should help you to find what you're looking for by
# listing the ranges for all keys for each schema
for schema in $(gsettings list-schemas | sort)
do
    for key in $(gsettings list-keys $schema | sort)
    do
        value="$(gsettings range $schema $key | tr "\n" " ")"
        now="$(gsettings get $schema $key | tr "\n" " ")"
        echo "$schema :: $key :: $value :: Now=$now"
    done
done
 
 
 
#!/bin/bash
gsettings2 () {
        echo "--- gsettings $1 $2 $3 ---"  >> ${TMP_FILE}
        old_value="$(gsettings get $1 $2 | tr "\n" " ")"
        gsettings set $1 $2 $3 >> ${TMP_FILE}  2>&1
        new_value="$(gsettings get $1 $2 | tr "\n" " ")"
        echo "--- gsettings $3 <${old_value} -> ${new_value}> ---" >> ${TMP_FILE}
}
gsettings2 "org.gnome.gedit.plugins.filebrowser.nautilus" click-policy single
gsettings2 "org.gnome.nautilus.preferences" click-policy single
 
 
________________________________________________________________________
pi@FriendlyELEC:~$ ./gsettings-iterate-all.sh | grep click
org.gnome.desktop.a11y.mouse :: click-type-window-visible :: type b  :: Now=true
org.gnome.desktop.a11y.mouse :: dwell-click-enabled :: type b  :: Now=false
org.gnome.desktop.a11y.mouse :: secondary-click-enabled :: type b  :: Now=false
org.gnome.desktop.a11y.mouse :: secondary-click-time :: type d  :: Now=1.2
org.gnome.desktop.peripherals.touchpad :: click-method :: enum 'default' 'none' 'areas' 'fingers'  :: Now='fingers'
org.gnome.desktop.peripherals.touchpad :: tap-to-click :: type b  :: Now=false
org.gnome.desktop.wm.preferences :: action-double-click-titlebar :: enum 'toggle-shade' 'toggle-maximize' 'toggle-maximize-horizontally' 'toggle-maximize-vertically' 'minimize' 'none' 'lower' 'menu'  :: Now='toggle-maximize'
org.gnome.desktop.wm.preferences :: action-middle-click-titlebar :: enum 'toggle-shade' 'toggle-maximize' 'toggle-maximize-horizontally' 'toggle-maximize-vertically' 'minimize' 'none' 'lower' 'menu'  :: Now='none'
org.gnome.desktop.wm.preferences :: action-right-click-titlebar :: enum 'toggle-shade' 'toggle-maximize' 'toggle-maximize-horizontally' 'toggle-maximize-vertically' 'minimize' 'none' 'lower' 'menu'  :: Now='menu'
org.gnome.desktop.wm.preferences :: focus-mode :: enum 'click' 'sloppy' 'mouse'  :: Now='click'
org.gnome.desktop.wm.preferences :: raise-on-click :: type b  :: Now=true
org.gnome.gedit.plugins.filebrowser.nautilus :: click-policy :: enum 'single' 'double'  :: Now='single'
org.gnome.mousetweaks :: click-type-window-geometry :: type s  :: Now=''
org.gnome.mousetweaks :: click-type-window-orientation :: enum 'horizontal' 'vertical'  :: Now='vertical'
org.gnome.mousetweaks :: click-type-window-style :: enum 'text' 'icon' 'both'  :: Now='both'
org.gnome.nautilus.preferences :: click-policy :: enum 'single' 'double'  :: Now='single'
org.gnome.settings-daemon.peripherals.keyboard :: click :: type b  :: Now=true
org.gnome.settings-daemon.peripherals.keyboard :: click-volume :: type i  :: Now=0
org.gnome.settings-daemon.peripherals.mouse :: double-click :: type i  :: Now=400

    文章標籤

    gsettings

    全站熱搜

    立你斯 發表在 痞客邦 留言(0) 人氣()