LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Kde shortcuts with more then 2 keys pressed not working (https://www.linuxquestions.org/questions/slackware-14/kde-shortcuts-with-more-then-2-keys-pressed-not-working-403013/)

cuk 01-13-2006 03:01 PM

Kde shortcuts with more then 2 keys pressed not working
 
Hello,
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.
Best c.

aus9 01-14-2006 08:13 AM

try a read of these if you have time
http://www.linuxquestions.org/questi...d.php?t=390368
http://krusader.sourceforge.net//php...pic.php?t=1392

if I understand your question you are looking for a keyboard shortcut to perform a task eg run a executable etc......you could also consider enabling mouse gestures

cuk 01-14-2006 09:31 AM

not exactly
 
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
c.

aus9 01-14-2006 07:10 PM

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?

cuk 01-15-2006 08:34 AM

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 modifiers X-11 mod
Shift shift
Ctrl control
Alt mod1
Win mod4

---------------------
X 11 modifier mapping
X11 mod Key1 Key2
Shift Shift_L Shift_R
control Control_L Control_R
Mod2 Num_lock
Mod4 -
----------------------
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
c.

aus9 01-16-2006 03:33 AM

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

http://www.linux.com/howtos/Keyboard...-HOWTO-2.shtml

EDIT

just been reading, oops its gets messy but try different keyboards first.

man dumpkeys gives some options....ref /usr/src/linux/drivers/char/defkeymap gives you a reference but

dumpkeys -l (for long) and dumpkeys -n (for number) are your friends.

you may need the hex number when you see the setkeycodes function. now that I am playing with my WINKEY it opens the kde cascading menu....= MS start button

aus9 01-16-2006 06:04 AM

oops

try kde control...access/....keyboard shortcuts....select scheme ....WINDOWS with win key

cuk 01-16-2006 10:58 AM

hi,
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
Quote:

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.
best c.

cuk 01-23-2006 12:39 PM

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.

aus9 01-24-2006 09:57 AM

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

cuk 01-24-2006 11:42 AM

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 :)

aus9 01-25-2006 07:46 AM

some links on xev that may help?

http://lists.ibiblio.org/pipermail/b...ay/000585.html

http://linux.wikicities.com/wiki/Fir...with_Slackware

http://www.faqs.org/docs/Linux-mini/Intkeyb.html

I read somewhere here keycode is 116 or 117 for win logo key


All times are GMT -5. The time now is 10:28 AM.