on Mon, Oct 22, 2001 at 04:16:12PM +0800, Ricardo Campos scribbled:
I'm trying to get X up and running on my 20MB RAM, (512kb video RAM) laptop, and thinking of maybe using blackbox as a WM (although I suspect most of my work will be done in console mode). It's a RedHat 6.1 box, and currently defaults into Gnome for it's GUI. I want to ditch that in favour of a more lightweight GUI.
Where is the file that determines the default GUI when you log into X?
it seems to vary a little. if there is a .xinitrc in your home dir, xinit uses that. if not, then it uses something like:
/usr/X11R6/lib/X11/xinit/xinitrc /var/X11R6/lib/xinit/xinitrc (might be symlink to above) /etc/X11/xinit/xinitrc (might be symlink to above)
if you have multiple users and don't wish to change the window manager for all, you can simply cp /path/to/xinitrc ~/.xinitrc, and any changes will only apply to you. you might find prewritten xinitrcs for different window managers in /usr/X11R6/lib/X11/xinit. (well, this is what slackware does)