Skip to content

Instantly share code, notes, and snippets.

@miklobit
Created April 29, 2021 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miklobit/00661391fd2f8d2f7cb44c7c668360a2 to your computer and use it in GitHub Desktop.
Save miklobit/00661391fd2f8d2f7cb44c7c668360a2 to your computer and use it in GitHub Desktop.
custom ubuntu studio 18.04 configuration for live-persistent image
#!/bin/sh
#custom ubuntu studio 18.04 configuration for live-persistent image
#Run script in /tmp under cubic chrooted terminal:
#$ (./custom.sh 2>&1) | tee custom.log
add-apt-repository $1 ppa:ubuntustudio-ppa/backports
add-apt-repository $1 ppa:mkusb/ppa
add-apt-repository $1 ppa:unit193/encryption
add-apt-repository $1 ppa:thomas-schiex/blender
add-apt-repository $1 ppa:sebastian-stenzel/cryptomator
add-apt-repository $1 ppa:andreasbutti/xournalpp-master
add-apt-repository $1 ppa:stefansundin/truecrypt
add-apt-repository $1 ppa:obsproject/obs-studio
add-apt-repository $1 ppa:inkscape.dev/stable
echo "deb https://deb.etcher.io stable etcher" > /etc/apt/sources.list.d/balena-etcher.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 379CE192D401AB61
wget -qO - https://eddie.website/repository/keys/eddie_maintainer_gpg.key|apt-key add -
echo "deb https://eddie.website/repository/apt stable main" > /etc/apt/sources.list.d/eddie.list
wget -qO - https://qgis.org/downloads/qgis-2019.gpg.key | apt-key add -
add-apt-repository $1 "deb https://qgis.org/debian bionic main"
echo "deb https://josm.openstreetmap.de/apt alldist universe" > /etc/apt/sources.list.d/josm.list
wget -qO https://josm.openstreetmap.de/josm-apt.key | apt-key add -
wget -qO https://updates.signal.org/desktop/apt/keys.asc | apt-key add -
echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" > /etc/apt/sources.list.d/signal-xenial.list
#keys for signal and josm
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 130A439C78FC0F87
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D980A17457F6FB06
add-apt-repository $1 ppa:cubic-wizard/release
apt-get update $1
apt-get full-upgrade $1
apt-get install $1 --install-recommends linux-lowlatency-hwe-18.04 xserver-xorg-hwe-18.04
apt-get install $1 libgconf2-4
apt-get install $1 mc
apt-get install $1 ecryptfs-utils cryptsetup
apt-get install $1 telegram-desktop
apt-get install $1 cpufrequtils
apt-get install $1 linux-tools-common
apt-get install $1 linux-tools-5.0.0-32-lowlatency
apt-get install $1 clonezilla
apt-get install --install-recommends $1 mkusb mkusb-nox usb-pack-efi
apt-get install $1 libc6 mono-runtime mono-utils libmono-system-core4.0-cil libmono-system-windows-forms4.0-cil openvpn stunnel4 curl
apt-get install $1 flameshot
apt-get install $1 qgis
apt-get install $1 apache2
apt-get install $1 qgis-server libapache2-mod-fcgid
apt-get install $1 cmdtest
apt-get install $1 yarn
apt-get install $1 npm
#upgrade and clear cache for actual npm version
npm install -g npm
hash -d npm
apt-get install $1 lib32stdc++6
apt-get install $1 libusb-0.1-4
apt-get install $1 apt-file
apt-get install $1 p7zip
apt-get install $1 linuxbrew-wrapper
apt-get install $1 sqlite3
apt-get install $1 gufw
apt-get install $1 jbigkit-bin inotify-tools
# FFmpeg frontend
apt-get install $1 winff
apt-get install $1 chromium-browser
apt-get install $1 python-certbot-apache
# 3d mouse driver
apt-get install $1 spacenavd
apt-get install $1 mkvtoolnix
# last blender compilation (now 2.82 alpha) from ppa
apt-get install $1 blender
apt-get install $1 traceroute
apt-get install $1 gnome-startup-applications
apt-get install $1 jupyter-core
apt-get install $1 krusader
#dicom medical file viewer
apt-get install $1 aeskulap
apt-get install $1 unrar
apt-get install $1 indicator-cpufreq
apt-get install $1 rosegarden
apt-get install $1 baobab
apt-get install $1 exiv2
apt-get install $1 tigervnc-standalone-server tigervnc-xorg-extension tigervnc-viewer
#dvbt usb tuner
apt-get install $1 kaffeine
apt-get install $1 josm
apt-get install $1 cryptomator
apt-get install $1 cups-pdf
apt-get install $1 conky-all
# Handwritten Notes or Annotate PDFs
apt-get install $1 xournalpp
apt-get install $1 cubic
apt-get install $1 veracrypt
apt-get install $1 truecrypt
rm /etc/xdg/autostart/truecrypt.desktop
apt-get install $1 virtualbox
apt-get install $1 torbrowser-launcher
apt-get install $1 eddie-ui
apt-get install $1 balena-etcher-electron
apt-get install $1 docker.io
#create docker config file for persistent live usage /etc/docker/daemon.json :
echo '{ "storage-driver": "devicemapper" }' > /etc/docker/daemon.json
#enable docker for non root user
groupadd docker
usermod -aG docker ubuntu-studio
apt-get install $1 obs-studio
apt-get install $1 signal-desktop
apt-get install $1 solaar
apt-get install $1 inkscape
#encrypted notes - instal manually from:
#https://github.com/turtl/desktop/releases/download/v0.7.2.5/turtl-0.7.2.5-linux64.tar.bz2
# preseed language / keyboard settings: https://answers.launchpad.net/cubic/+question/678880
# delete old kernels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment