-
Notifications
You must be signed in to change notification settings - Fork 0
/
fedberry-lxqt.ks
215 lines (179 loc) · 4.51 KB
/
fedberry-lxqt.ks
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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
###
# Repositories
###
%include fedberry-repos.ks
###
# Kickstart Options
###
# System language
lang en_US.UTF-8
# Firewall configuration
firewall --enabled --service=mdns,ssh,samba-client
# System authorization information
auth --useshadow --passalgo=sha512
# Run the Setup Agent on first boot
firstboot --reconfig
# SELinux configuration
selinux --enforcing
# System services
services --disabled="lvm2-monitor,dmraid-activation" --enabled="rootfs-grow,initial-setup,saveclock"
# Define how large you want your rootfs to be
# NOTE: /boot and swap MUST use --asprimary to ensure '/' is the last partition in order for rootfs-resize to work.
# Need to create logical volume groups first then partition
part /boot --fstype="vfat" --size 512 --label=BOOT --asprimary
part / --fstype="ext4" --size 4128 --grow --label=rootfs --asprimary
# Note: the --fsoptions & --fsprofile switches dont seem to work at all!
# <SIGH> Need to edit fstab in %post :-(
###
# Packages
###
### Fedberry base packages
%include fedberry-pkgs.ks
%packages
### FedBerry lxqt remix specific packages
chromium
compton
compton-conf
fedberry-local-chromium
fedberry-local-gtk-config
fedberry-local-xorg-config
## kwin & sddm pull in too many plasma desktop deps
## sddm is too slow on RPi2 (see https://github.com/sddm/sddm/issues/323).
## Workarounds don't seem to help. sddm also doesn't (yet?) support XDMCP.
lightdm
lightdm-gtk
lxqt-common
lxqt-theme-fedberry
lxqt-panel
vlc
omxplayer-desktop
plymouth-theme-charge
qlipper
qpdfview
%end
%packages
@core
@fonts
@input-methods
@standard
@printing
@networkmanager-submodules
alsa-utils
blueberry
claws-mail
dnfdragora
firewall-config
gamin
glibc-all-langpacks ## make sure all locales are available for inital-setup
gstreamer1-plugin-mpg123
gvfs
gvfs-smb
initial-setup-gui
libreoffice-writer
libreoffice-calc
lxmenu-data
mpg123 ## mp3 support
pulseaudio
pulseaudio-module-x11
pavucontrol-qt
rng-tools
sayonara
setroubleshoot
system-config-printer
system-config-language
system-config-keyboard
transmission-qt
#trojita ## not built for f26/27 armv7hl?
wget
xarchiver
xscreensaver-extras
### @lxqt pulls in too many plasma desktop deps
featherpad
lxqt-admin
lxqt-about
#lxqt-common ## from Fedberry packages
lxqt-config
lxqt-config-randr
lxqt-globalkeys
lxqt-notificationd
lxqt-openssh-askpass
#lxqt-panel ## from Fedberry packages
lxqt-policykit
lxqt-powermanagement
lxqt-qtplugin
lxqt-runner
lxqt-session
lxqt-sudo
lxqt-wallet
lximage-qt
lxtask
lxappearance
nm-connection-editor
notification-daemon
obconf-qt
openbox
pcmanfm-qt
perl-File-MimeInfo
qt5-qtstyleplugins
qterminal
upower
xdg-user-dirs
### @base-x pulls in too many uneeded drivers.
xorg-x11-drv-evdev
xorg-x11-drv-fbturbo
xorg-x11-drv-modesetting
xorg-x11-xauth
xorg-x11-xinit
xorg-x11-server-Xorg
xorg-x11-utils
xorg-x11-drv-fbdev
mesa-dri-drivers
glx-utils
### Packages to Remove
-fedora-release
-fedora-release-notes
-fprintd-pam
-ibus-typing-booster
-pcmciautils
-dnfdragora-updater ## is just too buggy at present
%end
###
# Post-installation Scripts
###
### Explicitly set graphical.target as default as this is how initial-setup detects which version to run
%post
echo -e "\nSetting graphical.target as default"
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
%end
### Tweak boot options
%post
echo "Enabling plymouth"
sed -i 's/quiet/quiet rhgb plymouth.ignore-serial-consoles logo.nologo/' /boot/cmdline.txt
%end
### Set gpu_mem=128 in /boot/config.txt
%post
sed -i -e s'/gpu_mem=32/gpu_mem=128/' /boot/config.txt
%end
### Edit some default options
%post
echo "Modifying openbox defaults"
# update openbox theme & number of desktops
sed -i -e 's/Clearlooks/Onyx/' /etc/xdg/openbox/rc.xml
echo "Modifying xscreensaver defaults"
sed -i -e 's|mode:\(.*\)random|mode:\1blank|' -e 's|lock:\(.*\)True|lock:\1False|' /etc/xscreensaver/XScreenSaver.ad.header
/usr/sbin/update-xscreensaver-hacks
echo "Creating x-lxqt-mimeapps.list defaults"
cat >/etc/xdg/x-lxqt-mimeapps.list<<EOF
[Default Applications]
text/plain=featherpad.desktop
[Added Associations]
text/plain=featherpad.desktop;
EOF
# Enable compton by default for a smoother desktop experience.
# This also stops LXQt start problems (when loggin in) when using VC4
sed -i -e 's/Hidden/#Hidden/' /etc/xdg/autostart/lxqt-compton.desktop
#lxqt menu is missing an icon when use breeze icon theme
ln -s /usr/share/icons/breeze/categories/32/applications-utilities.svg /usr/share/icons/breeze/categories/32/applications-accessories.svg
gtk-update-icon-cache /usr/share/icons/breeze
%end
%include fedberry-post.ks