Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 04-05-2004, 05:29 PM   #1
LQ Newbie
Registered: Apr 2004
Posts: 11

Rep: Reputation: 0

Alright, there are approximately five billion results on google for something along the lines of "Linux Keyboard shortcut launch" but after spending hours looking through them I found nothing truly relevant. I will assume that I simply don't know how to search Google and move on to my question.

I run KDE on Fedora Core.
I want to launch an application when I hit a media key on my keyboard (these have already been properly mapped and whatnot). However, I do not want to do so though the KDE panel's "add shortcut" feature because if I run it in KDE at all and not a shell or terminal, it loads a little window that won't friggin go away for five minutes.

What am I trying to load you ask? A small application I wrote that manipulates XMMS then exits.

Alright, can anyone help? Is there a way to map something like that directly into X so X does it for me and KDE doesn't go crazy? Or even something inside Fedora itself?

And a second question.. is there a way to manipulate individual shortcut keys for a particular program without using a tool within that program itself? For example, Firefox. I hate the way the keys are setup, but it provides no way to change them that I know of. I saw some sites hinting at such an ability, but with no real way of doing it that I could see.
Old 04-05-2004, 05:49 PM   #2
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
You can create a menu entry for it and use that, to add a hotkey for the program.

Or you can use the KHotKeys program in the control center. (Under Regional & Accessability ) Select Add new action, set the type to Keyboatd shortcut -> command/URL (simple)

Enter the shortcut, and the command and that should work as well.
Old 04-05-2004, 05:52 PM   #3
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hi there Thray! Welcome mate!

For the shortcut thing, you can use a third part program. I'd recommend xbindkeys:

it works quite well and it comes with some .config files examples for launching applications. Another one very popular is blackbox' bbkeys:

It should work with any desktop manager, though, it's more designed for the blackbox.

About Mozilla, I don't know. You could always check the code and change the keys then compile it as you please, but that's something I cannot do yet. I'm Megaman X, not the amazing Spider lol.

Good luck!
Old 04-05-2004, 06:22 PM   #4
LQ Newbie
Registered: Apr 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Oddly enough, I see no Add Action. I looked for that for a while when I first loaded KDE,a assuming there must be one, but alas. Maybe an old version of KDE or maybe one of the edits made to KDE by Fedora.. I hear there are some.

Mega Man: Thanks! I'm trying XBindKeys right now (have to install some of its dependencies first, and I'm too impatient to wait for all that to finish to post again. I'll post again when I know how it works.)
As for Firefox.. yeah. Actually, I can't imagine changing key binds to be TOO difficult, just very very tedious, so I was hoping to find an alternative...
Old 04-05-2004, 06:25 PM   #5
LQ Newbie
Registered: Apr 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Recieved compile-time error that it couldn't find rpl_malloc, used several times within 'keys.c'


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
I want to use hotkeys joshknape Mandriva 3 09-09-2005 07:10 PM
laptop hotkeys ultrashawn Linux - Laptop and Netbook 1 03-18-2005 07:03 PM
XMMS hotkeys in GNOME.. Cliekid Fedora 0 12-05-2004 12:24 PM
'Hotkeys' within console? nilwer Linux - Software 2 09-01-2003 05:00 AM
Licq hotkeys demojoe Linux - Software 0 03-30-2003 04:03 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:52 PM.

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