Application list

For my friends using MX Linux, here's my BASH script to install my favorite apps:

#!/bin/bash
# Install LinuxMX.

#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
# NEW INSTALLATION: 

# PRESERVE:
# o Select "Preserve existing "home" folder during MX installation. Very cool!

# FIX BOOT ON dan ======================================================
# On Intel i7-6700, stop the boot disk from filling in /var/log/:
#    sudo vim /etc/default/grub
#       APPEND to GRUB_CMDLINE_LINUX_DEFAULT, pcie_aspm=off
#    Make new grub active with:
#       sudo update-grub


# RESTORE DRIVES on dan:
# Automaticially mount drives in /home/dunay
# See fstab in ~/Extras:
## /home/dunay/1T was on /dev/sda1 during installation
#UUID=9690c8a4-b17f-467d-be22-bac12dd3299c /home/dunay/1T  ext4    defaults                 0      2
## /home/dunay/4T was on /dev/sdb1 during installation
#UUID=2256f47e-8dad-42bb-a510-4f45f1f29a53 /home/dunay/4T  ext4    defaults                 0      2
## /home/dunay/5T was on /dev/sdc1 during installation
#UUID=c5d4818c-ccde-4c0d-a34e-f2430a068531 /home/dunay/5T  ext4     auto,nofail,rw,user     0      2
## /home/dunay/5Tp
#UUID=ddabc240-fb8b-46af-9634-a0507e4380cd /home/dunay/5Tp ext4     auto,nofail,rw,user     0      2
## /home/dunay/8T was on /dev/sde1 during installation
#UUID=b20bd13a-8280-4bbb-8980-51af14c67082 /home/dunay/8T  ext4    auto,nofail,rw,user      0      2


# dan: Create links for data folders not in root directory:
#ln -s /home/dunay/4T/Extras Extras  
#ln -s /home/dunay/4T/gap gap 
#ln -s /home/dunay/4T/gz gz
#ln -s /home/dunay/4T/iso iso
#ln -s /home/dunay/4T/JBM JBM 
#ln -s /home/dunay/2T/home/dunay/Music Music 
#ln -s /home/dunay/2T/home/dunay/Music2 Music2 
#ln -s /home/dunay/4T/Pictures Pictures 
#ln -s /home/dunay/4T/pytest pytest 
#ln -s /home/dunay/4T/Video Videos 
#ln -s /home/dunay/4T/VirtualBox VirtualBox 
#ln -s /home/dunay/4T/VirtualMachines VirtualMachines 


# if no existing installation, restore the following:
# o ssh: ssh-keygen ; ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
# o Restore firefox by logging in firefox restores all, or bookmarks from ~/Documents, 
# o Restore home folders: apk bashtest bin CubicSDR ctest Desktop/Labels Documents 
# o    Extras gap Games iso MAD Music Music2 Pictures pytest SoapySDRPlay Videos 
# o Restore configuration folders .audacity-data, .IAdata, . pcloud .pekwm .raptor 
#		.StreamRipStar . thunderbird .vuescan 

# Restore HotCorners:
# requires: python python-xlib wmctrl xdotool
# chmod +x ~/Extras/hotcorners/bl-hotcorners
# sudo cp ~/Extras/hotcorners/bl-hotcorners /usr/bin/ 
# edit $HOME/.config/bl-hotcorners/bl-hotcornersrc,
	# top_right_corner_command = /home/dunay/bin//home/dunay/bin/9off
    # bottom_left_corner_command =
    # bottom_right_corner_command = /home/dunay/bin/9all.sh
# In Session and Startup, auto start: bash -c '/usr/bin/bl-hotcorners -d' 


# Install favorite apps: 
sudo apt autoremove # get rid of any unneed packages

# CONSOLE 
echo
echo
echo
echo @@ CONSOLE Apps @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
sudo apt-get install --fix-broken -y bzip2 detox gzip lhasa lzip mmv pv silversearcher-ag tree vim xterm zenity 

# Desktop 
echo
echo
echo
echo@@  DESKTOP @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
echo installing DESKTOP UTILS
# NOTES
# keylaunch for hot keys if display manager doesn't support it, pekwm, xfce4, etc.
sudo apt install --fix-broken -y 9menu buici-clock dconf-cli dconf-editor font-manager minitube remmina remmina-plugin-vnc redshift gtk-redshift kruler youtube-dl


# File 
echo
echo
echo
echo @@ FILE @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
# NOTES
# gnome-disks can format flash drives as exFAT
echo installing FILE MGRS/SYSTEMS/BACKUP
sudo apt-get install -y --install-suggests --fix-broken baobab brasero clonezilla dfc exfat-fuse exfat-utils extlinux fslint fuse-zip gparted luckybackup mtp-tools ntfs-3g pcmanfm pydf syslinux pcmanfm 


# Games
echo
echo
echo
echo @@ GAMES @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
echo installing GAMES
sudo apt-get -y install --install-suggests hearts maelstrom mednafen pinball qjoypad supertux xpat2  


# Graphics
echo
echo
echo
echo @@ GRAPHICS @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
# NOTES
echo installing GRAPHICS / PHOTO
sudo apt-get install --fix-broken --install-suggests -y gimp
echo Other Graphics apps 
sudo apt-get install --fix-broken aaphoto cheese enfuse gifsicle gimp gimp-help-en gimp-plugin-registry gmic* graphicsmagick gthumb igal2 imagemagick jhead llgal pdfposter photocollage posterazor webcamoid*
sudo apt-get install libgl1-mesa-glx libgl1-mesa-glx:i386 libpulse0:i386 # needed by Chicken Invaders


# Music / Audio
echo
echo
echo
echo  Music @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
# exfalso        audio tag editor for GTK+
# eyed3          Display and manipulate id3-tags on the command-line
# faac           AAC encoder, faad: AAC audio decoder
# glyrc          retrieve album covers. requires libcrypto
# pavucontrol    Volume control
# qmmp           Audio player
# quadlibet      Audio library manager and player for GTK3
# StreamRipStar  Stream java player/recorder already present in ~/bin from LM19.2 
sudo apt-get install --fix-broken \
audacious asunder audacity audacity-data cmus easytag eyed3 faac faad ffmpeg flac glyrc gpodder id3tool libid3-tools mp3diags mp3val mp3splt mp3wrap mpg321 normalize-audio mplayer oggvideotools oggz-tools pavucontrol puddletag  python-eyed3 python3-eyed3 python-mutagen python-mutagen-doc python-tagpy soundconverter streamripper streamtuner2 tunapie vbrfix vorbis-tools  youtube-dl
#xfce4-terminal needed as bridge between streamtuner2 & streamripper
# sudo apt-get install libliquid1d libliquid-dev # needed by CubicSDR
# Needed to comment line in /usr/lib/jvm/java-11-openjdk-amd64/conf/accessibility.properties to get StreamRipStar to work:
#  sudo vim /usr/lib/jvm/java-11-openjdk-amd64/conf/accessibility.properties
#


# Office 
echo
echo
echo
echo @@ OFFICE @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
echo installing OFFICE
# NOTE
# Installs postfix email, bad!
sudo apt-get install adb calibre flpsed gcalcli gedit glabels gnumeric gsimplecal gucharmap rhinote speedcrunch xournal
pip install vobject # for gcalcli (terminal for google calendar)
# libxml2:i386 needed for acroread from Adobe
sudo dpkg -i "/home/dunay/4T/Extras/Brother QL-700/printer-driver-ptouch_1.3-6_amd64.deb"
sudo apt-mark hold printer-driver-ptouch


# Video 
# ogmrip works better with mplayer2
echo
echo
echo
echo VIDEO @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
sudo apt-get install ffmpeg2theora  openshot openshot-doc pitivi handbrake handbrake-cli kazam mencoder mplayer openshot ogmrip recordmydesktop vlc vokoscreen winff winff-doc x264
sudo apt install shotcut # vid editor see https://shotcut.org
# removed acidrip libavcodec-extra libavcodec-ffmpeg-extra libavcodec-54 fmpeg
# dvdauthor wanted by kdenlive, which need kde runtimes
#echo \* Install XnConvert from https://www.xnview.com/en/xnconvert/
echo \* Install XnConvert, VidCutter from Flatpaks in MX Package Installer




# web tools
echo
echo
echo
echo @@ WEB @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
# install Opera from https://www.opera.com
#sudo apt-get -y install chromium-browser chromium-chromedriver falkon googler xine-plugin # falkon crashes
sudo apt-get -y install chromium googler





#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
# NEW INSTALLATION: 
# o Startup: above),  pcloud, HotCorners (see Extras),  Vino (/usr/lib/vino/vino-server),
# o Add printers, QL-700 needs printer-driver-ptouch 1.3-6 available in Extras. 
#		After installing, lock the version 
# o Restore colors to GNOME Terminal, F10
# o For raptor: dunay@dan /usr/lib/i386-linux-gnu $ sudo ln -s libSDL-1.2.so.0 libSDL-1.1.so.0
# o resinstall facebook purity at https://www.fbpurity.com/install.htm

echo
echo "====================================================================="
echo "======================  A L L    D O N E !  ========================="
echo "====================================================================="
echo
echo
echo
beep ; sleep 0.4; beep