On Friday 09 September 2005 00:17, Carlos Costa wrote:
Hi there,
I also use Suse 9.3 with the default installation.
In my $KDE_DIR (i.e. /opt/kde3/) I have a shutdown directory. Inside, there's a file called stopkde.suse.sh
------- BEGIN ------- < fk@jedi:/opt/kde3/shutdown > cat stopkde.suse.sh #! /bin/sh
if test -n "$SSH_AGENT_PID"; then ssh-agent -k fi
if test -n "$GPG_AGENT_INFO"; then pid=`echo "$GPG_AGENT_INFO" | cut -d: -f2` if test -n "$pid"; then kill $pid fi fi
echo "yes yes yes" >> /home/fk/test.txt ------- END -------
After editing this file (as root), and adding the echo command above, I've logged out twice of my KDE and looked at my test file..
I have the same script in /opt/kde3/shutdown, but this script will never be executed!! Do you really have the environment variable $KDE_DIR set? I never heard of this env variable. -- Thanks for any further tips. Sami