You are not logged in.
If you use MoC (Music on Console) I found a excellent openbox addon, obmocmenu.
Nice! 
Get it from here. Installation instructions come in the archive. To add it to your openbox menu, first open obmenu. Click on add>pipemenu and edit it to your liking, making sure to have obmocmenu in the Execute field.
Here is a sample config file. YMMV but it should work, as long as you use terminator.
# Configuration file for obmocmenu.
# Place in /etc/obmocmenu.conf for system wide configuration.
# Place in ~/.config/obmocmenu/config for per-user configuration.
# XDG_CONFIG_HOME is respected if it has been set.
# Set mocp command path.
mocp="/usr/bin/mocp"
# Set terminal command path.
term="terminator --geometry 800x480 -e"
#term="/usr/bin/urxvt -e"
# Set moc directory.
moc_dir="$HOME/.moc/"
# Set playlist file that moc uses. You shouldn't need to change this.
#playlist_file="$moc_dir/playlist.m3u"
# Set the directory in which you keep your collection of playlists.
# Files in this directory must end in ".m3u" extension.
playlist_dir="$moc_dir/playlists/"
# Set the directory in which you keep you collection of lists. This
# allows a random directory or song file to be added to the current
# playlist. Files in this directory must end in ".list" extension.
# Each line is an item, which can be the full path to a directory,
# song or playlist. A random item is chosen from this list. If zenity
# is installed, multiple items can be added at once (see below).
randomlist_dir="$playlist_dir/random/"
# Set zenity command path. If zenity is available then multiple random
# items can be added using a graphical dialog. Be warned that adding
# many items at once can be slow.
zenity="/usr/bin/zenity"I also made some .desktop files to use as buttons in your tint2 launcher, they are here. They are set to use the faenza icon set, as in the screenshot. If you don't have faenza installed you will need to edit the icon, just open the files in gedit/nano/vim/emacs/notepad.
Last edited by hardran3 (2011-05-25 08:22:33)
Offline
Nice!
Listen to me! When you die in Alaska you die in real life!
Offline
Very nice,thank-you.
Offline
I am trying to use this, but I cannot get it work...I follow the instructions in the readme file, but when I click on "Open Music Player" on the menu, it does nothing 
Any help?
Edit: if I start moc manually the pipe menu works perfectly.
Last edited by Milozzy (2011-05-12 18:21:49)
Offline
Ok, I modify the script itself instead of the config file and now it works...but I still not understand why was this needed.
By the way, considering that #! does not have an audio player by default, I think that moc with this pipe will be a great choice 
Offline
I'm having the same trouble. Trying to start MOC in Terminator from the pipe menu and getting nothing. So far, I've just changed the terminal path variable, like so:
term="/usr/bin/terminator -x"Any ideas?
i wonder if i missed the warning
Skinny Puppy, Love in Vein
Offline
Here is my config file, it should work as long as you are using terminator.
# Configuration file for obmocmenu.
# Place in /etc/obmocmenu.conf for system wide configuration.
# Place in ~/.config/obmocmenu/config for per-user configuration.
# XDG_CONFIG_HOME is respected if it has been set.
# Set mocp command path.
mocp="/usr/bin/mocp"
# Set terminal command path.
term="terminator --geometry 800x480 -e"
#term="/usr/bin/urxvt -e"
# Set moc directory.
moc_dir="$HOME/.moc/"
# Set playlist file that moc uses. You shouldn't need to change this.
#playlist_file="$moc_dir/playlist.m3u"
# Set the directory in which you keep your collection of playlists.
# Files in this directory must end in ".m3u" extension.
playlist_dir="$moc_dir/playlists/"
# Set the directory in which you keep you collection of lists. This
# allows a random directory or song file to be added to the current
# playlist. Files in this directory must end in ".list" extension.
# Each line is an item, which can be the full path to a directory,
# song or playlist. A random item is chosen from this list. If zenity
# is installed, multiple items can be added at once (see below).
randomlist_dir="$playlist_dir/random/"
# Set zenity command path. If zenity is available then multiple random
# items can be added using a graphical dialog. Be warned that adding
# many items at once can be slow.
zenity="/usr/bin/zenity"Offline
Thanks, mate - copied and pasted that but unfortunately still no joy 
EDIT:
Just in case it's relevant, my OB menu entry looks like this:
Label: MOC
ID: obmocmenu
Action:
Execute: obmocmenu
Last edited by safetycopy (2011-05-13 01:00:41)
i wonder if i missed the warning
Skinny Puppy, Love in Vein
Offline
Aha!
It seems my user-specific copy of the config file was NOT overwriting the system-wide config (as I thought it was supposed to). I copied your config into my `/etc/obmocmenu.config` file and now all's well 
i wonder if i missed the warning
Skinny Puppy, Love in Vein
Offline
If you use MoC (Music on Console) I found a nice openbox addon, obmocmenu.
Get it from here. Installation instructions come in the archive. Gives you a nice pipemenu to control MoC.
how do I get the menu that's in your screenshot to show?
I'm only aware of super tab and super spacebar for client and main menu, and they both look very different from your menu.
#!+mocp=music in my ears
Offline
how do I get the menu that's in your screenshot to show?
I'm only aware of super tab and super spacebar for client and main menu, and they both look very different from your menu.
It is the Openbox right click menu(super+space). obmocmenu is a pipemenu that gets added to it.
Last edited by hardran3 (2011-05-22 16:59:27)
Offline
It is the Openbox right click menu(super+space). obmocmenu is a pipemenu that gets added to it.
I see, you completely customized it then, compared to how it is default in Crunchbang; it confused me.
I must've done something wrong, because I don't see anything moc-related appearing in this menu.
When I open mocp in terminal it doesn't look any different either.
#!+mocp=music in my ears
Offline
@catch22 - You have to download the MOC pipemenu and add it (look at the first post). Its not a default #! feature.
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
@hadran that's awesome dude, wish I was using openbox to be able to use it 
... and a kind word. -Duke
Offline
@catch22 - You have to download the MOC pipemenu and add it (look at the first post). Its not a default #! feature.
Actually I was referring to the right click Openbox menu there 
I did download the obmocmenu files, but must have misunderstood the README file somehow.
1. As root, copy "obmocmenu" to "/usr/bin" or anywhere else you have
included in your $PATH:install -m755 obmocmenu /usr/bin/obmocmenu
I have no idea what is meant by "or anywhere else you have
included in your $PATH:" so I did
sudo cp obmocmenu /usr/binand then
install -m755 obmocmenu /usr/bin/obmocmenu2. Backup any existing configuration files.
foolishly enough I did not do this.
3. As root, copy "obmocmenu.conf" to "/etc/obmocmenu.conf" for global
configuration:
install -m644 obmocmenu.conf /etc/obmocmenu.conf4. As your user, copy "obmocmenu.conf" to "~/.config/obmocmenu/config"
for per-user configuration:install -d -m755 ~/.config/obmocmenu/
install -m644 obmocmenu.conf ~/.config/obmocmenu/config
here also I went for a cp command and then the ones mentioned.
I also overwrote the conf file with the contents of the original poster.
It looks that absolutely nothing has happened though 
#!+mocp=music in my ears
Offline
Run obmenu and add a pipemenu with obmocmenu as the command.
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
Run obmenu and add a pipemenu with obmocmenu as the command.
I managed to add it (this was a first for me
) and now do see "mocp obmocmenu" appearing on right click, but clicking it does nothing.
I did type "obmocmenu" as command in the new item in obmenu.
#!+mocp=music in my ears
Offline
Does it make a difference if you actually have MOC running while you try to access the menu?
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
Does it make a difference if you actually have MOC running while you try to access the menu?
If the moc daemon is not running it gives you a menu entry to open moc.
Offline
anonymous wrote:Does it make a difference if you actually have MOC running while you try to access the menu?
If the moc daemon is not running it gives you a menu entry to open moc.
Not here.
Nothing happens; moc playing or not, there's no menu that opens.
#!+mocp=music in my ears
Offline
Not here.
Nothing happens; moc playing or not, there's no menu that opens.
Check my edit to the OP. you need to add it to the menu by hand 
Offline
catch22 wrote:Not here.
Nothing happens; moc playing or not, there's no menu that opens.Check my edit to the OP. you need to add it to the menu by hand
Aha! It was this part that I didn't do right first:
Click on add>pipemenu
Thanks 
#!+mocp=music in my ears
Offline
I am having trouble getting this to work
.
I believe that my problem is with the menu. It would be great if someone could copy-and-paste the line that allows them to do this from the menu.xml file.
I have already tried everything above me and it doesn't seem to work. 
EDIT: nevermind, I figured it out somehow
. I have no clue how though.
Last edited by crunchy (2011-05-25 00:29:39)
registered Linux user: #533379
registered #! user: #6769
Whenever someone calls me a computer 'nerd' or a 'Unix-based-system'
all I can think is: You just wait. In a couple of years. I'll be your IT. Then where will you be!
Offline
nevermind, I figured it out somehow
. I have no clue how though.
Good Job 
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.