Re: xscreensaver and KDE
On Wed, Feb 04, 2004 at 06:10:04AM -0500, Antonio Rodriguez wrote:
> On Tue, Feb 03, 2004 at 08:50:24PM -0500, Paul M Foster wrote:
> > On Mon, Feb 02, 2004 at 10:03:59PM -0600, ABrady wrote:
>
> >
> > IceWM and XFCE will run xscreensaver at startup if you like. I do it
> > with my ~/.xinitrc. It's like this:
> >
> > #!/bin/bash
> > exec xscreensaver &
> > exec /usr/bin/xfce
> >
> > In fact, I have an Xdialog routine in my .xinitrc that allows me to pick
> > which window manager I want to run when X starts up.
> >
> Paul, would you abound on the Xdialog routine? Thanks
You mean "expound"? I wondered if anyone would ask. Here is the script I
use.
#!/bin/bash
exec /usr/bin/xscreensaver &
CHOICE=`Xdialog --stdout --menubox "Window Manager" 0x0 7 Xfce "" \
IceWM "" Blackbox "" KDE2 "" GNOME "" TWM "" VTWM ""`
case $CHOICE in
"Xfce") exec /usr/bin/xfce ;;
"IceWM") exec /usr/X11R6/bin/icewm ;;
"Blackbox") exec /usr/bin/blackbox ;;
"KDE2") exec /usr/bin/kde2 ;;
"GNOME") exec /usr/bin/gnome-wm --default-wm
/usr/bin/enlightenment ;;
"TWM") exec /usr/X11R6/bin/twm ;;
"VTWM") exec /usr/bin/X11/vtwm ;;
esac
Paul
Reply to: