$HOME/.Xmodmap is applied twice in Xubuntu 12.04 LTS, I'm afraid. The
error messages I find in $HOME/.xsession-errors are the same I get when
running xmodmap twice on the command line (without any $HOME/.Xmodmap
present at login). By the same test, it is applied once in Ubuntu 14.04
LTS, both for 2D end 3D xsessions. My test:

tme@thinkpad-t43:~$ uname -a
Linux thinkpad-t43 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:46:35 UTC 2012 
i686 i686 i386 GNU/Linux

tme@thinkpad-t43:~$ grep xmodmap .xsession-errors
[no matches]

tme@thinkpad-t43:~$ cat .Xmodmap
cat: .Xmodmap: No such file or directory

tme@thinkpad-t43:~$ cat .Xmodmap-backup 
!
!
! Make the right ctrl key behave as the windows key
!
remove control = Control_R
add Mod4 = Control_R
!
!
! Make the caps lock key behave as the shift key
!
remove lock = Caps_Lock
keysym Caps_Lock = Shift_L

tme@thinkpad-t43:~$ xmodmap .Xmodmap-backup 
[no errors]

tme@thinkpad-t43:~$ xmodmap .Xmodmap-backup 
xmodmap:  .Xmodmap-backup:11:  bad keysym in remove modifier list 'Caps_Lock', 
no corresponding keycodes
xmodmap:  .Xmodmap-backup:12:  bad keysym target keysym 'Caps_Lock', no 
corresponding keycodes
xmodmap:  2 errors encountered, aborting.

tme@thinkpad-t43:~$ mv .Xmodmap-backup .Xmodmap

tme@thinkpad-t43:~$ 
[logout and login again]

tme@thinkpad-t43:~$ grep xmodmap .xsession-errors
xmodmap:  /home/tme/.Xmodmap:11:  bad keysym in remove modifier list 
'Caps_Lock', no corresponding keycodes
xmodmap:  /home/tme/.Xmodmap:12:  bad keysym target keysym 'Caps_Lock', no 
corresponding keycodes
xmodmap:  2 errors encountered, aborting.

tme@thinkpad-t43:~$

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm in Ubuntu.
https://bugs.launchpad.net/bugs/700309

Title:
  $HOME/.Xmodmap is applied twice

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/700309/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to