[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#623108: x11-xserver-utils: [xmodmap] reassigning AltGr no longer works



Thanks, but there doesn’t seem to be an option for mapping ctrl to the right
alt key.

> ctrl:nocaps          Make Caps Lock an additional Ctrl
> ctrl:lctrl_meta      Meta on Left Ctrl
> ctrl:swapcaps        Swap Ctrl and Caps Lock
> ctrl:ctrl_ac         At left of 'A'
> ctrl:ctrl_aa         At bottom left
> ctrl:ctrl_ra         Right Ctrl as Right Alt
> ctrl:ctrl_menu       Right Ctrl is mapped to Menu

I’ll open a feature request for x11-xkb-utils.


On Mon, Apr 18, 2011 at 11:09:37AM +0200, Cyril Brulebois wrote:
> Hi,
> 
> Benjamin <sachdochma@gmail.com> (17/04/2011):
> > I’m using the Neo layout with the right Alt key remapped as Control_R:
> > 
> > $ setxkbmap -model pc105 -layout de -variant neo
> > $ xmodmap -e 'remove Mod3 = ISO_Level5_Shift'
> > $ xmodmap -e 'keycode 108 = Control_R'
> > $ xmodmap -e 'add Control = Control_R'
> 
> I think you can do everything through setxkbmap, which (contrary to
> xmodmap) will likely be fixed/enhanced if there are any issues with
> it.
> 
> See available options in /usr/share/X11/xkb/rules/base.lst
> 
> Options are passed like that:
>   setxkbmap -option foo -option bar ...
> 
> or:
>   setxkbmap -option 'foo,bar'
> 
> KiBi.





Reply to: