From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.devel Subject: Re: taking over global key events (X, NS, W32) Date: Mon, 13 Jun 2011 21:22:46 +0200 Message-ID: References: <87aaebbndz.fsf@lifelogs.com> <874o3t63bm.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1307993010 13148 80.91.229.12 (13 Jun 2011 19:23:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2011 19:23:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 13 21:23:26 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QWCjO-0000cP-Af for ged-emacs-devel@m.gmane.org; Mon, 13 Jun 2011 21:23:26 +0200 Original-Received: from localhost ([::1]:50042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWCjN-0006iC-DM for ged-emacs-devel@m.gmane.org; Mon, 13 Jun 2011 15:23:25 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWCj7-0006hw-8Y for emacs-devel@gnu.org; Mon, 13 Jun 2011 15:23:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWCj6-0004iJ-0j for emacs-devel@gnu.org; Mon, 13 Jun 2011 15:23:09 -0400 Original-Received: from mail-qy0-f169.google.com ([209.85.216.169]:34504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWCj5-0004iA-KI for emacs-devel@gnu.org; Mon, 13 Jun 2011 15:23:07 -0400 Original-Received: by qyk2 with SMTP id 2so1245556qyk.0 for ; Mon, 13 Jun 2011 12:23:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=woF0V5TRZ8wsZ3j6Z4IvamJgeMlyZHenuBx7okeuEtw=; b=rhpYyif7OQBuzWX58PuJBnYDSbQGNM0UqYgnkIXkRiRAuVqMlSfVZ+QiGfc01wpYg3 JmCthXyuCgtjuYqmiU40perm35KABR2n3d9osoa0FIENV56PHeCbGQKastXR5IM+mDvH OXNdrPPyPBN/zGR5SzeXqCj2A96ISMlRhVqF8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=sC7D1wZGCsyLNpYkppjhS7Htr95Q8bbnSgFeyb6zxMboMSJPp9Fo8LaHwjsRJG2mOO J4AAjP9kT88lSHxKATTqYQHm6QYSRA09AKYJ155pASR8lEpP76lhdr3Ib6DuEjgeCnHk f4GDFpT3wUICzZUC9+9HbTP57G7wsfG53hPNA= Original-Received: by 10.229.107.21 with SMTP id z21mr4165239qco.187.1307992986197; Mon, 13 Jun 2011 12:23:06 -0700 (PDT) Original-Received: by 10.229.240.134 with HTTP; Mon, 13 Jun 2011 12:22:46 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.216.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140429 Archived-At: > I'm also interested in this for my Inkmacs project. The easiest way so > far was using the DBus bindings to catch the multimedia keys, which is a > bit limited. I also tried using the Gnome hotkeys to bind it to a > dispatcher, but that was so far not successful in Gnome 3 although it > used to sort of work in earlier Gnomes. If it turns out that it would be unsuitable to have Emacs listen "globally" like this, maybe a small program can be written to do the listening, sending dbus commands that Emacs (or whoever else is listening) on the bus? Just an idea.