Hi,

On Sat, Mar 11, 2017 at 10:26:42AM +0100, Volker Diels-Grabsch wrote:
> When both libreoffice-writer and okular are installed, Okular takes
> precendence over LibreOffice for ODT files.

Interesting.

> Reproduction of this bug:
> 
>     apt-get install okular libreoffice-writer
>     xdg-mime query default application/vnd.oasis.opendocument.text
> 
> Actual output:
> 
>     kde4-okularApplication_ooo.desktop

That one has InitialPreference=2

> Expected output:
> 
>     libreoffice-writer.desktop

Where this one has InitialPreference=5

https://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
 says InitialPreference is KDE-specific, so this is an issue only in KDE?

According to 
http://www.linuxtopia.org/online_books/linux_desktop_guides/kde_desktop_user_guide/file-associations.html
 the higher the more preference, so
shouldn't libreoffice-writer get the preference here?

Regards,

Rene

Reply via email to