#!/bin/sh # $Id: xinitrc,v 1.0 2004/08/13 KOBAYASHI R. Taizo Exp $ userresources=$HOME/.Xresources userclients=$HOME/.Xclients usermodmap=$HOME/.Xmodmap sysresources=/private/etc/X11/xinit/.Xresources sysmodmap=/private/etc/X11/xinit/.Xmodmap # source profiles if [ "$SHELL" = "/bin/bash" ]; then source /private/etc/profile fi # 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 if [ -x $userclients ]; then exec $userclients else # start some nice programs xterm & # start the window manager exec quartz-wm fi