<?xml version="1.0" encoding="utf-8"?>
<!--
- 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>.
along with Privacy Browser PC. If not, see <http://www.gnu.org/licenses/>. -->
<!-- The XML specification can be found at <https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html>. -->
+<!-- The file can be validated using `appstreamcli validate com.stoutner.privacybrowser.appdata.xml`. -->
<component type="desktop-application">
<id>com.stoutner.privacybrowser</id>
<name>Privacy Browser</name>
- <summary>A web browser that respects your privacy.</summary>
+ <summary>A web browser that respects your privacy</summary>
+
+ <description>
+ <p>
+ Privacy Browser is a web browser based on Qt WebEngine with a focus on privacy and security.
+ Features like JavaScript and cookies are disabled by default but are easy to automatically enable on-the-fly or by domain.
+ </p>
+ </description>
<categories>
<category>Network</category>
<launchable type="desktop-id">com.stoutner.privacybrowser.desktop</launchable>
<releases>
- <release version="0.1.1" date="2022-03-01"/>
- <release version="0.1" date="2022-01-22"/>
+ <release version="0.1" date="2023-03-09">
+ <description>
+ <p>Initial release.</p>
+ </description>
+ </release>
</releases>
<provides>
- <binary>privacy-browser</binary>
+ <binary>privacybrowser</binary>
</provides>
<project_license>GPL-3.0-or-later</project_license>
<developer_name>Soren Stoutner</developer_name>
- <!-- TODO -->
<screenshots>
<screenshot type="default">
- <image type="source"></image>
+ <image type="source">https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blob_plain;f=doc/privacybrowser.png;hb=HEAD</image>
+ <caption>The main Privacy Browser window.</caption>
</screenshot>
</screenshots>
<update_contact>soren@stoutner.com</update_contact>
+
+ <!-- This content rating was generated from <https://hughsie.github.io/oars/generate.html>. -->
+ <content_rating type="oars-1.0" />
</component>
-# 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>.
#
# 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
Categories=Network;WebBrowser;
# Set the icon.
-Icon=privacybrowser.svg
+Icon=privacybrowser
# Set the executable with the optional URL argument.
Exec=privacybrowser %u
# 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
# Enumerate the supported MIME types.
QKeySequence ctrlSemicolonKeySequence = QKeySequence(i18nc("The cookies dialog key sequence.", "Ctrl+;"));
// Set the action key sequences.
- newTabActionPointer->setShortcut(ctrlTKeySequence);
- newWindowActionPointer->setShortcut(ctrlNKeySequence);
- printPreviewActionPointer->setShortcut(ctrlShiftPKeySequence);
- userAgentPrivacyBrowserActionPointer->setShortcut(ctrlAltPKeySequence);
- userAgentWebEngineDefaultActionPointer->setShortcut(ctrlAltWKeySequence);
- userAgentFirefoxLinuxActionPointer->setShortcut(ctrlAltFKeySequence);
- userAgentChromiumLinuxActionPointer->setShortcut(ctrlAltCKeySequence);
- userAgentFirefoxWindowsActionPointer->setShortcut(ctrlAltShiftFKeySequence);
- userAgentChromeWindowsActionPointer->setShortcut(ctrlAltShiftCKeySequence);
- userAgentEdgeWindowsActionPointer->setShortcut(ctrlAltEKeySequence);
- userAgentSafariMacosActionPointer->setShortcut(ctrlAltSKeySequence);
- userAgentCustomActionPointer->setShortcut(altShiftCKeySequence);
- zoomFactorActionPointer->setShortcut(ctrlAltZKeySequence);
- searchEngineMojeekActionPointer->setShortcut(ctrlShiftMKeySequence);
- searchEngineMonoclesActionPointer->setShortcut(ctrlShiftOKeySequence);
- searchEngineMetagerActionPointer->setShortcut(ctrlShiftEKeySequence);
- searchEngineGoogleActionPointer->setShortcut(ctrlShiftGKeySequence);
- searchEngineBingActionPointer->setShortcut(ctrlShiftBKeySequence);
- searchEngineYahooActionPointer->setShortcut(ctrlShiftYKeySequence);
- searchEngineCustomActionPointer->setShortcut(ctrlShiftCKeySequence);
- domainSettingsActionPointer->setShortcut(ctrlDKeySequence);
- cookiesActionPointer->setShortcut(ctrlSemicolonKeySequence);
+ actionCollectionPointer->setDefaultShortcut(newTabActionPointer, ctrlTKeySequence);
+ actionCollectionPointer->setDefaultShortcut(newWindowActionPointer, ctrlNKeySequence);
+ actionCollectionPointer->setDefaultShortcut(printPreviewActionPointer, ctrlShiftPKeySequence);
+ actionCollectionPointer->setDefaultShortcut(userAgentPrivacyBrowserActionPointer, ctrlAltPKeySequence);
+ actionCollectionPointer->setDefaultShortcut(userAgentWebEngineDefaultActionPointer, ctrlAltWKeySequence);
+ actionCollectionPointer->setDefaultShortcut(userAgentFirefoxLinuxActionPointer, ctrlAltFKeySequence);
+ actionCollectionPointer->setDefaultShortcut(userAgentChromiumLinuxActionPointer, ctrlAltCKeySequence);
+ actionCollectionPointer->setDefaultShortcut(userAgentFirefoxWindowsActionPointer, ctrlAltShiftFKeySequence);
+ actionCollectionPointer->setDefaultShortcut(userAgentChromeWindowsActionPointer, ctrlAltShiftCKeySequence);
+ actionCollectionPointer->setDefaultShortcut(userAgentEdgeWindowsActionPointer, ctrlAltEKeySequence);
+ actionCollectionPointer->setDefaultShortcut(userAgentSafariMacosActionPointer, ctrlAltSKeySequence);
+ actionCollectionPointer->setDefaultShortcut(userAgentCustomActionPointer, altShiftCKeySequence);
+ actionCollectionPointer->setDefaultShortcut(zoomFactorActionPointer, ctrlAltZKeySequence);
+ actionCollectionPointer->setDefaultShortcut(searchEngineMojeekActionPointer, ctrlShiftMKeySequence);
+ actionCollectionPointer->setDefaultShortcut(searchEngineMonoclesActionPointer, ctrlShiftOKeySequence);
+ actionCollectionPointer->setDefaultShortcut(searchEngineMetagerActionPointer, ctrlShiftEKeySequence);
+ actionCollectionPointer->setDefaultShortcut(searchEngineGoogleActionPointer, ctrlShiftGKeySequence);
+ actionCollectionPointer->setDefaultShortcut(searchEngineBingActionPointer, ctrlShiftBKeySequence);
+ actionCollectionPointer->setDefaultShortcut(searchEngineYahooActionPointer, ctrlShiftYKeySequence);
+ actionCollectionPointer->setDefaultShortcut(searchEngineCustomActionPointer, ctrlShiftCKeySequence);
+ actionCollectionPointer->setDefaultShortcut(domainSettingsActionPointer, ctrlDKeySequence);
+ actionCollectionPointer->setDefaultShortcut(cookiesActionPointer, ctrlSemicolonKeySequence);
// Execute the actions.
connect(newTabActionPointer, SIGNAL(triggered()), tabWidgetPointer, SLOT(addTab()));