[ILUG] what alt ?

Liam Bedford lbedford at lbedford.org
Fri Dec 7 15:38:44 GMT 2001


On Fri, Dec 07, 2001 at 03:30:38PM +0000, John P. Looney came forth with:
>  Anyone know how I can get different meanings for Alt and AltGr ?
> 
> bartender [130]  xmodmap 
> xmodmap:  up to 2 keys per modifier, (keycodes in parentheses):
> 
> shift       Shift_L (0x32),  Shift_R (0x3e)
> lock      
> control     Control_L (0x25),  Multi_key (0x6d)
> mod1        Alt_L (0x40),  Alt_R (0x71)
> mod2        Num_Lock (0x4d)
> mod3      
> mod4      
> mod5        Scroll_Lock (0x4e)
> 
>  It looks like they have been dumped in together, so that's likely why I
> can't do Euros anymore. I use Alt-something for loads of things in my
> windowmanager, so I can't do stuff like alternate keycode etc.
> 
this do the job?
lbedford at chia:~$ xmodmap -e 'keysym Mode_switch =Alt_R'
lbedford at chia:~$ xmodmap -pm
xmodmap:  up to 2 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x42)
control     Control_L (0x25),  Control_R (0x6d)
mod1        Alt_L (0x40)
mod2        Num_Lock (0x4d)
mod3        Alt_R (0x71)
mod4      
mod5 

L.
-- 
 Liam Bedford     | Sometimes, I get to fly so high that the sun burns my
 www.lbedford.org | wings but I will fly just a little too far because that's
                  | where you are and I won't bring you down, believe in me
                  | Spiritualized - Don't just do something




More information about the ILUG mailing list