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

Bug#479784: xmodmap in .xsession breaks keyboard layout



Package: xserver-xorg
Version: 1:7.3+10
Severity: normal

After the last upgrade, my keyboard layout got broken. For example, RightAlt+O produces superscript-3 instead of o-with-acute.

$ grep -B1 -A5 Keyboard /etc/X11/xorg.conf
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "pl"
EndSection

$ cat .xsession
#!/bin/sh
/usr/bin/xmodmap "$HOME/etc/x11/xmodmap"
exec /usr/bin/x-terminal-emulator

$ cat ~/etc/x11/xmodmap
keycode 233 = Next_Virtual_Screen
keycode 234 = Prev_Virtual_Screen
keycode 222 = Terminate_Server
keycode 231 = XF86Refresh
keycode 178 = XF86HomePage
keycode 229 = XF86Search
keycode 236 = XF86Mail

remove Lock = Caps_Lock
keysym Caps_Lock = Escape
keysym Escape = Caps_Lock
add Lock = Caps_Lock



If I comment out xmodmap invocation, everything goes fine.


-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 Feb 28 18:41 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1674940 Apr 29 20:37 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
00:0d.0 VGA compatible controller: nVidia Corporation GeForce 6100 nForce 430 (rev a2)

/etc/X11/xorg.conf unchanged from checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 1077 May  6 19:07 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"pl"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
EndSection


No Xorg X server log files found.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xserver-xorg depends on:
ii  debconf [debconf-2 1.5.21                Debian configuration management sy
ii  x11-common         1:7.3+10              X Window System (X.Org) infrastruc
ii  x11-xkb-utils      7.3+1                 X11 XKB utilities
ii  xkb-data           1.1~cvs.20080104.1-1  X Keyboard Extension (XKB) configu
ii  xserver-xorg-core  2:1.4.1~git20080131-4 Xorg X server - core server
ii  xserver-xorg-input 1:1.2.2-3             X.Org X server -- keyboard input d
ii  xserver-xorg-input 1:1.2.3-2             X.Org X server -- mouse input driv
ii  xserver-xorg-video 1:6.8.0-1             X.Org X server -- ATI display driv
ii  xserver-xorg-video 1:2.1.8-3             X.Org X server -- NV display drive

Versions of packages xserver-xorg recommends:
pn  dmidecode                     <none>     (no description available)
pn  libgl1-mesa-dri               <none>     (no description available)
ii  udev                          0.114-2    /dev/ and hotplug management daemo

-- debconf information:
  shared/fontpath/fontserver:
* xserver-xorg/config/monitor/use_sync_ranges: false
  xserver-xorg/config/monitor/lcd: false
  xserver-xorg/config/doublequote_in_string_error:
  xserver-xorg/config/device/default-identifier:
  shared/no_known_x-server:
  xserver-xorg/config/device/bus_id_error:
  xserver-xorg/config/inputdevice/keyboard/internal:
* xserver-xorg/config/inputdevice/keyboard/options:
* xserver-xorg/autodetect_keyboard: false
* xserver-xorg/config/device/use_fbdev: false
* xserver-xorg/config/inputdevice/keyboard/variant:
  xserver-xorg/config/nonnumeric_string_error:
  xserver-xorg/config/fontpath/fontserver:
* xserver-xorg/config/inputdevice/keyboard/layout: pl
* xserver-xorg/config/inputdevice/mouse/emulate3buttons: false
* xserver-xorg/config/write_dri_section: true
* xserver-xorg/config/inputdevice/keyboard/model: pc105
* xserver-xorg/config/device/driver:
  xserver-xorg/config/null_string_error:
  shared/multiple_possible_x-servers:
* xserver-xorg/config/device/bus_id:
* xserver-xorg/config/inputdevice/keyboard/rules: xorg

--
Jakub Wilk



Reply to: