<span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">Hi,<br><br></span><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">I am in the progress of configurating xmobar togheter with Xmonad and so far it is going really good thanks to the help from xmonad web resources.<br>
<br><br>I am using Archlinux.<br><br></span><div><div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">But now I am stuck.<br><br>I have added Keyboard LED Indication, following [url=<a href="http://www.haskell.org/haskellwiki/Xmonad/Config_archive/John_Goerzen%27s_Configuration/%5DJohn" style="color:rgb(7, 77, 143)" target="_blank">http://www.haskell.org/haskellwiki/Xmonad/Config_archive/John_Goerzen%27s_Configuration/]John</a> Goerzen's[/url] excelent guide.<br>
<br><br>Installed "ledmon" from AUR and added in xmonad.hs<br>[code]<br>, Run CommandReader "/usr/bin/ledmon" "LED"<br><br>, template = "%StdinReader% }{ <fc=#ffff00>%LED%</fc> %cpu% | %memory% * %swap% <fc=#ee9a00>%date%</fc> | %EGPF%"<br>
}<br>[/code]<br><br>Keyboard LED indication works great.<br><br>The problem is that I from time to time want to enter Swedish caracters and for the reason switch to se keymap.<br><br>I did that according to Archlinux wiki about X.<br>
<br>in /etc/X11/xorg.conf i added.<br><br><br>[code]<br> Option "XkbLayout" "us, se"<br> Option "XkbOptions" "grp:caps_toggle"<br>[/code]<br><br>
I can now easily toggle keyboard layout using caps lock.<br><br>However I do not get a indication in xmobar that caps lock is on. That would be great to se.<br><br>Any idea on how to accomplies this?<br><br><br><br>Thank you.<br>
<br><br></span><div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">Best regards,<br>/Christer</span><div><div><div>
</div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><br></span></div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><br>
</span></div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><br></span></div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><br>
</span></div></div></div></div></div></div></div></div>