]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/com.stoutner.privacybrowser.desktop
Add a default folder icon to the edit folder dialog. https://redmine.stoutner.com...
[PrivacyBrowserPC.git] / src / com.stoutner.privacybrowser.desktop
index bdb64ed8f2252b09116c46d06eb03bb8ea12eaf8..6132f6ffb2bfc40a86749ce2501f65df0687f14f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright © 2022 Soren Stoutner <soren@stoutner.com>.
+# Copyright 2022-2023 Soren Stoutner <soren@stoutner.com>.
 #
 # This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc>.
 #
@@ -16,6 +16,7 @@
 # along with Privacy Browser PC.  If not, see <http://www.gnu.org/licenses/>.
 
 # The specification for the .desktop file can be found at <https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html>.
+# The file can be validated by running `desktop-file-validate com.stoutner.privacybrowser.desktop`.
 [Desktop Entry]
 # Set the type.
 Type=Application
@@ -30,15 +31,16 @@ GenericName=Web Browser
 Categories=Network;WebBrowser;
 
 # Set the icon.
-Icon=privacy_browser.svg
+Icon=privacybrowser
 
-# Set the executable.
-Exec=privacy-browser
+# Set the executable with the optional URL argument.
+Exec=privacybrowser %u
 
-# TODO.  Check if this is needed.
-StartupWMClass=privacy-browser
+# Specify the WM class, which groups windows of the same application together.
+StartupWMClass=privacybrowser
 
-# TODO.  Set the document path.
+# Set the handbook docbook path.
 X-DocPath=privacybrowser/index.html
 
-# TODO.  Add MIME types.
+# Enumerate the supported MIME types.
+MimeType=text/html;application/xml;application/xhtml+xml;application/x-mimearchive;x-scheme-handler/http;x-scheme-handler/https;