[SWLUG] Ampache/Firefox/XMMS

Dave Cridland dave at cridland.net
Sun May 14 21:17:49 UTC 2006


On Sun May 14 21:14:07 2006, Richard John wrote:
> I need to pass XMMS the command line argument "-e" from Firefox, or 
> somehow
> make XMMS enqueue all opened tracks.
> Firefox doesn't allow me to enter any arguments for the application
> handlers, so does anyone have any idea how I could set this up?

Off the top of my head:

Create a small file somewhere (~/bin/ possibly) called xmms-lauch.sh

#!/bin/bash

xmms -e $*

Then chmod it 0700.

Set this file as your handler.

Dave.
-- 
           You see things; and you say "Why?"
   But I dream things that never were; and I say "Why not?"
    - George Bernard Shaw



More information about the Swlug mailing list