I'm using KDE Connect with one of my laptops, and love it.
It's been awhile since I set it up, but I'm pretty sure I used these examples to create its commands. The commands are issued from my phone to do something on or to the computer.
Everything's great, except that what's supposed to be...