← Back to team overview

desktop-packages team mailing list archive

[Bug 287215] Re: xmodmap settings not getting honored when keyboard devices are hotplugged

 

Still a problem with trusty 14.04.  I use a usb switch to multiplex
input devices between different machines and each time that I switch, I
use all my custom settings are lost:

    setxkbmap -layout de -model pc105 -variant "nodeadkeys" -option "ctrl:nocaps,compose:menu"
    xkbset sticky -twokey latchlock

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/287215

Title:
  xmodmap settings not getting honored when keyboard devices are
  hotplugged

Status in xorg-server package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: xserver-xorg-input-evdev

  I use xmodmap to map the caps lock key to the meta key with the
  following in my ~/.Xmodmap:

    !
    ! - map capslock to meta key
    !
    remove Lock = Caps_Lock
    add Mod3 = Caps_Lock

  This works correctly on Intrepid on my lenovo T61's built-in keyboard.
  When I plug in a USB keyboard, caps lock is not mapped to meta, though
  it still is mapped that way on the built-in keyboard. If I then re-run
  xmodmap on my .Xmodmap, caps lock on the USB keyboard gets mapped
  correctly; however, unplugging and re plugging in the USB keyboard
  results in its caps lock key being reset to the unmapped state.

  This worked correctly on hardy.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/287215/+subscriptions