Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Ubuntu 12.04 (Fallback) and I am trying to slim it down, mostly for fun/learning experience.

I killed gnome-settings-daemon because I set up my theming from elsewhere. But now some of my keybindings are lost. I think the windowmanager ones are still working, like Alt-Tab and switch workspace. But my mediakeys to change volume and my custom keybindings are not working anymore.

Is there a different way to save custom keybindings? Do I really need to run settings-manager to setup my keybindings?

share|improve this question
Xbindkeys is nice, but it doesn't work well with function keys. – Seth Dec 21 '12 at 0:32
Thanks for your comment, I just figured it out and I use xbindkeys too. I wrote an answer on how I did it. – Carlito Dec 21 '12 at 12:50
up vote 1 down vote accepted

I figured it out! You can use xbindkeys to setup your own keybindings without the need of gnome-settings-daemon. So first:

sudo apt-get install xbindkeys

And then you can generate a default config file:

xbindkeys --defaults > ~/.xbindkeysrc

To give an example of some stuff I use in my .xbindkeysrc:

"amixer -q set Master 2- unmute"
"amixer -q set Master 2+ unmute"
"amixer -q set Master toggle"
"lxpanelctl run"

Then run xbindkeys at startup and the custom keybindings work.

share|improve this answer
To add to this, if you run xbindkeys -k in a terminal, it will give you the xbindkey keysym for any key you press. This is helpful for finding the name of a key you don't know. – Seth Dec 22 '12 at 18:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.