-
Waydroid is great but it creates some pointless default launcher apps that not everyone wants.
To combat this you can go into ./local/share/applications/ directory and delete the waydroid ones (except the default waydroid.desktop or you potentially wont be able to get into waydroid at all).
That can be annoying and time consuming, so why not do all of them or select ones as a script
create a UTLauncher-waydroid-app-remover.sh script and ensure it has;
chmod +x to allow it to be executed.Don't forget to make sure you have mounted your system to rw
sudo mount -o remount,rw /
Contents of the script;
#Ubuntu Touch Launcher Android App Remover Script cd ~/.local/share/applications rm waydroid.com.android.calculator2.desktop #AOSP calculator rm waydroid.com.android.camera2.desktop #AOSP camera rm waydroid.com.android.contacts.desktop #AOSP contacts rm waydroid.com.android.deskclock.desktop #AOSP clock rm waydroid.com.android.documentsui.desktop #AOSP file browser application rm waydroid.com.android.email.desktop #AOSP email rm waydroid.com.android.gallery3d.desktop #AOSP gallery rm waydroid.com.android.inputmethod.latin.desktop #AOSP keyboard rm waydroid.com.android.settings.desktop #AOSP android settings rm waydroid.org.lineageos.eleven.desktop #lineage music player rm waydroid.org.lineageos.etar.desktop #lineage calendar rm waydroid.org.lineageos.jelly.desktop #lineage web browser rm waydroid.org.lineageos.recorder.desktop #lineage recording application exit
That there will delete everything.. you will want to most likely modify it to suit your needs which can be done by placing a # at the start of the line or deleting that particular line altogether. You can add further ones to it as well if you have a typical setup in waydroid so if you need to reinstall waydroid for whatever reason you have a script ready to run.
These commands are device agnostic and should work on any UT device... I only have a Pixel 3a XL to test these on.
-
-
@joshndroid said in Tip - UT Launcher App Removal Script:
These commands are device agnostic and should work on any UT device... I only have a Pixel 3a XL to test these on.
So i moved to waydroid forum.
One question though, doesn't waydroid helper allow to do this ? Or unlike your proposal, it just hide apps user don't want ? (edit : ok just checked on openstore and helper indeed just hide, and not erase, apps user don't want)
Anyway, thanks for your contributions.
Edit : maybe you could propose this to be added to waydroid helper ? -
On my Volla Phone X running OTA-23 (Halium 10 based) the files referred to in the following commands:
rm waydroid.org.lineageos.eleven.desktop #lineage music player rm waydroid.org.lineageos.etar.desktop #lineage calendar rm waydroid.org.lineageos.jelly.desktop #lineage web browser rm waydroid.org.lineageos.recorder.desktop #lineage recording application
did exist. But after deleting them, these four apps still were shown in the launcher. However, the following commands with slightly different file names did remove the apps in the launcher:
rm org.lineageos.eleven.desktop #lineage music player rm org.lineageos.etar.desktop #lineage calendar rm org.lineageos.jelly.desktop #lineage web browser rm org.lineageos.recorder.desktop #lineage recording application