Summary: | winkey not assigned modifier although xmodmap says so | ||
---|---|---|---|
Product: | kcontrol | Reporter: | Robert <bytewise> |
Component: | kcmkeys | Assignee: | Ellis Whitehead <ellis> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 2.0 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Robert
2003-12-08 16:41:47 UTC
After installing kde 3.1.94 (3.2 beta 2), I managed to get my win key to work after setting the following: "use keyboard layouts" (turned it on) "xkb options" "Alt/Win key behavior" -> "Meta is mapped to the left Win-key" If I set these things to anything else it will either completely ignore my win key, or not let me assign any shortcuts to win+<somekey>. It will recognize "win+" in the assignment window, but when I press some other key, just drop the win key in the assignment (as though I could not press the win key together with other keys). Even though it works with the above settings, "keyboard shortcuts"->"modifier keys"->"x modifier mapping" tells me something different than xmodmap. Why this discrepancy? I am running KDE 3.2.1. I have a Logitech internet keyboard. In the X modifier modifier, the line for mod4 is empty, although xmodmap gives mod4 Super_L (0x7f), Hyper_L (0x80) In the Xf86config I have the line Option "XkbModel" "pc105". I have not tried the trick that Robert suggested and I am facing with the same problem that Robert was. Is his trick the only solution or is this a bug? Robert's solution has one flaw. Meta is not anymore Alt and you have problem with the shortcuts that Emacs uses. I don't seem to have any problems with this anymore as of kde 3.2.2. I don't know about Meta/Alt/Emacs, though. In KDE 3.3.1 When I do in kcontrol: "xkb options" "Alt/Win key behavior" -> "Meta is mapped to the left Win-key" And then I try to use the Meta key in emacs, it doesn't work... If I ask emacs to describe the key I press (using C-H k) it answers H-M-s-x instead of M-x, which means I guess Hyper-Meta-Super-x??? xmodmap is answering: mod4 Meta_L (0x73), Super_L (0x7f), Hyper_L (0x80), Meta_L (0x9c) I guess that is too much for my little window key... If I do xmodmap -e "clear Mod4" xmodmap -e "add Mod4 = Meta_L" then xmodmap is answering mod4 Meta_L (0x73), Meta_L (0x9c) and it works with emacs... But I can't manage to solve the problem with kcontrol... I just updated my KDE from 3.5 to 3.5.2 with the effect that I can not assign new shortcuts involving the Win-key. The behaviour is strange and completely counter intuitive: first all my already assigned shortcuts with win-key work, e.g. I use Win+1 to switch to desktop 1 and so on. If I try to define a new shortcut, e.g., Win+9 to switch to desktop 9 in the configure shortcut dialog, first 'Win+' appears when I start holding down the win-key and when now pressing 9 only the win+ gets deleted and I get this message In order to use the '9' key as a shortcut, it must be combined with the Win, Alt, Ctrl, and/or Shift keys. Haha, that's what I try to do. To make things even stranger, in the "Modifier Keys" Tab, I get this: KDE Modifiers Modifier X11-Mod Shift shift Ctrl control Alt mod1 Win <None> X Modifier Mapping X11-Mod Key 1 Key 2 shift Shift_L Shift_R lock Caps_Lock control Control_L Control_R mod1 Alt_L Alt_R mod2 Num_Lock mod3 mod4 Super_L Super_R mod5 This seems fine except for Win <None>. Now I want to mention that I didn't change anything on my X-setup when switching versions, so I should be KDE-Problem not an X issue. Moreover if I select from the available Schemes "KDE Default for 4 Modifier Keys" I get this warning: This scheme requires the "Win" modifier key, which is not available on your keyboard layout. Do you wish to view it anyway? Ok, so win is not recognized as a modifier. Why? Super_L/Super_R is mapped to the Win-Keys with Kxkb: setxkbmap -option -option altwin:meta_super. I have also tried a tip I googled adding Super_L to mod3 without any changes, well except that my current shortcuts with the Win-key didn't work anymore. Again, all my previous short-cuts work with the win-key, I can even edit the .kksrc file with a text-editor and put in new combinations involving the win-key that work. I just can't use the dialog. And it doesn't give any clues why win isn't assigned as a modifier, which it obviously is! Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug. Kcontrol has been replaced by System Settings in Plasma. Please give the latest version of that a try, and open a new bug in "systemsettings" if you continue to have an issue. Thank you! |