Kde shortcuts with more then 2 keys pressed not working
SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Kde shortcuts with more then 2 keys pressed not working
I am running slackware 10.2 with kernel 2.6.13 on a thinkpad r40. KDE shortcuts combining more than 2 keys aren't working, neither does any shortcut combination consisting of only shift, ctrl or alt keys. (f.e. layout switcher> alt-shift.) xev interprets these as keypress and keyrelease events, not as keymap notify events. my xorg.conf reads following>
Option "XkbModel" "pc104"
Option "XkbLayout" "us,cz,tr"
Option "XkbVariant" ""
Option "XkbOptions" "grp:alt_shift_toggle"
I understand it is some conflict between kde and x, and did some googling about the topic, but to no avail. i would appreciate any tips for where to start.
Thank you for your answer, I had a look at the links. But it is not exactly the problem, I am not trying to add a sequence to start an executable, i am just trying to use the existing shortcuts, mainly the keyboard layout shortcut alt-shift. To clarify the problem>
If i assigned a shortcut (KHotkey) to start f.e. krusader with alt+k, this shortcut would work, but if it was alt+shift+k it wouldn't. Any combination with (shift/ctrl/alt)+(any key) works, any combination with (shift/ctrl/alt) + (shift/control/alt) doesn't. Like the language layout switcher alt+shift. When I try to assign them in the control center/Khotkeys/triggers/new/select shortcut dialog, i press alt, it says alt; i press shift or control, it says ISO_prev_group and closes the configuration window. I hope I explained the problem better this time. I would still be grateful for any tips,
have a good day
lets troubleshoot sorry if you have already done so ...but this post may help others?
1 go into kde control centre then system then khotkeys and make sure the disable boxes are unchecked for both tabs
2 go into accessibilty then keyboardshortcuts and choose scheme= kde with 3 or 4 moodifier keys and activate and test
3 if still fails maybe it is the manufacturer of your keyboard....the layout itself...so go into accessibility and layout and play around with keyboard layouts after enabling the function
4 Now I think your answer is this....kde cc...accessibilty...Xkboptions....if enabled..you have possible GROUP shift on....
so alt then control...(second from top changes group)...
unselect it and retest your keys
(b) alt and shift (6 down) ditto
5 Otherwise search for each key type and try other layout options?
In control center>keyboard shortcuts>modifier keys there is a table comparing Kde modifiers with Xmod, and underneath another table which shows X modifier mapping. It looks like X11 thinks my alt is a win key.
-------------------- Kde modifiersX-11 mod
--------------------- X 11 modifier mapping X11 mod Key1 Key2
Shift Shift_L Shift_R
control Control_L Control_R
I think this identifies the problem, I have to add mod1 to the X11 modifier mapping. Now I can start looking for a solution. Thanks for your tips and time, have a good day
try easy way....change your keyboard as a 105 intĺ then 104 etc to see if that works....otherwise you have a envious task of reading man setkeycodes and man loadkeys....there are other references as well here is a brief idea
I'm afraid that it is not in the control center, i tried the different options with shortcuts schemes in all possible variations. My computer is a thinkpad R40 laptop and doesn't even have a win key. I will definitely try to change xorg.conf to 105pc, but still i am afraid that I
have an envious task of reading man setkeycodes and man loadkeys
Well, thanks for your time, I won't be able to peep into the problem until friday though, when I find the solution I will post it here.
I did a fresh install for various reasons and still no solution for the keyboard problem. Everything works in fluxbox or blackbox with the above mentioned xorg.conf, i can switch between layouts using alt+shift, but in kde i still can't use alt+shift combinations, and now i also cant use an apostrophe (') unless i press space right after pressing the ' key. So it is clearly a kde issue. I started to look into xkb, but it looks very complicated, so my question is> do you think it is something i can solve if i delve into xkb issues, or is there some sort of simple thing which could help me, f.e. some part of kde doesn't have the right permission or something.
one more interesting thing is> when I try to assign a keyboard shortcut in control center, immediately after pressing alt - shift a keyboard shortcut gets chosen, which is labelled alt+ISO_Next_Group. I tried to google from there, but could not find any useful information.
well my brain hurts but try running your xorg.conf or XF86config or I think XF86cfg and see if you can change that keyboard......it will be simpler than playing with all that other junk.
I don use slack any more so just go into /usr/bin or sbin and double check the spelling of the commands pls
well, it is clearly not an xorg problem, because in fluxbox and any other window manager everything works as it should. only place the keys get messed up is kde.
If everything is working in X, but not in kde, that means kde probably further enhances or changes xorg, or has some settings which override xorg.conf. But where and how? i am right now stuck in some point, where i don't know where to look further. I went through all kde files in /opt, i read many keyboard howto's, which all dealt with xorg, i googled all sort of combinations of keywords, but everywhere i get the impression that if something works in X, it should work in kde too.
sorry to cause you brain-ache, i enjoy it too, well, got to be at least a bit masochistic to deal with all this anyway