1
0

2 Revīzijas c632f91faf ... 53bbf4406c

Autors SHA1 Ziņojums Datums
  Daniel Sheffield 53bbf4406c add mplayer config 1 mēnesi atpakaļ
  Daniel Sheffield 6df2d703ff fix issue with xpra failing to start processes with args 1 mēnesi atpakaļ

+ 2 - 2
android-usb-vnc/system/usr/local/bin/x11vnc_for_android.sh

@@ -14,10 +14,10 @@ done
 case "$ACTION"
 in
     "start")
-        /usr/bin/xpra control :"$REMOTE_DISPLAY" start "/usr/bin/x11vnc -forever -shared -rfbport 5900 -listen localhost -nopw"
+        /usr/bin/xpra control :"$REMOTE_DISPLAY" start "/usr/local/bin/x11vnc_for_android_start.sh"
         ;;
     "stop")
-        /usr/bin/xpra control :"$REMOTE_DISPLAY" start "/bin/bash -c 'pidof x11vnc && kill $(pidof x11vnc)'"
+        /usr/bin/xpra control :"$REMOTE_DISPLAY" start "/usr/local/bin/x11vnc_for_android_stop.sh"
         ;;
     *)
         exit 1

+ 2 - 0
android-usb-vnc/system/usr/local/bin/x11vnc_for_android_start.sh

@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+/usr/bin/x11vnc -forever -shared -rfbport 5900 -listen localhost -nopw #2>&1 | tee /var/log/xpra-x11vnc.log

+ 2 - 0
android-usb-vnc/system/usr/local/bin/x11vnc_for_android_stop.sh

@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+pidof x11vnc && kill $(pidof x11vnc)

+ 3 - 0
mplayer/.mplayer/config

@@ -0,0 +1,3 @@
+ao=alsa:device=hw=0.3 # alsactl info
+ac=hwac3
+nosub=1