Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2009 18:00:45 -0400
From:      Joe Marcus Clarke <marcus@freebsd.org>
To:        vova@fbsd.ru
Cc:        gnome <gnome@freebsd.org>, mobile <mobile@freebsd.org>
Subject:   Re: dbus and system events - howto
Message-ID:  <4A45450D.1040204@freebsd.org>
In-Reply-To: <1246052273.2303.6.camel@localhost>
References:  <1245773234.11855.22.camel@localhost> <4A451FE9.60002@freebsd.org> <1246052273.2303.6.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Vladimir Grebenschikov wrote:
> On Fri, 2009-06-26 at 15:22 -0400, Joe Marcus Clarke wrote:
>  
>>> But, looks like they are not shows popup.
>>> And I've not found simple solution about volume yet.
>> I haven't done much with power management in a long time as I don't have
>> a laptop with good working PM.  However, the volume support is easy.
>> Just go to your Keyboard Shortcuts capplet, and add a new hotkey for the
>> volume up and volume down actions.  I actually used the Dell buttons on
>> my laptop for this, and it works very well in GNOME.
> 
> This will work only in case when volume keys generate keyboard events.
> In my case they generate devd events, as well as brightness keys.
> 
> That's why I am seeking a way to send appropriate events to dbus.

One thing you might do is use dbus-monitor to watch the session and
system buses.  Then tie the volume actions to a usable key combination,
and see what evens are generated.  I don't think any dbus events will be
generated for such events, but I could be wrong.

Joe

> 
>> Joe
> 


-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A45450D.1040204>