Use conffiles optins in lxsession, and remove contents in startlubuntu
This commit is contained in:
parent
594def9443
commit
8a6ebb34ef
14
etc/xdg/lxsession/Lubuntu/conffiles.conf
Normal file
14
etc/xdg/lxsession/Lubuntu/conffiles.conf
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
[Openbox]
|
||||||
|
source=/usr/share/lubuntu/openbox/rc.xml
|
||||||
|
|
||||||
|
[XScreensaver]
|
||||||
|
source=/usr/share/lubuntu/xscreensaver/xscreensaver
|
||||||
|
|
||||||
|
[Qt]
|
||||||
|
source=/usr/share/lubuntu/qt/Trolltech.conf
|
||||||
|
|
||||||
|
[Leafpad]
|
||||||
|
source=/usr/share/lubuntu/leafpad/leafpadrc
|
||||||
|
|
||||||
|
[LXterminal]
|
||||||
|
source=/usr/share/lubuntu/leafpad/leafpadrc
|
@ -72,6 +72,10 @@ type=
|
|||||||
[Updates]
|
[Updates]
|
||||||
activate=true
|
activate=true
|
||||||
|
|
||||||
|
[Environment]
|
||||||
|
type=lubuntu
|
||||||
|
menu_prefix=lxde-
|
||||||
|
|
||||||
[GTK]
|
[GTK]
|
||||||
sNet/ThemeName=Lubuntu-default
|
sNet/ThemeName=Lubuntu-default
|
||||||
sNet/IconThemeName=lubuntu
|
sNet/IconThemeName=lubuntu
|
||||||
|
@ -1,33 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Ensure the existance of openbox config file
|
|
||||||
OPENBOX_CONF_DIR="$XDG_CONFIG_HOME/openbox"
|
|
||||||
if [ ! -f "$OPENBOX_CONF_DIR/lubuntu-rc.xml" ]; then
|
|
||||||
mkdir -p "$OPENBOX_CONF_DIR"
|
|
||||||
cp /usr/share/lubuntu/openbox/rc.xml "$OPENBOX_CONF_DIR/lubuntu-rc.xml"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Install custom QT configuration if no one is already installed
|
|
||||||
if [ ! -f "$XDG_CONFIG_HOME/Trolltech.conf" ]; then
|
|
||||||
cp /usr/share/lubuntu/qt/Trolltech.conf "$XDG_CONFIG_HOME/Trolltech.conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Install custom configuration for leafpad
|
|
||||||
LEAFPAD_CONF_DIR="$XDG_CONFIG_HOME/leafpad"
|
|
||||||
if [ ! -f "$LEAFPAD_CONF_DIR/leafpadrc" ]; then
|
|
||||||
mkdir -p "$LEAFPAD_CONF_DIR"
|
|
||||||
cp /usr/share/lubuntu/leafpad/leafpadrc "$LEAFPAD_CONF_DIR/leafpadrc"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Install custom configuration for xscreensaver
|
|
||||||
if [ ! -f "$HOME/.xscreensaver" ]; then
|
|
||||||
cp /usr/share/lubuntu/xscreensaver/xscreensaver "$HOME/.xscreensaver"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Install custom lxterminal configuration if no one is already installed
|
|
||||||
if [ ! -f "$XDG_CONFIG_HOME/lxterminal/lxterminal.conf" ]; then
|
|
||||||
cp /etc/xdg/lubuntu/lxterminal/lxterminal.conf "$XDG_CONFIG_HOME/lxterminal/lxterminal.conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Start the LXDE session
|
# Start the LXDE session
|
||||||
exec /usr/bin/lxsession -s Lubuntu -e LXDE
|
exec /usr/bin/lxsession -s Lubuntu -e LXDE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user