I’m trying to adapt this script to wake up the PinePhone regularly and check emails and IMs on Plasma Mobile.
Basically this sets a timer to regularly run a shell script that uses DBus to wake the phone.
As far as I can tell, everything should be exactly the same for PlasMo except for the actual DBus calls in DontSuspendOnUnlock.sh
and WakeTimer.sh
.
Looking at Calendori and KClock, I thought that the way to go was to call PowerDevil via the same kind of DBus command.
So I wanted to try something like the examples commands for KDEConnect, e.g.
qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement org.kde.Solid.PowerManagement.wakeup
but I get qdbus command not found
and I don’t see which additional package I should install to use it.
Could somebody point me in the right direction?
Basically:
- how do I make DBus calls on Plasma Mobile?
- is the example the correct way to use PowerDevil?