all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#67933] [PATCH] gnu: icecat-minimal: Fix WM Class.
@ 2023-12-20 16:04 Clément Lassieur
  2024-01-04 22:52 ` bug#67933: " Clément Lassieur
  0 siblings, 1 reply; 2+ messages in thread
From: Clément Lassieur @ 2023-12-20 16:04 UTC (permalink / raw)
  To: 67933; +Cc: Clément Lassieur, Jonathan Brielmaier

* gnu/packages/gnuzilla.scm (icecat-minimal)[arguments]: Set the
MOZ_APP_REMOTINGNAME environment variable and replace "Navigator" with
"Icecat" in icecat.desktop.

The WM Class should be "Navigator, Icecat" instead of "Navigator,
icecat-default".  StartupWMClass in icecat.desktop should be "Icecat" instead
of "Navigator" so that other browsers (they often have the "Navigator" class)
won't be associated with Icecat.

Change-Id: I57bec957938c56e8acf9cd5c955e57dbad081678
---
 gnu/packages/gnuzilla.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 9dfc61a7d7a6..b268ae8b7c6d 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1034,6 +1034,9 @@ (define-public icecat-minimal
                 (setenv "MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE" "system")
                 (setenv "MOZ_BUILD_DATE" #$%icecat-build-id) ; avoid timestamp
 
+                ;; WM_CLASS (default is "$MOZ_APP_NAME-$MOZ_UPDATE_CHANNEL").
+                (setenv "MOZ_APP_REMOTINGNAME" "Icecat")
+
                 ;; XXX TODO: Fix this to work on systems other than x86_64-linux.
                 (setenv "GUIX_PYTHONPATH"
                         (string-append (getcwd)
@@ -1120,7 +1123,7 @@ (define-public icecat-minimal
                   (("NewWindow")        "new-window")
                   (("NewPrivateWindow") "new-private-window")
                   (("StartupNotify=true")
-                   "StartupNotify=true\nStartupWMClass=Navigator"))
+                   "StartupNotify=true\nStartupWMClass=Icecat"))
                 (install-file desktop-file applications))))
           (add-after 'install-desktop-entry 'install-icons
             (lambda _

base-commit: bb3ab24a296ffa5273b2e82a02ed057e90c095f3
prerequisite-patch-id: 51e2c2aaf5262d0d9001b0b5c37836060291f55d
prerequisite-patch-id: ea15ff59ebfaff0fce3c9a1d42a3c345f8618aab
prerequisite-patch-id: 459d954ba63d5c0c15f8b519aa5aef331f218cc6
prerequisite-patch-id: cc5c8cd318ced4bb10d30f2e00b41b1be1309226
prerequisite-patch-id: 32045c6f50d674987ad6be5b15b8f4f010123c37
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#67933: [PATCH] gnu: icecat-minimal: Fix WM Class.
  2023-12-20 16:04 [bug#67933] [PATCH] gnu: icecat-minimal: Fix WM Class Clément Lassieur
@ 2024-01-04 22:52 ` Clément Lassieur
  0 siblings, 0 replies; 2+ messages in thread
From: Clément Lassieur @ 2024-01-04 22:52 UTC (permalink / raw)
  To: 67933-done

On Wed, Dec 20 2023, Clément Lassieur wrote:

> * gnu/packages/gnuzilla.scm (icecat-minimal)[arguments]: Set the
> MOZ_APP_REMOTINGNAME environment variable and replace "Navigator" with
> "Icecat" in icecat.desktop.
>
> The WM Class should be "Navigator, Icecat" instead of "Navigator,
> icecat-default".  StartupWMClass in icecat.desktop should be "Icecat" instead
> of "Navigator" so that other browsers (they often have the "Navigator" class)
> won't be associated with Icecat.
>
> Change-Id: I57bec957938c56e8acf9cd5c955e57dbad081678

Pushed.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-04 22:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-20 16:04 [bug#67933] [PATCH] gnu: icecat-minimal: Fix WM Class Clément Lassieur
2024-01-04 22:52 ` bug#67933: " Clément Lassieur

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.