linutil icon indicating copy to clipboard operation
linutil copied to clipboard

Syntax error while installing Waydroid

Open clementtech opened this issue 6 months ago • 4 comments

Describe the bug

Syntax error as missing "(" in script to install Waydroid

To Reproduce

Steps to reproduce the behavior:

  1. Go to Applications Setup
  2. Click on Watdroid
  3. Does not prompt user for password unless manually pressing "Enter" key
  4. See error

Expected behavior

Prompt for user password and install Waydroid

Screenshots

Image

Checklist

  • [x] I checked for duplicate issues.
  • [x] I checked already existing discussions.
  • [x] This issue is not included in the roadmap.
  • [x] This issue is present on both stable and development branches.

clementtech avatar May 06 '25 11:05 clementtech

if you get an error like “missing (” or the script stops and doesn’t ask for password, the problem is probably in the code. maybe the script uses old python (like print without brackets), or it doesn’t ask for sudo password correctly, so it waits until you press enter. it can also miss some steps like installing a package or giving permission to run.

best way to fix it: open the script, check the lines with print or input, and run it in terminal with sudo. if you don’t understand what the script does, don’t run it until you’re sure it’s safe.

AoximL avatar May 06 '25 17:05 AoximL

this is weird... can you confirm it's still an issue?

adamperkowski avatar Oct 07 '25 14:10 adamperkowski

I am no longer using Linux now, but based on Windows Subsystem for Linux (WSL), the Waydroid does not exist in the list anymore.

clementtech avatar Oct 27 '25 03:10 clementtech

that's because you need to be using wayland to install it. not sure if you can do that with wsl https://github.com/ChrisTitusTech/linutil/blob/1ae1b7e1f7545a11f59fc749c40f041e38e5d172/core/tabs/applications-setup/tab_data.toml#L342-L345

adamperkowski avatar Oct 27 '25 09:10 adamperkowski