summarylogtreecommitdiffstats
path: root/StartupWMClass-and-GNOME3-context-menu.patch
blob: f5ef6af7d70ab8430134635564b4a46ed4a8b66a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff -ur usr/share/applications/google-chrome-unstable.desktop usr-patched/share/applications/google-chrome-unstable.desktop
--- usr/share/applications/google-chrome-unstable.desktop	2016-10-06 08:51:52.000000000 +0300
+++ usr-patched/share/applications/google-chrome-unstable.desktop	2016-10-09 17:00:17.824290100 +0300
@@ -105,6 +105,7 @@
 Comment[zh_CN]=访问互联网
 Comment[zh_HK]=連線到網際網路
 Comment[zh_TW]=連線到網際網路
+StartupWMClass=Google-chrome-unstable
 Exec=/usr/bin/google-chrome-unstable %U
 Terminal=false
 Icon=google-chrome-unstable
@@ -112,6 +113,17 @@
 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
+Actions=new-window;new-private-window;
+
+[Desktop Action new-window]
+Name=New Window
+StartupWMClass=Google-chrome-unstable
+Exec=/usr/bin/google-chrome-unstable
+
+[Desktop Action new-private-window]
+Name=New Private Window
+StartupWMClass=Google-chrome-unstable
+Exec=/usr/bin/google-chrome-unstable --incognito
 
 [NewWindow Shortcut Group]
 Name=New Window