summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nongnu/packages/messaging.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/nongnu/packages/messaging.scm b/nongnu/packages/messaging.scm
index e7c85a1..04004ec 100644
--- a/nongnu/packages/messaging.scm
+++ b/nongnu/packages/messaging.scm
@@ -68,7 +68,13 @@
68 ;; Fix the .desktop file binary location. 68 ;; Fix the .desktop file binary location.
69 (substitute* '("share/applications/element-desktop.desktop") 69 (substitute* '("share/applications/element-desktop.desktop")
70 (("/opt/Element/") 70 (("/opt/Element/")
71 (string-append #$output "/bin/"))))) 71 (string-append #$output "/bin/"))
72 ;; Use a lowercase 'element' WMClass, to match the
73 ;; application ID, otherwise the icon is not displayed
74 ;; correctly when using Wayland (see:
75 ;; <https://github.com/element-hq/element-web/pull/33635>).
76 (("StartupWMClass=Element")
77 "StartupWMClass=element"))))
72 (add-after 'install 'symlink-binary-file 78 (add-after 'install 'symlink-binary-file
73 (lambda _ 79 (lambda _
74 (mkdir-p (string-append #$output "/bin")) 80 (mkdir-p (string-append #$output "/bin"))