[SOLVED] Mandriva 2010: How to map keyboard key to Firefox Search bar?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Mandriva 2010: How to map keyboard key to Firefox Search bar?
I'm almost embarrassed to come up with such a trivial question, but this one's really bugging me.
I have a Nortek Diva keyboard and my machine runs Mandriva. In Mandriva 2009, pressing the "magnifying glass" button on my keyboard took me straight to the Firefox Search bar. Fantastic! Now that I've upgraded to Mandriva 2010, however, pressing the same button just launches the search engine as a new tab (okay, I can live with that), but the cursor is not active in the Search field.
I've been to the Nortek site but there are no drivers for the keyboard, Linux or otherwise. And no Nortek keyboard configurations appear in the Mandriva Linux Control Centre. I know how to use xev to capture keystrokes. What I'd like to know is, how can I map the keyboard button to position a cursor in the Firefox Search bar? I use Search A LOT, so this is really slowing me down. I bet it's something like "firefox %search". Any help gratefully received. (I'm using Firefox 3.5.3)
There doesn't seem to be any way to customise Firefox keyboard shortcuts so the trick will be to map the "magnifying glass" button on your keyboard to the standard shortcut. Best ensure the standard shortcut (Ctrl+K?) works first!
IDK about that; maybe xkbd and xmodmap are involved. I think there's an X utility to show you what each key generates but I can't remember its name. At a command prompt on a virtual terminal (accessed by Ctrl+Alt+F<1 to 6>) the showkey command does it (you have to wait for it to timeout).
Not so many questions here about "maginfying glass" keys but several about brightness and volume control keys so might be worth searching LQ for those threads to get an idea of how key mapping is done.