]>
Commit | Line | Data |
---|---|---|
f2a1103b PZ |
1 | diff -urN gdm-2.6.0.3.orig/data/Xsession.in gdm-2.6.0.3/data/Xsession.in |
2 | --- gdm-2.6.0.3.orig/data/Xsession.in 2004-05-28 21:50:17.000000000 +0200 | |
3 | +++ gdm-2.6.0.3/data/Xsession.in 2004-07-09 15:07:16.039478016 +0200 | |
f6db0bb3 | 4 | @@ -35,6 +35,10 @@ |
5 | test -f /etc/xprofile && . /etc/xprofile | |
0114c544 | 6 | test -f "$HOME/.xprofile" && . "$HOME/.xprofile" |
f6db0bb3 | 7 | |
8 | +if [ ! -f $HOME/.profile ] && echo $SHELL |grep -q "bash"; then | |
9 | + test -f $HOME/.bash_profile && . $HOME/.bash_profile | |
10 | +fi | |
11 | + | |
12 | # Translation stuff | |
13 | if [ -x "@EXPANDED_LIBEXECDIR@/gdmtranslate" ] ; then | |
14 | gdmtranslate="@EXPANDED_LIBEXECDIR@/gdmtranslate" | |
0114c544 | 15 | @@ -222,6 +226,23 @@ |
16 | fi | |
17 | fi | |
18 | ||
19 | +# Keep in sync with Xclients from xinitrc-ng | |
20 | +syswmfile="/etc/sysconfig/desktop" | |
21 | + | |
22 | +# In this file "$wmstyledir" value may be given | |
23 | +[ -f "$syswmfile" ] && . $syswmfile | |
24 | + | |
25 | +if [ -z "$wmstyledir" ]; then | |
26 | + # Keep in sync with Xclients from xinitrc-ng | |
27 | + wmstyledir="/etc/sysconfig/wmstyle" | |
28 | +fi | |
29 | + | |
30 | +if [ -x "$HOME/bin/$command.sh" ]; then | |
31 | + command="$HOME/bin/$command.sh" | |
32 | +elif [ -x "$wmstyledir/$command.sh" ]; then | |
33 | + command="$wmstyledir/$command.sh" | |
34 | +fi | |
35 | + | |
36 | # add ssh-agent if found | |
37 | sshagent="`gdmwhich ssh-agent`" | |
38 | if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then |