Package: slim
Version: 1.3.0-1
First of all, this is bug rather than a wish as Yves-Alexis Perez thought.
According to the comment (quoted below) in slim.conf, the first session in
the
session list should be used as default. In fact, it does not.
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions xfce4,icewm,wmaker,blackbox
The code in App::Login() reads the session configuration from LoginPanel,
which in turn buffers the option from the Cfg object in LoginPanel.session
variable. However, the variable got initized to a null string.
Thus, an easy fix should look as follow. However, I did not test my fix
since
I did not got all those develop libraries in my system.
$ diff -u3 panel.cpp.orig panel.cpp
--- panel.cpp.orig 2008-03-10 00:55:34.000000000 +0800
+++ panel.cpp 2008-03-10 00:54:56.000000000 +0800
@@ -22,7 +22,7 @@
Root = root;
cfg = config;
- session = "";
+ session = cfg->nextSession("");
// Init GC
XGCValues gcv;
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (900, 'testing'), (505, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages slim depends on:
ii debconf [debconf-2.0] 1.5.11 Debian configuration management
sy
ii libc6 2.7-5 GNU C Library: Shared libraries
ii libgcc1 1:4.2.2-3 GCC support library
ii libjpeg62 6b-14 The Independent JPEG Group's
JPEG
ii libpam0g 0.99.7.1-5 Pluggable Authentication
Modules l
ii libpng12-0 1.2.15~beta5-3 PNG library - runtime
ii libstdc++6 4.2.2-3 The GNU Standard C++ Library v3
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxft2 2.1.12-2 FreeType-based font drawing
librar
ii libxmu6 1:1.0.3-1 X11 miscellaneous utility
library
slim recommends no packages.
-- debconf information:
* shared/default-x-display-manager: slim