Use /etc/xdg/lubuntu to store custom configuration files.
This commit is contained in:
parent
747c775248
commit
4867b5a6c8
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -5,7 +5,8 @@ lubuntu-default-settings (0.2) UNRELEASED; urgency=low
|
|||||||
* Autostart gnome-power-manager to add power management support and
|
* Autostart gnome-power-manager to add power management support and
|
||||||
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…
x
Reference in New Issue
Block a user