From 91d94e28ec30d72e1e6a7d0ff8af49656c3f1d7e Mon Sep 17 00:00:00 2001 From: Feng Shu Date: Fri, 4 Aug 2017 20:52:16 +0800 Subject: [PATCH] gnu: emacs-exwm-x: Do not set DISPLAY. * gnu/packages/emacs.scm (emacs-exwm-x): Do not set DISPLAY. The issue has been fixed upstream in exwm-0.15. Signed-off-by: Arun Isaac --- gnu/packages/emacs.scm | 3 --- 1 file changed, 3 deletions(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 9beb7ae62e..4aa713346f 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -4767,12 +4767,9 @@ (define-public emacs-exwm-x TryExec=~@*~a~@ Type=Application~%" ,name ,synopsis exwm-executable))) ;; Add a shell wrapper to bin - ;; Set DISPLAY variable to work around - ;; https://github.com/ch11ng/exwm/issues/213 (with-output-to-file exwm-executable (lambda _ (format #t "#!~a ~@ - export DISPLAY=:0 ~@ ~a +SI:localuser:$USER ~@ exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%" (string-append (assoc-ref inputs "bash") "/bin/sh")