Popular Keyboard shortcuts (Was: RFC: KDE4, KMix and a public Mixer API)

Lubos Lunak l.lunak at suse.cz
Tue Oct 10 10:29:06 BST 2006

On Monday 09 October 2006 22:38, Christian Esken wrote:
> Am Montag, 9. Oktober 2006 10:43 schrieb Lubos Lunak:

> OK, actually this is a generic issue. There are some very popular Keyboard
> shortcuts. Popular in the sense that many applications would like to hold
> this global shortcut: XF86AudioRaiseVolume
> XF86AudioLowerVolume
> XF86AudioMute
> XF86AudioPlay
> XF86AudioStop
> XF86AudioNext
> XF86AudioPrev
> Problem 1) KKeydialog lets you assign a global shortcut that is already
> taken by another application (obviously it doesn't work, but the user won't
> get a warning). So the user assigns the "XF86AudioPlay" in his new shiny MM
> Application and curses that they don't work - first impression is ruined.

 Er, why? As long as only one application with that shortcut bound is running, 
there's no problem. When there are more of them, then with keys like Play 
there's a very different problem of what the key should actually do.

> > mixer itself has the ability to handle shortcuts and it seems like the
> > right
> Problem 2) And if a user runs the KMix PanelApplet instead of the Mixer?

 Solution 2) : There's no problem 2). The applet has that ability as well. And 
even if the user uses that applet and runs KMix to get a complete control, 
then still the applet shortcut will work just fine.

> >  Of course, there are the stupid laptop multimedia keys that don't work
> > like normal keys and need special handling, and there's KMilo which
> > instead of doing the conversion tries to handle them in hackish ways, but
> > even then I
> Problem 3) KMilo is also taking away regular keys like
> XF86AudioRaiseVolume.
> So we see that we actually have an issue. It cannot be discussed away.
> If there is no generic solution, I will do a special solution for KMix,
> MixerApllet and KMilo.

 Yes. Assign the shortcut by default to KMix and KMixApplet, dump it from 

Lubos Lunak
KDE developer
SUSE LINUX, s.r.o.   e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http//www.suse.cz

More information about the kde-core-devel mailing list