> KDE/Gnome.I want to start with Windowmaker (or Fvwm) - not shift to
> Anotherlevel from within KDE.What do I do - which file must be altered??
>
I usually use the following script to run whichever windowmanager I want -
the xinitrc.* files are the std. ones used with each windowmanager. Instead
of using gdm, you can add the name of this script in your ~/.bash_profile:
Listing:

#!/bin/sh
/usr/bin/dialog --backtitle "Startx" \
  --title "Which WM is to be started ?" --clear \
         --radiolist "Which One ?" 12 50 6 \
         "KDE" "Start K Desktop Environment" off \
  "GNOME" "Start GNOME" off \
  "WMaker" "Start WindowMaker" off \
  "FVWM" "Start Fvwm" off \
  "ENL" "Start Enlightenment-DR" off \
  "FVWM95" "Start Fvwm95" on 2> /tmp/checklistval.tmp.$$



# above line moved from above "ENL"... line
retval=$?
choice=`cat /tmp/checklistval.tmp.$$`
rm -f /tmp/checklistval.tmp.$$
case $retval in
  0)
 if [ "$choice" = "KDE" ] ; then
  echo "Starting KDE"
  cp -f /etc/X11/xinit/xinitrc.kde ~/.xinitrc
  cp -f /etc/X11/xinit/Xclients.kde ~/.Xclients
  startx;
 elif [ "$choice" = "ENL" ] ; then
  echo "Starting Enlightenment-DR"
  cp -f /etc/X11/xinit/xinitrc.enl ~/.xinitrc
  cp -f ~/.xinitrc ~/.xsession
  cp -f ~/.xinitrc ~/.Xclients
  cd ~
  startx;
 elif [ "$choice" = "FVWM" ] ; then
  echo "Starting FVWM"
  cp -f /etc/X11/xinit/xinitrc.fvwm ~/.xinitrc
  cp -f /etc/X11/xinit/Xclients.fvwm ~/.Xclients
  startx;
 elif [ "$choice" = "GNOME" ] ; then
  echo "Starting GNOME"
  cp -f /etc/X11/xinit/xinitrc.gnome ~/.xinitrc
  cp -f /etc/X11/xinit/Xclients.gnome ~/.Xclients
  startx;
 elif [ "$choice" = "WMaker" ] ; then
  echo "Starting WindowMaker"
  cp -f /etc/X11/xinit/xinitrc.wmaker ~/.xinitrc
  cp -f /etc/X11/xinit/Xclients.fvwm ~/.Xclients
  startx;
 else
  echo "Starting FVWM95"
  cp -f /etc/X11/xinit/xinitrc.fvwm2 ~/.xinitrc
  cp -f /etc/X11/xinit/Xclients.fvwm ~/.Xclients
  startx
 fi ;;
  1|255)
 echo "X cancelled"
 exit ;;
esac
rm -f ~/.xinitrc
rm -f ~/.Xclients
rm -f ~/.xsession

End of Listing..
to Arup - if you think this is udeful enough, you can add it to the tips on
the ilug website.

HTH,
Rajat.


--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/help/faq_list.html

Reply via email to