beatysh+omxplayer-vga666-script-addon
This commit is contained in:
parent
d3b5c71503
commit
16d690e1da
46 changed files with 347 additions and 342 deletions
|
@ -5,9 +5,9 @@ set -e
|
|||
format=$(echo ${1##*.})
|
||||
if [ $format != "jpg" ]
|
||||
then
|
||||
convert $1 /tmp/logo.jpg
|
||||
convert $1 /tmp/logo.jpg
|
||||
else
|
||||
cp $1 /tmp/logo.jpg
|
||||
cp $1 /tmp/logo.jpg
|
||||
fi
|
||||
jp2a $2 --background=dark --colors /tmp/logo.jpg --output=/tmp/logo.txt
|
||||
while IFS= read -r line; do
|
||||
|
|
22
image2.sh
22
image2.sh
|
@ -1,13 +1,13 @@
|
|||
xorriso -as mkisofs \
|
||||
-iso-level 3 \
|
||||
-full-iso9660-filenames \
|
||||
-volid "SIMON_LINUX" \
|
||||
-eltorito-boot isolinux/isolinux.bin \
|
||||
-eltorito\-catalog isolinux/boot.cat \
|
||||
-no-emul-boot -boot-load-size 4 -boot-info-table \
|
||||
-isohybrid-mbr /mnt/customiso/arch/isolinux/isohdpfx.bin \
|
||||
-eltorito-alt-boot \
|
||||
-e EFI/archiso/efiboot.img \
|
||||
-no-emul-boot -isohybrid-gpt-basdat \
|
||||
-output arch-simon-linux-$(date "+%y.%m.%d")-dual.iso arch
|
||||
-iso-level 3 \
|
||||
-full-iso9660-filenames \
|
||||
-volid "SIMON_LINUX" \
|
||||
-eltorito-boot isolinux/isolinux.bin \
|
||||
-eltorito\-catalog isolinux/boot.cat \
|
||||
-no-emul-boot -boot-load-size 4 -boot-info-table \
|
||||
-isohybrid-mbr /mnt/customiso/arch/isolinux/isohdpfx.bin \
|
||||
-eltorito-alt-boot \
|
||||
-e EFI/archiso/efiboot.img \
|
||||
-no-emul-boot -isohybrid-gpt-basdat \
|
||||
-output arch-simon-linux-$(date "+%y.%m.%d")-dual.iso arch
|
||||
|
||||
|
|
16
image4.sh
16
image4.sh
|
@ -1,9 +1,9 @@
|
|||
xorriso -as mkisofs \
|
||||
-iso-level 3 \
|
||||
-full-iso9660-filenames \
|
||||
-volid "SIMON_LINUX" \
|
||||
-eltorito-boot isolinux/isolinux.bin \
|
||||
-eltorito\-catalog isolinux/boot.cat \
|
||||
-no-emul-boot -boot-load-size 4 -boot-info-table \
|
||||
-isohybrid-mbr /mnt/customiso/arch/isolinux/isohdpfx.bin \
|
||||
-output arch-simon-linux-$(date "+%y.%m.%d")-x86_64.iso arch
|
||||
-iso-level 3 \
|
||||
-full-iso9660-filenames \
|
||||
-volid "SIMON_LINUX" \
|
||||
-eltorito-boot isolinux/isolinux.bin \
|
||||
-eltorito\-catalog isolinux/boot.cat \
|
||||
-no-emul-boot -boot-load-size 4 -boot-info-table \
|
||||
-isohybrid-mbr /mnt/customiso/arch/isolinux/isohdpfx.bin \
|
||||
-output arch-simon-linux-$(date "+%y.%m.%d")-x86_64.iso arch
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
numscreens=3
|
||||
count=0
|
||||
if [ -z $1 ] ; then
|
||||
./X-Plane-x86_64 --monitor_bounds=0,0,1920,1080,1920,0,1920,1080,3840,0,1920,1080 &
|
||||
./X-Plane-x86_64 --monitor_bounds=0,0,1920,1080,1920,0,1920,1080,3840,0,1920,1080 &
|
||||
while [ $count -lt $numscreens ]; do
|
||||
sleep 1
|
||||
count=$( wmctrl -l | grep X-System | wc -l)
|
||||
|
|
|
@ -9,9 +9,9 @@ set -ex
|
|||
echo "systemd start-script wird erzeugt!!!"
|
||||
echo "Bitte OpenVPN config in die /etc/openvpn/client/client.conf kopieren!!!"
|
||||
if [ -f /lib/systemd/system/openvpn-client@client.service ]; then
|
||||
echo "link vorhanden!"
|
||||
echo "link vorhanden!"
|
||||
else
|
||||
ln /lib/systemd/system/openvpn-client@.service /lib/systemd/system/openvpn-client@client.service
|
||||
ln /lib/systemd/system/openvpn-client@.service /lib/systemd/system/openvpn-client@client.service
|
||||
fi
|
||||
systemctl enable openvpn-client@client.service
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
#
|
||||
read -p "SSH remote host (hostname or ip address): " host;
|
||||
#
|
||||
read -p "If a puplic_key authentification?: N or y: " puplic;
|
||||
|
@ -9,7 +9,7 @@ read -p "SSH remote port (22): " port;
|
|||
read -p "SSH remote username: " username;
|
||||
#
|
||||
if [ "$puplic" == "y" ];
|
||||
then
|
||||
then
|
||||
read -p "How is your public_key?: " key;
|
||||
echo $key > ~/.ssh/id_rsa.pub;
|
||||
|
||||
|
@ -22,6 +22,6 @@ if [ "$puplic" == "y" ];
|
|||
echo $id >> ~/.ssh/id_rsa;
|
||||
done
|
||||
exec ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p $port $username@$host;
|
||||
else
|
||||
else
|
||||
exec ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p $port $username@$host;
|
||||
fi
|
||||
|
|
|
@ -11,10 +11,10 @@ fi
|
|||
apt update
|
||||
apt upgrade -y
|
||||
apt install hedgewars minetest minetest-server teeworlds teeworlds-server \
|
||||
mumble mumble-server freeciv gnome-chess \
|
||||
gnuchess inkscape gimp ffmpeg flac git htop android-tools-adb \
|
||||
android-tools-fastboot \
|
||||
qemu-system btrfs-tools nvidia-367 nvidia-settings -y
|
||||
mumble mumble-server freeciv gnome-chess \
|
||||
gnuchess inkscape gimp ffmpeg flac git htop android-tools-adb \
|
||||
android-tools-fastboot \
|
||||
qemu-system btrfs-tools nvidia-367 nvidia-settings -y
|
||||
nvidia-xconfig
|
||||
|
||||
add-apt-repository ppa:obsproject/obs-studio
|
||||
|
|
|
@ -4,9 +4,9 @@ set -ex
|
|||
|
||||
if [ "$1" == "--help" ] || [[ -z "$1" ]]
|
||||
then
|
||||
echo "bash ./youtube-dl.sh URL FORMAT"
|
||||
echo "Formate: [opus/m4a/video/hd/fullhd/4k]"
|
||||
exit 0
|
||||
echo "bash ./youtube-dl.sh URL FORMAT"
|
||||
echo "Formate: [opus/m4a/video/hd/fullhd/4k]"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
url="$1"
|
||||
|
|
|
@ -5,8 +5,9 @@ set -ex
|
|||
if [ "$1" == "--help" ] || [[ -z "$1" ]]
|
||||
then
|
||||
echo "bitte alles kleinschreiben"
|
||||
echo "bash ./youtube-dl.sh SUCHE/NOSUCHE URL/SUCHE FORMAT OUTPUT"
|
||||
echo "bash ./youtube-dl.sh SUCHE/NOSUCHE URL/SUCHE FORMAT OUTPUT DISPLAY"
|
||||
echo "Formate: [VERYLOW/LOW/MEDIUM/HIGH]"
|
||||
echo "Displays: [VGA=4;HDMI=0,1,2,3,5]"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
@ -22,7 +23,7 @@ else
|
|||
fi
|
||||
|
||||
if [ -z ${output} ]; then
|
||||
output="local"
|
||||
output="local"
|
||||
fi
|
||||
|
||||
if [ "$format" == "verylow" ]
|
||||
|
@ -34,12 +35,16 @@ then
|
|||
elif [ "$format" == "medium" ]
|
||||
then
|
||||
format="-f 18"
|
||||
#elif [ "$format" == "high" ]
|
||||
#elif [ "$format" == "high" ]
|
||||
else
|
||||
#then
|
||||
#then
|
||||
format="-f 22"
|
||||
fi
|
||||
|
||||
if [ -n "${display}" ]; then
|
||||
display="device=${display}"
|
||||
fi
|
||||
|
||||
#read -p "Wie ist die URL? : " url
|
||||
#read -p "Wo sollen die Dateien heruntergeladen werden? : " pfad
|
||||
#read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/m4a/video/hd/fullhd/4k] : " format
|
||||
|
@ -48,8 +53,8 @@ fi
|
|||
if [ "$suche" == "suche" ]
|
||||
then
|
||||
#omxplayer -p -o ${output} `youtube-dl -g "ytsearch:$url" -q --force-ipv4 $format`
|
||||
/usr/bin/omxplayer.bin -I -s -o ${output} --vol -800 --aspect-mode letterbox --no-osd `youtube-dl -g "ytsearch:$url" -q --force-ipv4 ${format}`
|
||||
/usr/bin/omxplayer.bin ${device} -I -s -o ${output} --vol -800 --aspect-mode letterbox --no-osd `youtube-dl -g "ytsearch:$url" -q --force-ipv4 ${format}`
|
||||
else
|
||||
#omxplayer -p -o ${output} `youtube-dl -g $url -q --force-ipv4 $format`
|
||||
/usr/bin/omxplayer.bin -I -s -o ${output} --vol -800 --aspect-mode letterbox --no-osd `youtube-dl -g $url -q --force-ipv4 ${format}`
|
||||
/usr/bin/omxplayer.bin ${device} -I -s -o ${output} --vol -800 --aspect-mode letterbox --no-osd `youtube-dl -g $url -q --force-ipv4 ${format}`
|
||||
fi
|
||||
|
|
|
@ -40,7 +40,7 @@ then
|
|||
format="-f 303+251"
|
||||
elif [ "$format" == "fullhdmp4" ]
|
||||
then
|
||||
format="-f 299+140" ]
|
||||
format="-f 299+140" ]
|
||||
elif [ "$format" == "4k" ]
|
||||
then
|
||||
format="-f 315+251"
|
||||
|
|
Loading…
Reference in a new issue