El sábado, 6 de junio de 2015 12:55:55 (CEST), Knut Olav Bøhmer escribió:
Hi,


I have a USB keyboard with a special "@" button that sends ctrl-alt-2 when
pressed.
I have been unable to configure xorg to use this button as an @, and I
can't find anyone who know how to do this.

My workaround is to make a keyboard shortcut in the window-manager to run
"xvkbd -xsendevent -text @" when ctrl-alt-2 is pressed.
I have not tested it in a production environment, but it works on my
computer.

I would also like to learn how to do this the proper way to do it. It is
embarrassing that I have run linux for over 20 years, and still can not
configure a keyboard. People makes fun of me :(

I tried to do it with: xmodmap -e  "add mod3 = Alt_L Control_L"; but that
does not make mod3 in to a combination of Alt_L and Control_L as far as I
understand. It only maps Alt_L to mod3 and Control_L to mod3. I was able to
do this in the console by creating a file with dumpkeys and adding "control
alt keycode   3 = at" then loading it with loadkeys.

I was hoping it would be possible to do something similar with xorg.

This is the keyboard:
http://www.tastaturen.com/ergebnis.lasso?-session=shop:42F941961dfbe2AB4DjsnH32421E&kn=2504&vo=p&lng2=e

Best regards

Hello,

Use xev(1) to see what keycode it is sending on press/release and than map it with xmodmap(1) to the proper keysym.

HIH

matthias


--
Sent from my Ubuntu phone
http://www.unixarea.de/
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Reply via email to