geometer / FBReader

Official FBReader C++ project repository
http://www.fbreader.org/
538 stars 171 forks source link

desktop file exec line is wrong in Linux #296

Open Boruch-Baum opened 7 years ago

Boruch-Baum commented 7 years ago

Lines 23-24 of the "desktop" file currently reads:

TryExec=FBReader
Exec=FBReader %F

but the executable, at least in linux, which is case-sensitive, is "fbreader" in lower-case characters.

The result is that fbreader does not load when opened by xdg-open, which is how many gui file managers decide how to open files.

The trivial fix is to change the word to all lower case.

BTW, You really should include lines in that file for mime-types, at a minimum:

MimeType=application/x-mobipocket-ebook;application/epub+zip
chessarchr commented 5 years ago

It is confusing that the package is installed (in Arch Linux, at least) as lowercase fbreader but is executed as mixed-case FBReader. If everything were lowercase, it would follow the typical convention for linux packages and executables.