You are not logged in.

#1 2009-05-22 14:05:34

Mogger
Member
From: Sweden
Registered: 2008-12-07
Posts: 153
Website

xmodmap, Caps Lock and XF86Calculator

I want to do something as simple as remapping XF86Calculator to Caps Lock. Easy peasy with xmodmap:

xmodmap -e 'clear Lock'
xmodmap -e 'keycode 148 = Caps_Lock'
xmodmap -e 'add Lock = Caps_Lock'

But life isn't supposed to be easy. 1. The new caps lock doesn't toggle the led on the keyboard. 2. When caps is switched on, the first letter is still typed in lower case. The rest are upper case, as expected. (The reverse doesn't happen - when caps is switched off, the first letter is also lower case).

Remapping other keys to Caps Lock, e.g. F12, works without any problems.

Surly it isn't a big problem and I could easily live without Caps Lock. However, it's annoying when something doesn't work as expected. I have no idea where I should start looking, so any help is appreciated.

My system is up to date, and I use hotplugging with Xorg (evdev).

Offline

Board footer

Powered by FluxBB