.xinitrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 15 Apr 2010 21:34:06 +0300
changeset 56 47272014a49a
parent 38 76d2bf3ac7c3
child 123 05fbac105c1d
permissions -rw-r--r--
Don't use fvwm under Cygwin.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
#!/bin/sh
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
xrdb -merge ~/.Xdefaults &
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
# xrdb -load ~/.Xdefaults &
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
# Set lang switch.
4
2f2d520e22ee Because of bug in xorg invoking setxkbmap cause disable repeat char when key pressed.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 3
diff changeset
     7
# Because of bug in xorg invoking setxkbmap cause disable repeat char when key pressed.
2f2d520e22ee Because of bug in xorg invoking setxkbmap cause disable repeat char when key pressed.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 3
diff changeset
     8
# setxkbmap -rules xorg -model pc104 -layout "us,ru" -option "grp:rwin_toggle,grp_led:scroll" &
3
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
56
47272014a49a Don't use fvwm under Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 38
diff changeset
    10
# Don't use fvwm under Cygwin.
47272014a49a Don't use fvwm under Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 38
diff changeset
    11
if [ -z "$COMSPEC" ]; then
47272014a49a Don't use fvwm under Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 38
diff changeset
    12
  fvwm &
47272014a49a Don't use fvwm under Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 38
diff changeset
    13
fi
3
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
# Last command.
38
76d2bf3ac7c3 Free memory by exec.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 18
diff changeset
    16
exec xterm -e bash -i