forked from nicolargo/ubuntupostinstall
-
Notifications
You must be signed in to change notification settings - Fork 2
/
run.24.04.sh
66 lines (55 loc) · 2.46 KB
/
run.24.04.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/bin/bash
#reload packages first
sudo apt update
sudo apt upgrade -y
#Install any drivers
sudo ubuntu-drivers autoinstall
#Install packages
sudo apt install -y linux-generic-hwe-24.04
sudo apt install -y links
sudo apt install -y gimp gimp-plugin-registry cheese regionset libdvd-pkg gnome-sound-recorder
sudo apt install -y nautilus-admin nautilus-image-converter ooo-thumbnailer
sudo apt install -y htop preload gparted hardinfo xsensors synaptic gdebi mtp-tools dkms thermald net-tools lm-sensors
sudo apt install -y gnome-tweak-tool dconf-editor
sudo apt install -y libva-glx2 libva-x11-2 vainfo mesa-va-drivers
sudo apt install -y intel-media-va-driver-non-free
sudo apt install -y intel-gpu-tools
sudo apt install -y vlc vlc-l10n
sudo apt install -y libreoffice-base libreoffice-sdbc-hsqldb
sudo apt install -y exfatprogs
sudo apt install -y cifs-utils samba smbclient
sudo apt install -y ppa-purge powertop
sudo apt install -y printer-driver-all-enforce
sudo apt install -y winbind
sudo apt install -y gnome-shell-extension-manager gnome-shell-extensions
sudo apt install -y nextcloud-desktop nautilus-nextcloud
sudo apt install -y sssd-ad sssd-tools realmd adcli
sudo apt install -y gnome-software-plugin-flatpak
sudo apt remove -y gnome-software-plugin-snap
#Fix flatpak opening because Apparmor
sudo cp ressources/bwrap /etc/apparmor.d/bwrap
sudo dpkg-reconfigure --frontend=noninteractive libdvd-pkg
#enable minimal languages
sudo apt -y install `check-language-support -l fr`
sudo apt -y install `check-language-support -l en`
#Gnome GUI tuning
gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true
gsettings set org.gnome.desktop.interface clock-show-seconds true
gsettings set org.gnome.desktop.peripherals.touchpad natural-scroll false
gsettings set org.gnome.desktop.interface show-battery-percentage true
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
gsettings set org.gnome.desktop.screensaver lock-enabled false
gsettings set org.gnome.shell.extensions.dash-to-dock click-action minimize
#enable flathub and install apps
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak install flathub org.mozilla.firefox -y
#Remove useless apps
sudo apt remove -y totem* firefox
sudo snap remove firefox snap-store
#Save config
sudo mkdir -p /etc/skel/.config/dconf/
sudo cp /home/oem/.config/dconf/user /etc/skel/.config/dconf/user
#clean
sudo apt-get autoremove -y
sudo apt-get clean
echo "Finished"