summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
Diffstat (limited to '.profile')
-rw-r--r--.profile8
1 files changed, 8 insertions, 0 deletions
diff --git a/.profile b/.profile
index d6a07e3..235d190 100644
--- a/.profile
+++ b/.profile
@@ -42,6 +42,7 @@ _JAVA_OPTIONS=''
_JAVA_OPTIONS+=' -Dawt.useSystemAAFontSettings=on'
_JAVA_OPTIONS+=' -Dswing.aatext=true'
_JAVA_OPTIONS+=' -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
+_JAVA_OPTIONS+=" -Djava.io.tmpdir=$TMPDIR"
export _JAVA_OPTIONS
# ALSA
@@ -54,6 +55,13 @@ if [ -z "$XAUTHORITY" ]; then
export XAUTHORITY=$HOME/.Xauthority
fi
+# D-Bus
+if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
+ eval `dbus-launch`
+ export DBUS_SESSION_BUS_ADDRESS
+ export DBUS_SESSION_BUS_PID
+fi
+
# Start background programs ##########################################
if [ -f "$HOME/.login-daemons" ]; then
. "$HOME/.login-daemons"