summary refs log tree commit diff
diff options
context:
space:
mode:
authorDiego Nicola Barbato <dnbarbato@posteo.de>2019-04-07 19:52:52 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-07 22:23:51 +0200
commitf7d011d2a53e5ffad39a39883294e9e3b77d9db3 (patch)
tree8891ba3516076a7ff7ba338750fe76ba5dffd1fb
parent5a663d87eb104b5443b0d0dddb408a8892cf2565 (diff)
downloadguix-f7d011d2a53e5ffad39a39883294e9e3b77d9db3.tar.gz
gnu: emacs-exwm: Provide absolute file name in '.desktop' file.
Previously GDM would crash when selecting EXWM.

* gnu/packages/emacs-xyz.scm (emacs-exwm)[arguments]: Rewrite
  'install-xsession' phase such that .desktop file contains an absolute file
  name.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/emacs-xyz.scm2
1 files changed, 1 insertions, 1 deletions
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