[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#396622: multimedia keys are not working



tags 396622 pending

hi michael,

after some investigations, kubuntu_12_kmilo_actions.diff patch adds only some 
new multimedia actions to the standard (generic) kmilo actions (volume 
up/down and mute). It doesn't resolve completely the issue.

To resolves it completely, they have added to kdebase package:
* ubuntu.xmodmap (laptop keycode -> xkeysym mapping)
* 80ubuntu-xmodmap (Xsession startup script to laptop keycode -> xkeysyms 
mapping)
* kubuntu_72_kxkb_xmodmap.diff (patch to reload laptop xmodmap on
keyboard layout switch, after setxkbmap)

The spec. behind these changes can be found at:
https://wiki.kubuntu.org/KubuntuLaptopButtons

I found on kmilo homepage (as kmilo lacks of documentation):
> KMilo Generic plugin
>
> In the KDE CVS version there is also a generic plugin for all keyboards
> with volume up/down keys acknowledged by X/KDE by default. Just start the X
> program xev and press your laptop's vol up/down keys to check. If it prints
> out some meaningful information, you can use it to setup KDE to take care
> of these and connect them to RaiseVolume, etc.
>
> If it does not work out of the box, your X keybindings have to set up.
> Usually, you do this in ~/.Xmodmap Example:
> keycode 129 = XF86AudioMedia
> keycode 144 = XF86AudioPrev
> keycode 153 = XF86AudioNext
> keycode 160 = XF86AudioMute
> keycode 161 = XF86Calculator
> keycode 162 = XF86AudioPause
> keycode 164 = XF86AudioStop
> keycode 174 = XF86AudioLowerVolume
> keycode 176 = XF86AudioRaiseVolume
> keycode 223 = XF86Standby
>
> This assigns e.g. keycode 160 to XF86AudioMute which triggers mute in the
> kmilo generic plugin. How to find out? start xev, move your mouse into the
> window and press the keys. .Xmodmap is read every time you start X. Use
> "xmodmap .Xmodmap" to test your configuration file.

For more informations,  i asked to Jonathan Riddell why the patch wasn't 
applied upstream:
> suse peoples say it's better to do that in khotkeys and since lubos lunak
> from suse wrote khotkeys I'm assuming he knows best.

At least, we can add kmilo patch until khotkeys changes. I'm not sure kdebase 
changes will be merged, we'll see with other debian kde team peoples think 
about it.

cheers,

Fathi



Reply to: