|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Notebooks This is a special forum dedicated to notebook problems. |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
I have HP nx9010 and I want to assign the keys for volume up and down in Kamix. I have downloaded and installed omnibook module. i am not sure in which file to put it, so i am inserting it manually right now. also the readme, it is written to write options apmemu=1 and so on , in /etc/module.conf, but i do not see any difference when i am doing this. now when i run xev, i got code key values for the buttons? so how to assign them, because kamix is not able to get them? also i have tried lineakd , but it just crashes ![]() |
|
|||
|
Have you tried "khotkeys" which should be in your KDE Control Centre
|
|
|||
|
yep I have tried, but it also does not recognize them
![]() the output from xev at the terminal is: for the mute button: KeyRelease event, serial 30, synthetic NO, window 0x2a00001, root 0x48, subw 0x0, time 1107840, (-224,307), root 454,333),state 0x0, keycode 160 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes for the volume up: KeyRelease event, serial 30, synthetic NO, window 0x2a00001, root 0x48, subw 0x0, time 1150993, (51,68), root 729,94),state 0x0, keycode 176 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: |
|
|||
|
YOu might have to do some reading up on xmodmap and xev together to reprogram keys - be warned its not trivial - not impossible, but definitely a little work
|
|
|||
|
k i will try to read the man for xmodmap, i hope i will be able to do it.
can you tell me where to put the command modprobe omnibook, so the module will be loaded at startup? /etc/boot.local or /etc/module.conf ... |
|
|||
|
in 2.6 kernel the file is /etc/modprobe.conf - but you could slap in at the end of boot.local - thats probably the best place...
I did (the xmodmap thing) with an MS Multimedia Keyboard. It only takes a little patience. Get the xev keycodes and then use xmodmap to reprogram them as needed.... A quick google on "xev xmodmap" may help, particularly if you add in the name of the laptop/keyboard concerned - hopefully someone's already done it and been nice enough to tell people how ;-) |
|
|||
|
ok, up to now I have some progress
![]() the volume up, volume down, and mute keys are working when i press them a nice windows pops up and increase (decrease) the volume percentage. the problem that i have is the following I am using a script in .kde/Autostart to set the keys: for example: xmodmap -e "keycode 174 = XF86AudioLowerVolume" the problem is that if i launch a terminal for example, xmodmap is reset and when I invoke xmodmap -pke, this key codes are not assigned. any ideas? |
|
|||
|
check the bash startup files (.bashrc, .bash_profile) for anything that could be resetting the keys
|
|
|||
|
nothing wrong in the files that you have mensioned.
but there is no progress ![]() the keys are working for a given time and then do not know, after opening a application ot whatever, the mapping is just removed .... |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|