Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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.
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.