dbus and system events - howto

Joe Marcus Clarke marcus at freebsd.org
Fri Jun 26 22:00:50 UTC 2009


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 at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome


More information about the freebsd-gnome mailing list