diff options
| author | Maxim Cournoyer <maxim@guixotic.coop> | 2026-07-28 13:36:21 +0900 |
|---|---|---|
| committer | Jelle Licht <jlicht@fsfe.org> | 2026-08-03 15:15:13 +0200 |
| commit | 707dba4d4ebbb05d9f14fe42bfdaaea570706b3e (patch) | |
| tree | b9994723444a6202b065a2bb40179b783c80cbdd /nongnu | |
| parent | 86266fe4650e4e49fd067b490601f7a78d491d9f (diff) | |
nongnu: element-desktop: Fix icon.
* nongnu/packages/messaging.scm (element-desktop)
[#:phases] {setup-cwd}: Adjust StartupWmClass.
Signed-off-by: Jelle Licht <jlicht@fsfe.org>
Diffstat (limited to 'nongnu')
| -rw-r--r-- | nongnu/packages/messaging.scm | 8 |
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")) |
