A really nice Android phone and a Linux OS integration.
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:
$ sudo pacman -S kdeconnect
For file exchanging feature – add the
$ sudo pacman -S sshfs
KDE connect connection
On your PC run the
kdeconnectd, manually, for now, will add it to auto start later:
$ /usr/lib/kdeconnectd qt5ct: using qt5ct plugin kdeconnect.core: KdeConnect daemon starting kdeconnect.core: My id: "_7d44a796_22cc_46c7_846a_a3ffef9b1247_" kdeconnect.core: onStart kdeconnect.core: KdeConnect daemon started kdeconnect.core: Broadcasting identity packet ...
Check on your mobile:
Check available devices from Linux:
$ kdeconnect-cli -l - Desire 630 dual sim: da65691faaa832d6 (reachable) 1 device found
Using the ID from the output above make a connection request:
$ kdeconnect-cli -d da65691faaa832d6 --pair Pair requested
Confirm on the Android:
Now, run the
In the systray you’ll see the connector icon from where with right-click you can check sync settings:
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:
sshfs you have access to the SD card configured above:
kdeconnect.plugin.sftp: Starting process: "sshfs [email protected]:/ /run/user/1000/da65691faaa832d6 -p 1739 -s -f -F /dev/null -o IdentityFile=/home/setevoy/.config/kdeconnect/privateKey.pem -o StrictHostKeyChecking=no -o UserKno wnHostsFile=/dev/null -o HostKeyAlgorithms=+ssh-dss -o uid=1000 -o gid=1000 -o reconnect -o ServerAliveInterval=30 -o password_stdin"
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:
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:
Systray notifications can be used with standard
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:
$ qdbus --session org.freedesktop.DBus / org.freedesktop.DBus.GetConnectionUnixProcessID org.freedesktop.Notifications 881
Check the PID:
$ ps uax | grep -w 881
setevoy 881 0.0 0.2 286260 44824 tty1 Sl 11:15 0:00 lxqt-notificationd
In my case this the
And the notification itself, for example during an incoming call:
Weird a bit that it has no any systemd unit-file.
In the Openbox, I just added the
kdeconnect-indicator to my
... /usr/lib/kdeconnectd & ... kdeconnect-indicator & ...
Actually, KDE Connect gives much more abilities then described in this post, so – just play with it.