forked from nicolargo/ubuntupostinstall
-
Notifications
You must be signed in to change notification settings - Fork 2
/
ubuntu-22.04-postinstall.cfg
197 lines (105 loc) · 5.48 KB
/
ubuntu-22.04-postinstall.cfg
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
#
# Configuration file
# for the script https://github.com/ekimiateam/ubuntupostinstall
#
# Ubuntu version: 20.04
# UI: Gnome3
#
# Actions to be executed before all the others steps
# Use && separator if there is more than 1 action
[preactions]
action_dummy = sudo dpkg -l > /tmp/pkg-before.txt
#We need to enable canonical repo before
# The repos section Commit message
# ppa_xxx = ppa:ppauser/ppaname > Add the ppa to the system
# pkg_xxx = pkglist > Add the package list to the system
# url_xxx = reposurl > Add the repository URL to the system
# key_xxx = key > Add the repository key to the system
[repos]
# The packages section
# pkgname = pkglist > Add the pkglist to the system
[packages]
#to be sure it satisfies www-browser
#firefoxapt = firefox
hwe = linux-generic-hwe-22.04
rescueboot = grml-rescueboot
lsb = lsb-core
ubuntu-restrictive = ubuntu-restricted-extras
links = links #to avoid wslu ....
gstreamer = gstreamer1.0-plugins-ugly gstreamer1.0-plugins-good gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-libav
multimedia = gimp gimp-plugin-registry cheese regionset libdvd-pkg gnome-sound-recorder
nautilusplugins = nautilus-admin nautilus-image-converter seahorse-nautilus ooo-thumbnailer
system = htop preload gparted hardinfo xsensors synaptic gdebi mtp-tools dkms thermald net-tools lm-sensors
#fingerprint = fprint_demo
tweak = gnome-tweak-tool dconf-editor
vaapi = libva-glx2 libva-x11-2 vainfo mesa-va-drivers
vaapi_gstreamer = gstreamer1.0-vaapi
vaapi_intel = intel-media-va-driver-non-free
opencl = intel-opencl-icd
intelgputools = intel-gpu-tools
vlc = vlc vlc-l10n
libreoffice_base = libreoffice-base libreoffice-sdbc-hsqldb
filesystems = exfatprogs
partagesamba = cifs-utils samba smbclient
tools = ppa-purge powertop
printingdrivers = printer-driver-all-enforce
drivers = intel-microcode
tlp = tlp
winexesupport = winbind
gnome3 = chrome-gnome-shell
gnome3_extensions = gnome-shell-extension-manager gnome-shell-extensions
officesuite = gnome-contacts
nextcloud = nextcloud-desktop nautilus-nextcloud
ad = sssd-ad sssd-tools realmd adcli
flatpak = gnome-software-plugin-flatpak
#packages for oem prep
pkg_oem = ubiquity-frontend-gtk oem-config-gtk oem-config-slideshow-ubuntu
# Actions to be executed after all the others steps
# Use && separator if there is more than 1 action
[postactions]
action_driversinstall = sudo ubuntu-drivers autoinstall
action_libdvdcss = sudo dpkg-reconfigure --frontend=noninteractive libdvd-pkg
action_skelconfig = sudo mkdir -p /etc/skel/.config
action_languefr = sudo apt -y install `check-language-support -l fr`
action_langueen = sudo apt -y install `check-language-support -l en`
action_skeldesktop = sudo mkdir /etc/skel/Desktop
#action_disableapport = sed -ibak -e s/^enabled\=1$/enabled\=0/ /etc/default/apport
action_dockminimize = gsettings set org.gnome.shell.extensions.dash-to-dock click-action minimize
action_iconsize = gsettings set org.gnome.shell.extensions.dash-to-dock dash-max-icon-size 32
action_darktheme = gsettings set org.gnome.desktop.interface color-scheme prefer-dark
action_scrollwindows = gsettings set org.gnome.shell.extensions.dash-to-dock scroll-action cycle-windows
action_appsbtntop = gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true
action_weekdate = gsettings set org.gnome.desktop.calendar show-weekdate true
action_showdate = gsettings set org.gnome.desktop.interface clock-show-date true
action_showseconds = gsettings set org.gnome.desktop.interface clock-show-seconds true
action_showbattpc = gsettings set org.gnome.desktop.interface show-battery-percentage true
action_nolock = gsettings set org.gnome.desktop.screensaver lock-enabled false
action_nonatscroll = gsettings set org.gnome.desktop.peripherals.touchpad natural-scroll false
#Ajust sleep on battery timeout to 5 minutes
action_sleepbattime = gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 300
#Add default flatpak repo
action_flathub = sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
action_removedupapp = sudo apt remove -y totem* firefox
# TODO : Enable DDG as default firefox browser
#CLean the firefox skel profile before sync
action_skelfirefoxclean = sudo rm -rf /etc/skel/.var/app/org.mozilla.firefox/.mozilla
action_nosnap = sudo snap remove firefox snap-store
action_flatfirefox = flatpak install flathub org.mozilla.firefox -y
#Sync Firefox Flatpak oem user config
action_mkdirskelff = sudo mkdir -p /etc/skel/.var/app/org.mozilla.firefox/
action_syncprofilff = sudo cp -a /home/oem/.var/app/org.mozilla.firefox/.mozilla /etc/skel/.var/app/org.mozilla.firefox/
#create the dconf dir
action_mkdconf = sudo mkdir -p /etc/skel/.config/dconf/
action_updatemime = bash ressources/updatemime.sh
action_syncmime = sudo cp /home/oem/.config/mimeapps.list /etc/skel/.config/mimeapps.list
#Syncing the whole dconf from oem to new users
action_syncdconf = sudo cp /home/oem/.config/dconf/user /etc/skel/.config/dconf/user
action_updategrub = sudo update-grub
action_setupad = sudo pam-auth-update --enable mkhomedir
action_nogis = sudo touch /etc/skel/.config/gnome-initial-setup-done
#software to remove
#action_rmippusbxd = sudo apt remove -y ippusbxd
#action_sync_autostart = sudo cp -R /home/oem/.config/autostart /etc/skel/.config/
action_aptautoremove = sudo apt-get autoremove -y
action_cleanaptcache = sudo apt-get clean
action_dummy = sudo dpkg -l > /tmp/pkg-after.txt