From b46ab6ca922e65557da507bf00b46f0848c0c503 Mon Sep 17 00:00:00 2001 From: Brian Jackson Date: Fri, 5 Dec 2014 10:49:24 -0600 Subject: [PATCH] Desktopy goodness .desktop file, icon, and a note about installing them, for packagers. Please, for the love of flying spaghetti monster, someone make a better icon. This is just here so the desktop file has something to use. .desktop file worked on kde4 and kde5. Should work on everything else too as it's dead simple Icon is from breeze icons licensed under the LGPL https://github.com/NitruxSA/plasma-next-icons/blob/master/apps/software/network-manager.svg Add a note for packagers since we can't use setup.py to install non-code resources to system locations. --- doc/INSTALL.asciidoc | 11 +++ qutebrowser.desktop | 10 ++ qutebrowser.svg | 226 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 247 insertions(+) create mode 100644 qutebrowser.desktop create mode 100644 qutebrowser.svg diff --git a/doc/INSTALL.asciidoc b/doc/INSTALL.asciidoc index 938345a4e..518671de2 100644 --- a/doc/INSTALL.asciidoc +++ b/doc/INSTALL.asciidoc @@ -138,3 +138,14 @@ After installing the requirements, you have these options: NOTE: If you're running qutebrowser from the git repository rather than a released version, you should run `scripts/asciidoc2html.py` to generate the documentation. + + +Packagers +--------- + +There are example .desktop and icon files provided. They would go in the +standard location for your distro (/usr/share/applications and +/usr/share/pixmaps for example). + +The normal `setup.py install` doesn't install these files, so you'll have to do +it as part of the packaging process. \ No newline at end of file diff --git a/qutebrowser.desktop b/qutebrowser.desktop new file mode 100644 index 000000000..0dbfa2db7 --- /dev/null +++ b/qutebrowser.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=qutebrowser +GenericName=Web Browser +Icon=qutebrowser +Type=Application +Categories=Network;WebBrowser; +Exec=qutebrowser %u +Terminal=false +StartupNotify=false +MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https; diff --git a/qutebrowser.svg b/qutebrowser.svg new file mode 100644 index 000000000..7d3b72f4e --- /dev/null +++ b/qutebrowser.svg @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + +