unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#72529] [PATCH 0/1] Fix WM Class for LibreWolf.
@ 2024-08-08 18:18 Ashvith Shetty
  2024-08-08 18:22 ` [bug#72529] [PATCH 1/1] gnu: librewolf: Fix WM Class Ashvith Shetty
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ashvith Shetty @ 2024-08-08 18:18 UTC (permalink / raw)
  To: 72529; +Cc: Ashvith Shetty

This commit fixes the issue with LibreWolf's WM Class. Unfortunately, I could not test this on my machine, so I'd appreciate it, if someone could give this patch a go.

Ashvith Shetty (1):
  gnu: librewolf: Fix WM Class.

 gnu/packages/librewolf.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


base-commit: d7d779a3eff9d7875d491e4180da665f6d2a1b86
-- 
2.45.2





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

* [bug#72529] [PATCH 1/1] gnu: librewolf: Fix WM Class.
  2024-08-08 18:18 [bug#72529] [PATCH 0/1] Fix WM Class for LibreWolf Ashvith Shetty
@ 2024-08-08 18:22 ` Ashvith Shetty
  2024-08-08 18:28 ` [bug#72529] [PATCH] " Ashvith Shetty
  2024-08-15 11:57 ` bug#72529: [PATCH 0/1] Fix WM Class for LibreWolf Tobias Geerinckx-Rice via Guix-patches via
  2 siblings, 0 replies; 4+ messages in thread
From: Ashvith Shetty @ 2024-08-08 18:22 UTC (permalink / raw)
  To: 72529; +Cc: Ashvith Shetty

* gnu/packages/librewolf.scm (librewolf)[arguments]: Set the
MOZ_APP_REMOTINGNAME environment variable and replace "Navigator" with
"LibreWolf" in librewolf.desktop.

Change-Id: I3e117f99ee25321fe3a40ad67450460971579d71
---
 gnu/packages/librewolf.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/librewolf.scm b/gnu/packages/librewolf.scm
index 3e46477724..3ae16997f4 100644
--- a/gnu/packages/librewolf.scm
+++ b/gnu/packages/librewolf.scm
@@ -413,6 +413,7 @@ (define (write-setting key value)
                        (setenv "CC" "clang")
                        (setenv "CXX" "clang++")
                        (setenv "MOZ_NOSPAM" "1")
+                       (setenv "MOZ_APP_REMOTINGNAME" "LibreWolf")
                        (setenv "MOZ_APP_NAME" "librewolf")
 
                        (setenv "MOZBUILD_STATE_PATH"
@@ -626,8 +627,7 @@ (define (runpaths-of-input label)
                            (("-NewPrivateWindow")
                             "-new-private-window")
                            (("StartupNotify=true")
-                            "StartupNotify=true
-StartupWMClass=Navigator"))
+                            "StartupNotify=true\nStartupWMClass=LibreWolf"))
                          (copy-file desktop-file "librewolf.desktop")
                          (install-file "librewolf.desktop" applications))))
                    (add-after 'install-desktop-entry 'install-icons
-- 
2.45.2





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

* [bug#72529] [PATCH] gnu: librewolf: Fix WM Class.
  2024-08-08 18:18 [bug#72529] [PATCH 0/1] Fix WM Class for LibreWolf Ashvith Shetty
  2024-08-08 18:22 ` [bug#72529] [PATCH 1/1] gnu: librewolf: Fix WM Class Ashvith Shetty
@ 2024-08-08 18:28 ` Ashvith Shetty
  2024-08-15 11:57 ` bug#72529: [PATCH 0/1] Fix WM Class for LibreWolf Tobias Geerinckx-Rice via Guix-patches via
  2 siblings, 0 replies; 4+ messages in thread
From: Ashvith Shetty @ 2024-08-08 18:28 UTC (permalink / raw)
  To: 72529; +Cc: Ashvith Shetty

* gnu/packages/librewolf.scm (librewolf)[arguments]: Set the
MOZ_APP_REMOTINGNAME environment variable and replace "Navigator" with
"LibreWolf" in librewolf.desktop.

Change-Id: I3e117f99ee25321fe3a40ad67450460971579d71
---
 gnu/packages/librewolf.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/librewolf.scm b/gnu/packages/librewolf.scm
index 3e46477724..45fbb84e4f 100644
--- a/gnu/packages/librewolf.scm
+++ b/gnu/packages/librewolf.scm
@@ -23,6 +23,7 @@
 ;;; Copyright © 2023 Tomas Volf <wolf@wolfsden.cz>
 ;;; Copyright © 2023 Ian Eure <ian@retrospec.tv>
 ;;; Copyright © 2024 Remco van 't Veer <remco@remworks.net>
+;;; Copyright © 2024 Ashvith Shetty <ashvithshetty10@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -413,6 +414,7 @@ (define (write-setting key value)
                        (setenv "CC" "clang")
                        (setenv "CXX" "clang++")
                        (setenv "MOZ_NOSPAM" "1")
+                       (setenv "MOZ_APP_REMOTINGNAME" "LibreWolf")
                        (setenv "MOZ_APP_NAME" "librewolf")
 
                        (setenv "MOZBUILD_STATE_PATH"
@@ -626,8 +628,7 @@ (define (runpaths-of-input label)
                            (("-NewPrivateWindow")
                             "-new-private-window")
                            (("StartupNotify=true")
-                            "StartupNotify=true
-StartupWMClass=Navigator"))
+                            "StartupNotify=true\nStartupWMClass=LibreWolf"))
                          (copy-file desktop-file "librewolf.desktop")
                          (install-file "librewolf.desktop" applications))))
                    (add-after 'install-desktop-entry 'install-icons

base-commit: d7d779a3eff9d7875d491e4180da665f6d2a1b86
-- 
2.45.2





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

* bug#72529: [PATCH 0/1] Fix WM Class for LibreWolf.
  2024-08-08 18:18 [bug#72529] [PATCH 0/1] Fix WM Class for LibreWolf Ashvith Shetty
  2024-08-08 18:22 ` [bug#72529] [PATCH 1/1] gnu: librewolf: Fix WM Class Ashvith Shetty
  2024-08-08 18:28 ` [bug#72529] [PATCH] " Ashvith Shetty
@ 2024-08-15 11:57 ` Tobias Geerinckx-Rice via Guix-patches via
  2 siblings, 0 replies; 4+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2024-08-15 11:57 UTC (permalink / raw)
  To: 72529-done

Pushed as 5d1c3bad5c629f3fa588155e3afbf2b1cc9e8603.

Thanks!

T G-R

Sent from a Web browser.  Excuse or enjoy my brevity.




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

end of thread, other threads:[~2024-08-15 11:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-08 18:18 [bug#72529] [PATCH 0/1] Fix WM Class for LibreWolf Ashvith Shetty
2024-08-08 18:22 ` [bug#72529] [PATCH 1/1] gnu: librewolf: Fix WM Class Ashvith Shetty
2024-08-08 18:28 ` [bug#72529] [PATCH] " Ashvith Shetty
2024-08-15 11:57 ` bug#72529: [PATCH 0/1] Fix WM Class for LibreWolf Tobias Geerinckx-Rice via Guix-patches via

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).