Created
August 27, 2015 05:29
-
-
Save esamson/22bb4be04a5375642a91 to your computer and use it in GitHub Desktop.
Patch to Google Chrome launcher to match window title properly. See http://kb.openstudioproject.com/content/fix-double-google-chrome-icon-docky-and-plank
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- original/google-chrome.desktop | |
+++ fixed/google-chrome.desktop | |
@@ -112,6 +112,7 @@ | |
Categories=Network;WebBrowser; | |
MimeType=text/html;text/xml;application/xhtml_xml;image/webp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp; | |
X-Ayatana-Desktop-Shortcuts=NewWindow;NewIncognito | |
+StartupWMClass=Google-chrome-stable | |
[NewWindow Shortcut Group] | |
Name=New Window | |
@@ -167,6 +168,7 @@ | |
Name[zh_TW]=開新視窗 | |
Exec=/usr/bin/google-chrome-stable | |
TargetEnvironment=Unity | |
+StartupWMClass=Google-chrome-stable | |
[NewIncognito Shortcut Group] | |
Name=New Incognito Window | |
@@ -220,3 +222,4 @@ | |
Name[zh_TW]=新增無痕式視窗 | |
Exec=/usr/bin/google-chrome-stable --incognito | |
TargetEnvironment=Unity | |
+StartupWMClass=Google-chrome-stable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment