Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lennart Poettering <mznyfn@0pointer.de>
To: alsa-devel@alsa-project.org
Subject: Re: Keyboard volume buttons
Date: Sat, 28 Feb 2009 08:00:09 +0100	[thread overview]
Message-ID: <20090228070007.GA21641@tango.0pointer.de> (raw)
In-Reply-To: <fd3eb9bf0902262306t71958159h42325e98035ceb6c@mail.gmail.com>

On Fri, 27.02.09 08:06, Vedran Miletić (rivanvx@gmail.com) wrote:

> On Fri, Feb 27, 2009 at 3:20 AM, Harsha, Priya <priya.harsha@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@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@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  parent reply	other threads:[~2009-02-28  7:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-27  2:20 Keyboard volume buttons Harsha, Priya
2009-02-27  7:06 ` Vedran Miletić
2009-02-27  9:28   ` Takashi Iwai
2009-02-28  7:00   ` Lennart Poettering [this message]
2009-03-05 13:36     ` Harsha, Priya

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090228070007.GA21641@tango.0pointer.de \
    --to=mznyfn@0pointer.de \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox