forked from nicolargo/ubuntupostinstall
-
Notifications
You must be signed in to change notification settings - Fork 2
/
ubuntu-16.04-unity-postinstall.cfg
134 lines (82 loc) · 4.22 KB
/
ubuntu-16.04-unity-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
#
# Configuration file
# for the script https://github.com/nicolargo/ubuntupostinstall
#
# Ubuntu version: 16.04
# UI: Unity
#
# Actions to be executed before all the others steps
# Use && separator if there is more than 1 action
[preactions]
action_dummy = dpkg -l > /tmp/pkg-before.txt
# The repos section
# 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]
hwe = linux-generic-hwe-16.04 xserver-xorg-hwe-16.04
flash = adobe-flashplugin
lsb = lsb-core
ubuntu-restrictive = ubuntu-restricted-extras
multimedia = gimp gimp-plugin-registry ogmrip guvcview cheese openshot regionset libdvd-pkg
nautilusplugins = nautilus-admin nautilus-image-converter gnome-exe-thumbnailer gnome-raw-thumbnailer gnome-xcf-thumbnailer seahorse-nautilus ooo-thumbnailer
system = preload gparted lm-sensors hardinfo xsensors synaptic gdebi mtp-tools mtpfs dkms thermald
#fingerprint = fprint_demo
tweak = unity-tweak-tool gnome-tweak-tool
chromium = chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg-extra
xbmc = kodi
vaapi = libva-glx1 libva-x11-1 vainfo mesa-va-drivers
vaapi_gstreamer = gstreamer1.0-vaapi
vdpau = libvdpau-va-gl1 libvdpau1 mesa-vdpau-drivers vdpauinfo vdpau-va-driver
#vaapi_mplayer = gnome-mplayer
#vaapi_intel = libva-intel-vaapi-driver
vlc = vlc
libreoffice_base = libreoffice-base
filesystems = exfat-fuse
#vaapi_nvidia = vdpau-va-driver
#indicators = indicator-multiload
flashback= gnome-session-flashback
#language_fr = language-pack-fr
remotesupport = gitso
partagesamba = cifs-utils samba smbclient
tools = ppa-purge powertop
drivers = intel-microcode
indicators = indicator-keylock
tlp = tlp
winexesupport = winbind playonlinux
#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 = ubuntu-drivers autoinstall
action_libdvdcss = dpkg-reconfigure libdvd-pkg
action_rtl8723be = cp ressources/rtl8723be.conf /etc/modprobe.d/rtl8723be.conf
action_skelconfig = mkdir /etc/skel/.config
action_languefr = apt-get -y install `check-language-support -l fr`
action_langueen = apt-get -y install `check-language-support -l en`
action_skeldesktop = mkdir /etc/skel/Desktop
action_manualfr = wget http://drive.ekimia.fr/index.php/s/0GGDa0emnM1Y29G/download -O /etc/skel/Desktop/Ubuntu-manual-16.04-fr.pdf
action_wirelessintel = cp ressources/wirelessintel /etc/pm/power.d/wireless && chmod +x /etc/pm/power.d/wireless
action_amazonlauncherremove = rm /usr/share/applications/ubuntu-amazon-default.desktop
action_disableapport = sed -ibak -e s/^enabled\=1$/enabled\=0/ /etc/default/apport
action_fixnmsleep = cp ressources/nm-restart /lib/systemd/system-sleep/nm-restart
action_fixnmsleepchmod = chmod +x /lib/systemd/system-sleep/nm-restart
action_fixwpanotready = cp ressources/wpa_supplicant.service /lib/systemd/system/
action_fixwpanotreadychmod = chmod 644 /lib/systemd/system/wpa_supplicant.service
# Actions Spécifiques USER
action_copy_wallpaper_ekimia = cp ressources/wallpaper_ekimia.jpeg /usr/share/backgrounds
#action_set_wallpaper_ekimia = su - oem -c 'gsettings set org.gnome.desktop.background picture-uri "file:///usr/share/backgrounds/image_ekimia.jpeg"'
action_hostsgitso = cp ressources/gitso-hosts /etc/
#action_showbattery = su - oem -c 'gsettings set com.canonical.indicator.power show-percentage true && gsettings set com.canonical.indicator.power show-time true'
#action_launchersize = su - oem -c 'gsettings set org.compiz.unityshell:/org/compiz/profiles/unity/plugins/unityshell/ icon-size 24'
action_mkdconf = mkdir /etc/skel/.config/dconf/
#Syncing the whole dconf from oem to new users
action_syncdconf = cp /home/oem/.config/dconf/user /etc/skel/.config/dconf/user
action_sync_autostart = cp -R /home/oem/.config/autostart /etc/skel/.config/
action_cleanaptcache = apt-get clean
action_dummy = dpkg -l > /tmp/pkg-after.txt