I wanted to add a custom keyboard shortcut to control mplayer. mplayer config file is set up properly.
~/.config/openbox/lubuntu-rc.xml
:
<keybind key="XF86AudioPlay">
<action name="Execute">
<command>echo "pause" > /home/username/.mplayer/pipe</command>
</action>
</keybind>
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.