etc: Enable a tty for a serial port by default.
[dragora.git] / archive / twm / xinitrc-twm
blob722053f10e4089575fe51b6d6a3671b0f2a474a8
1 #! /bin/sh -
3 userresources=$HOME/.Xresources
4 usermodmap=$HOME/.Xmodmap
5 sysresources=/etc/X11/xinit/.Xresources
6 sysmodmap=/etc/X11/xinit/.Xmodmap
8 # merge in defaults and keymaps
10 if [ -f $sysresources ]; then
11 xrdb -merge $sysresources
14 if [ -f $sysmodmap ]; then
15 xmodmap $sysmodmap
18 if [ -f "$userresources" ]; then
19 xrdb -merge "$userresources"
22 if [ -f "$usermodmap" ]; then
23 xmodmap "$usermodmap"
26 # start some nice programs
28 if [ -d /etc/X11/xinit/xinitrc.d ] ; then
29 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
30 [ -x "$f" ] && . "$f"
31 done
32 unset f
35 twm &
36 xclock -geometry 50x50-1+1 &
37 xterm -geometry 80x50+494+51 &
38 xterm -geometry 80x20+494-0 &
39 exec xterm -geometry 80x66+0+0 -name login