← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 372612] [NEW] Wrong keyboard settings are restored after resume

 

You have been subscribed to a public bug:

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,compose:rwin,alt_win:menu"
    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.

** Affects: xserver-xorg-input-evdev (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Wrong keyboard settings are restored after resume
https://bugs.launchpad.net/bugs/372612
You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-input-evdev in ubuntu.