[spin-kickstarts] #48: openrdate replaces rdate in F20
by fedora-badges
#48: openrdate replaces rdate in F20
-----------------------------+---------------------
Reporter: hhorak | Owner: kanarip
Type: task | Status: new
Priority: minor | Milestone: F19
Component: kickstart pool | Keywords:
Blocked By: | Blocking:
-----------------------------+---------------------
= phenomenon =
openrdate replaces rdate in F20
= background analysis =
= implementation recommendation =
replace rdate with openrdate in kickstarts as well (it seems to be only in
fedora-soas-packages.ks)
--
Ticket URL: <https://fedorahosted.org/spin-kickstarts/ticket/48>
spin-kickstarts <https://fedorahosted.org/spin-kickstarts/>
Kickstarts that the Spin SIG reviews, tests, maintains and releases (as a package).
10 years, 8 months
[spin-kickstarts] design: add vym, phatch
by Luya Tshimbalanga
commit f0a4cbb934b8bba30334ed2802620ce12d1cc425
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Mon Aug 19 13:47:10 2013 -0700
design: add vym, phatch
fedora-live-design-suite.ks | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/fedora-live-design-suite.ks b/fedora-live-design-suite.ks
index 89382e4..b8e5ccc 100644
--- a/fedora-live-design-suite.ks
+++ b/fedora-live-design-suite.ks
@@ -37,13 +37,15 @@ mypaint
inkscape
nautilus-image-converter
optipng
+phatch
+screenruler
scribus
colord-extra-profiles
synfigstudio
-# ufraw # dropped as duplicate of darktable
xournal
# office
+vym
pdfshuffler
# internet
@@ -66,7 +68,10 @@ overpass-fonts
# removal of duplicated and unneeded applications
-gnome-boxes
+-gthumb
-eog
+-gnome-photos
+
# Legacy cmdline things we don't want
-krb5-auth-dialog
@@ -97,7 +102,7 @@ cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
[org.gnome.shell]
favorite-apps=['firefox.desktop', 'evolution.desktop', 'shotwell.desktop', 'gimp.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop']
#Enable categories in Gnome Shell
-app-folder-categories=['Utilities', 'Others', 'System Settings', 'Sundry', 'Graphics', 'Games', 'Office', 'Multimedia', 'Network', 'Internet']
+app-folder-categories=['Utilities','Others','System Settings','Sundry','Graphics','Games','Office','Multimedia','Network','Internet']
FOE
# Add link to the Inkscape Course
10 years, 8 months
[PATCH] Boot a Live USB device as read-only after persisting some changes.
by Frederick Grose
In cases where one would like to make some changes or customizations
on an installed Live USB device and then protect the device
filesystems from further persistent changes, one can boot the device
with the rd.live.overlay.readonly option. This protects the root
operating filesystem, but leaves as read-write both the home.img
filesystem, if used, (needed for encrypting the /home contents) and
the base device filesystem, such as /dev/sdc1.
The following patches adjust the boot scripts dmsquash-live-root.sh
and livesys to enable the base device filesystem, livedev, and the
home.img filesystem, if present, to be mounted read-only at boot and
stay read-only during use. Temporary overlays are created in memory
for device-mapper snapshot targets for the filesystems to handle
non-persistent storage content.
Adjust the boot command line option from rw to ro to invoke the
read-only configuration on all of the discussed filesystems.
rd.live.overlay.readonly may be used as before to add a non-persistent
overlay over an existing persistent overlay to limit further root
filesystem changes. Adjust the /syslinux/syslinux.cfg or
extlinux.conf file on the device to standardize the desired default
configuration. Adjust further, if one wishes later to make more
persistent changes.
The following patches have been tested for the common configurations
described above. Special devspec or pathspec arguments for overlay=
or persistenthome= command line options should be further tested.
A method to call for the check of a persistent home filesystem before
mounting during the next boot has also been added.
--Fred
commit a6cd70fc9df2d299ed4f347461c33e4824df62f0
Author: Frederick Grose <fgrose(a)sugarlabs.org>
Date: Mon Aug 12 00:12:25 2013 -0400
Enable read-only mounting of a persistent home.img filesystem.
Enable one to call for filesystem checking of home.img before
mounting on the next boot.
diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index 6c76e96..0512f67 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -116,9 +116,13 @@ mountPersistentHome() {
elif [ ! -b "\$homedev" ]; then
loopdev=\`losetup -f\`
if [ "\${homedev##/run/initramfs/live}" != "\${homedev}" ]; then
- action "Remounting live store r/w" mount -o remount,rw
/run/initramfs/live
+ if [ "\$liverw" = rw ]; then
+ action "Remounting live store r/w" mount -o remount,rw
/run/initramfs/live
+ else
+ opts="-r"
+ fi
fi
- losetup \$loopdev \$homedev
+ losetup \$opts \$loopdev \$homedev
homedev=\$loopdev
fi
@@ -130,6 +134,22 @@ mountPersistentHome() {
homedev=/dev/mapper/EncHome
fi
+ # If read-only is requested, prepare a non-persistent overlay and
snapshot target.
+ if [ "\$opts" = "-r" ]; then
+ dd if=/dev/null of=/run/initramfs/overlayfs/home_overlay bs=1024
count=1 seek=\$((512*1024)) 2> /dev/null
+ HOME_OVERLAY_LOOPDEV=\$(losetup -f)
+ losetup \$HOME_OVERLAY_LOOPDEV /run/initramfs/overlayfs/home_overlay
+ sz=\$(blockdev --getsz \$homedev)
+ echo 0 \$sz snapshot \$homedev \$HOME_OVERLAY_LOOPDEV N 8 |
dmsetup create home-rw
+ homedev=/dev/mapper/home-rw
+ fi
+
+ # Check the filesystem, if requested.
+ if [ -e /forcehomefsck ]; then
+ e2fsck -f -y -v \$homedev || e2fsck -f -y \$homedev
+ rm /forcehomefsck
+ fi
+
# and finally do the mount
mount \$mountopts \$homedev /home
# if we have /home under what's passed for persistent home, then
commit 96ff19a87c0be1eca27860aeef5434513b0e8c61
Author: Frederick Grose <fgrose(a)sugarlabs.org>
Date: Mon Aug 12 00:29:27 2013 -0400
Allow read-only mounting of the base device filesystem, livedev.
Use read-only loop devices and non-persistent overlay targets.
diff --git a/modules.d/90dmsquash-live/dmsquash-live-root.sh
b/modules.d/90dmsquash-live/dmsquash-live-root.sh
index 14e84e1..af0022f 100755
--- a/modules.d/90dmsquash-live/dmsquash-live-root.sh
+++ b/modules.d/90dmsquash-live/dmsquash-live-root.sh
@@ -24,7 +24,7 @@ squash_image=$(getarg rd.live.squashimg)
getargbool 0 rd.live.ram -d -y live_ram && live_ram="yes"
getargbool 0 rd.live.overlay.reset -d -y reset_overlay && reset_overlay="yes"
-getargbool 0 rd.live.overlay.readonly -d -y readonly_overlay &&
readonly_overlay="--readonly" || readonly_overlay=""
+getargbool 0 rd.live.overlay.readonly -d -y readonly_overlay &&
readonly_overlay="-r" || readonly_overlay=""
overlay=$(getarg rd.live.overlay -d overlay)
# CD/DVD media check
@@ -105,17 +105,23 @@ do_live_overlay() {
setup=""
if [ -n "$devspec" -a -n "$pathspec" -a -n "$overlay" ]; then
mkdir -m 0755 /run/initramfs/overlayfs
- mount -n -t auto $devspec /run/initramfs/overlayfs || :
- if [ -f /run/initramfs/overlayfs$pathspec -a -w
/run/initramfs/overlayfs$pathspec ]; then
- losetup $OVERLAY_LOOPDEV /run/initramfs/overlayfs$pathspec
- if [ -n "$reset_overlay" ]; then
- dd if=/dev/zero of=$OVERLAY_LOOPDEV bs=64k count=1
conv=fsync 2>/dev/null
+ mount -n -t auto -o $liverw $devspec /run/initramfs/overlayfs || :
+ if [ -f /run/initramfs/overlayfs$pathspec ]; then
+ if [ "$liverw" = ro ]; then
+ readonly_overlay='-r'
+ fi
+ losetup $readonly_overlay $OVERLAY_LOOPDEV
/run/initramfs/overlayfs$pathspec
+ if [ -w /run/initramfs/overlayfs$pathspec ]; then
+ if [ -n "$reset_overlay" ]; then
+ dd if=/dev/zero of=$OVERLAY_LOOPDEV bs=64k
count=1 conv=fsync 2>/dev/null
+ fi
fi
setup="yes"
fi
umount -l /run/initramfs/overlayfs || :
fi
+ persistent='P'
if [ -z "$setup" -o -n "$readonly_overlay" ]; then
if [ -n "$setup" ]; then
warn "Using temporary overlay."
@@ -123,6 +129,7 @@ do_live_overlay() {
warn "Unable to find persistent overlay; using temporary"
sleep 5
fi
+ persistent='N'
dd if=/dev/null of=/overlay bs=1024 count=1
seek=$((512*1024)) 2> /dev/null
if [ -n "$setup" -a -n "$readonly_overlay" ]; then
@@ -136,14 +143,14 @@ do_live_overlay() {
# set up the snapshot
sz=$(blockdev --getsz $BASE_LOOPDEV)
if [ -n "$readonly_overlay" ]; then
- echo 0 $sz snapshot $BASE_LOOPDEV $OVERLAY_LOOPDEV p 8 |
dmsetup create $readonly_overlay live-ro
+ echo 0 $sz snapshot $BASE_LOOPDEV $OVERLAY_LOOPDEV N 8 |
dmsetup create $readonly_overlay live-ro
base="/dev/mapper/live-ro"
over=$RO_OVERLAY_LOOPDEV
else
base=$BASE_LOOPDEV
over=$OVERLAY_LOOPDEV
fi
- echo 0 $sz snapshot $base $over p 8 | dmsetup create live-rw
+ echo 0 $sz snapshot $base $over $persistent 8 | dmsetup create live-rw
}
# live cd helper function
@@ -217,7 +224,7 @@ fi
if [ -b "$OSMIN_LOOPDEV" ]; then
# set up the devicemapper snapshot device, which will merge
# the normal live fs image, and the delta, into a minimzied fs image
- echo "0 $( blockdev --getsz $BASE_LOOPDEV ) snapshot
$BASE_LOOPDEV $OSMIN_LOOPDEV p 8" | dmsetup create --readonly
live-osimg-min
+ echo "0 $( blockdev --getsz $BASE_LOOPDEV ) snapshot
$BASE_LOOPDEV $OSMIN_LOOPDEV N 8" | dmsetup create --readonly
live-osimg-min
fi
ROOTFLAGS="$(getarg rootflags)"
10 years, 8 months
[spin-kickstarts] Jam: add new plugins and mup notation editor.
by Brendan Jones
commit 97426b8c9324e08758f388e611b1d6f5bffa9ab1
Author: Brendan Jones <brendan.jones.it(a)gmail.com>
Date: Sun Aug 18 20:12:46 2013 +0200
Jam: add new plugins and mup notation editor.
fedora-live-jam-kde.ks | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/fedora-live-jam-kde.ks b/fedora-live-jam-kde.ks
index 9ea1612..99743b7 100644
--- a/fedora-live-jam-kde.ks
+++ b/fedora-live-jam-kde.ks
@@ -116,7 +116,8 @@ lv2-c++-tools
lv2-samplv1
lv2-synthv1
lv2-drumkv1
-
+lv2-triceratops
+lv2-newtonator
#dssi
nekobee-dssi
@@ -140,6 +141,7 @@ nano
mscore
lilypond
frescobaldi
+mup
#audio utilities
jamin
@@ -154,6 +156,7 @@ rtirq
#patchage
#ladish #not packaged yet
japa
+radium-compressor
#streaming
idjc
10 years, 8 months
[spin-kickstarts] Sendmail is out of standard now. No need to exclude here.
by Kevin Fenzi
commit 168dcbf3d21f2ed65ed9e616eae17d484ea46fa5
Author: Kevin Fenzi <kevin(a)scrye.com>
Date: Wed Aug 14 13:51:17 2013 -0600
Sendmail is out of standard now. No need to exclude here.
custom/qa-test-day.ks | 1 -
fedora-desktop-packages.ks | 3 ---
fedora-lxde-packages.ks | 3 +--
fedora-soas-packages.ks | 1 -
4 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks
index f02791d..3569bee 100644
--- a/custom/qa-test-day.ks
+++ b/custom/qa-test-day.ks
@@ -66,7 +66,6 @@ selinux --permissive
-realmd
-rhythmbox
-sane-backends*
--sendmail
-shotwell
-simple-scan
-system-config-*
diff --git a/fedora-desktop-packages.ks b/fedora-desktop-packages.ks
index 6223d0f..c54cc10 100644
--- a/fedora-desktop-packages.ks
+++ b/fedora-desktop-packages.ks
@@ -14,13 +14,10 @@ nss-mdns
-system-config-printer
-im-chooser
-# There's been some debate about removing sendmail from @standard, but it's
-# being punted for now. At least we can fix it in the desktop spin.
# Similarly, there was also some debate about removing rsyslog from @standard
# (since much of its functionality is provided by journald now), but it's
# not going to happen for f20 either, so drop it here for now.
# https://lists.fedoraproject.org/pipermail/devel/2013-July/186796.html
--sendmail
-rsyslog
%end
diff --git a/fedora-lxde-packages.ks b/fedora-lxde-packages.ks
index ef87d88..6ff1583 100644
--- a/fedora-lxde-packages.ks
+++ b/fedora-lxde-packages.ks
@@ -35,8 +35,7 @@ metacity
#-man-pages-*
#-words
-# use ssmtp instead of sendmail
--sendmail
+# use ssmtp
ssmtp
# save some space
diff --git a/fedora-soas-packages.ks b/fedora-soas-packages.ks
index 8ae69b6..1bbda45 100644
--- a/fedora-soas-packages.ks
+++ b/fedora-soas-packages.ks
@@ -21,7 +21,6 @@
-rdate
-rdist
-icedtea-web
--sendmail
-firefox
-glx-utils
-nmap-ncat
10 years, 8 months
[spin-kickstarts] FSL moved to Xfce
by Fabian Affolter
commit 44113387366da69c3b7e455bea281679963847a5
Author: Fabian Affolter <fab(a)fedoraproject.org>
Date: Tue Aug 13 13:51:50 2013 +0200
FSL moved to Xfce
fedora-livecd-security.ks | 401 ++++++++++-----------------------------------
1 files changed, 86 insertions(+), 315 deletions(-)
---
diff --git a/fedora-livecd-security.ks b/fedora-livecd-security.ks
index 40e52fc..b452861 100644
--- a/fedora-livecd-security.ks
+++ b/fedora-livecd-security.ks
@@ -4,364 +4,135 @@
# A fully functional live OS based on Fedora for use in security auditing,
# forensics research, and penetration testing.
# Maintainers:
-# Christoph Wickert <cwickert [AT] fedoraproject <dot> org>
-# Joerg Simon <jsimon [AT] fedoraproject <dot> org>
-# Fabian Affolter <fab [AT] fedoraproject <dot> org>
+# Fabian Affolter <fab [AT] fedoraproject <dot> org>
+# Joerg Simon <jsimon [AT] fedoraproject <dot> org>
+# Christoph Wickert <cwickert [AT] fedoraproject <dot> org>
# Acknowledgements:
-# Fedora LiveCD Xfce Spin team - some work here was inherited, many thanks!
+# Fedora LiveCD Xfce Spin team - some work here was and will be inherited,
+# many thanks!
# Fedora LXDE Spin - Copied over stuff to make LXDE Default
-# Luke Macken, Adam Miller for the original OpenBox Security ks and all
+# Luke Macken and Adam Miller for the original OpenBox Security ks and all
# the Security Applications!
# Hiemanshu Sharma <hiemanshu [AT] fedoraproject <dot> org>
-# Important!!!!
-# Beginning with Security Stuff - we use pattern to parse the kickstart file
-# for building the security menu - please use
-# # Category: Categoryname <- for new Categories
-# # Command: Commandname <- for the given Command
-# # rCommand: Commandname <- for a command as root
-# # Entry: Menu-Entry <- for the MenuEntry Name (optional)
%include fedora-live-base.ks
%include fedora-live-minimization.ks
%packages
-### LXDE desktop
-@lxde-desktop
-lxlauncher
-obconf
-lxdm
-
-### internet
-firefox
-icedtea-web
-pidgin
-sylpheed
-transmission
-
-### graphics
-#mtpaint
-
-### audio & video
-alsa-plugins-pulseaudio
-asunder
-lxmusic
-gxine
-gxine-mozplugin
-pavucontrol
-pnmixer
-# I'm looking for something smaller than
-#gnomebaker
-
-### utils
-galculator
-parcellite
-xpad
-
-### system
-gigolo
-Terminal
-
-### more desktop stuff
-fedora-icon-theme
-adwaita-cursor-theme
-adwaita-gtk2-theme
-adwaita-gtk3-theme
-
-# pam-fprint causes a segfault in LXDM when enabled
--fprintd-pam
-
-# needed for automatic unlocking of keyring (#643435)
-gnome-keyring-pam
-
-network-manager-applet
-
-# needed for xdg-open to support LXDE
-perl-File-MimeInfo
-
-xcompmgr
-xdg-user-dirs-gtk
-xscreensaver-extras
-
-# use yumex instead of gnome-packagekit
-#yumex
--apper
--gnome-packagekit
-
-# LXDE has lxpolkit. Make sure no other authentication agents end up in the spin.
--polkit-gnome
--polkit-kde
-
-# make sure xfce4-notifyd is not pulled in
-notification-daemon
--xfce4-notifyd
-
-# make sure xfwm4 is not pulled in for firstboot
-# https://bugzilla.redhat.com/show_bug.cgi?id=643416
-metacity
-
-# Command line
-powertop
-wget
-yum-utils
-
-# dictionaries are big
--aspell-*
--hunspell-*
--man-pages-*
--words
+@xfce-desktop
+@xfce-apps
+#@xfce-extra-plugins
+#@xfce-media
+#@xfce-office
+#@firefox
+
+# Security tools (not ready at the moment)
+@security-lab
+security-menus
# save some space
--sendmail
-ssmtp
+-autofs
-acpid
+-gimp-help
+-desktop-backgrounds-basic
+-realmd # only seems to be used in GNOME
+-PackageKit* # we switched to yumex, so we don't need this
+-aspell-* # dictionaries are big
+-man-pages-*
# drop some system-config things
-system-config-boot
-#-system-config-language
+#-system-config-network
-system-config-rootpassword
#-system-config-services
-policycoreutils-gui
--gnome-disk-utility
-
-# we need UPower for suspend and hibernate
-upower
-
-###################### Security Stuffs ############################
-security-menus
-##################################################################
-# Category: Reconnaissance
-# rCommand: dsniff -h
-dsniff
-# rCommand: hping -h
-hping3
-nc6
-nc
-# Command: ncrack -h
-ncrack
-ngrep
-# rCommand: nmap -h
-nmap
-# Command: zenmap-root
-nmap-frontend
-# Command: p0f -h
-p0f
-# rCommand: sing -h
-sing
-# Command: scanssh -h
-#temp takout scanssh
-# rCommand: scapy -h
-scapy
-# Command: socat
-# Entry: Socket cat
-socat
-# rCommand: tcpdump -h
-tcpdump
-# rCommand: unicornscan -h
-unicornscan
-# rCommand: wireshark
-# Entry: Wireshark
-wireshark-gnome
-# Command: xprobe2
-xprobe2
-# Command: nbtscan
-nbtscan
-# Command: tcpxtract
-tcpxtract
-# Command: firewalk
-# Entry: Firewalk
-firewalk
-# Command: hunt
-# Entry: Hunt
-hunt
-# Command: dnsenum -h
-# Entry: DNS Enumeration
-dnsenum
-# rCommand: iftop
-iftop
-# Command: argus -h
-argus
-# rCommand: ettercap -C
-# Entry: Ettercap
-ettercap
-ettercap-gtk
-# rCommand: packETH
-packETH
-# rCommand: iptraf-ng
-iptraf-ng
-pcapdiff
-# rCommand: etherape
-etherape
-# Command: lynis
-lynis
-# rCommand: netsniff-ng
-netsniff-ng
-# Command: tcpjunk -x
-tcpjunk
-# rCommand: ssldump -h
-ssldump
-# rCommand: yersinia -G
-# Entry: Yersinia
-yersinia
-net-snmp
-# Command: openvas-client
-# Entry: OpenVAS Client
-openvas-client
-openvas-scanner
-
-#################################################################
-# Category: Forensics
-# Command: ddrescue -h
-ddrescue
-# Command: gparted
-gparted
-hexedit
-# rCommand: testdisk -h
-testdisk
-# Command: foremost -h
-# Entry: Foremost Filecarver
-foremost
-# Command: sectool-gui
-# Entry: sectool
-sectool-gui
-scanmem
-sleuthkit
-# Command: unhide
-unhide
-# Command: examiner
-# Entry: ELF Examiner
-examiner
-dc3dd
-afftools
-# Command: srm -h
-# Entry: Securely Remove Files
-srm
-# Command: nwipe
-# Entry: Securely erase disks
-nwipe
-# Command: firstaidkit -g gtk
-# Entry: First Aid Kit
-#firstaidkit-plugin-all #temp removed - dependency to grub2
-
-ntfs-3g
-ntfsprogs
-
-#####################################################################
-# Category: WebApplicationTesting
-# Command: httping -h
-httping
-# Command: nikto -help
-# Entry: Nikto Websecurity Scanner
-nikto
-# Command: ratproxy -h
-ratproxy
-# Command: lbd
-# Entry: Load Balancing Detector
-lbd
-# Command: skipfish
-skipfish
-# Command: sqlninja
-sqlninja
-
-#######################################################################
-# Category: Wireless
-# Command: aircrack-ng
-aircrack-ng
-# Command: airsnort
-airsnort
-# rCommand: kismet
-kismet
-# Command: weplab
-# Entry: Wep Key Cracker
-weplab
-# Command: wavemon
-wavemon
-
-#######################################################################
-# Category: CodeAnalysis
-# Command: splint
-splint
-# Command: pscan
-pscan
-# Command: flawfinder
-# Entry: Flawfinder
-flawfinder
-# Command: rats
-# Entry: Rough Auditing Tool for Security
-rats
-######################################################################
-# Category: IntrusionDetection
-# rCommand: chkrootkit
-chkrootkit
-# Command: aide -h
-aide
-labrea
-# Command: honeyd -h
-# Entry: Honeypot Daemon
-# temp removal
-#honeyd
-# Command: pads -h
-# Entry: Passive Asset Detection System
-pads
-nebula
-# Command: rkhunter
-# Entry: RootKitHunter
-rkhunter
-
-########################################################################
-# Category: PasswordTools
-# Command: john
-john
-# Command: ophcrack
-# Entry: Objectif Securite ophcrack
-ophcrack
-# Command: medusa -d
-# Entry: Medusa Brute Force
-medusa
+# exclude some packages to save some space
+# use './fsl-maintenance.py -l' in your security spin git folder to build
+-ArpON
+-bonesi
+-cmospwd
+-dnstop
+-hfsutils
+-honeyd
+-kismon
+-netsed
+-onesixtyone
+-pdfcrack
+-picviz-gui
+-prelude-lml
+-prelude-manager
+-prewikka
+-proxychains
+-pyrit
+-raddump
+-safecopy
+-scalpel
+-sslstrip
+-tcpreen
+-tcpreplay
+-tripwire
+-wipe
%end
%post
-# LXDE and LXDM configuration
+# xfce configuration
+
+# This is a huge file and things work ok without it
+rm -f /usr/share/icons/HighContrast/icon-theme.cache
# create /etc/sysconfig/desktop (needed for installation)
+
cat > /etc/sysconfig/desktop <<EOF
-PREFERRED=/usr/bin/startlxde
-DISPLAYMANAGER=/usr/sbin/lxdm
+PREFERRED=/usr/bin/startxfce4
+DISPLAYMANAGER=/usr/sbin/lightdm
EOF
cat >> /etc/rc.d/init.d/livesys << EOF
-# disable screensaver locking and make sure gamin gets started
-cat > /etc/xdg/lxsession/LXDE/autostart << FOE
-/usr/libexec/gam_server
-@lxpanel --profile LXDE
-@pcmanfm --desktop --profile LXDE
-/usr/libexec/notification-daemon
+
+mkdir -p /home/liveuser/.config/xfce4
+
+cat > /home/liveuser/.config/xfce4/helpers.rc << FOE
+MailReader=sylpheed-claws
+FileManager=Thunar
+WebBrowser=midori
FOE
-# set up preferred apps
-cat > /etc/xdg/libfm/pref-apps.conf << FOE
-[Preferred Applications]
-WebBrowser=firefox.desktop
-MailClient=redhat-sylpheed.desktop
+# disable screensaver locking (#674410)
+cat >> /home/liveuser/.xscreensaver << FOE
+mode: off
+lock: False
+dpmsEnabled: False
FOE
-# set up auto-login for liveuser
-sed -i 's|# autologin=dgod|autologin=liveuser|g' /etc/lxdm/lxdm.conf
+# deactivate xfconf-migration (#683161)
+rm -f /etc/xdg/autostart/xfconf-migration-4.6.desktop || :
+
+# deactivate xfce4-panel first-run dialog (#693569)
+mkdir -p /home/liveuser/.config/xfce4/xfconf/xfce-perchannel-xml
+cp /etc/xdg/xfce4/panel/default.xml /home/liveuser/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
+
+# set up lightdm autologin
+sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
+sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
+#sed -i 's/^#show-language-selector=.*/show-language-selector=true/' /etc/lightdm/lightdm-gtk-greeter.conf
+
+# set Xfce as default session, otherwise login will fail
+sed -i 's/^#user-session=.*/user-session=xfce/' /etc/lightdm/lightdm.conf
# Show harddisk install on the desktop
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
mkdir /home/liveuser/Desktop
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
-# Add autostart for parcellite
-cp /usr/share/applications/fedora-parcellite.desktop /etc/xdg/autostart
+# and mark it as executable (new Xfce security feature)
+chmod +x /home/liveuser/Desktop/liveinst.desktop
-# this goes at the end after all other changes.
+# this goes at the end after all other changes.
chown -R liveuser:liveuser /home/liveuser
restorecon -R /home/liveuser
EOF
%end
-
10 years, 8 months
[spin-kickstarts] LXDE: Make autologin more robust
by Christoph Wickert
commit ca841d22025b59229c2c8cf330eda1b6b14ab4d3
Author: Christoph Wickert <cwickert(a)fedoraproject.org>
Date: Tue Aug 13 00:53:17 2013 +0200
LXDE: Make autologin more robust
fedora-livecd-lxde.ks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/fedora-livecd-lxde.ks b/fedora-livecd-lxde.ks
index d6ec60b..9fe8a30 100644
--- a/fedora-livecd-lxde.ks
+++ b/fedora-livecd-lxde.ks
@@ -36,7 +36,7 @@ MailClient=sylpheed.desktop
FOE
# set up auto-login for liveuser
-sed -i 's|# autologin=dgod|autologin=liveuser|g' /etc/lxdm/lxdm.conf
+sed -i 's/# autologin=.*/autologin=liveuser/g' /etc/lxdm/lxdm.conf
# Show harddisk install on the desktop
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
10 years, 8 months
[spin-kickstarts] LXDE: Fix clipit config file creation
by Christoph Wickert
commit 724f5bd19ac42ef67850254947d5d7dfb9bed8f0
Author: Christoph Wickert <cwickert(a)fedoraproject.org>
Date: Tue Aug 13 00:46:05 2013 +0200
LXDE: Fix clipit config file creation
fedora-livecd-lxde.ks | 21 +--------------------
1 files changed, 1 insertions(+), 20 deletions(-)
---
diff --git a/fedora-livecd-lxde.ks b/fedora-livecd-lxde.ks
index 3b93415..d6ec60b 100644
--- a/fedora-livecd-lxde.ks
+++ b/fedora-livecd-lxde.ks
@@ -45,32 +45,13 @@ cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
# create default config for clipit, otherwise it displays a dialog on startup
mkdir -p /home/liveuser/.config/clipit
-cat .config/clipit/clipitrc << FOE
+cat > /home/liveuser/.config/clipit/clipitrc << FOE
[rc]
use_copy=true
-use_primary=false
-synchronize=false
-automatic_paste=false
-show_indexes=false
save_uris=true
-use_rmb_menu=false
save_history=false
-history_limit=50
-items_menu=20
statics_show=true
-statics_items=10
-hyperlinks_only=false
-confirm_clear=false
single_line=true
-reverse_history=false
-item_length=50
-ellipsize=2
-history_key=<Ctrl><Alt>H
-actions_key=<Ctrl><Alt>A
-menu_key=<Ctrl><Alt>P
-search_key=<Ctrl><Alt>F
-offline_key=<Ctrl><Alt>O
-offline_mode=false
FOE
# this goes at the end after all other changes.
10 years, 8 months
[spin-kickstarts] LXDE: Clean up
by Christoph Wickert
commit 3c4e8b4727dd672a237df65f950b98736b7ac57b
Author: Christoph Wickert <cwickert(a)fedoraproject.org>
Date: Tue Aug 13 00:26:17 2013 +0200
LXDE: Clean up
fedora-lxde-packages.ks | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/fedora-lxde-packages.ks b/fedora-lxde-packages.ks
index 3b23689..ef87d88 100644
--- a/fedora-lxde-packages.ks
+++ b/fedora-lxde-packages.ks
@@ -32,10 +32,8 @@ metacity
# dictionaries are big
--aspell-*
--hunspell-*
--man-pages-*
--words
+#-man-pages-*
+#-words
# use ssmtp instead of sendmail
-sendmail
@@ -53,7 +51,7 @@ ssmtp
-stix-fonts
-ibus-typing-booster
-xscreensaver-extras
--wqy-zenhei-fonts
+-wqy-zenhei-fonts # FIXME: Workaround to save space, do this in comps
# FIXME: can be removed once mtpaint is gone from lxde-apps in comps
-mtpaint
10 years, 8 months
[spin-kickstarts] LXDE: We don't need to list upower no more, it's a depenency os lxsession
by Christoph Wickert
commit 70c15559606deeba8a8543cf64396eab22ded25d
Author: Christoph Wickert <cwickert(a)fedoraproject.org>
Date: Tue Aug 13 00:17:18 2013 +0200
LXDE: We don't need to list upower no more, it's a depenency os lxsession
fedora-lxde-packages.ks | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/fedora-lxde-packages.ks b/fedora-lxde-packages.ks
index 5c5df82..3b23689 100644
--- a/fedora-lxde-packages.ks
+++ b/fedora-lxde-packages.ks
@@ -67,8 +67,5 @@ ssmtp
-policycoreutils-gui
-gnome-disk-utility
-# we need UPower for suspend and hibernate
-upower
-
%end
10 years, 8 months