Debian Bug report logs - #426211
slim should remember previous session (or have a default session)

version graph

Package: slim; Maintainer for slim is Nobuhiro Iwamatsu <[email protected]>; Source for slim is src:slim (PTS, buildd, popcon).

Reported by: Yves-Alexis Perez <[email protected]>

Date: Sun, 27 May 2007 09:15:02 UTC

Severity: wishlist

Tags: patch

Found in versions slim/1.2.6-1, slim/1.3.0-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Mike Massonnet <[email protected]>:
Bug#426211; Package slim. (full text, mbox, link).


Acknowledgement sent to Yves-Alexis Perez <[email protected]>:
New Bug report received and forwarded. Copy sent to Mike Massonnet <[email protected]>. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Yves-Alexis Perez <[email protected]>
To: Debian Bug Tracking System <[email protected]>
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



Information forwarded to [email protected], Mike Massonnet <[email protected]>:
Bug#426211; Package slim. (full text, mbox, link).


Acknowledgement sent to G.R. <[email protected]>:
Extra info received and forwarded to list. Copy sent to Mike Massonnet <[email protected]>. (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: G.R. <[email protected]>
To: [email protected]
Subject: slim: Slim doesn't start with a default session
Date: Mon, 10 Mar 2008 01:19:39 +0800
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

Severity set to `normal' from `wishlist' Request was from Paul Wise <[email protected]> to [email protected]. (Tue, 24 Feb 2009 16:06:07 GMT) (full text, mbox, link).


Tags added: patch Request was from Paul Wise <[email protected]> to [email protected]. (Tue, 24 Feb 2009 16:06:08 GMT) (full text, mbox, link).


Information forwarded to [email protected]:
Bug#426211; Package slim. (Sat, 25 Apr 2009 20:39:02 GMT) (full text, mbox, link).


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).


Message #19 received at [email protected] (full text, mbox, reply):

From: Mike Massonnet <[email protected]>
To: [email protected], [email protected]
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.




Severity set to `wishlist' from `normal' Request was from Mike Massonnet <[email protected]> to [email protected]. (Sat, 25 Apr 2009 20:39:03 GMT) (full text, mbox, link).


Reply sent to Marco Rodrigues <[email protected]>:
You have taken responsibility. (Tue, 18 Aug 2009 21:45:20 GMT) (full text, mbox, link).


Notification sent to Yves-Alexis Perez <[email protected]>:
Bug acknowledged by developer. (Tue, 18 Aug 2009 21:45:21 GMT) (full text, mbox, link).


Message #26 received at [email protected] (full text, mbox, reply):

From: Marco Rodrigues <[email protected]>
To: [email protected]
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




Bug No longer marked as fixed in versions 1.3.0-2+rm. Request was from Piotr Engelking <[email protected]> to [email protected]. (Tue, 08 Sep 2009 06:57:18 GMT) (full text, mbox, link).


Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <[email protected]> to [email protected]. (Tue, 08 Sep 2009 16:45:16 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 19:21:09 2025; Machine Name: bembo

Debian Bug tracking system

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/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.