Ask Your Question

revert/reset Gnome keyboard shortcuts to defaults

asked 2015-05-12 23:25:37 -0500

fedoraemon gravatar image

updated 2015-05-12 23:26:04 -0500

I tried to google but no results. I'd like to revert keyboard shortcuts under Gnome settings to defaults (f22). For a novice user it's quiet easy to mess them up by accident and it would be nice to have a reset button there or some instructions for resetting them on this page:

I tried this gsettings reset-recursively org.gnome.desktop.wm.keybindings but didn't work (didn't gave me any error, but after restart the shortcuts changed/removed were still the same).

Many thanks for suggestions

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-09-02 05:45:07 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

The keyboard shortcut configuration is spread over many schemas. On my system (actually a Debian system but I'm answering here since this was the first Google hit) I had to run these commands to fully restore them to the defaults:

gsettings reset-recursively org.gnome.desktop.wm.keybindings
gsettings reset-recursively org.gnome.mutter.keybindings
gsettings reset-recursively org.gnome.mutter.wayland.keybindings
gsettings reset-recursively
gsettings reset-recursively

This list is likely to change depending on exactly which version of Gnome you're running. You can use a command such as this to find candidate schemas:

gsettings list-schemas | grep key

And something like this to examine the schema's contents:

gsettings show-recursively put-schema-name-here | sort
edit flag offensive delete link more


gsettings list-schemas | grep keybindings | sort | xargs -L 1 echo gsettings reset-recursively

fnkr gravatar imagefnkr ( 2015-11-18 07:52:21 -0500 )edit

Question Tools

1 follower


Asked: 2015-05-12 23:25:37 -0500

Seen: 2,771 times

Last updated: May 12 '15