7021882: Define global custom keybindings for shutdown.

Explanation of the custom ‘/etc/dconf/db/local.d/01-local-example’ file content :

[org/gnome/settings-daemon/plugins/media-keys]

(note **1 : specify the dconf schema path where the values )

logout=”

(note **2 : since ‘Ctrl+Alt+Del’ is used by default for logout, this needs to be changed to blank)

custom-keybindings=[‘/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/’]

(note **3 : creates a schema path for custom keybinding)

[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0]

(note **4: custom keybinding schema path)

name=’shutdown’

command=’/sbin/shutdown -h now’

(note **5: use the full path for any commands here)

binding='<Control><Alt>Delete’

Related:

Leave a Reply