LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 04-30-2008, 06:23 PM   #1
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 182
Thanked: 0
KDE shortcut keys -- how to check them?


[Log in to get rid of this advertisement]
I have a problem in that one of my applications uses Shift-F12 but it never gets through. Some googling revealed that it was being grabbed by khotkeys, but I still don't know which specific operation is grabbing it. Is there a way to check in general what commitments there are for a particular key combination - not just for khotkeys but for all the other keyboard definitions? If there isn't, there should be.
pwabrahams is offline  
Tag This Post , ,
Reply With Quote
Old 04-30-2008, 06:33 PM   #2
colucix
Guru
 
Registered: Sep 2003
Location: Bologna, Italia
Distribution: OpenSUSE 11.1 CentOS 5.4 VectorLinux 6.0
Posts: 5,129
Thanked: 464
Through the KDE control center you can see all the keyboard shortcuts definitions. See section "Regional & Accessibility".
colucix is offline     Reply With Quote
Old 04-30-2008, 06:38 PM   #3
jailbait
Guru
 
Registered: Feb 2003
Location: atop the Blue Ridge
Distribution: Debian Lenny, CentOS 5.2
Posts: 7,250
Thanked: 31
You can configure KDE keyboard shortcuts in the control center (kcontrol). Click on:

control center -> Regional & Accessibility -> Keyboard Shortcuts

and then configure the Global Shortcuts the way that you want it to handle Shift-F12.

--------------------
Steve Stites
jailbait is offline     Reply With Quote
Old 04-30-2008, 09:21 PM   #4
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 182
Thanked: 0

Original Poster
Thumbs down KHotKeys versus Kcontrol

It seems that when it comes to grabbing keystrokes, there are two uncoordinated daemons that provide that facility: the Regions and Accessibility area of kcontrol, and KHotKeys. Shift-F12 is not listed in Regions and Accessibility, but it's still being grabbed, and khotkeys is doing the grabbing.

The behavior I want for Shift-F12 is that it gets forwarded unchanged to the currently active application. There's a not-so-straightforward way to see if R&A is grabbing it: try assigning it to some other operation listed in R&A. It works, but it's not the natural way of doing this. And R&A isn't aware of the khotkeys assignments at all; I can assign Shift-F12 to an R&A action and it won't complain because it doesn't know that khotkeys is grabbing it first.

Determining the khotkeys grabbing is very difficult. I even tried assigning it to something else in the Menu Editor (itself obscurely located) and the existing use, for whatever reason, wasn't picked up. The only way I could figure out to deallocate Shift-F12 was to forcibly remove the reference to it from the khotkeysrc file (which I found out about from another post).

What's really needed is a simple way to determine whether a particular key combination is being grabbed by anyone at all and who is doing the grabbing.
pwabrahams is offline     Reply With Quote
Old 04-30-2008, 09:57 PM   #5
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 182
Thanked: 0

Original Poster
Where are the khotkeys docs?

I've tried in vain to locate the docs for khotkeys (I'm running under KDE, of course). man khotkeys doesn't find anything, nor does a search through the KDE docs for khotkeys. Even locate khotkeys doesn't find anything useful.
pwabrahams is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE Shortcut Keys metalx1000 Linux - General 1 01-30-2007 10:20 PM
configure kde shortcut keys in fc5 jon23d Fedora 2 06-07-2006 04:36 AM
Shortcut keys for Non-KDE apps in KDE thebeast Linux - Software 0 12-03-2005 02:36 PM
KDE shortcut keys doralsoral Linux - Software 3 06-14-2005 09:00 AM
Any shortcut keys to lock screen in KDE ? timberwolf Mandriva 3 12-18-2003 06:02 AM


All times are GMT -5. The time now is 07:29 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration