| 1 |
This module provides support for the VolumeUp, VolumeDown and Mute Internet |
This module provides support for the VolumeUp, VolumeDown and Mute Internet |
| 2 |
keys found in many laptops and special keyboards. |
keys found in many laptops and special keyboards. |
| 3 |
|
|
| 4 |
If you use CTRL in conjunction with volUp/Down it changes the volume by 10, |
Please note that in order this module to work, mentioned special keys have to |
| 5 |
otherwise by 1. |
generate appropriate X key symbols (keysyms), namely XF86AudioLowerVolume, |
| 6 |
|
XF86AudioRaiseVolume, XF86AudioMute. You can use "xev" program to watch events |
| 7 |
|
generated by X server and "xmodmap" program to assign events (keycodes) to |
| 8 |
|
keysyms. Also watch kernel log (dmesg) for unknown scancodes. |
| 9 |
|
|
|
Have fun. |
|
| 10 |
|
If you use CTRL in conjunction with volUp/Down it changes the volume by 1%, |
| 11 |
|
otherwise by 10%. |
| 12 |
|
|
| 13 |
|
This module is now configurable (though with no configuration GUI), you can |
| 14 |
|
change which channels (kmix device indexes) to change volume on, you can also |
| 15 |
|
tweak volume changing steps. Channels are represented by numeric indexes |
| 16 |
|
starting from zero, in order to get the right channel, you have to experiment |
| 17 |
|
a little (keep the kmix mixer window open). ;) Examples: |
| 18 |
|
|
| 19 |
|
# Change "fast" step to 5% and "slow" step to 2%: |
| 20 |
|
kwriteconfig --file kmilodrc --group "generic monitor" --key volumeStepFast 5 |
| 21 |
|
kwriteconfig --file kmilodrc --group "generic monitor" --key volumeStepSlow 2 |
| 22 |
|
|
| 23 |
|
# Change channel to set volume on to 1 (use -1 to use kmix' master device): |
| 24 |
|
kwriteconfig --file kmilodrc --group "generic monitor" --key volumeDeviceIdx 1 |
| 25 |
|
|
| 26 |
|
# You can also specify different mute channel (leave it unset or set it to -1 |
| 27 |
|
# to use the same channel for muting and changing volume): |
| 28 |
|
kwriteconfig --file kmilodrc --group "generic monitor" --key muteDeviceIdx 2 |
| 29 |
|
|
| 30 |
|
# KMilo now supports an extra channel, whose volume and mute will be set to |
| 31 |
|
# whatever your primary channel is set to. (leave it unset or set it to -1 to |
| 32 |
|
# disable this functionality): |
| 33 |
|
kwriteconfig --file kmilodrc --group "generic monitor" --key extraDeviceIdx 5 |
| 34 |
|
|
| 35 |
|
# Use following call to apply these settings without restarting your session: |
| 36 |
|
dcop kded kmilod reconfigure |
| 37 |
|
|
| 38 |
|
Have fun. |