Setting up Waydroid only Sessions
For some projects, you might want to have Linux only for backend or maintenance related tasks, while using the Waydroid full-screen UI as the main interface.
This document will review changes required for setting up wayland sessions for a full-screen Waydroid experience.

Setting Up

In order to set this up, you will need to create a few files, depending on your default wayland session manager.
Please create the files detailed by their contents using the contents below

Mutter

/usr/bin/mutter-session.sh contents:
1
#!/bin/sh
2
mutter --wayland &
3
sleep 5
4
waydroid show-full-ui
Copied!
/usr/share/wayland-sessions/mutter.desktop contents:
1
[Desktop Entry]
2
Name=WayDroid on Mutter
3
Comment=Android OS in a container
4
Exec=/usr/bin/mutter-session.sh
5
Type=Application
Copied!

Weston

~/.config/weston.ini contents:
1
[libinput]
2
enable-tap=true
3
4
[shell]
5
panel-position=none
Copied!
/usr/bin/waydroid-session.sh contents:
1
#!/bin/sh
2
weston &
3
sleep 3
4
konsole -e waydroid show-full-ui
Copied!
/usr/share/wayland-sessions/waydroid.desktop contents:
1
[Desktop Entry]
2
Name=WayDroid on Weston
3
Comment=Android OS in a container
4
Exec=/usr/bin/waydroid-session.sh
5
Type=Application
Copied!

Wayfire

/usr/bin/wayfire-session.sh contents:
1
#!/bin/sh
2
wayfire &
3
export DISPLAY=:1
4
sleep 5
5
waydroid show-full-ui
Copied!
/usr/share/wayland-sessions/wayfire.desktop contents:
1
[Desktop Entry]
2
Name=waydroid on Wayfire
3
Comment=Android OS in a container
4
Exec=/usr/bin/wayfire-session.sh
5
Type=Application
Copied!