How to integrate Android with KDE via KDE Connect

Often we need to transfer files from Android to the PC or vice versa and to do so we need the right cable. However, there are many applications that allow devices to communicate via WiFi and in the past we have already reviewed two applications: the first is AirDroid which in addition to transferring files, allows us to manage certain Android applications directly from the PC browser. Another application instead is Pushbullet, an extension for chrome that allows the exchange of files, notes, URLs, etc. Both are browser applications, so you can use them on all operating systems.

Today, instead, I want to show you a guide with which we can INTEGRATE Android on Linux, specifically on KDE graphic environments. To do this you need to install an application on the Android terminal and install and configure the application on our Linux distribution with KDE. At the end of the procedure, we will be able to:

  • show Android notifications directly on your PC with lots of synchronization
  • show call and SMS notifications on the PC
  • exchange files, url and more
  • check PC music and videos directly from Android
  • pause music and videos during a call
  • exchange notes

The application to install on our distribution and on Android is KDE Connect and both the PC and the Android device must be connected to the same WiFi network. Let's see how to install it on the PC


Installing KDE Connect on Kubuntu and Debian KDE

The repositories are already integrated on Kubuntu and Debian from the 13.10 version, or the current one. Then follow the installation steps below

$ sudo apt-get install kdeconnect-kde qt5-default qdbus-qt5

$ sudo apt-get install build-essential cmake kdebase-workspace-dev libqjson-dev git libqca2-dev
$ git clone git: //anongit.kde.org/kdeconnect-kde
$ cd kdeconnect-kde
$ cmake -DCMAKE_INSTALL_PREFIX = / usr ./
$ make
$ sudo make install

 

Installation on Fedora KDE

For Fedora distributions with KDE it is sufficient to insert the following command lines in the terminal

$ sudo yum groupinstall "Development Tools"
$ sudo yum install gcc-c ++ kdelibs-devel cmake qjson-devel qca2-devel git
$ git clone git: //anongit.kde.org/kdeconnect-kde
$ cd kdeconnect-kde
$ cmake -DCMAKE_INSTALL_PREFIX = / usr ./
$ make
$ sudo make install

 

Configuration

To configure kde-connect, execute the following line as a normal user, without 'su'. The command should return the value 'true'.

$ qdbus org.kde.kded / kded loadModule kdeconnect

Now enter the last string to be able to view kde-connect in the applications menu

$ kbuildsycoca4 -noincremental

At this point all that remains is to install the app on Android

Android and final configuration

To install the application on your terminal, you can use the following link | Download

The app is compatible with Android 2.3 or higher versions, although for correct operation the 4.1 version and even the 4.3 are required to be able to synchronize the phone notifications with KDE.

Once installed, we start the application and make sure we are connected to the same WiFi network, so we will see the PC ready to be connected.

kde-connect kde-connect1

 

We make the request and accept on the PC

pairing

So our device will be available among the associated devices, and on the PC the icon of our Android terminal will turn green.

kde-connect2 icon

 

At this point we can start interacting, but make sure that all the Plugins (or at least the ones that interest us) are enabled.
Click on the name of the device from the Android application to view the available functions: let's try 'Send ping' to verify that the response time is short and that everything works.

kde-connect2 kde-connect5


Once the notification is received, we pass to the multimedia remote control which is used to manage the multimedia applications in operation on KDE. In my example I tried Amarok. The tracks are changed instantly and so is the volume. The maximum volume of the Android app refers to the maximum volume of the KDE multimedia application, as you can see in the photos, and not the system volume.

kde-connect6 volume
kde-connect7 volume1

 

Solutions

  • If your Android terminal fails to connect, make sure the firewall does not block the connection. The ports used by Android range from 1714 to 1764
  • For compile problems with kde-connect, update the libqjson-dev package because the version must be equal to or greater than 0.8.1.

 

Removal

To remove kde-connect, run the following lines in the terminal

$ qdbus org.kde.kded / kded unloadModule kdeconnect
$ kbuildsycoca4 -noincremental





The town of

Receive the latest posts by email

Enter the email and choose the inscriptions on the new page

tags:

InTheBit.it
Added devices
  • Compare Smartphone (0)
  • Compare Notebook (0)
Compare