Subject: slim should remember previous session (or have a default session)
Date: Sun, 27 May 2007 11:13:59 +0200
Package: slim
Version: 1.2.6-1
Severity: wishlist
When using slim and loging in without selecting a session, slim fails
miserably, only restarting itself or something like that. slim should
remember the last session choosed by user, or at least provide a default
session (configurable).
Regards,
--
Yves-Alexis Perez
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.21-1-powerpc
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages slim depends on:
ii debconf [debconf-2.0] 1.5.13 Debian configuration management sy
ii libc6 2.5-9 GNU C Library: Shared libraries
ii libfontconfig1 2.4.2-1.2 generic font configuration library
ii libfreetype6 2.2.1-6 FreeType 2 font engine, shared lib
ii libgcc1 1:4.2-20070525-1 GCC support library
ii libjpeg62 6b-13 The Independent JPEG Group's JPEG
ii libpng12-0 1.2.15~beta5-2 PNG library - runtime
ii libstdc++6 4.2-20070525-1 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
ii libxrender1 1:0.9.2-1 X Rendering Extension client libra
ii zlib1g 1:1.2.3-15 compression library - runtime
slim recommends no packages.
-- debconf information:
* shared/default-x-display-manager: slim
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
Acknowledgement sent
to Mike Massonnet <[email protected]>:
Extra info received and forwarded to list.
(Sat, 25 Apr 2009 20:39:02 GMT) (full text, mbox, link).
Subject: Re: slim: Slim doesn't start with a default session
Date: Sat, 25 Apr 2009 22:35:55 +0200
severity 426211 wishlist
kthxbye
It is a wishlist because it is an unimplemented feature in slim. It
doesn't save the session.
As soon as you install a session manager, it will be the default session
executed. If you install an "environment" that doesn't provide one, than
there is not much I'm gonna change about it.
Subject: Package slim has been removed from Debian
Date: Tue, 18 Aug 2009 22:41:17 +0100
Version: 1.3.0-2+rm
You filled the bug http://bugs.debian.org/426211 in Debian BTS
against the package slim. I'm closing it as fixed in *unstable*,
but it will remain open for older distributions.
For more information about this package's removal, read
http://bugs.debian.org/538921. That bug might give the reasons why
this package was removed and suggestions of possible replacements.
Don't hesitate to reply to this mail if you have any question.
Thank you for your contribution to Debian.
--
Marco Rodrigues
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.