-   Linux - Desktop (
-   -   music on console "moc" autostart with fluxbox (

sgmart 10-08-2012 12:22 AM

music on console "moc" autostart with fluxbox
Since moc is a music server, and mocp is the client to play music files.

I want to play my music collection with fluxbox window manager, so I've tried add this to ~/.fluxbox/startup file

mocp -S &  # start moc server
mocp -p & # start music player
exec fluxbox

but nothing yet!

Anyone know how to perform this task?

segmentation_fault 10-09-2012 12:16 PM


moc -S & # start moc server
I think this should be

mocp -S
without background (&) since -S starts the server and exits. Then

mocp -p
again without background (&) should start playing. I think just mocp without any arguments brings up the ncurses interface.

unSpawn 10-09-2012 05:51 PM

...also I had to make sure my playlist was populated or "-p" wouldn't play anything.

All times are GMT -5. The time now is 11:47 PM.