usr/bin/start* : Ensure configuration files for libfm and pcmanfm2.

ubuntu/bionic
Julien Lavergne 15 years ago
parent 689f7589c3
commit af4e91215f

1
debian/changelog vendored

@ -5,6 +5,7 @@ lubuntu-default-settings (0.6) UNRELEASED; urgency=low
* debian/control: Depends on the re-written pcmanfm (>= 0.9.0)
* autostart: Use new pcmanfm --desktop command to start pcmanfm with desktop
management.
* usr/bin/start* : Ensure configuration files for libfm and pcmanfm2.
-- Julien Lavergne <gilir@ubuntu.com> Fri, 19 Feb 2010 22:28:28 +0100

@ -0,0 +1,13 @@
[config]
single_click=1
use_trash=1
confirm_del=1
thumbnail_local=1
thumbnail_max=2048
[ui]
big_icon_size=48
small_icon_size=24
thumbnail_size=128
pane_icon_size=24
show_thumbnail=1

@ -29,6 +29,18 @@ if [ ! -f "$PCMANFM_CONF_DIR/main.lubuntu" ]; then
cp /usr/share/lubuntu/pcmanfm/main.lubuntu "$PCMANFM_CONF_DIR/main.lubuntu"
fi
if [ ! -f "$PCMANFM_CONF_DIR/pcmanfm.conf" ]; then
mkdir -p "$PCMANFM_CONF_DIR"
cp /usr/share/lubuntu/pcmanfm/main.lubuntu "$PCMANFM_CONF_DIR/pcmanfm.conf"
fi
# Ensure the existance of pcmanfm config file
LIBFM_CONF_DIR="$XDG_CONFIG_HOME/libfm"
if [ ! -f "$LIBFM_CONF_DIR/libfm.conf" ]; then
mkdir -p "$LIBFM_CONF_DIR"
cp /etc/xdg/lubuntu/libfm/libfm.conf "$LIBFM_CONF_DIR/libfm.conf"
fi
# Ensure the existance of openbox config file
OPENBOX_CONF_DIR="$XDG_CONFIG_HOME/openbox"
if [ ! -f "$OPENBOX_CONF_DIR/lubuntu-rc.xml" ]; then

@ -29,6 +29,18 @@ if [ ! -f "$PCMANFM_CONF_DIR/main.lubuntu" ]; then
cp /usr/share/lubuntu/pcmanfm/main.lubuntu "$PCMANFM_CONF_DIR/main.lubuntu"
fi
if [ ! -f "$PCMANFM_CONF_DIR/pcmanfm.conf" ]; then
mkdir -p "$PCMANFM_CONF_DIR"
cp /usr/share/lubuntu/pcmanfm/main.lubuntu "$PCMANFM_CONF_DIR/pcmanfm.conf"
fi
# Ensure the existance of pcmanfm config file
LIBFM_CONF_DIR="$XDG_CONFIG_HOME/libfm"
if [ ! -f "$LIBFM_CONF_DIR/libfm.conf" ]; then
mkdir -p "$LIBFM_CONF_DIR"
cp /etc/xdg/lubuntu/libfm/libfm.conf "$LIBFM_CONF_DIR/libfm.conf"
fi
# Ensure the existance of openbox config file
OPENBOX_CONF_DIR="$XDG_CONFIG_HOME/openbox"
if [ ! -f "$OPENBOX_CONF_DIR/lubuntu-rc.xml" ]; then

Loading…
Cancel
Save