This page is what i do, things for referance for me, anything you can use. use at your own risk.
Any line that begins with a $ everything after that can be copied into terminal and modified to your needs.
Theas pages are a work in progress.
#! /bin/bash # # echo 'what is the user name to use ?' read user echo $user
why this is here, i take video with my cell phone. sometimes i forget to make small files.
like this year i had one video 4.1gb and another one 10.5gb, the phone transfered them to my laptop.
but when trying to transfer these files to usb for eiting, they would not transfer, i hit the 4gb wall.
so i split the files into 2gb chunks, transfered to usb, then to my other computer, reassemble, for editing.
after reassembling the files, they were ready for editing, i use kdenlive, and use kdenlive to break the video into 15min videos.
The below split and cat commands if first time using might be a good ide to try on a smaller file.
--bytes=1G, --bytes=2G or --bytes=3G.
Split should not touch the orginal file .
good examples split-command
The below line is used to split big files, over 4gb.
red text is the command split.
black text is what size to break up the file.
green text is the file to split.
orange text is the prefix for the split files.
$ split --bytes=2G 20251224_204147.mp4 2025-12-24
The below line is used to reassemble the split files from file above.
red text is the command cat.
green text is the file to reassemble with wild card.
> this tell cat to add the files together in order.
green text is the name of the file to cat back together.
$ cat 2025-12-25* > 20251225_114929.mp4
#!/bin/bash
# 01_20_25-vuu-do-install
# 01/20/25 vuu-do/Devuan
#
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
else
sudo apt update && sudo apt dist-upgrade -y
sudo apt install -y dialog
echo "Hello, i need user name ?"
read user
path01=/home/$user/.my_tools/gui_dialog_install
cmd=(dialog --separate-output --checklist "Please Select Software you want to install:" 22 76 16 )
options=(
1 "dir my_tools and mysbin" off # any option can be set to default to "on"
2 "ssh openssh-server openssh-client " off
3 "filezilla 64bit only" off
4 "x11vnc + password" off
5 "wake on lan" off
6 "inxi" off
7 "flameshot" off
8 "cherrytree" off
9 "featherpad remove pluma" off
10 "mpv" off
11 "firefox remove chome" off
12 "vokoscreen-ng 64bit only" off
13 "ipscan + default-jre 64bit only" off
14 "VNC-Viewer + default-jre 64bit only" off)
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
clear
for choice in $choices
do
case $choice in
1)
FILEb=/home/$user/.my_tools
if [ ! -d "$FILEb" ];
then
mkdir -p "$FILEb"
chown $user:$user "$FILEb"
touch $path01
echo "creating dir ~/.my_tools" >> $path01 $(date +%m_%d_%Y-%H:%M:%S)
else
echo ".my_tools dir exist " >> $path01 $(date +%m_%d_%Y-%H:%M:%S)
fi
FILEd=/usr/mysbin
if [ ! -d "$FILEd" ];
then
mkdir -p "$FILEd"
echo "creating dir /usr/mysbin" >> $path01 $(date +%m_%d_%Y-%H:%M:%S)
else
echo "/usr/mysbin dir exist " >> $path01 $(date +%m_%d_%Y-%H:%M:%S)
fi
;;
2)
#Install ssh
echo "Installing ssh " >> $path01 $(date +%m_%d_%Y-%H:%M:%S)
sudo apt install -y openssh-server
sudo apt install -y openssh-client
;;
3)
#Install filezilla
echo "Installing filezilla " >> $path01 $(date +%m_%d_%Y-%H:%M:%S)
sudo apt install -y filezilla
;;
4)
#Install x11vnc
echo "Installing x11vnc " >> $path01 $(date +%m_%d_%Y-%H:%M:%S)
sudo apt install -y x11vnc
touch /home/$user/x11vnc_install.txt
cat <> /home/$user/x11vnc_install.txt
sudo nano /etc/rc.local
x11vnc -storepasswd
antix
x11vnc -noipv6 -ncache 0 -display :0 -auth /var/run/slimski.auth -rfbauth /home/klein/.vnc/passwd -rfbport 5900 -forever -loop -noxdamage &
vuu-do
x11vnc -noipv6 -ncache 0 -display :0 -auth /var/run/lightdm/root/:0 -rfbauth /home/klein/.vnc/passwd -rfbport 5900 -forever -loop -noxdamage &
EOF
;;
5)
#Install wakeonlan
echo "Installing wakeonlan " >> $path01 $(date +%m_%d_%Y-%H:%M:%S)
sudo apt install -y wakeonlan
;;
6)
#Install inxi
echo "Installing inxi " >> $path01 $(date +%m_%d_%Y-%H:%M:%S)
sudo apt install -y inxi
;;
7)
#Install flameshot
echo "Installing flameshot " >> $path01 $(date +%m_%d_%Y-%H:%M:%S)
sudo apt install -y flameshot
;;
8)
#Install cherrytree
echo "Installing cherrytree " >> $path01 $(date +%m_%d_%Y-%H:%M:%S)
sudo apt install -y cherrytree
mv /home/$user/.config/cherrytree/config.cfg /home/$user/.config/cherrytree/config.cfg.org
cp -r /home/$user/.my_tools/cherrytree_config.cfg /home/$user/.config/cherrytree/config.cfg
chown $user:$user /home/$user/.config/cherrytree/config.cfg
;;
9)
#Install featherpad remove pluma
echo "Installing featherpad remove pluma " >> $path01 $(date +%m_%d_%Y-%H:%M:%S)
sudo apt purge -y pluma
sudo apt clean && sudo apt autoremove
sudo apt install -y featherpad
;;
10)
#Install mpv
echo "Installing mpv " >> $path01 $(date +%m_%d_%Y-%H:%M:%S)
sudo apt install -y mpv
;;
11)
#Install firefox-esr remove chromium
echo "Installing firefox remove chromium " >> $path01 $(date +%m_%d_%Y-%H:%M:%S)
sudo apt purge -y chromium
sudo apt clean && sudo apt autoremove
sudo apt install -y firefox-esr
;;
12)
#Install vokoscreen-ng
# https://linuxecke.volkoh.de/vokoscreen/vokoscreen-download.html
echo "Installing vokoscreen-ng " >> $path01 $(date +%m_%d_%Y-%H:%M:%S)
sudo apt install -y vokoscreen-ng
;;
13)
#Install ipscan + default-jre
# https://angryip.org/download/#linux
echo "Installing ipscan default-jre " >> $path01 $(date +%m_%d_%Y-%H:%M:%S)
sudo apt install -y default-jre
sudo dpkg -i /home/$user/.my_tools/ipscan_*_amd64.deb
mv /home/$user/.java/.userPrefs/ipscan/prefs.xml /home/$user/.java/.userPrefs/ipscan/prefs.xml.org
cp /home/$user/.my_tools/prefs.xml /home/$user/.java/.userPrefs/ipscan/prefs.xml
;;
14)
#Install VNC-Viewer + default-jre
# https://www.realvnc.com/en/connect/download/viewer/linux/?lai_vid=krRRP8Q9wTg3A&lai_sr=10-14&lai_sl=l
echo "Installing VNC-Viewer default-jre " >> $path01 $(date +%m_%d_%Y-%H:%M:%S)
sudo apt install -y default-jre
sudo dpkg -i /home/$user/.my_tools/VNC-Viewer-*-Linux-x64.deb
;;
esac
done
fi