rm wallpaper and ssh key del cataclysmdda, hyperrogue add wesnoth warzone => rpm
52 lines
1005 B
Plaintext
52 lines
1005 B
Plaintext
# Maintained by the Fedora Workstation WG:
|
|
# http://fedoraproject.org/wiki/Workstation
|
|
# mailto:desktop@lists.fedoraproject.org
|
|
|
|
%include fedora-live-base.ks
|
|
%include fedora-workstation-common.ks
|
|
#
|
|
# Disable this for now as packagekit is causing compose failures
|
|
# by leaving a gpg-agent around holding /dev/null open.
|
|
#
|
|
#include snippets/packagekit-cached-metadata.ks
|
|
|
|
#part / --size 12000
|
|
|
|
%post
|
|
|
|
# set livesys session type
|
|
sed -i 's/^livesys_session=.*/livesys_session="gnome"/' /etc/sysconfig/livesys
|
|
|
|
%end
|
|
|
|
%packages
|
|
gnome-initial-setup
|
|
anaconda-webui
|
|
%end
|
|
|
|
%post
|
|
# horal
|
|
|
|
mkdir -p /home/liveuser/.config/autostart
|
|
cd /home/liveuser
|
|
|
|
#only set keyboard layout
|
|
cat >wallpaper.sh <<EOF
|
|
#!/bin/bash
|
|
gsettings set org.gnome.desktop.input-sources sources "[('xkb','cz')]"
|
|
EOF
|
|
|
|
chmod 777 wallpaper.sh
|
|
|
|
cat >.config/autostart/wallpaper.desktop <<EOF
|
|
[Desktop Entry]
|
|
Name=wallpaper
|
|
Comment=set wallpaper
|
|
Type=Application
|
|
Exec=/home/liveuser/wallpaper.sh
|
|
Hidden=false
|
|
X-GNOME-Autostart-enabled=true
|
|
EOF
|
|
|
|
%end
|