summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2012-05-06 00:48:13 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2012-05-06 00:54:39 +0200
commitf24994ff1f514bd0228d35fadc593c6773cfeb3d (patch)
treeda3a4fd5477287c858cf0fea276096388f064fac
parentb6b11c442b5e1fa75d2d9d523f2595b18c43c986 (diff)
downloaddotfiles-f24994ff1f514bd0228d35fadc593c6773cfeb3d.tar.xz
xinitrc: disable Emacs daemon socket logic, due to GTK bug
Emacs crashes on X exit and leaves an orphaned socket behind, long standing bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715
-rwxr-xr-xxinitrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/xinitrc b/xinitrc
index eece647..929a810 100755
--- a/xinitrc
+++ b/xinitrc
@@ -75,7 +75,10 @@ else
fi
# Start the GNU Emacs daemon
-[[ ! -r "/tmp/emacs${UID}/server" ]] && emacs --daemon &
+#[[ ! -r "/tmp/emacs${UID}/server" ]] && emacs --daemon &
+# - disable the socket logic, Gtk+ bug crashes emacs, leaves the socket
+# - http://bugzilla.gnome.org/show_bug.cgi?id=85715
+emacs --daemon &
# Xwrits reminds you to take wrist breaks and avoid RSI
xwrits typetime=45 clock breakclock top ready-picture="${HOME}/.xwrits/ready.gif" \