Bug 582123 - Keyboard mappings with xmodmap are not restored after suspend
Summary: Keyboard mappings with xmodmap are not restored after suspend
Keywords:
Status: CLOSED DUPLICATE of bug 664238
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-14 07:33 UTC by moabi2000
Modified: 2011-02-23 04:33 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-02-23 04:33:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description moabi2000 2010-04-14 07:33:19 UTC
Description of problem:

My bash_profile calls xmodmap to define some keyboard customisations. This works fine on startup + login. However if I suspend to ram, the customisations are reverted and I have to manually call xmodmap again. The exact same setup worked fine under F11.

Version-Release number of selected component (if applicable):
Fedora 13 beta with kernel 2.6.33.2-35.fc13.x86_64. Running KDE 4.4.2.


How reproducible:


Steps to Reproduce:
1.Create a file called .xmodmap containing customisations, for example:
 !
 ! Swap Caps_Lock and Control_L
 !
 remove Lock = Caps_Lock
 remove Control = Control_L
 keysym Control_L = Caps_Lock
 keysym Caps_Lock = Control_L
 add Lock = Caps_Lock
 add Control = Control_L

keycode 61 = exclam less
keycode 51 = asterisk greater

2.place a line "xmodmap ~/.xmodmap" in .bash_profile
3.Log out and back in or restart. Note that the customisations have taken effect.
4.Suspend to ram (in KDE use the kickoff menu) to "sleep".
5. Wake up the computer. Note that the keyboard customisations have been reverted.
  
Actual results:

Keyboard customisations do not persist across a suspend - resume cycle.
 
Expected results:

Customisations should persist across a suspend-resume cycle. They did in F11 with exact same xmodmap and .bash_profile

Additional info:

I use an FR (AZERTY) keyboard layout on a QWERTY keyboard, set using the KDE System Settings. This is preserved across a suspend.

Reporting this against the kernel since that handles the suspend/resume.

Comment 1 Peter Hutterer 2011-02-23 04:33:30 UTC

*** This bug has been marked as a duplicate of bug 664238 ***


Note You need to log in before you can comment on or make changes to this bug.