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


% cp /usr/local/X11R6.4/lib/X11/xdm/Xsession ~/.xsession

#!/bin/sh
# $HOME/.xsession
#   last modified 2003/09/04

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap.IRIX
sysresources=/usr/local/X11R6.4/lib/X11/xinit/.Xresources
sysmodmap=/usr/local/X11R6.4/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

export LANG=ja_JP.EUC

# ここに Window Manager
xset b 20 300 20 
# ここにいろいろ
xwsh -geometry 90x50+460+140 -bg snow -fg black -selbg black -selfg snow \
   -cursorbg black -bold \#000088 &
exec xwsh -geometry 50x6-0-0 -name 'Console' \
   -bg snow -fg black -selbg black -selfg snow -cursorbg black -bold \#000088 \
   -console

% mediarecorder &

xrea