http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.01.tar.gz
[xscreensaver] / driver / screensaver-properties-capplet
1 #!/bin/sh
2 # screensaver-properties-capplet --- interface to gnome-session.
3 # xscreensaver, Copyright (c) 1991-2002 Jamie Zawinski <jwz@jwz.org>
4 #
5 # Permission to use, copy, modify, distribute, and sell this software and its
6 # documentation for any purpose is hereby granted without fee, provided that
7 # the above copyright notice appear in all copies and that both that
8 # copyright notice and this permission notice appear in supporting
9 # documentation.  No representations are made about the suitability of this
10 # software for any purpose.  It is provided "as is" without express or 
11 # implied warranty.
12
13 # The existence of this script in /usr/bin/ forces Gnome to use the
14 # xscreensaver-demo program (instead of the lame Gnome code) to launch,
15 # initialize, and configure xscreensaver.  When running in crapplet mode,
16 # xscreensaver-demo accepts the same arguments that Gnome's capplet does,
17 # except that "--capplet" must be the first argument.
18
19 exec xscreensaver-demo --crapplet "$@"