#!/bin/sh # Great new Gnome2 feature, AA # We enable this by default export GDK_USE_XFT=1 if [ -x "$HOME/.gnomerc" ]; then command="$HOME/.gnomerc" elif [ -x /etc/X11/gdm/gnomerc ]; then command="/etc/X11/gdm/gnomerc" else # as fallback in case the config is screwed command=`which gnome-session` fi sshagent=`which ssh-agent` if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then command="$sshagent -- $command" fi exec $command