[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: replacing GDM with a script



I just came across my old script for starting different WMs from the C/L.

#! /bin/sh
clear;echo;echo "Menu Items"
echo;echo "1 > TWM"
echo "2 > Blackbox"
echo "3 > Ratpoison"
echo;echo "Choice: " $reply; read reply
case $reply in
  1) cp initrc-twm initrc; startx
  ;;
  2) cp initrc-blackbox initrc; startx
  ;;
  3) cp initrc-ratpoison initrc; startx
  ;;
  *) echo "Not an option"
  ;;
esac
exit 0

HTH

-- 
Sent from FOSS (Free Open Source Software)
Debian GNU/Linux


Reply to: