summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-05-30 15:58:51 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-05-30 15:58:51 -0400
commite879e5212d566046087dc9821843316076c8e84b (patch)
tree2a5a7cdcd06fab0ba57441f2735a68574acae46b /.profile
parentdbab2a06f142894f446f1f66b637242862dcd7bf (diff)
Fedora 17 does *not* like it if I override it's XAUTHORITY
Diffstat (limited to '.profile')
-rw-r--r--.profile4
1 files changed, 3 insertions, 1 deletions
diff --git a/.profile b/.profile
index d2a1e6c..d023923 100644
--- a/.profile
+++ b/.profile
@@ -57,7 +57,9 @@ if [ -x "`which alsactl 2>/dev/null`" ]; then
fi
# X11
-export XAUTHORITY=$HOME/.Xauthority
+if [ -z "$XAUTHORITY" ]; then
+ export XAUTHORITY=$HOME/.Xauthority
+fi
# Start background programs ##########################################
if [ -f "$HOME/.login-daemons" ]; then