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.
This commit is contained in:
Brian Jackson 2014-12-05 10:49:24 -06:00
parent 98a384c167
commit b46ab6ca92
3 changed files with 247 additions and 0 deletions

View File

@ -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.

10
qutebrowser.desktop Normal file
View File

@ -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;

226
qutebrowser.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 21 KiB