Package: fluxbox
Version: 0.9.11-1sarge0
Severity: normal
Tags: patch

When I start fluxbox from home directory , for instance:

   # cd /root; fluxbox

and there is yet no configuration /root/.fluxbox/...  available 
it starts anyway, but does not read the default initialisation file

   /etc/X11/fluxbox/init.

Thre reason is found this way:
...
# strings `which fluxbox` | grep etc
/etc/X11/fluxbox/fluxbox-menu
/etc/X11/fluxbox/keys
etc/X11/fluxbox/init
Fetch
# 
...
So when I cd into "/" fluxbox starts fine.

This seems to be fixed via qick'n dirty rules patch:
...
--- rules       2005-09-01 12:11:39.000000000 +0200
+++ rules.new   2005-09-01 11:40:34.000000000 +0200
@@ -14,17 +14,17 @@
        dh_testdir
 
        CXXFLAGS="-O2 -ffunction-sections" \
-               ./configure --prefix=/usr --mandir=/usr/share/man 
--sysconfdir=/etc/X11/fluxbox \
+               ./configure --prefix=/usr --mandir=/usr/share/man 
--sysconfdir="/etc/X11/fluxbox" \
                --enable-kde --enable-gnome --enable-slit --enable-xinerama
        
        # Unfortunatly the makefiles don't support setting the INITFILE.
-       perl -pi -e 's#\$\(pkgdatadir\)/init#/etc/X11/fluxbox/init#g' 
./src/Makefile
+       perl -pi -e 's#\$\(pkgdatadir\)/init#//etc/X11/fluxbox/init#g' 
./src/Makefile
 
        # Add here commands to compile the package.
        $(MAKE) \
-               DEFAULT_MENU=/etc/X11/fluxbox/fluxbox-menu \
-               DEFAULT_KEYSFILE=$(ETC)/keys \
-               DEFAULT_INITFILE=$(ETC)/init
+               DEFAULT_MENU="/etc/X11/fluxbox/fluxbox-menu" \
+               DEFAULT_KEYSFILE="/etc/X11/fluxbox/keys" \
+               DEFAULT_INITFILE="/etc/X11/fluxbox/init"
 
        touch build-stamp
 
...

Now "strings fluxbox | grep etc" shows:
...
/etc/X11/fluxbox/fluxbox-menu
/etc/X11/fluxbox/keys
/etc/X11/fluxbox/init
Fetch
...

Best Regards
Erik Weber.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.26-omx
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages fluxbox depends on:
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libfontconfig1           2.3.1-2         generic font configuration library
ii  libfreetype6             2.1.7-2.4       FreeType 2 font engine, shared lib
ii  libgcc1                  1:3.4.3-13      GCC support library
ii  libice6                  4.3.0.dfsg.1-14 Inter-Client Exchange library
ii  libsm6                   4.3.0.dfsg.1-14 X Window System Session Management
ii  libstdc++5               1:3.3.5-13      The GNU Standard C++ Library v3
ii  libx11-6                 4.3.0.dfsg.1-14 X Window System protocol client li
ii  libxext6                 4.3.0.dfsg.1-14 X Window System miscellaneous exte
ii  libxft2                  2.1.7-1         FreeType-based font drawing librar
ii  libxpm4                  4.3.0.dfsg.1-14 X pixmap library
ii  libxrandr2               4.3.0.dfsg.1-14 X Window System Resize, Rotate and
ii  libxrender1              0.8.3-7         X Rendering Extension client libra
ii  menu                     2.1.24          provides update-menus functions fo
ii  xlibs                    4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-4       compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to