]> git.pld-linux.org Git - packages/gdm2.20.git/commitdiff
- use wmstyledir just like xinitrc-ng does
authorhavner <havner@pld-linux.org>
Fri, 9 Jul 2004 13:22:42 +0000 (13:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gdm-xsession.patch -> 1.2

gdm-xsession.patch

index 36f866cae50106e616e9add283bf8d885319c94c..a5447caf8cdcf2ef4fa1793ac18d9508b6850ef3 100644 (file)
@@ -1,9 +1,9 @@
-diff -urN gdm.orig/config/Xsession.in gdm-2.4.4.1/config/Xsession.in
---- gdm.orig/config/Xsession.in        2003-08-18 19:31:08.000000000 +0200
-+++ gdm-2.4.4.1/config/Xsession.in     2003-09-19 23:59:30.802517128 +0200
+diff -urN gdm-2.6.0.3.orig/config/Xsession.in gdm-2.6.0.3/config/Xsession.in
+--- gdm-2.6.0.3.orig/config/Xsession.in        2004-05-28 21:50:17.000000000 +0200
++++ gdm-2.6.0.3/config/Xsession.in     2004-07-09 15:07:16.039478016 +0200
 @@ -35,6 +35,10 @@
  test -f /etc/xprofile && . /etc/xprofile
- test -f $HOME/.xprofile && . $HOME/.xprofile
+ test -f "$HOME/.xprofile" && . "$HOME/.xprofile"
  
 +if [ ! -f $HOME/.profile ] && echo $SHELL |grep -q "bash"; then
 +    test -f $HOME/.bash_profile && . $HOME/.bash_profile
@@ -12,3 +12,27 @@ diff -urN gdm.orig/config/Xsession.in gdm-2.4.4.1/config/Xsession.in
  # Translation stuff
  if [ -x "@EXPANDED_LIBEXECDIR@/gdmtranslate" ] ; then
    gdmtranslate="@EXPANDED_LIBEXECDIR@/gdmtranslate"
+@@ -222,6 +226,23 @@
+   fi
+ fi
++# Keep in sync with Xclients from xinitrc-ng 
++syswmfile="/etc/sysconfig/desktop"
++
++# In this file "$wmstyledir" value may be given
++[ -f "$syswmfile" ] && . $syswmfile
++
++if [ -z "$wmstyledir" ]; then
++    # Keep in sync with Xclients from xinitrc-ng 
++    wmstyledir="/etc/sysconfig/wmstyle"
++fi
++
++if [ -x "$HOME/bin/$command.sh" ]; then
++    command="$HOME/bin/$command.sh"
++elif [ -x "$wmstyledir/$command.sh" ]; then
++    command="$wmstyledir/$command.sh"
++fi
++
+ # add ssh-agent if found
+ sshagent="`gdmwhich ssh-agent`"
+ if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then
This page took 0.102874 seconds and 4 git commands to generate.