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>
This commit is contained in:
Diego Nicola Barbato 2019-04-07 19:52:52 +02:00 committed by Ludovic Courtès
parent 5a663d87eb
commit f7d011d2a5
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -7005,7 +7005,7 @@ (define-public emacs-exwm
Name=~a~@ Name=~a~@
Comment=~a~@ Comment=~a~@
Exec=~a~@ Exec=~a~@
TryExec=~@*~a~@ TryExec=~:*~a~@
Type=Application~%" ,name ,synopsis exwm-executable))) Type=Application~%" ,name ,synopsis exwm-executable)))
;; Add a shell wrapper to bin ;; Add a shell wrapper to bin
(with-output-to-file exwm-executable (with-output-to-file exwm-executable