LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Keyboard Hotkeys (https://www.linuxquestions.org/questions/linux-newbie-8/keyboard-hotkeys-411219/)

manicman 02-03-2006 07:07 AM

Keyboard Hotkeys
 
hi ive recently got a new keyboard and i am struggling to assign commands to some of my shortcut keys most of them work fine and i have assigned them commands using xbindkeys but one or two of them dont work xbindkeys fails to even register the key when i use xbindkeys -mk.

The gnome keyboard shortcuts thing doesn't work either it will register the key and assign it a command but it doesn't do anything when you push it ive tried looking into xmodmap but it doesn't seem to be able to preform commands could do with some advice on what to try next thanks

Artanicus 02-03-2006 07:57 AM

What kind of keyboard and key?
If the key doesnät have a keycode assigned, the kernel will warn you about it every time you press it, with instructions how to bind it. So, I suggest you tap it a few times and then tale a look at /var/log/messages or /var/log/syslog or just plain old
Code:

dmesg

manicman 02-03-2006 08:17 AM

hi thanks its a Cherry Cymotion Master linux keyboard
the keys im trying to assign are
0X90 and 0X99
i thought i had assigned the keys to the kernel because the keyboard came with an rpm to do so and since installing it most of the key have started working but when i ran dmesg as you said i got this error
Code:

[  141.755994] atkbd.c: Use 'setkeycodes e008 <keycode>' to make it known.
[  141.859276] atkbd.c: Unknown key pressed (translated set 2, code 0x88 on isa0060/serio0).
[  141.859281] atkbd.c: Use 'setkeycodes e008 <keycode>' to make it known.
[  141.925708] atkbd.c: Unknown key released (translated set 2, code 0x88 on isa0060/serio0).
[  141.925713] atkbd.c: Use 'setkeycodes e008 <keycode>' to make it known.

on the last few lines though i dont get anything when i repeatedly hit the keys that arnt working

manicman 02-03-2006 09:01 AM

yay ive solved it now turns out it had something to do with having xbindkeys in my xsessions file for somereason it never loaded it properley when it was in it


All times are GMT -5. The time now is 06:59 PM.