029f46fef1
------------- This line and the following will be ignored -------------- added: COPYING Makefile debian/ debian/changelog debian/compat debian/control debian/copyright debian/rules etc/ etc/xdg/ etc/xdg/lxsession/ etc/xdg/lxsession/Lubuntu/ etc/xdg/lxsession/Lubuntu/autostart etc/xdg/lxsession/Lubuntu/config usr/ usr/bin/ usr/bin/lubuntu-logout usr/bin/openbox-lubuntu usr/bin/startlubuntu usr/share/ usr/share/applications/ usr/share/applications/lubuntu-logout.desktop usr/share/applications/lubuntu-screenlock.desktop usr/share/lubuntu/ usr/share/lubuntu/images/ usr/share/lubuntu/images/logout-banner.png usr/share/lubuntu/images/lubuntu-logo.png usr/share/lubuntu/openbox/ usr/share/lubuntu/openbox/menu.xml usr/share/lubuntu/openbox/rc.xml usr/share/lubuntu/pcmanfm/ usr/share/lubuntu/pcmanfm/main.lubuntu usr/share/lubuntu/wallpapers/ usr/share/lubuntu/wallpapers/lubuntu-bird-2-1024x768.jpg usr/share/lubuntu/wallpapers/lubuntu-bird-2-1280x1024.jpg usr/share/lubuntu/wallpapers/lubuntu-bird-2-1280x800.jpg usr/share/lxpanel/ usr/share/lxpanel/profile/ usr/share/lxpanel/profile/Lubuntu/ usr/share/lxpanel/profile/Lubuntu/config usr/share/lxpanel/profile/Lubuntu/panels/ usr/share/lxpanel/profile/Lubuntu/panels/panel usr/share/xsessions/ usr/share/xsessions/Lubuntu.desktop
34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
#!/bin/sh
|
|
|
|
if [ -z "$XDG_CONFIG_HOME" ]; then
|
|
export XDG_CONFIG_HOME="$HOME/.config"
|
|
fi
|
|
|
|
# Ensure the existance of pcmanfm config file
|
|
PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm"
|
|
if [ ! -f "$PCMANFM_CONF_DIR/main.lubuntu" ]; then
|
|
mkdir -p "$PCMANFM_CONF_DIR"
|
|
cp /usr/share/lubuntu/pcmanfm/main.lubuntu "$PCMANFM_CONF_DIR/main.lubuntu"
|
|
fi
|
|
|
|
# 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
|
|
|
|
# Workaround for gdm, openbox and the number of desktops
|
|
NUMBER_DESKTOPS=`grep \<number\> "$OPENBOX_CONF_DIR/llubuntu-rc.xml" | awk -F \> {'print $2}' | awk -F \< {'print $1}'`
|
|
if test x"`which wmctrl 2>/dev/null`" != x""; then
|
|
(until [ `wmctrl -d | wc -l ` = "$NUMBER_DESKTOPS" ];do
|
|
wmctrl -n "$NUMBER_DESKTOPS"
|
|
done) &
|
|
fi
|
|
|
|
# Enable GTK+2 integration for OpenOffice.org, if available.
|
|
export SAL_USE_VCLPLUGIN=gtk
|
|
|
|
# Start the LXDE session
|
|
exec /usr/bin/lxsession -s Lubuntu
|