[xmonad] Ledmon do not show status in xmobar, maped caps lock

Christer Eriksson agkbill at gmail.com
Sat Aug 6 14:52:24 CEST 2011


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.

But now I am stuck.

I have added Keyboard LED Indication, following [url=
excelent guide.

Installed "ledmon" from AUR and added in xmonad.hs
, Run CommandReader "/usr/bin/ledmon" "LED"

, template = "%StdinReader% }{ <fc=#ffff00>%LED%</fc> %cpu% | %memory% *
%swap%    <fc=#ee9a00>%date%</fc> | %EGPF%"

Keyboard LED indication works great.

The problem is that I from time to time want to enter Swedish caracters and
for the reason switch to se keymap.

I did that according to Archlinux wiki about X.

in /etc/X11/xorg.conf i added.

    Option                 "XkbLayout" "us, se"
    Option                 "XkbOptions" "grp:caps_toggle"

I can now easily toggle keyboard layout using caps lock.

However I do not get a indication in xmobar that caps lock is on. That would
be great to se.

Any idea on how to accomplies this?

Thank you.

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20110806/5fc1879c/attachment.htm>

More information about the xmonad mailing list