#StackBounty: #shortcut-keys #cinnamon #gsettings Change media-keys shorcuts in cinnamon

Bounty: 50

I’ve installed cinnamon on Ubuntu and I want to create a setup script. Including hotkeys.
This post showed me how to add custom key-bindings, great.

But how can I add '<Super>1' to the browser (www) key bind?

I can get it with gsettings get org.cinnamon.desktop.keybindings.media-keys www

But I can’t figure the format out for the set

gsettings set org.cinnamon.desktop.keybindings.media-keys:/org/cinnamon/desktop/keybindings/media-keys www "['XF86WWW', '<Super>1']"

This above is the format if I “mirror” the custom keys. But that gives an error: Schema “org.cinnamon.desktop.keybindings.media-keys” is not relocatable (path must not be specified)

What is the correct format?


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.