← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 465958] [NEW] effect of xmodmap ~/.Xmodmap

 

Public bug reported:

Binary package hint: xorg

I just installed karmic 9.10.

I have a ~/.Xmodmap file in effect; it has been working fine in Jaunty.
The first time I used it in Karmic, I got the usual prompt about whether
I really wanted to use it, and of course I said yes.  After that, it
worked fine in Karmic. HOWEVER, when I run emacs, all of the effects of
the .Xmodmap file disappear; the keys revert to the way they worked
without the .Xmodmap, and that's true not only in the emacs window, but
everywhere on the screen.

Here's my ~/.Xmodmap  :

! Swap grave/asciitilde with Escape
keycode   9 = grave asciitilde grave asciitilde grave asciitilde
keycode  49 = Escape NoSymbol Escape NoSymbol Escape
! Set capslock to be control, and the righthand control key to be capslock
clear Lock
clear Control
keycode  66 = Control_R NoSymbol Control_R NoSymbol Control_R
keycode 105 = Caps_Lock NoSymbol Caps_Lock NoSymbol Caps_Lock
add Lock = Caps_Lock
add Control = Control_R

In /etc/X11/Xsession.d, I have, among the ordinary things :

  lrwxrwxrwx 1 root root   55 Oct 30 15:12 80ubuntu-xmodmap -> /usr/local/ch-tools/etc-X11-Xsession.d-80ubuntu-xmodmap
 

Here is /usr/local/ch-tools/etc-X11-Xsession.d:

USRMODMAP="$HOME/.Xmodmap"
if [ -x /usr/bin/xmodmap ]; then
    if [ -f "$USRMODMAP" ]; then
        xmodmap "$USRMODMAP"
    fi
fi

I repeat: all this works fine until  I start emacs.  Then it all goes
away.  This did not happen under Jaunty; it's a surprise.

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New

-- 
effect of xmodmap ~/.Xmodmap 
https://bugs.launchpad.net/bugs/465958
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in ubuntu.



Follow ups

References