view xinitrc @ 1:c8c579f62d99

add rc files that have relation with mailer. and symlink.py was modified as adding subroutin that make hardlink for fetchmailrc.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Sat, 15 Nov 2008 00:57:04 +0900
parents 6d5c73fe5744
children 0b76aa764126 8812f32e6124
line wrap: on
line source

#!/bin/bash --login
# $Id: DoT-xinitrc,v 1.2 2008/11/12 17:04:04 kent Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/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

# environment variable initialize

export LANG=ja_JP.UTF_8
export XMODIFIERS="@im=kinput2"

# start some nice programs

/opt/local/bin/kinput2 -xim -canna&
#xterm &
#/opt/local/bin/urxvt &

# start the window manager
exec /usr/bin/quartz-wm
#exec wmaker