export TERM=xterm export LC_CTYPE="en_US.UTF-8" export EDITOR=mcedit export MOZ_ACCELERATED=1 MOZ_WEBRENDER=1
# Lenovo x201i + vga monitor xrandr --output LVDS1 --auto --rotate normal --pos 0x0 --output VGA1 --auto --right-of LVDS1 # xrandr --dpi 96
setxkbmap "us,ru" ",winkeys" "grp:caps_toggle" & setxkbmap -option grp_led:scroll & # setxkbmap -model pc105 -layout us,ru -variant ,winkeys -option grp:ctrl_shift_toggle -option grp_led:scroll
xmessage -buttons cwm:1,fvwm:2,icewm:3,xfce:4,xterm:99 -default xfce -nearmouse -timeout 5 "==== Choose WM: ===="
case $? in
1) xterm -bg black -fg white +sb mc &
/usr/X11R6/bin/cwm
;;
2) /usr/X11R6/bin/fvwm
;;
3) icewm-session
;;
0|4) if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
eval dbus-launch --sh-syntax --exit-with-x11
fi
exec /usr/local/bin/startxfce4
;;
99|*) xrandr --output LVDS1 --off --output VGA1 --auto
xterm -bg black -fg green -maximized -fa 'Cousine' -fs 12 +sb
;;
esac