Results 1 to 4 of 4

Thread: Script help needed

  1. #1
    Join Date
    Oct 2007
    Location
    Todd Mission Texas
    Beans
    427
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Script help needed

    Does anyone have any idea why 'feh' would display the first image and then hang up. 'feh' works just fine as a stand alone.

    Code:
    #! /bin/bash
    mplayer -fs "Llano June 2008"/P6240073.AVI;
    mplayer -fs "Llano June 2008"/P6240074.AVI;
    feh . --cycle-once --scale-down -r -D 5;
    
    ./slideshow.sh;
    "Let us run the risk of wearing out rather than rusting out." __Theodore Roosevelt

  2. #2
    Join Date
    Jul 2005
    Location
    2 exits past crazy
    Beans
    4,222
    Distro
    Lubuntu 12.10 Quantal Quetzal

    Re: Script help needed

    What exactly are you trying to accomplish?

  3. #3
    Join Date
    Oct 2007
    Location
    Todd Mission Texas
    Beans
    427
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Script help needed

    At a party I want to do a slide show and show a couple short film clips. This needs to repeat over and over for the 4 or so hours the party will last.

    I could not find an application that would show images in a slide show and movie clips.

    So I rolled my own.
    "Let us run the risk of wearing out rather than rusting out." __Theodore Roosevelt

  4. #4
    Join Date
    Jul 2005
    Location
    2 exits past crazy
    Beans
    4,222
    Distro
    Lubuntu 12.10 Quantal Quetzal

    Re: Script help needed

    Code:
    #! /bin/bash
    while true
    do
    mplayer -fs "Llano June 2008"/P6240073.AVI
    mplayer -fs "Llano June 2008"/P6240074.AVI
    feh . --cycle-once --scale-down -r -D 5
    done
    There you go.

    Just kill the script when you are finished with it.

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
  •