You are not logged in.

#1 2009-01-31 09:16:17

Hide
Member
From: Castalia
Registered: 2007-02-02
Posts: 368

Openbox + mocp keybindings

I was wondering if it's possible to assign a key in openbox to control mocp, but without mocp being in focus. For example, pressing <hotkey> while browsing the net (mocp is minimized), and the song changes. I hope i was clear smile. Thx in advance.

Offline

#2 2009-01-31 09:27:14

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Openbox + mocp keybindings

yes.. check the man page for various options.


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#3 2009-01-31 13:20:02

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Openbox + mocp keybindings

Of course it is, I have such mappings, though I use xbindkeys but it doesn't matter wink
Try these :

Previous: "mocp -r"
Next : "mocp -f"
Play/Pause: "mocp -G"
Stop: "mocp -s"

Although you could try RTFM next time big_smile

man mocp

The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#4 2009-02-01 13:48:17

Hide
Member
From: Castalia
Registered: 2007-02-02
Posts: 368

Re: Openbox + mocp keybindings

*sigh*
I was looking at the wrong direction.

Thank you both smile

(feel free to bash me on msn, moljac tongue)

Last edited by Hide (2009-02-01 14:00:04)

Offline

Board footer

Powered by FluxBB