Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wanted to add a custom keyboard shortcut to control mplayer. mplayer config file is set up properly.


<keybind key="XF86AudioPlay">
    <action name="Execute">
        <command>echo "pause" > /home/username/.mplayer/pipe</command>

Pressing the corresponding key has no effect. Executing the command itself (echo "pause" > /home/username/.mplayer/pipe in terminal) works as expected.

Is there any way to check if the file is parsed and loaded correctly?

Please help. Thanks.

share|improve this question

One way is to run openbox --reconfigure from a terminal and look out for messages that may help you fix things.

Are you sure you've added this code within the <keyboard> and </keyboard> tags? If it's elsewhere, it will be ignored.

Looking at your code, with the echo in it, I'm not sure that Openbox does such stuff. You may not get an error so long as the xml structure and syntax is okay.
In case you don't get an answer here, you could sign up and ask here: Devs hang out there and are helpful!

share|improve this answer
Hm, yeah, I think you're right. Tried it with another arbitrary command which works (pcmanfm in this case). Hmm I don't know enought about openbox or fifo files to troubleshoot this one. the mailinglist sounds good, might go check it out, thanks. – tilman Jul 3 '13 at 13:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.