blob: eb38786a4f15f75a5891b1320e697d9ee7b85b73 [file] [log] [blame]
Carmelo Casconec5569c22018-04-18 10:09:15 +09001#!/usr/bin/env bash
2
Carmelo Casconec5569c22018-04-18 10:09:15 +09003set -xe
4
Carmelo Cascone2b8bcbc2019-04-23 13:50:03 -07005# Desktop and other tutorial tools.
6# VirtualBox doesn't like Gnome, use Unity:
7# https://askubuntu.com/questions/1035410/ubuntu-18-04-gnome-hangs-on-virtualbox-with-3d-acceleration-enabled
8echo "gdm3 shared/default-x-display-manager select lightdm" | debconf-set-selections
9echo "lightdm shared/default-x-display-manager select lightdm" | debconf-set-selections
Carmelo Casconeea2c1102018-08-21 18:32:58 -070010
Carmelo Cascone2b8bcbc2019-04-23 13:50:03 -070011# Install ubuntu desktop from tasksel
12apt-get -y --no-install-recommends tasksel
13tasksel ubuntu-desktop
14# Remove gnome, install unity
15apt-get remove gdm3 ubuntu-desktop
16DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
17 ubuntu-unity-desktop lightdm \
18 gnome-panel \
19 gnome-settings-daemon \
20 metacity \
21 nautilus
Carmelo Casconec5569c22018-04-18 10:09:15 +090022
Carmelo Cascone2b8bcbc2019-04-23 13:50:03 -070023# FIXME: app menu is empty in unity
Carmelo Casconec5569c22018-04-18 10:09:15 +090024
Carmelo Cascone2b8bcbc2019-04-23 13:50:03 -070025snap install intellij-idea-community --classic
26# TODO: install plugins, P4 plugin and Python CE
Carmelo Casconec5569c22018-04-18 10:09:15 +090027
Carmelo Cascone2b8bcbc2019-04-23 13:50:03 -070028DEBIAN_FRONTEND=noninteractive apt-get -y install wireshark
29echo "wireshark-common wireshark-common/install-setuid boolean true" | debconf-set-selections
30DEBIAN_FRONTEND=noninteractive dpkg-reconfigure wireshark-common