Package: xscreensaver
Version: 4.23-4
Severity: wishlist
Tags: patch

It would be good to be able to start xscreensaver by Xsession via a hook
script in /etc/X11/Xsession.d.

The attached script ...

1. Checks for xscreensaver-command, xscreensaver and executes
"xscreensaver-command -exit" and "xscreensaver -nosplash" in the
background (as recommended in the xscreensaver(1))

2. Follows the conventions specified in Xsession(5) for "CUSTOMIZING THE
STARTUP PROCEDURE".

Giridhar

--
Y Giridhar Appaji Nag | http://www.appaji.net/

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)

Versions of packages xscreensaver depends on:
ii  libatk1.0-0              1.10.3-1        The ATK accessibility toolkit
ii  libc6                    2.3.6-3         GNU C Library: Shared libraries an
ii  libcairo2                1.0.2-3         The Cairo 2D vector graphics libra
ii  libfontconfig1           2.3.2-5         generic font configuration library
ii  libglade2-0              1:2.5.1-2       library to load .glade files at ru
ii  libglib2.0-0             2.8.6-1         The GLib library of C routines
ii  libgtk2.0-0              2.8.13-1        The GTK+ graphical user interface 
ii  libice6                  6.9.0.dfsg.1-4  Inter-Client Exchange library
ii  libjpeg62                6b-12           The Independent JPEG Group's JPEG 
ii  libpam0g                 0.79-3.1        Pluggable Authentication Modules l
ii  libpango1.0-0            1.10.4-1        Layout and rendering of internatio
ii  libsm6                   6.9.0.dfsg.1-4  X Window System Session Management
ii  libx11-6                 6.9.0.dfsg.1-4  X Window System protocol client li
ii  libxcursor1              1.1.3-1         X cursor management library
ii  libxext6                 6.9.0.dfsg.1-4  X Window System miscellaneous exte
ii  libxi6                   6.9.0.dfsg.1-4  X Window System Input extension li
ii  libxinerama1             6.9.0.dfsg.1-4  X Window System multi-head display
ii  libxml2                  2.6.23.dfsg.2-2 GNOME XML library
ii  libxmu6                  6.9.0.dfsg.1-4  X Window System miscellaneous util
ii  libxpm4                  6.9.0.dfsg.1-4  X pixmap library
ii  libxrandr2               6.9.0.dfsg.1-4  X Window System Resize, Rotate and
ii  libxrender1              1:0.9.0.2-1     X Rendering Extension client libra
ii  libxt6                   6.9.0.dfsg.1-4  X Toolkit Intrinsics
ii  libxxf86misc1            6.9.0.dfsg.1-4  X miscellaneous extensions library
ii  libxxf86vm1              6.9.0.dfsg.1-4  X Video Mode selection library
ii  zlib1g                   1:1.2.3-11      compression library - runtime

Versions of packages xscreensaver recommends:
pn  libjpeg-progs                 <none>     (no description available)
pn  miscfiles | wordlist          <none>     (no description available)
ii  perl [perl5]                  5.8.8-3    Larry Wall's Practical Extraction 
pn  xli | xloadimage              <none>     (no description available)

-- no debconf information
XSCREENSAVER_COMMAND="/usr/bin/xscreensaver-command"
XSCREENSAVER="/usr/bin/xscreensaver"

if [ -x $XSCREENSAVER_COMMAND ]; then
        $XSCREENSAVER_COMMAND -exit
fi

if [ -x $XSCREENSAVER ]; then
        $XSCREENSAVER -nosplash &
fi

Reply via email to