Outils pour utilisateurs

Outils du site


tech:notes_gnome_gconf_gsettings

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:notes_gnome_gconf_gsettings [2025/11/17 17:35] Jean-Baptistetech:notes_gnome_gconf_gsettings [2026/06/07 19:12] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Brouillon Graphique Gnome Dbus}}
 +
 +# 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
 +* M(community.general.dconf)
 +* M(community.general.gconftool2)
 +
 +
 +Exemple
 +
 +~~~bash
 +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`
 +~~~ini
 +[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.
 +
 +~~~bash
 +gsettings set org.gnome.desktop.lockdown disable-lock-screen true
 +~~~
 +
 +Vérif
 +~~~bash
 +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`
 +
 +~~~bash
 +dbus-launch gsettings set org.gnome.desktop.lockdown disable-lock-screen true
 +~~~
 +
 +## Notes
 +
 +### Dump conf
 +
 +Dump
 +~~~bash
 +dconf dump /
 +~~~
 +
 +Ou 
 +~~~bash
 +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
 +~~~bash
 +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`
 +~~~ini
 +[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"
 +~~~
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki