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

2011-04-18 Thread Cyril Brulebois
Hi,

Benjamin sachdoc...@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.


signature.asc
Description: Digital signature


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

2011-04-18 Thread Benjamin
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:swapcapsSwap 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 sachdoc...@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.





-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110418125414.GA16867@localhost.localdomain



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

2011-04-18 Thread Cyril Brulebois
Benjamin sachdoc...@googlemail.com (18/04/2011):
 Thanks, but there doesn’t seem to be an option for mapping ctrl to
 the right alt key.

That'd be:
  http://www.freedesktop.org/wiki/Software/XKeyboardConfig/Development

KiBi.


signature.asc
Description: Digital signature


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

2011-04-17 Thread Benjamin
Package: x11-xserver-utils
Version: 7.6+2
Severity: normal


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'

This worked for the last few months. Now the first and second xmodmap command
give me these not very helpful errors:

X Error of failed request:  BadValue (integer parameter out of range for 
operation)
  Major opcode of failed request:  118 (X_SetModifierMapping)
  Value in failed request:  0x17
  Serial number of failed request:  11
  Current serial number in output stream:  11


xev output for AltGr BEFORE any xmodmap command:

KeyPress event, serial 50, synthetic NO, window 0x2a1,
root 0x1ad, subw 0x0, time 5071904, (527,525), root:(1241,546),
state 0x0, keycode 108 (keysym 0xfe11, ISO_Level5_Shift), same_screen YES,
XKeysymToKeycode returns keycode: 94
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

KeyRelease event, serial 50, synthetic NO, window 0x2a1,
root 0x1ad, subw 0x0, time 5072032, (527,525), root:(1241,546),
state 0x20, keycode 108 (keysym 0xfe11, ISO_Level5_Shift), same_screen YES,
XKeysymToKeycode returns keycode: 94
XLookupString gives 0 bytes: 
XFilterEvent returns: False


xev output for AltGr AFTER the above xmodmap commands:

KeyPress event, serial 51, synthetic NO, window 0x2a1,
root 0x1ad, subw 0x0, time 5228657, (527,525), root:(1241,546),
state 0x0, keycode 108 (keysym 0xffe4, Control_R), same_screen YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

KeyRelease event, serial 51, synthetic NO, window 0x2a1,
root 0x1ad, subw 0x0, time 5228784, (527,525), root:(1241,546),
state 0x0, keycode 108 (keysym 0xffe4, Control_R), same_screen YES,
XLookupString gives 0 bytes: 
XFilterEvent returns: False




-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages x11-xserver-utils depends on:
ii  cpp   4:4.5.2-2  The GNU C preprocessor (cpp)
ii  libc6 2.11.2-11  Embedded GNU C Library: Shared lib
ii  libice6   2:1.0.7-1  X11 Inter-Client Exchange library
ii  libx11-6  2:1.4.3-1  X11 client-side library
ii  libxau6   1:1.0.6-1  X11 authorisation library
ii  libxaw7   2:1.0.9-2  X11 Athena Widget library
ii  libxcursor1   1:1.1.11-1 X cursor management library
ii  libxext6  2:1.2.0-2  X11 miscellaneous extension librar
ii  libxi62:1.4.2-1  X11 Input extension library
ii  libxmu6   2:1.1.0-1  X11 miscellaneous utility library
ii  libxmuu1  2:1.1.0-1  X11 miscellaneous micro-utility li
ii  libxrandr22:1.3.1-1  X11 RandR extension library
ii  libxrender1   1:0.9.6-1  X Rendering Extension client libra
ii  libxt61:1.1.1-1  X11 toolkit intrinsics library
ii  libxxf86vm1   1:1.1.1-1  X11 XFree86 video mode extension l

x11-xserver-utils recommends no packages.

Versions of packages x11-xserver-utils suggests:
pn  cairo-5c  none (no description available)
pn  nicklenone (no description available)
ii  xorg-docs-core1:1.6-1Core documentation for the X.org X

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110417121056.21663.37607.reportbug@localhost.localdomain