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 Xmonad and LXDE, so I don't want to use gnome-settings-daemon. But there is a problem - without it I cannot switch into or type in Cyrillics. I found some temporary solution - when I enter sudo dpkg-reconfigure keyboard-configuration and click through config menu, I end with right layout. But after I reboot system it disappears and I am forced to reconfigure it again. Is there a way to make this changes permanent?

share|improve this question
up vote 6 down vote accepted

Yes edit /etc/default/keyboard to set the global settings or ~/.dmrc for per-user settings.

Example /etc/default/keyboard:


Example ~/.dmrc:

 Language=de_DE.UTF-8   # change to your default lang
 Layout=de   nodeadkeys # change to your keyboard layout

In either case, will need to also run:

 sudo udevadm trigger --subsystem-match=input --action=change
share|improve this answer
Can you explain what the last step does in detail and why one needs it? – student Apr 24 '14 at 14:57
udev is the service that manages your devices. The command signals to this service that there's been a change to your input subsystem and that it should re-detect things and reconfigure. Rebooting your system should have the same effect. – Bryce Apr 24 '14 at 19:33

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.