Skip to content

parchlinux/parchdroid-kcm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Parch Linux Waydroid KCM

This is a KDE System Settings module to manage Waydroid on Parch Linux.

It adds a Waydroid page under Applications where you can check whether Waydroid is installed, initialized, and running, install or remove it with pacman, run waydroid init (vanilla or GAPPS), start or stop the container and session, and launch the full Android UI.

Runtime Requirements

You need Plasma 6 System Settings, a host setup that supports Waydroid (binder/ashmem requirements), and pkexec/polkit for privileged actions.

Build Requirements

Build requirements are CMake >= 3.16, a C++20 compiler, Qt6 Core (>= 6.6), KDE Frameworks 6 (I18n, KCMUtils), and Extra CMake Modules (ECM).

On Arch/Parch-like systems, install build dependencies with:

sudo pacman -S --needed cmake extra-cmake-modules qt6-base kf6-kcmutils kf6-ki18n

Build and Install

cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
cmake --build build -j"$(nproc)"
sudo cmake --install build

Then open System Settings -> Applications -> Waydroid.

If System Settings was already open during installation, restart it.

What the KCM Executes

For reference, the module runs pkexec pacman -S waydroid --noconfirm --needed for install, pkexec pacman -Rns waydroid --noconfirm for uninstall, pkexec waydroid init for vanilla init, pkexec waydroid init -s GAPPS for GAPPS init, pkexec sh -lc "systemctl start waydroid-container && waydroid session start" to start, pkexec sh -lc "waydroid session stop; systemctl stop waydroid-container" to stop, and waydroid show-full-ui to launch the UI.

Troubleshooting

If you get Authentication failed or no privilege prompt, make sure polkit and pkexec are installed and working. If the KCM still shows not initialized after init, check that /var/lib/waydroid/ exists and that init completed successfully. For start/session issues, inspect systemctl status waydroid-container and journalctl -u waydroid-container -b. If the UI does not appear, try waydroid show-full-ui manually.

License

This project is licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later). See LICENSE.

About

Parch Linux own waydroid KDE settings module

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors