How to control your Android phone from Ubuntu PC

You can ring, send SMS, make file transfers, and much more from Ubuntu PC!

-Advertisement-

Do you want to cut the cord, and connect your Android phone to your Ubuntu Linux PC by Wireless connection? Nah, Bluetooth is an old school. I prefer Wi-Fi.

Not just file transfers, how about knowing phone and battery status right from the Ubuntu desktop? You also get extra perks like being able to send SMS, the ability to ring and find your phone hiding under a pillow or in your jackets.

Let me introduce you to KDE Connect. It is a handy utility that can be installed on your Ubuntu, Linux Mint, elementary OS, and derivatives for free. It lets you manage your Android phone wirelessly via a Wi-Fi connection.

KDE Connect Features

Here are the most critical features of the utility.

  • Shared clipboard: copy and paste between your devices
  • Share files without wires on a fast Wi-Fi connection, not the snail pace Bluetooth anymore
  • Send SMS to phone
  • Find your phone by ringing it from your PC
  • Start SFTP and open a file browser
  • End-to-end TLS encryption means your information is safe

Installing KDE Connect

-Advertisement-

KDE Connect will work out of the box straight away in Budgie, Cinnamon, LXDE, Pantheon, Unity, and many other desktop environments. For GNOME desktop environments (Ubuntu 17.10), you need to install a Chrome extension for it to work, detail steps will be covered in Section 2 of this article.

On Ubuntu 16.04, 16.10, 17.04, Linux Mint 18.1, and elementary OS

Step 1) Launch “Terminal”.

Step 2) Enter the following command to add PPA.

sudo add-apt-repository ppa:webupd8team/indicator-kdeconnect
-Advertisement-

Step 3) Update sources on your computer.

sudo apt update

Step 4) Install the utility:

sudo apt install kdeconnect indicator-kdeconnect

On Ubuntu 17.10 (GNOME environment)

-Advertisement-

For Ubuntu 17.10 and above, we don’t use KDE Connect, but instead, we use a GNOME extension “GSConnect,” which is the KDE Connect integration for the GNOME desktop environment.

Step 1) Install GNOME shell extensions. Refer to our detailed guide on how to install GNOME shell extensions in Ubuntu 17.10. Once you are done, get back here and follow the next step.

Step 2) Download the latest stable zip file. It should like similar to gsconnect.andyholmes.github.io.zip. 

Download GS Connect Extension

Step 3) Launch Terminal and copy-paste this command to create a directory to store the extension system files.

mkdir -p ~/.local/share/gnome-shell/extensions

Showing installation in Ubuntu 17.10
Showing installation in Ubuntu 17.10

Step 4) Navigate to the downloaded directory. I’m assuming the default “Downloads” location in this example below.

cd Downloads

Step 5) Copy and paste the following command to unzip the downloaded file and copy it to the system directory created in Step (2).

unzip -o gsconnect.andyholmes.github.io.zip -d ~/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io

Step 6) Log off and log in again for the settings to take effect.

Step 7) Launch Firefox or Chrome browser (whatever you used for settings up GNOME extensions in Step #1) and go to https://extensions.gnome.org/local/

Step 8) Enable GS Connect.

Enable GConnect
Enable GConnect

Step 9)  You should now see a new icon in the Status bar. Click on that, and you will see “Mobile Devices.”

Ubuntu 17.10 Status Bar showing Mobile Devices
Ubuntu 17.10 Status Bar showing Mobile Devices

Integrating Android Phone and Ubuntu

I have tested this on Ubuntu 17.10 with GSConnect extension (Section #2 of this article). KDE Connect and GSConnect provide the same functionality between Android Phone and Ubuntu PC.

Step 1) On your Android Phone, install the KDE Connect app from Google Play.

Step 2) Launch the KDE Connect app on your phone and tap GSConnect to pair. Note that your Ubuntu PC and Android Phone must be on the same Wi-Fi network.

KDE Connect App in Android Phone
KDE Connect App in Android Phone

Step 3) Tap on “Request Pairing” on your phone.

KDE Connect App in Android Phone Pairing
KDE Connect App in Android Phone Pairing

Step 4) On your Ubuntu PC, you should see a notification pop-up whether to accept the pairing. Click “Accept.”

Accept Pairing on your Ubuntu PC
Accept Pairing on your Ubuntu PC

Step 5) Congrats! Your Android phone is now connected to your Ubuntu PC.

Sending and Receiving Files and URLs between Android Phone and Ubuntu PC

To begin sending and receiving files, you must activate some features on your PC. Go to “Mobile Settings.”

Ubuntu 17.10 Status Bar showing Mobile Devices
Ubuntu 17.10 Status Bar showing Mobile Devices

Step 6) Click on your phone name in the left pane of Mobile Settings. Enable “Share” to start sending and receiving files and URLs from Android Phone and Ubuntu PC. Additionally, you can enable the “Locate Device.” Using this feature, you can give a ring from your PC to find your phone hiding on a bookshelf or tucked on your couch!

Mobile Settings
Mobile Settings

Step 7) Click “Preferences” > enable “Nautilus Integration” and “Web Browser Integration”.  Also, click on “Chrome Extension” or “Firefox Add-on,” depending on which browser you used to set up GNOME extensions. Go ahead and add the extension to your browser to start sending URLs from your PC to your Phone.

Preferences
Preferences

Add GSConnect extension to Chrome OR Firefox
Add GSConnect extension to Chrome OR Firefox

Step 8) To start sending URL to your phone, launch a website in your PC browser and then click “Open in Browser.” The website will magically open on your phone!

Send URL to Phone
Send URL to Phone

Did you try connecting your phone? Do let us know your feedback in the comments below.

-Advertisement-
Kiran Kumar
Hi there! I'm Kiran Kumar, founder of FOSSLinux.com. I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities, especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. I hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!

3 COMMENTS

  1. Unfortunately, I wasn’t able to install the Kdeconnect software as it is not listed under ppa: webupd8team. Any help?

Leave a Reply to sriharsha Cancel reply

Please enter your comment!
Please enter your name here

STAY CONNECTED

23,637FansLike
361FollowersFollow
16SubscribersSubscribe

LATEST ARTICLES

Top 20 Git Commands with Practical Examples

If you are here reading this post, there is a high probability that you have heard or interacted with Github, and you now want to learn Git. Before we continue with showing you some of the cool Git commands, let's understand the difference between Git and GitHub.

Top 10 New Features in Linux Kernel 5.7

Linus Torvalds has announced the release of Linux Kernel 5.7 after seven weeks of development. The release announcement comes as a piece of exciting news as it brings a host of new features for the hardware manufacturers as well as the developers.

How to install CMake on Ubuntu

CMake is a cross-platform free and open-source software tool designed to build, test, and package the software. CMake uses a simple platform and compiler-independent configuration files to control the software compilation process.

How to install Lightworks on Ubuntu

Even though Linux may not get a native installer of video editing software like Adobe Premiere or Final Cut Pro, that doesn't mean there are no industry standards tools available. Lightworks is non-linear editing (NLE) video mastering app for Windows, Linux, and macOS. Installing it on Ubuntu is simple due to deb package availability.

How to install DaVinci Resolve on Fedora

Davinci Resolve is a professional application used for color correction, video editing, visual effects, and motion graphics. It is one of the extensively used software by movie industries located in Hollywood.

The 10 Best Programming Languages for Hacking

One of the significant entities we have in Cyber Security is Ethical Hacking (ETH). It is the process of detecting and finding flaws or vulnerabilities in a system that a hacker would exploit.

MUST READ

Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.
Elementary OS 5.1 Hera has received a point release with a handful of new features and bug fixes, and we will be reviewing the significant changes in this article. For those new to elementary OS, this Ubuntu-based Linux distribution uses their inhouse built Pantheon desktop environment and AppCenter.

10 top reasons to switch to Manjaro Linux

Manjaro is Linux distro based on Arch-Linux which follows a rolling release model. Is this distro good for you? Let's find out the main reasons for using Manjaro.

Installing multiple Linux distros on a USB drive

A bootable Linux USB drive, which also referred to as a Live USB drive, is a drive containing files that enable a computer to boot into a specific Linux distro. It is most commonly used to test-drive various Linux distros before installing on the computer for use as a daily driver.

Beaker Browser: A P2P web browser you must try

I think we can all agree on the fact that the web browser is an integral part of our Linux systems, or any computer system, for that matter. We have had several fulfilling options for browsing the web, like Firefox, Brave, Vivaldi, Tor, etc. and they have worked pretty well, but also pretty much in the same way, except for Tor, which is much better for anonymity.

Removing the Virus from a Windows PC with a Ubuntu Live USB drive

In this tutorial, we are going to show you how to clean your Windows machine from infected viruses using an Ubuntu live USB or CD and the ClamAV antivirus. The ClamAV is a free, open-source antivirus that can be used on Ubuntu.