Benjamin-Loison / waydroid

Waydroid uses a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu.
https://waydro.id
GNU General Public License v3.0
0 stars 0 forks source link

[BUG] `~/.local/share/applications/Waydroid.desktop` seems overwritten sometimes #24

Open Benjamin-Loison opened 7 months ago

Benjamin-Loison commented 7 months ago

Describe the bug

Especially painful in the case of #6.

In the context of #23 got:

waydroid show-full-ui
[02:02:40] Starting waydroid session
[02:02:40] Skipping clipboard manager service because of missing pyclip package
[gbinder] Service manager /dev/anbox-binder has appeared
[02:03:18] Android with user 0 is ready
[02:03:18] Desktop file '/home/benjamin/.local/share/applications//Waydroid.desktop' is not writeable, not updating it
[02:04:09] Android with user 0 is ready
[02:04:09] Desktop file '/home/benjamin/.local/share/applications//Waydroid.desktop' is not writeable, not updating it

Also note the // inconsistency.

grep -r '\.desktop'
tools/services/user_manager.py:        desktop_file_path = apps_dir + "/waydroid." + packageName + ".desktop"
tools/services/user_manager.py:        desktop_file_path = apps_dir + "/Waydroid.desktop"
tools/services/user_manager.py:            desktop_file_path = apps_dir + "/waydroid." + packageName + ".desktop"
Makefile:   mv $(INSTALL_WAYDROID_DIR)/data/*.desktop $(INSTALL_APPS_DIR)
grep: .git/index: binary file matches
data/id.waydro.waydroid.metainfo.xml:  <launchable type="desktop-id">Waydroid.desktop</launchable>
debian/changelog:  * Add App Settings to .desktop file
debian/changelog:  * .desktop files should not be executable (#815)
debian/changelog:  * packaging: install icons to xdg icons resource path, and get the .desktop file to use relative icon name
debian/changelog:  * waydroid.app.install.desktop: Don't hardcode waydroid binary path
debian/changelog:  * waydroid.market.desktop: update some properties

+14

Waydroid version

Not read.

Device

Linux Desktop

Operating System

Not read.

Kernel version

Not read.

Desktop Environment

Not read.

GPU

Not read.

Logs

/var/lib/waydroid/waydroid.cfg /var/lib/waydroid/waydroid.prop /var/lib/waydroid/waydroid_base.prop /var/lib/waydroid/waydroid.log sudo waydroid shell -- logcat -d | tee logcat.txt sudo dmesg | tee dmesg.txt

Benjamin-Loison commented 1 month ago

Maybe it is to force update previous old .desktop they provided and need to be updated.