Polynomial-C Retired Dev
Joined: 01 Jun 2003 Posts: 1432 Location: Germany
|
Posted: Wed Oct 22, 2008 10:35 pm Post subject: |
|
|
Assuming you have kde-3.5 installed, install kde-base/kxkb and kde-base/khotkeys to configure your extra keys.
After installation of these packages, open the KDE control center, open the submenu of "Regional & Accessibility" and klick "Keyboard Layout".
Enable the layouts and choose the Logitech G15 under "Keyboard model". Now the extra keys from your G11 should be available to the X-server but there is still no action assigned to any of those extra keys. This can be done in the "Input Actions" menu.
Create a new group and call it "Logitech G11". Inside of that group create all actions you would like to assign to your desired extra keys.
For the volume stuff, create two actions (volume up and volume down) of the type "Keyboard Shortcut -> Command/URL (simple)". When you want to assign the volume wheel to those two actions just push the wheel into the correct direction when selecting the shortcut for that action. As command you can use amixer (from media-sound/alsa-utils package). For my emu10k1 card I used these commands: Code: | amixer set Master 10%- #volume down
amixer set Master 10%+ #volume up |
I hope this helps...
Cheers
Poly-C
P.S.: You could use dcop commands to control kmix as well but when I used that method, every change of my system's volume lead to some very short but annoying freeze of the whole desktop... _________________ The manual said "Requires Windows10 or better" so I installed GNU/Linux...
my portage overlay
Need a stage1 tarball? (Unofficial builds) |
|