~/.Xmodmap is being read wrong when autologin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
x11-xserver-utils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Using Xubuntu 12.04 and autologin configured during installation, ~/.Xmodmap is being executed in a wrong way.
Steps to reproduce:
- Create a ~/.Xmodmap file with the following lines:
remove Lock = Caps_Lock
keysym Caps_Lock = Escape
- Configure your account to be automatically logged in on boot.
Current behaviour:
- Caps Lock key works both as Caps_Lock AND Escape at the same time.
- If you try to run xmodmap ~/.Xmodmap you should get:
xmodmap: .Xmodmap:2: bad keysym in remove modifier list 'Caps_Lock', no corresponding keycodes
xmodmap: .Xmodmap:3: bad keysym target keysym 'Caps_Lock', no corresponding keycodes
xmodmap: 2 errors encountered, aborting.
- If you log off and login again with your user and password, .Xmodmap is applied. This is also true if autologin is disabled.
Expected behaviour:
Caps_Lock should work as another Escape key.
-----
Description: Ubuntu 12.04 LTS
Release: 12.04
x11-xserver-utils:
Instalados: 7.6+3
Candidato: 7.6+3
Tabla de versión:
*** 7.6+3 0
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: x11-xserver-utils 7.6+3
ProcVersionSign
Uname: Linux 3.2.0-27-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
Date: Sun Jul 29 15:42:25 2012
InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: x11-xserver-utils
UpgradeStatus: No upgrade log present (probably fresh install)