.xinitrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Tue, 16 Mar 2010 15:23:52 +0200
changeset 35 20fbd437b2fa
parent 18 2e991b769c95
child 38 76d2bf3ac7c3
permissions -rw-r--r--
By default rxvt start shell without args, so it interactive. But if it also login shell then ~/.bashrc will not be read. Awful!

#!/bin/sh

xrdb -merge ~/.Xdefaults &
# xrdb -load ~/.Xdefaults &

# Set lang switch.
# Because of bug in xorg invoking setxkbmap cause disable repeat char when key pressed.
# setxkbmap -rules xorg -model pc104 -layout "us,ru" -option "grp:rwin_toggle,grp_led:scroll" &

fvwm &

# Last command.
xterm -e bash -i
# xterm