[alsa-devel] Keyboard volume buttons

Harsha, Priya priya.harsha at intel.com
Thu Mar 5 14:36:21 CET 2009


Thanks a lot. That helps!

>-----Original Message-----
>From: alsa-devel-bounces at alsa-project.org [mailto:alsa-devel-bounces at alsa-project.org]
>On Behalf Of Lennart Poettering
>Sent: Saturday, February 28, 2009 12:30 PM
>To: alsa-devel at alsa-project.org
>Subject: Re: [alsa-devel] Keyboard volume buttons
>
>On Fri, 27.02.09 08:06, Vedran Miletić (rivanvx at gmail.com) wrote:
>
>> On Fri, Feb 27, 2009 at 3:20 AM, Harsha, Priya <priya.harsha at intel.com> wrote:
>> > Hi,
>> >
>> > Can anyone tell me how keyboard's volume buttons are converted into real volume
>change? Will there be an application that monitors the keyboard volume button events and
>call ALSA API to set the volume?
>> >
>> > Thanks
>> > Harsha
>> >
>> > _______________________________________________
>> > Alsa-devel mailing list
>> > Alsa-devel at alsa-project.org
>> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>> >
>>
>> Yes, X catches keypress and lets the window manager know about it. In
>> case of metacity, which is what GNOME uses, if that key is bound to a
>> volume control action, it calls gnome-volume-control to do the
>> apropriate change. I _believe_ it is so, never checked source code.
>
>It is actually not the window manager.
>
>In GNOME it is a little daemon that runs in the session and is called
>gnome-settings-daemon. It does a lot of little thinks, one of them
>handling volume key events and showing a nice OSD for it.
>
>Lennart
>
>--
>Lennart Poettering                        Red Hat, Inc.
>lennart [at] poettering [dot] net         ICQ# 11060553
>http://0pointer.net/lennart/           GnuPG 0x1A015CC4
>_______________________________________________
>Alsa-devel mailing list
>Alsa-devel at alsa-project.org
>http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


More information about the Alsa-devel mailing list