#!/bin/sh # $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $ userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/usr/X11R6.3/lib/X11/xinit/.Xresources sysmodmap=/usr/X11R6.3/lib/X11/xinit/.Xmodmap # merge in defaults and keymaps if [ -f $sysresources ]; then xrdb -merge $sysresources fi if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f $userresources ]; then xrdb -merge $userresources fi if [ -f $usermodmap ]; then xmodmap $usermodmap fi # set mouse acceleration paramaters xset m 4 2 # set the background color xsetroot -solid "#185f6a" # start some nice programs # xterm -C -g 50x3+0-0 -fn 6x12 -sb -sl 100 -title console -j -rw & # xterm -g 80x24+5+5 -sb -sl 1000 -title `hostname` -j -rw & kinput2 -canna & tkdesk -fvwm & # start the window manager and wait for it to finish exec fvwm2 # stuff to do after exiting X