A really nice Android phone and a Linux OS integration.
Besides the KDE Connect, you can use gnome-shell-extension-gsconnect
if you’d prefer the Gnome project.
In this post, we will set up KDE COnnect between an Android HTC phone and Arch Linux.
On Android install the KDE Connect from the Play Market.
On Linux, install from the repository:
For file exchanging feature – add the sshfs
package:
Contents
KDE connect connection
On your PC run the kdeconnectd
, manually, for now, will add it to auto start later:
Check on your mobile:
Check available devices from Linux:
Using the ID from the output above make a connection request:
Confirm on the Android:
And voila:
Now, run the kdeconnect-indicator
:
In the systray you’ll see the connector icon from where with right-click you can check sync settings:
Permissions
Go back to your phone, and scroll down – find permissions:
Go to the Settings and enable the Notifications access:
Go back and in the Some plugins have features disabled […] give all other permissions starting from the Filesystem expose:
Chose the disk on your phone, grant access to it via sshfs
, on this screenshot, it will be my SD card:
Browse devises and files transfer
Chose Browse device:
And via sshfs
you have access to the SD card configured above:
Syslogs:
Ring mobile
Nice feature – “Find my phone in my apartment” called Ring device:
And the phone will start ringing (even if it’s muted) with the following button on its screen:
Multimedia control
Also, you can control a player in a browser on your Linux from your phone:
Even more – you’ll have a button on the Andoird welcome screen:
A mouse control
You can move your mouse cursor on your Linux from your mobile now:
Linux notifications
Systray notifications can be used with standard org.freedesktop.Notifications
.
This is really handy in the office where I’m muting the ring sound on the phone, but now I’ll not miss any SMS/call as I’ll see them on my desktop.
Check the D-Bus to see how is acceptin Notifications in the system:
Check the PID:
In my case this the lxqt-notificationd
.
And the notification itself, for example during an incoming call:
Autostart
Weird a bit that it has no any systemd unit-file.
In the Openbox, I just added the kdeconnectd
and kdeconnect-indicator
to my ~/.config/openbox/authostart
:
... /usr/lib/kdeconnectd & ... kdeconnect-indicator & ...
That’s all.
Actually, KDE Connect gives much more abilities then described in this post, so – just play with it.