forked from srbala/fedora-kickstarts
LXDE: fix lxdm start, set preferred apps and update package selection
This commit is contained in:
parent
4cc2e362ba
commit
a516f40dd5
@ -20,7 +20,6 @@ midori
|
|||||||
sylpheed
|
sylpheed
|
||||||
lostirc
|
lostirc
|
||||||
transmission
|
transmission
|
||||||
gftp
|
|
||||||
|
|
||||||
# office
|
# office
|
||||||
abiword
|
abiword
|
||||||
@ -42,18 +41,21 @@ gxine-mozplugin
|
|||||||
# I'm looking for something smaller than
|
# I'm looking for something smaller than
|
||||||
gnomebaker
|
gnomebaker
|
||||||
|
|
||||||
# development
|
# utils
|
||||||
#geany
|
|
||||||
|
|
||||||
# More Desktop stuff
|
|
||||||
xdg-user-dirs-gtk
|
|
||||||
#@java
|
|
||||||
alsa-plugins-pulseaudio
|
|
||||||
NetworkManager-gnome
|
|
||||||
galculator
|
galculator
|
||||||
parcellite
|
parcellite
|
||||||
xpad
|
xpad
|
||||||
|
|
||||||
|
# system
|
||||||
|
gigolo
|
||||||
|
|
||||||
|
# more Desktop stuff
|
||||||
|
alsa-plugins-pulseaudio
|
||||||
|
NetworkManager-gnome
|
||||||
|
#java-1.6.0-openjdk-plugin
|
||||||
xcompmgr
|
xcompmgr
|
||||||
|
xdg-user-dirs-gtk
|
||||||
|
|
||||||
|
|
||||||
# make sure kpackagekit doesn't end up the LXDE live images
|
# make sure kpackagekit doesn't end up the LXDE live images
|
||||||
gnome-packagekit*
|
gnome-packagekit*
|
||||||
@ -110,20 +112,25 @@ ssmtp
|
|||||||
|
|
||||||
# create /etc/sysconfig/desktop (needed for installation)
|
# create /etc/sysconfig/desktop (needed for installation)
|
||||||
|
|
||||||
cat >> /etc/sysconfig/desktop <<EOF
|
cat > /etc/sysconfig/desktop <<EOF
|
||||||
PREFERRED=/usr/bin/startlxde
|
PREFERRED=/usr/bin/startlxde
|
||||||
DISPLAYMANAGER=/usr/sbin/lxdm --retain-splash
|
DISPLAYMANAGER=/usr/sbin/lxdm
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||||
# disable screensaver locking and make sure gamin gets started
|
# disable screensaver locking and make sure gamin gets started
|
||||||
rm -f /etc/xdg/lxsession/LXDE/autostart
|
cat > /etc/xdg/lxsession/LXDE/autostart << FOE
|
||||||
cat >> /etc/xdg/lxsession/LXDE/autostart << FOE
|
|
||||||
/usr/libexec/gam_server
|
/usr/libexec/gam_server
|
||||||
@lxde-settings-daemon
|
|
||||||
@pulseaudio -D
|
|
||||||
@lxpanel --profile LXDE
|
@lxpanel --profile LXDE
|
||||||
@pcmanfm -d
|
@pcmanfm -d
|
||||||
|
@pulseaudio -D
|
||||||
|
FOE
|
||||||
|
|
||||||
|
# set up preferred apps
|
||||||
|
cat > /etc/xdg/libfm/pref-apps.conf << FOE
|
||||||
|
[Preferred Applications]
|
||||||
|
WebBrowser=mozilla-firefox.desktop
|
||||||
|
MailClient=redhat-sylpheed.desktop
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# set up auto-login for liveuser
|
# set up auto-login for liveuser
|
||||||
@ -131,7 +138,6 @@ cat >> /etc/lxdm/lxdm.conf << FOE
|
|||||||
autologin=liveuser
|
autologin=liveuser
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
|
|
||||||
# Show harddisk install on the desktop
|
# Show harddisk install on the desktop
|
||||||
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
||||||
mkdir /home/liveuser/Desktop
|
mkdir /home/liveuser/Desktop
|
||||||
|
Loading…
Reference in New Issue
Block a user