xmodmap doesn't work in feisty

Bug #86904 reported by James Troup
8
Affects Status Importance Assigned to Milestone
control-center (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: xmodmap

I just upgraded to feisty only to find that xmodmap no longer works.

e.g. I'm trying to remap a US keyboard back to some sanity with:

xmodmap -e "keycode 11 = 2 quotedbl"

This use to work fine in dapper and edgy, but doesn't exit with an error or have any effect with feisty.

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

Package: xmodmap
Version: 1:1.0.1-0ubuntu1

I have he himself problem.

Not work:
xmodmap /usr/share/xmodmap/xmodmap.es

-- System Information:
Debian Release: 4.0
  APT prefers feisty
  APT policy: (500, 'feisty')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.20-8-lowlatency
Locale: LANG=es_CL.UTF-8, LC_CTYPE=es_CL.UTF-8 (charmap=UTF-8)

Versions of packages xmodmap depends on:
ii libc6 2.5-0ubuntu11 GNU C Library: Shared libraries
ii libx11-6 2:1.0.3-4ubuntu1 X11 client-side library

xmodmap recommends no packages.

-- no debconf information

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

New test. Now work fine my keyboard.

$xmodmap /usr/share/xmodmap/xmodmap.la

Change of xmodmap.es to xmodmap. Not problem

My keyboard is "Latino americano". Not "spanish".

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

James, can you try if 1.0.2-0ubuntu1 works better, you can grab it from here (only i386 binary, but sources available):

http://users.tkk.fi/~tjaalton/xorg72/pool/feisty/xorg-test/

Changed in xmodmap:
status: Unconfirmed → Needs Info
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

it probably doesn't help upgrading xmodmap, since I can't reproduce this.. at least xmodmap -pk lists the entries correctly if I change them.

Revision history for this message
James Troup (elmo) wrote :

Ok, so I've confirmed that a) this is not due to my dotfiles, I've reproduced it on the same machine with a freshly created user. b) this is a gnome not X or xmodmap problem as if I start a 'failsafe terminal' session, xmodmap works fine. Reassigning to control-centre as discussed with Seb.

Revision history for this message
Tollef Fog Heen (tfheen) wrote :

Milestoning for beta (regression)

Revision history for this message
Tollef Fog Heen (tfheen) wrote :

Multiple people are reporting that xmodmap works perfectly for them, so removing milestone. Please see if you can come up with reproducibility criteria.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

This sounds very suspiciously like an xkb problem I've heard of before

Revision history for this message
Tollef Fog Heen (tfheen) wrote : Re: [Bug 86904] Re: xmodmap doesn't work in feisty

* Scott James Remnant

| This sounds very suspiciously like an xkb problem I've heard of before

Can you elaborate?

James, could you add the output of setxkbmap -print to this bug?

--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are

Revision history for this message
James Troup (elmo) wrote :

Tollef Fog Heen <email address hidden> writes:

> James, could you add the output of setxkbmap -print to this bug?

xkb_keymap {
        xkb_keycodes { include "xfree86+aliases(qwerty)" };
        xkb_types { include "complete" };
        xkb_compat { include "complete" };
        xkb_symbols { include "pc(pc105)+us+ctrl(nocaps)" };
        xkb_geometry { include "pc(pc105)" };
};

--
James

Revision history for this message
Ted Anderson (ota-surfvi) wrote :

I've also had problems with .Xmodmap not "working". But my problem seems to be that it does work, but then the modmap subsequently gets reset to the default. This seems very much like bug #97175 (https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/97175/).

Revision history for this message
Ted Anderson (ota-surfvi) wrote :

The work around suggested by Oliver[1], removing the x bit from /usr/bin/xkbcomp, resolved the problem for me.

[1] https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/97175/comments/6

Changed in control-center:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Needs Info → Unconfirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

could you try if that's still an issue in hardy?

Changed in control-center:
status: New → Incomplete
Revision history for this message
James Troup (elmo) wrote :

I can no longer reproduce this problem on hardy.

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for the update, seems to be fixed, closing the bug

Changed in control-center:
status: Incomplete → Fix Released
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.