Topic: MoC pipemenu & tint2 launcher buttons!
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)