<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hello, I have a question regarding setting a shortcut for changing the keyboard layout in Xmonad. In Gnome there is a graphical utility for this and in FVWM I've done this by using the setxkbmap command in the .fvwmrc file.<br>First using the setxkbmap command from the command line works, however one of the layouts that I'm using is Cyrillic, so once I'm in it, there's no way I can go back to a Latin keyboard layout. So I looked up the following website:<br>http://www.xfree86.org/current/XKB-Config2.html#5<br>and following the advice there created a custom-kbl.conf file in the xorg.conf.d directory. However when I restarted X, all that did was make both my mouse and keyboard inoperational, so I had to reboot using LiveCD and delete the xorg.conf.d directory which I had created.<br>Any idea what I should do? Btw, I'm using ubuntu 10.04 and had installed xmonad via the synaptic package manager.<br>Thanks a lot in advance.<br>                                               </div></body>
</html>