[openbox] keybind problem

Graham Breed x31equsenet at gmail.com
Fri Dec 18 01:07:28 EST 2009


On Thu, 17 Dec 2009 20:42:48 +0200, Tapio Pitkäranta wrote:

> I'm having trouble setting keybinds in rc.xml. Specifically I'm trying
> to control my mpd server with the multimedia keys. This is what I tried
> to add in rc.xml:
> 
> <keybind key="XF86AudioPlay">
>    <action name="Execute">
>       <execute>mpc toggle</execute>
>    </action>
> </keybind>
> 
> Nothing happens. Typing the command in terminal works. Now, the funny
> thing is that any other command besides mpc works just fine, for
> example:

I don't have mpc so I can't test it.  Maybe it depends on an environment 
variable that isn't set when the key bindings are executed.  You could 
try looking for an error message in a log file somewhere.


                            Graham



More information about the openbox mailing list