ctrl-alt-2 as at (@)
guru at unixarea.de
Sat Jun 6 04:05:21 PDT 2015
El sábado, 6 de junio de 2015 12:55:55 (CEST), Knut Olav Bøhmer escribió:
> I have a USB keyboard with a special "@" button that sends ctrl-alt-2 when
> 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
> 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:
> Best regards
Use xev(1) to see what keycode it is sending on press/release and than map
it with xmodmap(1) to the proper keysym.
Sent from my Ubuntu phone
More information about the xorg