(Non-geeks will probably want to ignore this entry)
If you buy a keyboard these days, chances are that it will have a number of extra keys on it. Ones for opening your email application or your web browser or for controlling the CD player. If you’re using Windows then your system probably came pre-configured to use those buttons, but on Linux I’ve always pretty much assumed that the buttons were useless.
But I was wrong. Yesterday I came across LinEAK (which apparently stands for “Linux support for Easy Access and Internet Keyboards”). This is a daemon that runs on your system watching for keys being pressed. When one of these extra keys is pressed, LinEAK steps in and runs whatever command you have associated with that key.
Of course, LinEAK needs to support your keyboard. It didn’t support mine (a Dell SK-8135) but it only took ten minutes to work out what the keycodes were for the extra keys and create a keyboard definition for my keyboard. And then a few minutes later I had useful commands running for all of the buttons. Well, not quite all of them. I need to do a bit more research on controlling Firefox from the command line, so I can set up things like the ‘back, ‘forward’ and ‘refresh’ buttons.
Oh, and the volume control on my keyboard isn’t a button. It’s a rotating thing that LinEAK doesn’t seem to recognise. More research needed there.
But all in all it was a successful hour’s work.
I use a trust IBM Model M.Yes, clickety clackety clack.As for “special keys”…Back “Alt left-arrow”.Forward “Alt right-arrow”.Reload “F5”.Been using these for a year or so. It’s second nature.Incidentally, you might find this list of keyboard shortcuts for firefox handy.
Have you found out the keycodes for the volume control yet? I have the same keyboard, with the same problem.
I don’t think that it has keycodes. I suspect that it’s driven by a different mechanism. I’m afraid I haven’t had time to investigate further.
Ya I have the same problem so if you ever find out how to get the volume knob working could you email me?
The volume control generates events on a seperate interface on the latest Ubuntu and there is a daemon to control it (not written by me) here:https://penguin-breeder.org/patches/