How do you add a shortcut by commandline?
If we do it by hand (Keyboard > Custom Shortcuts) it works as it is supposed to do.
When we want to do it by commandline (in a bashscript as example)
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ name "killscript"
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ command "pkill chromium"
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ binding "<Primary><Alt>X"
This doesn't work.. When I'll check the shortcut by the dconfeditor I see that it has the proper name, binding and command set up.
Any ideas how I could get this fixed?