~/.Xmodmap is being read wrong when autologin

Bug #1030589 reported by Federico Panico
This bug report is a duplicate of:  Bug #1072120: ~/.Xmodmap not read on login. Edit Remove
6
This bug affects 1 person
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://ar.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: x11-xserver-utils 7.6+3
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
Uname: Linux 3.2.0-27-generic x86_64
NonfreeKernelModules: wl
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)

Revision history for this message
Federico Panico (bpm230-gmail-deactivatedaccount) wrote :
bugbot (bugbot)
tags: added: xubuntu
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.