#!/bin/bash # # A kinder, gentler way of starting X... # Other options - # c 100 # set key click to 100% # -fc "font_name" # cursor font # -dpms # disables VESA DPMS monitor control # -s 0 # turn off the default screen-blanker # -v # screen-saver w/o video blanking # -quiet | -verbose # startup messages cd case $1 in "8") startx -- c 100 -s 0 -bpp 8 2>~/xerrors ;; # For 'flying', maybe 'abuse.x11R6'? "16" | "") startx -- c 100 -s 0 -bpp 16 2>~/xerrors ;; # Default "24") startx -- c 100 -s 0 -bpp 24 2>~/xerrors ;; "32") startx -- c 100 -s 0 -bpp 32 2>~/xerrors ;; esac exit