On Tuesday 22 May 2007 17:15, Chris Arnold wrote:
> I have a Dell keyboard with home, refresh, close, back and forward buttons
> on it. These buttons do not work when pushed. Is there a way to make these
> buttons work on SLED10 with firefox2?
        Yes,

        ... the first thing you need to do is determine whether the keys are 
visible 
to the kernel... this is easy:

        From a black screen alt-F1 console use the showkey command... do not do 
this 
from a terminal on the desktop.... 

        With showkey running press all the the special multimedia keys... and 
look 
for responses.  If the key does nothing, then press the F10 key to look at 
the kernel messages... the kernel will tell you whether the key was 
recognized and what its scancode is.  You can add easily scancodes to the 
kernel with setkeycodes command.

        Next, you will need to map the kernel keycode to the X events you want 
for 
firefox... or multimedia... whatever...  using xev.

        Run xev from a terminal on your desktop.  It will open a window that 
you will 
focus with your mouse and then type into it... the keycodes will appear for 
keypress and keyrelease...   write them down... you then map those events to 
the action you want using the keyboard utilities in the control panel.  

        All of the buttons on all keyboards can be mapped to do anything you 
want to 
do... sometimes its a little work... but it is always doable in linux.




--      
Kind regards,

M Harris     <><
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to