Use /etc/xdg/lubuntu to store custom configuration files.

ubuntu/bionic
seagle 15 years ago
parent 747c775248
commit 4867b5a6c8

1
debian/changelog vendored

@ -6,6 +6,7 @@ lubuntu-default-settings (0.2) UNRELEASED; urgency=low
the battery icon in notification-area the battery icon in notification-area
* Set the terminal for pcmanfm to lxterminal * Set the terminal for pcmanfm to lxterminal
* Move lxpanel background for Lubuntu to a specific file. * Move lxpanel background for Lubuntu to a specific file.
* Use /etc/xdg/lubuntu to store custom configuration files.
-- Julien Lavergne <gilir@ubuntu.com> Fri, 06 Nov 2009 18:58:46 +0100 -- Julien Lavergne <gilir@ubuntu.com> Fri, 06 Nov 2009 18:58:46 +0100

@ -4,6 +4,15 @@ if [ -z "$XDG_CONFIG_HOME" ]; then
export XDG_CONFIG_HOME="$HOME/.config" export XDG_CONFIG_HOME="$HOME/.config"
fi fi
#Allow custom configuration files in /etc/xdg/lubuntu
if test "x$XDG_CONFIG_DIRS" = "x"
then
XDG_CONFIG_DIRS="/etc/xdg/lubuntu:/etc/xdg"
else
XDG_CONFIG_DIRS="/etc/xdg/lubuntu/:$XDG_CONFIG_DIRS:/etc/xdg"
fi
export XDG_CONFIG_DIRS
# Ensure the existance of pcmanfm config file # Ensure the existance of pcmanfm config file
PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm" PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm"
if [ ! -f "$PCMANFM_CONF_DIR/main.lubuntu" ]; then if [ ! -f "$PCMANFM_CONF_DIR/main.lubuntu" ]; then

Loading…
Cancel
Save