accidentally deleted the file /usr/share/applications/apkd-mime-handler.desktop by changing the content according to the known issues of Sailfish 4.4.
Can anyone please give me the content of this file so I can recreate it.
Thanks
Hi,
(4.4.0.58 XA2 Dual) It is:
[Desktop Entry]
Type=Application
Name=Install APK files
Exec=/usr/bin/apkd-install %F
MimeType=application/vnd.android.package-archive;
NoDisplay=true[X-Sailjail]
Sandboxing=Disabled#
1 Like
rpm -qf <file name>
will tell you which package owns a file.
pkcon install --allow-reinstall <packagename>
will reinstall it and therefore restore the correct file.
That doesn’t work. It gives the error: This tool could not find any available packages.
[root@Sailfish nemo]# rpm -qf /usr/share/applications/apkd-mime-handler.desktop
apkd8-10.0.0.47.1-1.8.1.jolla.armv7hl
[root@Sailfish nemo]# pkcon install --allow-reinstall apkd8-10.0.0.47.1-1.8.1.jolla.armv7hl
Auflösen [ ] (0%) Paket nicht gefunden: apkd8-10.0.0.47.1-1.8.1.jolla.armv7hl
AusfĂĽhrung des Befehls fehlgeschlagen: Dieses Werkzeug konnte keine verfĂĽgbaren Pakete finden: Keine Pakete gefunden
Just the name (apkd8) not the whole thing.
1 Like
Thanks, I restored the file with the given content you gave.
As soon as I do it right, it works. Thanks.