====== 17.10 artful ======
===== ZFS (guest) =====
From running ZFS ubuntu on guest install newer system in new ZFS fs
sudo su
DISTRO=artful
apt install -y debootstrap
zfs create -o canmount=noauto -o mountpoint=/$DISTRO rpool/ROOT/$DISTRO
zfs mount rpool/ROOT/$DISTRO
mount -o remount,dev /$DISTRO
debootstrap $DISTRO /$DISTRO
mount --rbind /dev /$DISTRO/dev
mount --rbind /proc /$DISTRO/proc
mount --rbind /sys /$DISTRO/sys
chroot /$DISTRO /bin/bash --login
echo 'LANG="en_US.UTF-8"' > /etc/default/locale
dpkg-reconfigure tzdata
dpkg-reconfigure keyboard-configuration
locale-gen it_IT.UTF-8
locale-gen en_US.UTF-8
update-locale LANG=it_IT.UTF-8 LC_MESSAGES=POSIX
DISTRO=artful
cat > /etc/apt/sources.list < /etc/fstab <
===== post install =====
sudo apt install -y ubuntu-restricted-extras
sudo apt-get -y install pigz vim inxi iftop htop xclip curl
sudo apt-get install -y gir1.2-gtop-2.0 gir1.2-networkmanager-1.0 gir1.2-clutter-1.0
sudo apt install -y gpaste gnome-shell-extensions-gpaste
sudo apt install -y gnome-shell-extension-system-monitor
sudo apt-get install -y chrome-gnome-shell
sudo apt-get install -y zsh
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt update
sudo apt install -y oracle-java8-installer
sudo apt-add-repository -y ppa:numix/ppa
sudo apt update
sudo apt install -y numix-gtk-theme numix-icon-theme-circle numix-plymouth-theme
disable spectre checking in /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash elevator=deadline noibrs noibpb nopti"
===== user =====
reset gnome 3
rm -rf .gnome .gnome2 .gconf .gconfd .metacity .cache .dbus .dmrc .mission-control .thumbnails ~/.config/dconf/user ~.compiz*
paper icons (and theme ?)
sudo add-apt-repository -y ppa:snwh/pulp
sudo apt install -y paper-icon-theme
adapta gtk theme
sudo add-apt-repository -y ppa:tista/adapta
sudo apt install -y adapta-gtk-theme
disable lock screen on resume
gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend false