Re: Softhddevice at openbox startup

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

 



On 25.04.2015 22:16, Tarik CHOUGUA wrote:
Sry I forgot to specify that I'm under Ubuntu, I don't have access to root login, I can only use sudo command.

try "sudo -i" ...

and good luck.

 André

Le 25 avr. 2015 à 20:57, André Weidemann <Andre.Weidemann@xxxxxx> a écrit :

On 25.04.2015 01:23, Tarik CHOUGUA wrote:
Hi all,
I wanna start vdr as root with -P'softhddevice -d :0.0 -f -v vdpau -a hw:0,7 -D' at openbox startup.
How I can do that properly please ?

I don't think it is necessary to start vdr with openbox. The easiest way is to simply have softhddevice start the X-Server. Just put an "-x" to your command line and remove the "-d :0.0".

If you really want to start vdr through openbox, then the following should work. Run the commands below under /root (not tested though):

mkdir -p .config/openbox/
[ -f .config/openbox/autostart ] && cp .config/openbox/autostart .config/openbox/autostart-$(date +%s) #backup just in case
echo "/usr/local/bin/vdr -v /video0 -l 3 -w 60 -s /usr/local/bin/vdr-shutdown -c /etc/vdr -L /usr/lib/vdr --lirc=/dev/lircd -P'softhddevice -d :0.0 -f -v vdpau -a hw:0,7 -D'" > .config/openbox/autostart

Simply adjust the above to your setup...

André

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr



_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr





[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