Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few requests for Appstarters / .desktop entries #1

Open
boredsquirrel opened this issue Feb 2, 2023 · 1 comment
Open

A few requests for Appstarters / .desktop entries #1

boredsquirrel opened this issue Feb 2, 2023 · 1 comment

Comments

@boredsquirrel
Copy link

boredsquirrel commented Feb 2, 2023

Really useful are

  • an Appstarter starting the session
  • one stopping the waydroid session (otherwise it runs in the background all the time right?)
  • deleting waydroid
  • Starting the gui
  • maybe starting ADB
  • an integration installing Android apps

These are partly really easy, but of course depend on the Distro. I will use Fedora as examples:

# Install apk
printf """[Desktop Entry]
Exec=waydroid app install
GenericName=Installs Apps to the Waydroid container
Icon=install
Name=Android app install
Type=Application""" > ~/.local/share/applications/waydroid-app-install.desktop

# Close Waydroid session
printf """[Desktop Entry]
Exec=waydroid session stop
GenericName=close running Waydroid instance
Icon=system-shutdown-symbolic
Name=Shutdown Waydroid
Type=Application""" > ~/.local/share/applications/close-waydroid.desktop

chmod +x ~/.local/share/applications/*

# start Waydroid
printf """[Desktop Entry]
Type=Application
Name=Waydroid start
Exec=waydroid session start && waydroid show-full-ui
X-Purism-FormFactor=Workstation;Mobile;
Icon=/usr/lib/waydroid/data/AppIcon.png""" > ~/.local/share/applications/waydroid-start.desktop

as far as I know only the start is implemented somehow, but requires Waydroid running in the background all the time.

@electrikjesus
Copy link
Member

electrikjesus commented Feb 2, 2023

Most of these functions are taken care of through the use of Waydroid-Settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants