LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-25-2006, 06:47 AM   #1
okok
Member
 
Registered: Jan 2002
Posts: 100

Rep: Reputation: 15
keyboard shortcuts in KDE


KDE allows to define arbitrary keyboard combinations for performing actions like switching language/keyboard layouts, but at least the KDE configuration application won't accept combinations of modifier key only (e.g. Ctrl-Shift, Alt-Shift). Worse still (from the point of view of a long-time windows user), it takes the key pressed in such combinations by the value it has on the current keyboard layout. So, for instance, if Ctrl-C is set to perform a 'copy' action, when my keyboard layout is, say, Hebrew, the 'C' key now types a Hebrew letter when clicked, so the Ctrl-C combination does not work, and I have to either define an alternative combination with a Hebrew letter or switch a keyboard layout to copy some text. If you use more than two keyboard layouts, you can't have your keyboard shortcuts work in some of them at all, because KDE would allow only 2 alternative combinations for each action.

Windows is less primitive on that. Ctrl-Shift is used to switch languages (so you don't have to use keys that may be used for other purposes), and combinations such as Ctrl-[C] work no matter what the [C] key happens to represent in the current keyboard layout.

My question is whether there is a way to bypass the very limiting way in which keyboard shortcuts work in KDE and make combinations of modifier keys do stuff, and make key combinations work independently of current keyboard layout.
 
Old 05-29-2006, 04:29 PM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
Interesting question. I'm sorry I really can't help you.

However, I would like to contend one of your statements:
Quote:
combinations such as Ctrl-[C] work no matter what the [C] key happens to represent in the current keyboard layout.
That depends a lot on what you mean by "represent". For instance, if you're using the dvorak keyboard layout, the hotkeys work for the remapped positions. For instance, you copy by pressing control and the key labelled 'i' (which is remapped to generate a c in the dvorak layout), and that key only. I have no experience with using non-latin alphabets with windows, however.
 
Old 05-29-2006, 11:30 PM   #3
okok
Member
 
Registered: Jan 2002
Posts: 100

Original Poster
Rep: Reputation: 15
Thanks for your reply.

In the case you describe, aren't the letters in the other keybaord layout simply defined as alternative ones? KDE does allow defining two alternative combinations for each action.
 
Old 05-31-2006, 03:39 PM   #4
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
No, that's not the case.

When I press the key with the label "i", all KDE ever sees is a "c". Similarly, if I press "c", all KDE sees is "j". Have a look at dvzine.org if you're unfamiliar with the dvorak keyboard layout. The reason KDE only sees "c" and "j" is because the mapping takes place at a lower level.

I could map C-q, C-j and C-k (which bear the labels "x", "c" and "v") to cut/copy/paste, and that would genuinely be the scenario you describe, but--I think--with the opposite purpose: instead of having an alternate layout for hotkeys, this gives you an alternate layout in general, but an "ordinary" layout for hotkeys.

I hope I've explained this clearly enough. Otherwise, learn how to type with the dvorak keyboard layout and come back (ha-ha-only-serious).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE Keyboard Shortcuts with different Keyboard Layout hellblade Linux - Software 5 04-18-2006 12:40 AM
kde and mouse/keyboard shortcuts thew00t Linux - Software 0 10-03-2004 12:10 PM
kde keyboard shortcuts scheme rgiggs Mandriva 2 05-10-2004 12:58 PM
kde keyboard shortcuts devfreak Fedora 2 03-28-2004 03:25 PM
Keyboard shortcuts and Mappings in KDE lazlow69 Linux - Software 5 01-10-2004 02:54 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration