LogoLogo
  • Waydroid
  • Usage
    • Install Instructions
    • Install and Run Android Applications
    • Waydroid command line options
    • Waydroid Prop Options
  • FAQ
    • Google Play Certification
    • Disable On-Screen Keyboard
    • Community Projects We Like
    • Get Waydroid to work through a VM
    • Using ADB with Waydroid
    • Setting up Waydroid only Sessions
    • Setting up a shared folder
    • Color correction in Mutter
    • Backup/Restore apps and data
    • Using custom Waydroid images
  • Development
    • Compile Waydroid - Lineage OS based images
    • Manual Patch Resolution
    • Compile Waydroid - Using Android-Generic Project
  • Debugging
    • Getting Essential Information
    • Networking Issues
    • Known Issues
    • General Troubleshooting
Powered by GitBook
On this page
  • Setting Up
  • Mutter
  • Weston
  • Wayfire

Was this helpful?

  1. FAQ

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:

#!/bin/sh
mutter --wayland &
sleep 5
waydroid show-full-ui

/usr/share/wayland-sessions/mutter.desktop contents:

[Desktop Entry]
Name=WayDroid on Mutter
Comment=Android OS in a container
Exec=/usr/bin/mutter-session.sh
Type=Application

Weston

~/.config/weston.ini contents:

[libinput]
enable-tap=true

[shell]
panel-position=none

/usr/bin/waydroid-session.sh contents:

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

/usr/share/wayland-sessions/waydroid.desktop contents:

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

Wayfire

/usr/bin/wayfire-session.sh contents:

#!/bin/sh
wayfire &
export DISPLAY=:1
sleep 5
waydroid show-full-ui

/usr/share/wayland-sessions/wayfire.desktop contents:

[Desktop Entry] 
Name=waydroid on Wayfire 
Comment=Android OS in a container 
Exec=/usr/bin/wayfire-session.sh
Type=Application
PreviousUsing ADB with WaydroidNextSetting up a shared folder

Last updated 3 years ago

Was this helpful?