aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-10-15 14:46:03 -0500
committerTed Gould <ted@gould.cx>2010-10-15 14:46:03 -0500
commit022e4bfbcb06a66552007abc8f9f329ce86c9995 (patch)
tree568e9e81921170d458c9fcc6910f8e2fa971c678
parent558a37d1ad6479d912c8af6f209f7ba3b7cdc823 (diff)
parentb877951a5c45aaaa49718748b5f786681e3e9622 (diff)
downloadlibayatana-indicator-022e4bfbcb06a66552007abc8f9f329ce86c9995.tar.gz
libayatana-indicator-022e4bfbcb06a66552007abc8f9f329ce86c9995.tar.bz2
libayatana-indicator-022e4bfbcb06a66552007abc8f9f329ce86c9995.zip
Adding a file to have the debugging environment variables
-rw-r--r--tools/80indicator-debugging14
-rw-r--r--tools/Makefile.am5
2 files changed, 19 insertions, 0 deletions
diff --git a/tools/80indicator-debugging b/tools/80indicator-debugging
new file mode 100644
index 0000000..f21559c
--- /dev/null
+++ b/tools/80indicator-debugging
@@ -0,0 +1,14 @@
+# These are environment variables that effect the behavior
+# of libindicator's service manager and indicator service
+# objects. They turn off various robustness features that
+# make debugging difficult and are not recommended for
+# daily use. Development use only!
+
+# Timeout after 1 minute
+export INDICATOR_SERVICE_SHUTDOWN_TIMEOUT=60000
+
+# If no one connects, still stay alive
+export INDICATOR_ALLOW_NO_WATCHERS=1
+
+# Don't restart the services if they crash
+export INDICATOR_SERVICE_RESTART_DISABLE=1
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 5e5ef8d..168cea8 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -19,3 +19,8 @@ indicator_loader_LDADD = \
-L$(top_builddir)/libindicator/.libs \
-lindicator
+xsessiondir = $(sysconfdir)/X11/Xsession.d
+
+xsession_DATA = 80indicator-debugging
+
+EXTRA_DIST = $(xsession_DATA)