Skip to content

Commit

Permalink
Add KWin Wayland session instructions to Waydroid-only sessions docum…
Browse files Browse the repository at this point in the history
…entation

Fixes waydroid#52

Add instructions for KWin Wayland to the Waydroid-only session documentation.

* Add a new section for KWin Wayland in `faq/setting-up-waydroid-only-sessions.md`.
* Include instructions for creating `/usr/bin/kwin-waydroid.sh`.
* Include instructions for creating `/usr/share/wayland-sessions/kwin.desktop`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/waydroid/docs/issues/52?shareId=XXXX-XXXX-XXXX-XXXX).
  • Loading branch information
Githubguy132010 committed Feb 19, 2025
1 parent 99c8cb9 commit ac90578
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions faq/setting-up-waydroid-only-sessions.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,24 @@ Comment=Android OS in a container
Exec=/usr/bin/wayfire-session.sh
Type=Application
```

### KWin Wayland

`/usr/bin/kwin-waydroid.sh` contents:

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

`/usr/share/wayland-sessions/kwin.desktop` contents:

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

0 comments on commit ac90578

Please sign in to comment.