unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#27948] [PATCH] gnu: emacs-exwm-x: Do not set DISPLAY again.
@ 2017-08-04 12:52 Feng Shu
  2017-08-05 13:34 ` bug#27948: " Arun Isaac
  0 siblings, 1 reply; 2+ messages in thread
From: Feng Shu @ 2017-08-04 12:52 UTC (permalink / raw)
  To: 27948

[-- Attachment #1: Type: text/plain, Size: 77 bytes --]


Please note: This patch should be merged after exwm-1.5 merged (bug#27934)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: [PATCH] gnu: emacs-exwm-x: Do not set DISPLAY again. --]
[-- Type: text/x-patch, Size: 1231 bytes --]

From 7170f7688d2a90f5e3ef1458a754bcb2d7b72206 Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu@163.com>
Date: Fri, 4 Aug 2017 20:48:11 +0800
Subject: [PATCH] gnu: emacs-exwm-x: Do not set DISPLAY again.

* gnu/packages/emacs.scm (emacs-exwm-x): Do not set DISPLAY again, for
  exwm-0.15 have fixed the issue.
---
 gnu/packages/emacs.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 9beb7ae62..4aa713346 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4767,12 +4767,9 @@ other operations.")
                      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")
-- 
2.13.2


[-- Attachment #3: Type: text/plain, Size: 5 bytes --]


-- 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#27948: [PATCH] gnu: emacs-exwm-x: Do not set DISPLAY again.
  2017-08-04 12:52 [bug#27948] [PATCH] gnu: emacs-exwm-x: Do not set DISPLAY again Feng Shu
@ 2017-08-05 13:34 ` Arun Isaac
  0 siblings, 0 replies; 2+ messages in thread
From: Arun Isaac @ 2017-08-05 13:34 UTC (permalink / raw)
  To: Feng Shu; +Cc: 27948-done


Pushed, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-05 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-04 12:52 [bug#27948] [PATCH] gnu: emacs-exwm-x: Do not set DISPLAY again Feng Shu
2017-08-05 13:34 ` bug#27948: " Arun Isaac

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).