waydroid / docs

https://docs.waydro.id/
18 stars 47 forks source link

Waydroid Only Sessions for KWin #52

Open FOSSProponent9436 opened 1 year ago

FOSSProponent9436 commented 1 year ago

https://docs.waydro.id/faq/setting-up-waydroid-only-sessions

doesn't feature KWin Wayland (KDE)

Quackdoc commented 1 year ago

Is there a specifc reason to use kwin? IIRC launching kwin directly without any of the KDE bits is not a great experience. if there is a good reason im more then willing to look into it

FOSSProponent9436 commented 1 year ago

Is there a specifc reason to use kwin? IIRC launching kwin directly without any of the KDE bits is not a great experience. if there is a good reason im more then willing to look into it

Mainly just because it is KDE default. Installing weston and following the tutorial doesn't work for me but that is a separate issue.

Quackdoc commented 1 year ago

forgot to reply back here, I did look into this but it would up being a really janky setup iirc

FOSSProponent9436 commented 1 year ago

forgot to reply back here, I did look into this but it would up being a really janky setup iirc

That's a shame but it's understandable that its not documented in that case. Thanks for checking. I guess this issue can be closed - as I said i didn't have a major reason for using KWin specifically other than I couldn't get weston to work and I thought it would make sense on KDE Plasma as it is included there.

tdz5 commented 7 months ago

I got it to this to work on kde neon. Create the file /usr/bin/kwin-waydroid.sh with the code below inside

#!/bin/sh
kwin_wayland &
sleep 5
waydroid show-full-ui

and make it executable.

Then create the file /usr/share/wayland_session/kwin.desktop with the code below inside

[Desktop Entry]
Name=WayDroid on KWin
Comment=Android OS in a container
Exec=/usr/bin/kwin-waydroid.sh
Type=Application