PINE64
How to choose which Waydroid Apps can appear on PostmaketOS Home Screen? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: PostmarketOS on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=124)
+---- Thread: How to choose which Waydroid Apps can appear on PostmaketOS Home Screen? (/showthread.php?tid=18224)



How to choose which Waydroid Apps can appear on PostmaketOS Home Screen? - Avisando - 05-12-2023

Hello, is it possible to choose which apps installed on Waydroid can appear on the home screen of PostmaketOS Phosh.

By default "Waydroid" integrates many applications: such as the "clock" or the "camera" which are useless, because (for the most part) already present natively in PostmaketOS. So there are many duplicate apps which makes using the home screen chaotic.

Thanks in advance  Smile

PS: I've already disabled the "unwanted" apps using the "Waydroid" settings, which made them "disappear" from the Waydroid home screen, but had no effect on the PostmarketOS one.


RE: How to choose which Waydroid Apps can appear on PostmaketOS Home Screen? - archon - 05-24-2023

(05-12-2023, 04:24 AM)Avisando Wrote: Hello, is it possible to choose which apps installed on Waydroid can appear on the home screen of PostmaketOS Phosh.

By default "Waydroid" integrates many applications: such as the "clock" or the "camera" which are useless, because (for the most part) already present natively in PostmaketOS. So there are many duplicate apps which makes using the home screen chaotic.

Thanks in advance  Smile

PS: I've already disabled the "unwanted" apps using the "Waydroid" settings, which made them "disappear" from the Waydroid home screen, but had no effect on the PostmarketOS one.

Hello,
you can try deleting them from ~/.local/share/applications or as suggested in mobian wiki (https://wiki.mobian-project.org/doku.php?id=waydroid) leave them in place and truncate to 0 length e.g. truncate -s 0 ~/.local/share/applications/waydroid.com.android.calculator2.desktop
I guess first approach might work if you have disabled the apps in waydroid, but otherwise it would get recreated next time you restart the waydroid. Truncating seems like more universal solution, not requiring any other steps.


RE: How to choose which Waydroid Apps can appear on PostmaketOS Home Screen? - Kevin Kofler - 05-24-2023

Setting NoDisplay=true or even Hidden=true would likely also work and be less of a hack than truncating to 0 size.


RE: How to choose which Waydroid Apps can appear on PostmaketOS Home Screen? - Avisando - 05-26-2023

(05-24-2023, 07:57 AM)archon Wrote: Hello,
you can try deleting them from ~/.local/share/applications or as suggested in mobian wiki (https://wiki.mobian-project.org/doku.php?id=waydroid) leave them in place and truncate to 0 length e.g. truncate -s 0 ~/.local/share/applications/waydroid.com.android.calculator2.desktop
I guess first approach might work if you have disabled the apps in waydroid, but otherwise it would get recreated next time you restart the waydroid. Truncating seems like more universal solution, not requiring any other steps.

Thank you very much, I tried the Truncating method and it works very well!
The apps (listed in the mobian wiki ) really disappear (even after a restart).  Smile


RE: How to choose which Waydroid Apps can appear on PostmaketOS Home Screen? - Avisando - 05-27-2023

(05-24-2023, 08:09 PM)Kevin Kofler Wrote: Setting NoDisplay=true or even Hidden=true would likely also work and be less of a hack than truncating to 0 size.
Your method is very effective and works with all apps! 

Thank you so much Smile


RE: How to choose which Waydroid Apps can appear on PostmaketOS Home Screen? - Kevin Kofler - 05-27-2023

By the way, the difference between NoDisplay and Hidden is that NoDisplay only visually hides the .desktop file, Hidden completely disables it, so that it is also not considered, e.g., for file associations.


RE: How to choose which Waydroid Apps can appear on PostmaketOS Home Screen? - Avisando - 05-28-2023

(05-27-2023, 11:53 PM)Kevin Kofler Wrote: By the way, the difference between NoDisplay and Hidden is that NoDisplay only visually hides the .desktop file, Hidden completely disables it, so that it is also not considered, e.g., for file associations.

Thank you for that clarification Smile