Autostarting xine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Simon Baxter wrote:
> Hello.
> 
> I want to do 2 things with VDR.
> 
> 1) Autostart Xine pointing to the VDR MRL when user 'vdruser' logs in
>        Can anyone tell me what command line I should use, and where I 
> should put it?  I tried putting 'xine -L --fullscreen --geometry 720x576 
> --borderless --hide-gui --no-logo --no-splash 
> vdr://tmp/vdr-xine/stream#demux:mpeg_pes'   as follows :
> 
> [vdruser@media ~]$ less ~/.gnome2/session-manual
[...]
> but that doesn't work
> 
> 
> 2) Create a shortcut Desktop icon that launches the VDR MRL under Xine.
[...]
> But this doesn't work either.
> 
> Any ideas?

One possible option is to create file /etc/X11/xinit.d/runxine with 
executable permissions:
#!/bin/sh
[[ "$(id -un)" == "vdruser" ]] && exec xine -L --fullscreen --geometry 
720x576 --borderless --hide-gui --no-logo --no-splash 
vdr://tmp/vdr-xine/stream#demux:mpeg_pes

The file is run (at least here with Mandriva) when user logs in to X 
session.

-- 
Anssi Hannula



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux