Created
August 3, 2025 05:44
-
-
Save isDipesh/6df752fe41bee213eb905828d05ca09c to your computer and use it in GitHub Desktop.
Chrome Shortcut App for Gnome to use X11
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
sudo tee /usr/share/applications/google-chrome.desktop > /dev/null << 'EOF' | |
[Desktop Entry] | |
Version=1.0 | |
Name=Google Chrome | |
GenericName=Web Browser | |
Comment=Access the Internet | |
StartupWMClass=Google-chrome | |
Exec=/usr/bin/google-chrome-stable --ozone-platform=x11 %U | |
StartupNotify=true | |
Terminal=false | |
Icon=google-chrome | |
Type=Application | |
Categories=Network;WebBrowser; | |
MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https; | |
Actions=new-window;new-private-window; | |
[Desktop Action new-window] | |
Name=New Window | |
StartupWMClass=Google-chrome | |
Exec=/usr/bin/google-chrome-stable --ozone-platform=x11 | |
[Desktop Action new-private-window] | |
Name=New Incognito Window | |
StartupWMClass=Google-chrome | |
Exec=/usr/bin/google-chrome-stable --ozone-platform=x11 --incognito | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment