[Doc] Testing locally
Closed, ResolvedPublic

Description

How to test apps and system without having a real device, simulator, running plasma phone shell on laptop, etc.

sebas created this task.Aug 11 2015, 12:07 PM
sebas updated the task description. (Show Details)
sebas raised the priority of this task from to Normal.
sebas claimed this task.
sebas added a project: Plasma: Mobile.
sebas added a subscriber: sebas.
sebas renamed this task from Testing locally to [Doc] Testing locally.
sebas moved this task from Todo to Implementation on the Plasma: Mobile board.Aug 18 2015, 11:25 PM

A few great KDE people helped me getting plasma-phone-components (https://invent.kde.org/kde/plasma-phone-components) directly on my desktop machine.

This are the steps we have done:

# Guide to run plasma-phone-components on desktop
1. Set up kdesrc-build
2. Build necessary applications
    2.1 kdesrc-build plasma-phone-components
    2.2 kdesrc-build plasma-nano
    2.3 kdesrc-build plasma-workspace
3. Make sure that all environment variables are set correctly (they should point to the output directory of kdesrc-build (with "source ...../prefix.sh"))
4. Run plasma-phone-components!
    4.1 plasmashell -p org.kde.plasma.phone --replace (replace currently running plasma shell)
    4.2 QT_QPA_PLATFORM=wayland dbus-run-session kwin_wayland --xwayland "plasmashell -p org.kde.plasma.phone" (start the mobile shell completely separated in a window)

Troubleshooting (ways to get it running):
* remove or move to an other place the config files at ~/.config/plasma-org.kde.plasma.phone-appletsrc and maybe ~/.config/plasma-org.kde.plasma.desktop-appletsrc

The instructions should be moved to the Plasma Mobile documentation (https://docs.plasma-mobile.org) and the Readme of plasma-phone-components (https://invent.kde.org/kde/plasma-phone-components).

Somebody should review this and test either the steps are reproduceable to get the Plasma Mobile shell running on normal desktop machine.