From owner-freebsd-mobile@FreeBSD.ORG Fri Jun 26 22:00:49 2009 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0D24106566C; Fri, 26 Jun 2009 22:00:49 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id 9476F8FC14; Fri, 26 Jun 2009 22:00:49 +0000 (UTC) (envelope-from marcus@freebsd.org) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-rtp.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id n5QM0lkM015249; Fri, 26 Jun 2009 18:00:47 -0400 (EDT) Received: from [192.168.1.243] (jclarke-vpn.cisco.com [172.18.254.237]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id n5QM0jXx004855; Fri, 26 Jun 2009 18:00:46 -0400 (EDT) Message-ID: <4A45450D.1040204@freebsd.org> Date: Fri, 26 Jun 2009 18:00:45 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: vova@fbsd.ru References: <1245773234.11855.22.camel@localhost> <4A451FE9.60002@freebsd.org> <1246052273.2303.6.camel@localhost> In-Reply-To: <1246052273.2303.6.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gnome , mobile Subject: Re: dbus and system events - howto X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2009 22:00:50 -0000 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