LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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

Reply
 
LinkBack Search this Thread
Old 04-30-2008, 05:23 PM   #1
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 250

Rep: Reputation: 31
KDE shortcut keys -- how to check them?


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.
 
Old 04-30-2008, 05:33 PM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: OpenSUSE 12.1 CentOS 6.2
Posts: 8,962

Rep: Reputation: 1345Reputation: 1345Reputation: 1345Reputation: 1345Reputation: 1345Reputation: 1345Reputation: 1345Reputation: 1345Reputation: 1345Reputation: 1345
Through the KDE control center you can see all the keyboard shortcuts definitions. See section "Regional & Accessibility".
 
Old 04-30-2008, 05:38 PM   #3
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Squeeze, Fedora 14
Posts: 7,268

Rep: Reputation: 83
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
 
Old 04-30-2008, 08:21 PM   #4
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 250

Original Poster
Rep: Reputation: 31
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.
 
Old 04-30-2008, 08:57 PM   #5
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 250

Original Poster
Rep: Reputation: 31
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.
 
  


Reply

Tags
kde


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 12:54 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
Open Source Consulting | Domain Registration