Resetting Keyboard Shortcuts for Ubuntu Mate 18.04

Edited:
Right, so with a little noodling, you can actually reset the shortcut with dconf editor. Sorry for wasting this post, I’m pretty sure the commands below would’ve gotten the job done but I just wanted to be sure that I didn’t break something.

In Ubuntu Vanilla, there’s a button you can press to reset the keyboard shortcuts to default. Unfortunately, there’s no such button in Ubuntu Mate.

a) So I looked around on the Ubuntu forums and found this command

gsettings reset-recursively org.gnome.settings-daemon.plugins.media-keys

from here

b) and then there’s this command

gsettings reset org.mate.SettingsDaemon.plugins.media-keys media

from thus
Context - I want to change the Launch Media Player shortcut to default.

So, can someone confirm that they’ll work?

Hi @Ikhwan_Arif, This is a perfect job for a 18.04 virtual machine so I tried both and the second one seems to work and changes Launch Media Player back to “Audio media”.

I know the names are not obvious so be aware there is a very good Tab Completion feature of the command. So if you type:

gsettings reset org.mate.SettingsDaemon.plugins.media-keys

Hit Tab twice to get all the possible names.

EDIT: Ah! I missed the obvious reason reset-recursively didn’t work. Replace gnome with mate and find the path using Tab Completion works fine:

gsettings reset-recursively org.mate.SettingsDaemon.plugins.media-keys

Notice settings-daemon became SettingsDaemon.

1 Like

Thanks for that @Bill_MI👍