You are not logged in.

#1 2011-08-06 06:59:53

agkbill
Member
Registered: 2011-06-13
Posts: 85

Xmonad, ledmon do not show status in xmobar, maped caps lock

Hi,

I am in the progress of configurating xmobar togheter with Xmonad and so far it is going really good thanks to the help I got from you guys.

But now I am stuck.

I have added Keyboard LED Indication, following John Goerzen's 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,
/Christer

Last edited by agkbill (2011-08-06 07:01:20)

Offline

Board footer

Powered by FluxBB