@db2@lemmy.one
@db2@lemmy.world
@db2@sopuli.xyz

  • 0 Posts
  • 133 Comments
Joined 11 months ago
cake
Cake day: July 29th, 2023

help-circle


















  • db2@lemmy.worldtoLinux@lemmy.mlWaydroid in a VM
    link
    fedilink
    arrow-up
    5
    ·
    3 months ago

    Here’s the script I use to start and stop Waydroid:

    #!/bin/bash
    PID=$(pgrep "weston")
    if [ "$?" -eq "0" ]; then
        waydroid session stop
        kill $PID
        exit
    fi
    weston --width=1920 --height=1080 --socket=wayland-1 &>/dev/null &
    sleep 2
    WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland waydroid show-full-ui
    

    Change the resolution to whatever you need it to be. Run it once to start, again to stop. It just lives on my desktop.