GNU bug report logs - #35183
[PATCH] gnu: emacs-exwm: Provide absolute file name in '.desktop' file.

Previous Next

Package: guix-patches;

Reported by: Diego Nicola Barbato <dnbarbato <at> posteo.de>

Date: Sun, 7 Apr 2019 19:17:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: emacs-exwm: Provide absolute file name in '.desktop'
 file.
Date: Sun, 07 Apr 2019 21:16:02 +0200
[Message part 1 (text/plain, inline)]
Hi Guix,

As mentioned on IRC GDM currently crashes when selecting EXWM.  This
patch should fix it.

Regards,

Diego

[0001-gnu-emacs-exwm-Provide-absolute-file-name-in-.deskto.patch (text/x-patch, inline)]
From 82b6422072fd35385d68d6c5eda4bbce6d63665e Mon Sep 17 00:00:00 2001
From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
Date: Sun, 7 Apr 2019 19:52:52 +0200
Subject: [PATCH] gnu: emacs-exwm: Provide absolute file name in '.desktop'
 file.

Previously GDM would crash when selecting MATE.

* gnu/packages/emacs-xyz.scm (emacs-exwm)[arguments]: Rewrite
  'install-xsession' phase such that .desktop file contains an absolute file
  name.
---
 gnu/packages/emacs-xyz.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b89b3cf79b..2860bd5a8a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7005,7 +7005,7 @@ It should enable you to implement low-level X11 applications.")
                      Name=~a~@
                      Comment=~a~@
                      Exec=~a~@
-                     TryExec=~@*~a~@
+                     TryExec=~:*~a~@
                      Type=Application~%" ,name ,synopsis exwm-executable)))
                ;; Add a shell wrapper to bin
                (with-output-to-file exwm-executable
-- 
2.21.0


This bug report was last modified 6 years and 44 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.