We have moved to a new Sailfish OS Forum. Please start new discussions there.
3

2 app icons for aptoide? [answered]

asked 2019-12-02 10:26:39 +0200

cemoi71 gravatar image

updated 2019-12-02 10:55:51 +0200

Hello all,

recently on my XA2 plus i've updated the android app aptoide onto the version 9.11.0.5 (9977).
Then the app get a second icon.
Firstly i didn't care of it (i'm sorry). But then i realized that all icons are functional, and leads to the same app.
How could it happen? Sfos may allow this?.

I'm not sure that the app is really clean, because recently i observe some update problem and the wlan has been closed weirdly...
Then the next i observe this small issue that the sound bar disappeared from status.

image description

First, how may i delete one icon without deinstall the app or kill something in system?
Then Seems to me that sfos permit some things to happen side from android. Would be nice to verify or enforce the interface which manage it.

Have a nice sail cheers.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by cemoi71
close date 2019-12-02 23:50:29.538444

1 Answer

Sort by » oldest newest most voted
4

answered 2019-12-02 14:30:16 +0200

molan gravatar image

updated 2019-12-02 14:31:46 +0200

Rarely small changes in the executable name of the Android app can cause Sailfish OS to create a new app icon in /usr/share/applications/ (the .desktop file) and /var/lib/apkd (the actually icon png). This also happened to me one time with F-Droid. Usually app updates shouldn't change that name, but it depends on the developer or the source you have the app update from. If that's the reason for your 2 icons, there is not much you can do to avoid them. Easiest way is to remove them both and reinstall the updated app - usually you should only have one icon afterwards.

edit flag offensive delete publish link more

Comments

4

Or, if you have developer mode enabled and know you way around a bit around Linux, try to check the content of the .desktop files, compare with apps in /home/.android/data/app and see which is the old deprecated .desktop and delete that one only.

DrYak ( 2019-12-02 14:48:58 +0200 )edit
1

@molan thanks for your answer, that surely the easiest way.
@DrYak both points to the same apkfile but have different exec and icons (same icons but has different names): Exec=apkd-launcher cm.aptoide.pt.apk cm.aptoide.pt/cm.aptoide.pt.view.MainActivity
and Exec=apkd-launcher cm.aptoide.pt.apk cm.aptoide.pt/cm.aptoide.pt.view.entry.EntryActivity

that devs change the .desktop name and the exec content is bullshit. seems to me that even if i use the casual way or the tinker way, it will happen again... for me both solution s are quite the same.
I use first the tinker way, currently the casual one trigger the soundbar-disappeared bug.

cemoi71 ( 2019-12-02 23:44:39 +0200 )edit
1

thank you both!

cemoi71 ( 2019-12-02 23:50:45 +0200 )edit

Question tools

Follow
2 followers

Stats

Asked: 2019-12-02 10:26:39 +0200

Seen: 311 times

Last updated: Dec 02 '19