[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XBindkeys for Emms (was: [emms-help] emms and dbus)

From: Joel J. Adamson
Subject: XBindkeys for Emms (was: [emms-help] emms and dbus)
Date: Mon, 25 Feb 2008 12:15:09 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

"Mathias Dahl" <address@hidden> writes:

>> I toyed a bit with the dbus support of cvs emacs and emms this morning.
>>  Gnome can send multimedia key events through dbus to emacs and thus
>>  control emms.
> Cool! Then maybe I can get rid of my emacsclient hack for controlling
> EMMS (I have bound two of my multimedia keys in GNOME to emacsclient.)

The following xbindkeys configuration works for me, whenever Emacs is
running, no matter who has focus:

"emacsclient -e '(emms-previous)'"
     Mod4 + p
"emacsclient -e '(emms-next)'"
     Mod4 + n
"emacsclient -e '(emms-stop)'"
     Mod4 + k
"emacsclient -e '(emms-pause)'"
    Mod4 + l

This works instantly, never a delay.  The great thing about xbindkeys is
that I keep my keybindings over different window managers (should I try


Joel J. Adamson
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]