|
|

楼主 |
发表于 2009-8-26 17:25:40
|
显示全部楼层
- [quote]Post by [i]FreemanZY;2020441[/i]
- #!/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.lxde" ]; then
- mkdir -p "$PCMANFM_CONF_DIR"
- cp /usr/share/lxde/pcmanfm/main.lxde "$PCMANFM_CONF_DIR/main.lxde"
- fi
- # Ensure the existance of openbox config file
- OPENBOX_CONF_DIR="$XDG_CONFIG_HOME/openbox"
- if [ ! -f "$OPENBOX_CONF_DIR/lxde-rc.xml" ]; then
- mkdir -p "$OPENBOX_CONF_DIR"
- cp /usr/share/lxde/openbox/rc.xml "$OPENBOX_CONF_DIR/lxde-rc.xml"
- fi
- # Enable GTK+2 integration for OpenOffice.org, if available.
- export SAL_USE_VCLPLUGIN=gtk
- # Start the LXDE session
- exec /usr/bin/lxsession -s LXDE [/quote]
复制代码 感谢;)wold patch |
|