mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 21:55:26 +00:00
LXDE: system-config tools cleanup, remove cups-pdf, disable screensaver
This commit is contained in:
parent
29bf2e3a02
commit
31fe801e2f
@ -53,7 +53,6 @@ alsa-plugins-pulseaudio
|
|||||||
NetworkManager-gnome
|
NetworkManager-gnome
|
||||||
galculator
|
galculator
|
||||||
xpad
|
xpad
|
||||||
cups-pdf
|
|
||||||
xcompmgr
|
xcompmgr
|
||||||
|
|
||||||
# make sure kpackagekit doesn't end up the LXDE live images
|
# make sure kpackagekit doesn't end up the LXDE live images
|
||||||
@ -95,6 +94,15 @@ yum-presto
|
|||||||
ssmtp
|
ssmtp
|
||||||
-acpid
|
-acpid
|
||||||
|
|
||||||
|
# drop some system-config things
|
||||||
|
-system-config-boot
|
||||||
|
#-system-config-language
|
||||||
|
-system-config-lvm
|
||||||
|
-system-config-network
|
||||||
|
-system-config-rootpassword
|
||||||
|
-system-config-services
|
||||||
|
-policycoreutils-gui
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -108,11 +116,16 @@ DISPLAYMANAGER=/usr/bin/slim-dynwm
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||||
chown -R liveuser:liveuser /home/liveuser
|
# disable screensaver locking
|
||||||
restorecon -R /home/liveuser
|
mkdir /home/liveuser/.config/lxsession/LXDE
|
||||||
|
cat >> /home/liveuser/.config/lxsession/LXDE/autostart << FOE
|
||||||
|
@lxde-settings-daemon
|
||||||
|
@pulseaudio -D
|
||||||
|
@lxpanel --profile LXDE
|
||||||
|
@pcmanfm -d
|
||||||
|
FOE
|
||||||
|
|
||||||
# set up timed auto-login for after 60 seconds
|
# set up auto-login for liveuser
|
||||||
# partititial fix for bug # 518068
|
|
||||||
cat >> /etc/slim.conf << FOE
|
cat >> /etc/slim.conf << FOE
|
||||||
auto_login yes
|
auto_login yes
|
||||||
default_user liveuser
|
default_user liveuser
|
||||||
@ -123,6 +136,9 @@ sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.d
|
|||||||
mkdir /home/liveuser/Desktop
|
mkdir /home/liveuser/Desktop
|
||||||
cp /usr/share/applications/liveinst.desktop /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
|
||||||
|
|
||||||
# this goes at the end after all other changes.
|
# this goes at the end after all other changes.
|
||||||
chown -R liveuser:liveuser /home/liveuser
|
chown -R liveuser:liveuser /home/liveuser
|
||||||
restorecon -R /home/liveuser
|
restorecon -R /home/liveuser
|
||||||
|
Loading…
Reference in New Issue
Block a user