Re: dbus and system events - howto

Joe Marcus Clarke <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Organization FreeBSD, Inc.
Message-ID <[email protected]>
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	::	[email protected]
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.