#/bin/bash ##################################################################################################### # Install script to add to Ubuntu Mini Remix - http://www.ubuntu-mini-remix.org - # # in order to get a Ubuntu Openbox Remix # # More informations from a script where I started to pick ideas: # # http://bazaar.launchpad.net/~lubuntu-desktop/+junk/lubuntu-tools/view/head:/iso/lubuntu-build.sh # # Reviewed and improved by captnfab # ##################################################################################################### ## Building from UMR with the Bento Openbox setup, using Customizer, not to be forgotten: ## reconfigure the default lightdm.conf user for the live (is "bento"), and install the ## plymouth splash before building from UMR the first time: # http://forum.linuxvillage.org/index.php/topic,158.msg3829.html#msg3829 # update-alternatives --install /lib/plymouth/themes/default.plymouth default.plymouth /lib/plymouth/themes/simple/simple.plymouth 100 # update-alternatives --config default.plymouth # update-initramfs -u set -eu # Be strict export LC_ALL=C ## Recommends are not to be default installed sed -i "s#true#false#" /etc/apt/apt.conf.d/99synaptic # Add components sed -i "s#restricted#restricted universe multiverse#" /etc/apt/sources.list ## Updates and installs # Update in-chroot package database apt-get -q update apt-get -q -y dist-upgrade ## Xorg server and associated drivers and software apt-get install -y -q xserver-xorg-video-all xserver-xorg-video-qxl xserver-xorg-input-all mesa-utils libtxc-dxtn-s2tc0 xfonts-scalable xserver-xorg-input-mtrack libglide3 mesa-utils xfonts-100dpi xserver-xorg-input-synaptics apt-get install -y -q x11-session-utils x11-xserver-utils xorg apt-get install -y -q anacron libjpeg-progs xdg-user-dirs policykit-desktop-privileges acpi acpi-support pm-utils kerneloops-daemon pcmciautils apmd upower udisks2 libpam-ck-connector consolekit laptop-detect linux-firmware-nonfree apt-get install -y -q libnss-mdns apt-get install -y -q gksu libgtk2.0-bin gnupg-agent gnupg2 ntp xterm dialog desktop-file-utils ## For machines low in ram: apt-get install -y -q zram-config ## Filesystem tools and else apt-get install -q -y btrfs-tools reiserfsprogs xfsprogs jfsutils mdadm cryptsetup-bin module-init-tools usbmuxd vbetool policykit-1 # Internet tools apt-get install -q -y ethtool wireless-tools wpasupplicant netplug tcpd pppoe ssh ssh-import-id rfkill network-manager-gnome usb-modeswitch # Misc tools apt-get install -q -y xdg-user-dirs-gtk gnome-keyring gvfs-backends gvfs-fuse # Installer, plymouth boot decoration, login screen ubiquity apt-get install -q -y ubiquity ubiquity-casper ubiquity-frontend-gtk ubiquity-ubuntu-artwork plymouth-label plymouth-theme-text apt-get install -q -y lvm2 ubuntu-drivers-common dmraid # login screen apt-get install -q -y lightdm-gtk-greeter lightdm # get the add-apt-repository tool apt-get install -q -y software-properties-common ## Install packages # Bento Openbox specific apt-get install -y -q openbox openbox-menu obsession # obsession is available in the repos starting Vivid. Get it there, it works for Trusty too. # Bento Openbox items apt-get install -y -q hsetroot tint2 mc # It seems obconf is no longer a mandatory dep for openbox apt-get install -y -q obconf # Bento Openbox theme items apt-get install -y -q dmz-cursor-theme hicolor-icon-theme clearlooks-phenix-theme gtk3-engines-unico apt-get install -y -q vibrantly-simple-icon-theme ## // 54,7 Mb # Bento Openbox minimum font items apt-get install -y -q fonts-droid ttfautohint ttf-dejavu # transparency. It will still be used instead of the so-called modern compton: apt-get install -y -q xcompmgr # System administration apt-get install -y -q synaptic software-properties-gtk ## If landing on the lightdm login screen, add these (to be re-tested): # apt-get install -q -y libc-dev-bin libc6-dev linux-libc-dev # A few apps: apt-get install -q -y netsurf volumeicon-alsa htop