Adding patch to correct location of XDG global configuration file for pcmanfm in...
authorDaniel Baumann <daniel@debian.org>
Fri, 18 May 2012 13:39:09 +0000 (15:39 +0200)
committerDaniel Baumann <daniel@debian.org>
Fri, 18 May 2012 13:39:09 +0000 (15:39 +0200)
debian/patches/07-xdg-pcmanfm.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/07-xdg-pcmanfm.patch b/debian/patches/07-xdg-pcmanfm.patch
new file mode 100644 (file)
index 0000000..d5177eb
--- /dev/null
@@ -0,0 +1,17 @@
+Author: Daniel Baumann <daniel@debian.org>
+Description:
+ Correcting location of XDG global configuration file for pcmanfm in startlxde
+ (Closes: #650427).
+
+diff -Naurp lxde-common.orig/startlxde.in lxde-common/startlxde.in
+--- lxde-common.orig/startlxde.in      2012-05-18 15:27:34.881975959 +0200
++++ lxde-common/startlxde.in   2012-05-18 15:37:29.349949913 +0200
+@@ -8,7 +8,7 @@ fi
+ PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm/LXDE"
+ if [ ! -f "$PCMANFM_CONF_DIR/pcmanfm.conf" ]; then
+       mkdir -p "$PCMANFM_CONF_DIR"
+-      cp @prefix@/share/lxde/pcmanfm/pcmanfm.conf "$PCMANFM_CONF_DIR/pcmanfm.conf"
++      cp /etc/xdg/pcmanfm/LXDE/pcmanfm.conf "$PCMANFM_CONF_DIR/pcmanfm.conf"
+ fi
+ # Ensure the existance of openbox config file
index 2c412c3..3534494 100644 (file)
@@ -4,3 +4,4 @@
 04-default-terminal.patch
 05-openbox-fullscreen.patch
 06-l10n-pt-br.patch
+07-xdg-pcmanfm.patch