author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 05 Dec 2011 00:40:43 +0200 | |
changeset 271 | d645bb7a2702 |
parent 103 | 115af53281bb |
child 272 | 558a19eb6af8 |
permissions | -rw-r--r-- |
95
c16da6e2ae58
Set useful settings for X Window under Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
1 |
#!/bin/sh |
c16da6e2ae58
Set useful settings for X Window under Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
2 |
|
271
d645bb7a2702
Fix misspelling in variable name and improve Cygwin detection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
103
diff
changeset
|
3 |
# http://tldp.org/HOWTO/XWindow-User-HOWTO/runningx.html |
d645bb7a2702
Fix misspelling in variable name and improve Cygwin detection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
103
diff
changeset
|
4 |
|
d645bb7a2702
Fix misspelling in variable name and improve Cygwin detection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
103
diff
changeset
|
5 |
if [ -n "$WINDIR" -o "$TERM" = cygwin ]; then |
d645bb7a2702
Fix misspelling in variable name and improve Cygwin detection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
103
diff
changeset
|
6 |
# Probably under Cygwin. |
97
fa284b60eac5
Use multiwindow windows manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
95
diff
changeset
|
7 |
XWin -multiwindow -clipboard -silent-dup-error -xkblayout "us,ru" -xkboptions "grp:caps_toggle" |
95
c16da6e2ae58
Set useful settings for X Window under Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
8 |
else |
c16da6e2ae58
Set useful settings for X Window under Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
9 |
X |
c16da6e2ae58
Set useful settings for X Window under Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
10 |
fi |