Updated desktop file to allow Nautilus to use qcomicbook to open cbr files #30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I downloaded
qcomicbook
today on my Debian testing machine and I couldn't make Nautilus use it to open my cbr files by default.Although the desktop file specify the right MIME types, the Exec property doens't take any arguments.
I changed it so so that it can take up to one URL. This allows Nautilus to detect
qcomicbook
as a program that can open the cbr file.I also removed the
png
extension to the icon name, as it is not necessary and will give an error in the next gnome releases for icons in/usr/share/pixmaps
We also have the possibility to take multiple URLs as argument but I didn't know if it was useful so I didn't.
If it is useful it's a small change, juste change
%u
to%U
.Another thing that may not be related to the project directly, but
qcomicbook
doesn't have any screenshot preview on itsgnome-software
page on Debian. I don't know if it is something you can change though.