ubuntu-x-swat team mailing list archive
-
ubuntu-x-swat team
-
Mailing list archive
-
Message #84077
[Bug 373260] Re: ~/.Xmodmap gets loaded only by gdm (and not by kdm or startx)
#1 Akos Ladanyi wrote on 2009-05-07:
Sorry, I was wrong. This is a Kubuntu only bug.
#13 aunchpad Janitor wrote on 2010-02-21:
This bug was fixed in the package kubuntu-default-settings - 1:10.04ubuntu6
#14 Bryce Harrington wrote on 2010-07-02:
If it remains an issue, could you also attach a new /var/log/Xorg.0.log?
I've installed, and have been using lubuntu 10.04 (with LXDE) for the
desktop. As, the problem exhibits itself exactly as in comment #1, then
I submit that it, actually has not been fixed, it still persists, and it
remains an issue.
Not being able to swap Ctrl, and CapsLock IS ---> Painful. Please refer
to the attached.
Cheers
System keymaps upon login:
Caps_Lock 66 <---> x42
Control_L 37 <---> x25
$ xmodmap -pke
keycode 37 = Control_L NoSymbol Control_L
keycode 66 = Caps_Lock NoSymbol Caps_Lock
$ xmodmap -pm
xmodmap: up to 4 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x69)
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)
Caps_Lock key before any changes (upon login):
KeyPress event, serial 36, synthetic NO, window 0x1a00001,
root 0xfd, subw 0x0, time 460812, (144,376), root:(1041,417),
state 0x0, keycode 66 (keysym 0xffe5, Caps_Lock), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 39, synthetic NO, window 0x1a00001,
root 0xfd, subw 0x0, time 460937, (144,376), root:(1041,417),
state 0x2, keycode 66 (keysym 0xffe5, Caps_Lock), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
--
Control key before any changes (upon login):
KeyPress event, serial 36, synthetic NO, window 0x1c00001,
root 0xfd, subw 0x0, time 1513472, (-285,618), root:(845,659),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 39, synthetic NO, window 0x1c00001,
root 0xfd, subw 0x0, time 1513583, (-285,618), root:(845,659),
state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
---
Apply KeymapKeysym changes:
odoncaoa@waterford$ xmodmap -e "remove Lock = Caps_Lock"; xmodmap -pm
shift Shift_L (0x32), Shift_R (0x3e)
lock
control Control_L (0x25), Control_R (0x69)
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)
odoncaoa@waterford$ xmodmap -e "remove Control = Control_L"; xmodmap -pm
shift Shift_L (0x32), Shift_R (0x3e)
lock
control Control_R (0x69)
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)
odoncaoa@waterford$ xmodmap -e "keysym Control_L = Caps_Lock"; xmodmap -pm
shift Shift_L (0x32), Shift_R (0x3e)
lock
control Control_R (0x69)
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)
odoncaoa@waterford$ xmodmap -e "keysym Caps_Lock = Control_L"; xmodmap -pm
shift Shift_L (0x32), Shift_R (0x3e)
lock
control Control_R (0x69)
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)
odoncaoa@waterford$ xmodmap -e "add Lock = Caps_Lock"; xmodmap -pm
shift Shift_L (0x32), Shift_R (0x3e)
lock
control Control_R (0x69)
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb
odoncaoa@waterford$ xmodmap -e "add Control = Control_L"; xmodmap -pm
shift Shift_L (0x32), Shift_R (0x3e)
lock
control Control_L (0x25), Control_L (0x42), Control_R (0x69)
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)
System keymaps after changes completed:
$ xmodmap -pke
keycode 37 = Control_L NoSymbol Control_L
keycode 66 = Control_L NoSymbol Control_L
** Attachment added: "/var/log/Xorg.0.log"
http://launchpadlibrarian.net/53445882/Xorg.0.log
--
~/.Xmodmap gets loaded only by gdm (and not by kdm or startx)
https://bugs.launchpad.net/bugs/373260
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xinit in ubuntu.