Keyboard settings from xsessionrc are reset

Bug #801764 reported by Davor Cubranic
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kdebase (Ubuntu)
New
Undecided
Unassigned

Bug Description

Kubuntu Natty (xserver-xorg-input-kbd 1:1.5.0+git20110108.849f5092-0ubuntu2) and Apple mini aluminum USB keyboard. The keyboard is plugged into the computer via a USB hub in my monitor (Dell WFP 2005).

I change the keyboard's layout via a call to xmodmap in ~/.xsessionrc, but by the time I can start using the desktop after logon, the layout is reset to default. I know the initial layout change succeeds because outputting it with 'xmodmap -pm' shows the expected values. The keyboard at that time is recognized as an Apple model, as shown by /proc/pub/input/devices, so nothing seems out of order there.

Tags: kubuntu
Revision history for this message
Davor Cubranic (cubranic) wrote :

Attaching Xorg's log. Curiously, the keyboard shows up three times, atached as /dev/input/event[345]. The first two are Apple keyboard, while the third one (event5) is of type "zc3xx".

Revision history for this message
Davor Cubranic (cubranic) wrote :
Revision history for this message
Davor Cubranic (cubranic) wrote :
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

Changed in ubuntu:
status: New → Invalid
Revision history for this message
Davor Cubranic (cubranic) wrote :

Fabio, do you mind explaining why you think this is not a bug? This cannot be normal behaviour, just because I'm using an Apple keyboard.

Changed in ubuntu:
status: Invalid → New
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

sorry for the error, probably i was treating more than one report at time
fabio

Revision history for this message
Davor Cubranic (cubranic) wrote :

Just to make sure the problem wasn't caused by the USB hub in my monitor that I was using, I plugged the keyboard directly into the computer. The bug is still there, but I'll attach X's log for this setup too, just in case.

Revision history for this message
Davor Cubranic (cubranic) wrote :
Revision history for this message
Davor Cubranic (cubranic) wrote :
Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello
Are you experiencing again this problems with the latest release Oneiric Ocelot ?
Thanks
Fabio
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

affects: ubuntu → xserver-xorg-input-keyboard (Ubuntu)
Changed in xserver-xorg-input-keyboard (Ubuntu):
status: Incomplete → New
status: New → Incomplete
bugbot (bugbot)
tags: added: kubuntu
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

not a driver bug..

affects: xserver-xorg-input-keyboard (Ubuntu) → kdebase (Ubuntu)
Changed in kdebase (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for kdebase (Ubuntu) because there has been no activity for 60 days.]

Changed in kdebase (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Davor Cubranic (cubranic) wrote :

I can confirm that this still happens with Oneiric.

I found a workaround: to change the keymap using xkb. I'm guessing that any changes done using xmodmap in xinitrc get overwritten by KDE later on during its startup, when it applies the default xkb map. But if my xinitrc uses setxkbmap instead, KDE notices that and doesn't muck about with this any more.

Changed in kdebase (Ubuntu):
status: Expired → New
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.