Wrong keyboard settings are restored after resume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xserver-xorg-input-evdev (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I use a custom script for configuring my keyboard layout on login in order to have a portable solution on all machines and desktop systems (kde, gnome, ...):
.xprofile
-------
...
setxkbmap -layout de -model pc105 -variant "nodeadkeys" -option "ctrl:nocaps,
xkbset m || true
xmodmap -e "keysym Menu = Pointer_Button2" || true
...
-------
Essentially, CapsLock is modified to be an additional control key and the right menu key is my middle mouse button (as my laptop lacks this button).
I call .xprofile from my .profile if $DISPLAY is set sufficiently.
Problem is, that after "resume from ram" the keyboard is restored to default settings *sometimes*.
I expect the xkb state of the X server to be preserved across suspend / resume cycles.
I have the strong suspicion that the bug is triggered by delayed USB recognition in my docking station. I could create a similar reset by unplugging my external keyboard and replugging it. Is there a way to prevent this magic from happening?
$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
All packages are current.
Maybe related to bugs #287215 and #295990.
tags: | added: jaunty |
Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. I have classified this bug as a bug in xserver- xorg-input- evdev. /wiki.ubuntu. com/ReportingBu gs.
For future reference you might be interested to know that a lot of applications have bug reporting functionality built in to them. This can be accessed via the Report a Problem option in the Help menu for the application with which you are having an issue. You can learn more about this feature at https:/