LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
  Search this Thread
Old 04-30-2008, 06:23 PM   #1
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 290

Rep: Reputation: 41
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, 06:33 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Through the KDE control center you can see all the keyboard shortcuts definitions. See section "Regional & Accessibility".
 
Old 04-30-2008, 06:38 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
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, 09:21 PM   #4
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 290

Original Poster
Rep: Reputation: 41
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, 09:57 PM   #5
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 290

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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:20 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration