UNIX/設定、設定ファイル/.xinitrc


Table of Contents

mwm &

fvwm &
qvwm &

xset b off &

xset r rate [delay] [rate]

xclock -geometry 55x55-0+0 &
kterm -geometry 188x194-151+0 &
横幅x縦幅+横位置+縦位置

kinput2 &
xv -quit -root -max 画像ファイル
display -window root 画像ファイル

% xinit -- -ar1 230 -ar2 25 

% xset r rate [delay] [rate]

sysresources=${SYSDIR}/.Xresources
sysmodmap=${SYSDIR}/.Xmodmap

userresources=${HOME}/.Xresources
usermodmap=${HOME}/.Xmodmap

# merge in defaults and keymaps

if [ -f $userresources ]; then
    xrdb -merge $userresources
elif [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
elif [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

# set the fonts path
 
FONTLIST=" \
    ${XDIR}/lib/X11/fonts/ETL \
    ${XDIR}/lib/X11/fonts/Indian \
    ${XDIR}/lib/X11/fonts/Chinese \
    ${XDIR}/lib/X11/fonts/Japanese \
    ${XDIR}/lib/X11/fonts/Korean \
"
for fontdir in `echo $FONTLIST`
do
    if [ -f $fontdir/fonts.dir ]; then
        xset fp+ $fontdir
    fi
done



mwm &
sleep 1

xsetroot
kterm -geometry 80x24-0-110 \
   -T 'kterm' -name 'kterm'  -bg lightblue \
   -km euc -sb \
   -xrm ".kterm.iconPixmap:${XDIR}/include/X11/bitmaps/terminal" \
   -fr r24 \
   -fn 12x24 -fk kanji24 &
-fn 12x24 -fk kanji24
-fn 8x16 -fk kanji16

exec kterm -geometry 50x4-0-0 \
   -T "Login@`hostname`" -name 'Login' -bg lightpink -km euc -sb \
   -xrm ".Login.iconPixmap:${XDIR}/include/X11/bitmaps/xlogo32" \
   -C

% ps auxww | grep `whoami`

% cp `which Xinit` ~/bin/
% vi ~/bin/Xinit
system "ps auxww | grep `whoami`";


xrea