This document describes the necessary environment variables and steps for running and debugging applications in Plasma Mobile.
It is not necessary for end-users to set these. Applications can be executed from the drawer easily, however this may be useful for some development cases.
In order to run applications on the device, you need to set up your environment similar to the environment in which the plasmashell is running:
export $(cat /proc/$(pidof plasmashell)/environ | tr '\0' '\n')
In case the plasmashell isn’t running, you can use this environment setup as a replacement:
Manually starting the Plasma shell (or applications)¶
If you want to run the Plasma phone shell, do:
exec /usr/bin/plasmashell -p org.kde.plasma.phone