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 [Default] num_clients=1 0,RestartStyleHint=3 0,Priority=70 0,RestartCommand='xine -L --fullscreen --geometry 720x576 --borderless --hide-gui --no-logo --no-splash vdr://tmp/vdr-xine/stream#demux:mpeg_pes'
but that doesn't work
2) Create a shortcut Desktop icon that launches the VDR MRL under Xine. For this, I tried making an icon : [vdruser@media Desktop]$ cat ~/Desktop/Xinevdr.desktop [Desktop Entry] Version=1.0 Encoding=UTF-8 Name=No name Type=Application Exec=xine -L --fullscreen --geometry 720x576 --borderless --hide-gui --no-logo --no-splash vdr://tmp/vdr-xine/stream#demux:mpeg_pes TryExec= X-GNOME-DocPath= Terminal=true Name[en_US]=Xine2 GenericName[en_US]= Comment[en_US]=
But this doesn't work either.
Any ideas?
Simon Baxter wrote:
Hello.
I want to do 2 things with VDR.
- 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
- 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.
I demand that Simon Baxter may or may not have written...
I want to do 2 things with VDR.
- 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
[snip]
I'd append '&' and put it in ~vdruser/.Xsession.
[snip]
I demand that Simon Baxter may or may not have written...
I want to do 2 things with VDR.
- 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
[snip]
I'd append '&' and put it in ~vdruser/.Xsession.
I don't have a file/directory .Xsession ??
what creates that??
I demand that Simon Baxter may or may not have written...
I demand that Simon Baxter may or may not have written...
I want to do 2 things with VDR.
- 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
[snip]
I'd append '&' and put it in ~vdruser/.Xsession.
That's assuming that your default/preferred WM is launched from there. Otherwise, if it's the last thing to be run from that file, use exec and don't background it.
I don't have a file/directory .Xsession ??
what creates that??
An action on the part of the user. ;-)