Notes gnome gconf gsettings

Voir : https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Desktop_Migration_and_Administration_Guide/user-sessions.html

Exemple

gsettings get org.gnome.desktop.a11y.keyboard stickykeys-enable gsettings set org.gnome.desktop.a11y.keyboard stickykeys-enable false

Autre solution

/usr/share/gdm/dconf/99-local-settings

[org/gnome/settings-daemon/plugins/power] sleep-inactive-ac-timeout=0

Pb - La commande gsettings ne fonctionne pas en en console SSH.

Voir http://askubuntu.com/questions/323776/gsettings-not-working-over-ssh

La commande gsettings ne fonctionne pas en SSH. Mais fonctionne en local dans un terminal graphique.

gsettings set org.gnome.desktop.lockdown disable-lock-screen true

Vérif

gsettings get org.gnome.desktop.lockdown disable-lock-screen

false

Cela n'a pas fonctionné. Cela est dû au fait que dbus n'est pas démarré dans le session SSH.

Solution

Préfixer votre commande par dbus-launch

dbus-launch gsettings set org.gnome.desktop.lockdown disable-lock-screen true

Notes

Dump conf

Dump

dconf dump /

Ou

gsettings list-recursively

Notes 1

Éditeur en mode texte :

gsettings (libglib2.0-bin)

dconf (dconf-cli)

gconftool-2 (gconf2)

Éditeur en mode graphique :

dconf-editor (dconf-editor)

Une partie de la conf est enregistrée ici :
~/.config/dconf/user

La preuve :

$ gsettings get org.gnome.desktop.lockdown disable-lock-screen
true
$ rm .config/dconf/user
$ gsettings get org.gnome.desktop.lockdown disable-lock-screen
false

Voir le schéma ici :
/usr/share/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.xml

Autre :dconf update

Conf

Désactiver le montage automatique des clefs USB

gsettings set org.gnome.desktop.media-handling automount false

Autres

paquet dell-super-key Disables the super key by default

/usr/share/glib-2.0/schemas/41_dell-super-key.gschema.override/usr/share/doc/dell-super-key/copyright/usr/share/doc/dell-super-key/changelog.gz

/usr/share/glib-2.0/schemas/41_dell-super-key.gschema.override

[org.compiz.unityshell] show-launcher = "" lock-screen = "<Control><Alt>l" show-desktop-key = "<Control><Alt>d" launcher-switcher-forward = "" launcher-switcher-prev = "" [org.compiz.core] maximize-window-key = "<Control><Alt>Up" unmaximize-or-minimize-window-key = "<Control><Alt>Down" [org.compiz.put] put-center-key = "<Control><Alt>KP_Begin" put-left-key = "<Control><Alt>KP_Left" put-right-key = "<Control><Alt>KP_Right" put-top-key = "<Control><Alt>KP_Up" put-bottom-key = "<Control><Alt>KP_Down" put-bottom-button = "<Control><Alt>KP_Down" put-topright-key = "<Control><Alt>KP_Prior" put-bottomleft-key = "<Control><Alt>KP_End" put-bottomright-key = "<Control><Alt>KP_Next" put-restore-key = "<Control><Alt>KP_Insert" put-pointer-key = "<Control><Alt>z" [org.compiz.expo] expo-key = "<Control><Alt>s" [org.compiz.grid] put-maximize-key = "<Control><Alt>Up" put-restore-key = "<Control><Alt>Down" left-maximize = "<Control><Alt>Left" right-maximize = "<Control><Alt>Right"