Package: xmonad
Version: 0.7-1
Severity: normal

When an xmonad session is started using a session manager
such as kdm or gdm, the ~/.xsession file is ignored.
So the usual way of launching programs, setting the
background, etc. does not work.

The reason is that in /usr/share/xsessions/xmonad.desktop
supplied by this package, we have "Exec=xmonad".
Instead, we should supply and run a simple script
that first sets up the session and then execs xmonad.

As an example (untested):
Set "Exec=startxmonad" and supply this script:

# /usr/bin/startxmonad

# Set a nice environment variable so the user can
# neatly detect that this is an xmonad session
SESSION_TYPE=xmonad

GLOBALXSESSION=/etc/xmonad/xsession
USERXSESSION=~/.xsession

if [ -f "$GLOBALXSESSION" ]
  then . $GLOBALXSESSION
fi

if [ -f "$USERXSESSION" ]
  then . $USERXSESSION
fi

exec /usr/bin/xmonad

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages xmonad depends on:
ii  libc6                     2.7-10         GNU C Library: Shared libraries
ii  libgmp3c2                 2:4.2.2+dfsg-3 Multiprecision arithmetic library
ii  libx11-6                  2:1.0.3-7      X11 client-side library
ii  x11-utils                 7.3+1          X11 utilities

Versions of packages xmonad recommends:
ii  libghc6-xmonad-dev            0.7-1      A lightweight X11 window manager
ii  libghc6-xmonad-doc            0.7-1      A lightweight X11 window manager; 

-- no debconf information



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

Reply via email to