Message ID | ec76fb701e39217c18b4b99428f8016d044be7fd.1703088279.git.clement@lassieur.org |
---|---|
State | New |
Headers | show |
Series | [bug#67933] gnu: icecat-minimal: Fix WM Class. | expand |
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.
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 _