summaryrefslogtreecommitdiffstats
path: root/fedora-live-xfce.ks
blob: e88456758c02996c8f31cdf4e48b4a8c2c9e1f9c (plain)
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
# fedora-live-xfce.ks
#
# Description:
# - Fedora Live Spin with the light-weight XFCE Desktop Environment
#
# Maintainer(s):
# - Rahul Sundaram <sundaram a fedoraproject.org>

%include fedora-live-base.ks

%packages
firefox
NetworkManager-vpnc
NetworkManager-openvpn
NetworkManager-gnome

# we don't include @office so that we don't get OOo.  but some nice bits

abiword
gnumeric
evince
-evince-dvi
gimp
inkscape
galculator
desktop-backgrounds-compat
xscreensaver-base
setroubleshoot

# development
geany

# More Desktop stuff
xdg-user-dirs
@java
totem
-totem-xine
totem-mozplugin
pidgin
claws-mail
brasero
drivel
liferea
quodlibet
gftp
mirage
tracker-search-tool

gnome-power-manager
seahorse
transmission
cups-pdf
bluez-gnome
alsa-plugins-pulseaudio

# Command line
ntfs-3g
powertop
wget
irssi
mutt
yum-utils

# xfce packages
@xfce-desktop
gtk-xfce-engine
orage
thunar-volman
xarchiver
xfce4-battery-plugin
xfce4-clipman-plugin
xfce4-cpugraph-plugin
xfce4-datetime-plugin
xfce4-dict-plugin
xfce4-diskperf-plugin
xfce4-genmon-plugin
#redundant with verve plugin
#xfce4-minicmd-plugin
xfce4-mount-plugin
xfce4-netload-plugin
xfce4-notes-plugin
xfce4-places-plugin
xfce4-quicklauncher-plugin
xfce4-screenshooter-plugin
xfce4-sensors-plugin
xfce4-systemload-plugin
xfce4-taskmanager
xfce4-volstatus-icon
xfce4-verve-plugin
# We use NetworkManager-gnome. So this is redundant
xfce4-weather-plugin
xfce4-websearch-plugin
# this one a compatibility layer for GNOME applets and depends on it
#xfce4-xfapplet-plugin
xfwm4-themes

# dictionaries are big
-aspell-*
-man-pages-*
-scim-tables-*
-wqy-bitmap-fonts
-dejavu-fonts-experimental
-dejavu-fonts

# drop more fonts
-lohit-fonts-*
-thaifonts-scalable
-paktype-fonts
-VLGothic-fonts
-baekmuk-ttf-fonts-*
-kacst-fonts
-lklug-fonts
-jomolhari-fonts
-abyssinica-fonts
-cjkunifonts-uming

# more fun with space saving
-scim-lang-chinese
scim-chewing
scim-pinyin
-gimp-help

# save some space
-autofs
-nss_db
-sendmail

# system-config-printer does printer management better
# xfprint has now been made as optional in comps.
system-config-printer
%end

%post
# xfce configuration

# create /etc/sysconfig/desktop (needed for installation)

cat > /etc/sysconfig/desktop <<EOF
PREFERRED=/usr/bin/startxfce4
EOF

mkdir -p /home/fedora/.config/tracker

cat > /home/fedora/.config/tracker/tracker.cfg <<EOF
[Indexing]
EnableIndexing=false
Language=en
EOF

mkdir -p /root/.config/tracker
cat > /root/.config/tracker/tracker.cfg <<EOF
[Indexing]
EnableIndexing=false
Language=en
EOF

cat >> /etc/rc.d/init.d/fedora-live << EOF
chown -R fedora:fedora /home/fedora

# set up timed auto-login for after 10 seconds
cat >> /etc/gdm/custom.conf << _EOF_
[daemon]
TimedLoginEnable=true
TimedLogin=fedora
TimedLoginDelay=10
_EOF_

if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then
    cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /home/fedora/.face
    chown fedora:fedora /home/fedora/.face
    # TODO: would be nice to get e-d-s to pick this one up too... but how?
fi
EOF

%end