How to Run a Video at the start unattended?

Discussion in 'Installation/Configuration' started by binover, Nov 30, 2009.

  1. binover

    binover New Member

    Hi guys,
    I need to run a video just at the finish of the boot up, without the user have to do anything, just turn on the computer, I'm thinking of use mplayer but I dont know how to do it unattended
    Any idea?

    THANKS!
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You could add a command at the end of /etc/rc.local. Don't know how that command would be, but you can take a look at the mplayer man page:
    Code:
    man mplayer
     
  3. damir

    damir New Member

    I have done this with, ubuntu minimal, fluxbox and mplayer.

    You need ti activate autologin as well, than tweak mplayer command so it can autostart without menus, borders and splashscreen.

    Last thing is to create scrip to autostart mplayer when you login to desktop. This way the system boots, starts, autologins to desktop and runs the script with mplayer. Totally unattended :)
     
  4. btomasik

    btomasik New Member

    Consider using the xinitrc file. Something along the lines of this ought to work:
    DISPLAY=":0" mplayer -zoom /path/to/opening/****.avi
     

Share This Page