Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions faq/setting-up-waydroid-only-sessions.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,20 @@ panel-position=none

```
#!/bin/sh
weston &
sleep 3
konsole -e waydroid show-full-ui

# Launch waydroid from an X11 session, within a 9:16
# weston window that vertically fills the screen

# REQUIRES-PACKAGE: x11-tools (xdpyinfo)
xdpyinfo \
| awk '/dimensions/{gsub("x"," ",$2);print $2"\n";quit}' \
| { read xx yy
weston --width=$((yy*9/16)) --height=${yy} & }

# WAYLAND_DISPLAY: Your personal value may end
# with a different integer
export WAYLAND_DISPLAY=wayland-1
waydroid show-full-ui
```

`/usr/share/wayland-sessions/waydroid.desktop` contents:
Expand Down