Results 1 to 1 of 1

Thread: HOWTO: Fluxbox Movie/Music Video Menu

  1. #1
    Join Date
    Jun 2005
    Location
    New Jersey, United States
    Beans
    169
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    HOWTO: Fluxbox Movie/Music Video Menu

    I was trying to figure out how to have a menu in my fluxbox menu that could list all of my music videos, and play them when clicked. Right now I am working on a script to automatically write the menu file and update it, but for now you have to do it manually. Anyway, this is how I set it up:

    In my main ~.fluxbox/menu file, I placed a pointer to my music video menu:

    Code:
     [include] (/home/jason/mvideos/.fluxboxmenu) {} <>
    (Of course, you will replace this with the path to your movi menu.)

    Inside of that menufile, I have the following format:

    Code:
    [submenu]  (Music Videos) {}
    [submenu]  (Band 1 {}
    [exec] (Song 1) {mplayer /path/to/song/1}
    [exec] (Song 2) {mplayer /path/to/song/2}
    [end]
    [submenu]  (Band 2) {}
    [exec] (Song 1) {mplayer /path/to/song/1}
    [exec] (Song 2) {mplayer /path/to/song/2}
    [exec] (Song 3) {mplayer /path/to/song/3}
    [exec] (Song 4) {mplayer /path/to/song/4}
    [end]
    (etc...)
    [end]
    Pretty easy to figure out, but I thought I would share in case anyone else was interested.

    Anyway, heres a screenshot:
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	mmenu.jpg 
Views:	74 
Size:	376.2 KB 
ID:	18508  
    Good at writing shell scripts? Know anything about GTK programming?
    Help out a new project at http://www.s-online.org/labels/About.html

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •