[tor-commits] [tor-browser-bundle/maint-3.6] Bug 11102: Adding --class to set proper WM_CLASS.

gk at torproject.org gk at torproject.org
Mon Jun 16 13:52:39 UTC 2014


commit ebbe454dcc65684b7c8ed508fe3d4e7cef46f723
Author: Georg Koppen <gk at torproject.org>
Date:   Mon Jun 16 15:34:28 2014 +0000

    Bug 11102: Adding --class to set proper WM_CLASS.
    
    Without adapting the WM_CLASS property to be aware of Tor Browser the
    latter gets grouped together with Firefox (instead of creating its own
    application group) on systems using GNOME 3.
---
 RelativeLink/RelativeLink.sh |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/RelativeLink/RelativeLink.sh b/RelativeLink/RelativeLink.sh
index ad155f9..c10a1e8 100755
--- a/RelativeLink/RelativeLink.sh
+++ b/RelativeLink/RelativeLink.sh
@@ -227,7 +227,8 @@ cd "${HOME}"
 # (probably filenames or URLs) to Firefox.
 # !!! Dash above comment! Now we pass command-line arguments we got (except --debug) to Firefox.
 # !!! Use at your own risk!
-./Browser/firefox -no-remote -profile Data/Browser/profile.default "${@}"
+# Adding --class argument for fixing bug 11102.
+./Browser/firefox -no-remote --class "Tor Browser" -profile Data/Browser/profile.default "${@}"
 exitcode="$?"
 if [ "$exitcode" -ne 0 ]; then
 	complain "Tor Browser exited abnormally.  Exit code: $exitcode"



More information about the tor-commits mailing list