Skip to content

Instantly share code, notes, and snippets.

@Ast3risk-ops
Last active August 8, 2025 04:01
Show Gist options
  • Select an option

  • Save Ast3risk-ops/208020093bc380d0cdb9e1e181eca257 to your computer and use it in GitHub Desktop.

Select an option

Save Ast3risk-ops/208020093bc380d0cdb9e1e181eca257 to your computer and use it in GitHub Desktop.
My personal modifications to the official Waydroid on X11 script.
#!/usr/bin/bash
if [ "$(systemctl is-active waydroid-container.service)" == 'active' ];then
killall -9 weston
sudo systemctl stop waydroid-container.service
exit
fi
killall -9 weston
sudo systemctl restart waydroid-container.service
if [ -z "$(pgrep weston)" ]; then
weston --xwayland &> /dev/null &
fi
sleep 2 &&
export XDG_SESSION_TYPE='wayland'
export DISPLAY=':1'
export WAYLAND_DISPLAY='wayland-1'
konsole --new-tab --hide-tabbar --hide-menubar -e '/usr/bin/waydroid show-full-ui' &
while [ -n "$(pgrep weston)" ];do
sleep 1
done
sudo systemctl stop waydroid-container.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment