I Keep My Linux PC and Android Phone Synced With This App (2024)

Quick Links

  • What Is GSConnect?
  • Installing the Android App
  • Installing the GNOME Extension
  • Integration With Nautilus
  • Tweaking Permissions and Settings
  • Manual Transfers
  • Automatic Syncs
  • GSConnect Is Game-Changing

Key Takeaways

  • GSConnect replicates KDE Connect for GNOME desktop users, enabling two-way file transfer, clipboard synchronization, and phone control.
  • The GNOME desktop app is GSConnect, and the Android app is KDE Connect. They work together beautifully.
  • Automatic clipboard syncs permit easy transfer between devices, with additional options for granular control of smartphone permissions.

The GNOME GSConnect app lets you do much more than just transfer files. You can also use it to automate other tasks and keep your Linux computer and Android smartphone in sync.

What Is GSConnect?

GSConnect is a complete redevelopment of the KDE Connect application that comes bundled as part of the KDE Plasma desktop. GSConnect doesn’t contain any KDE Connect code, but it does replicate all of its functionality for GNOME desktop users. It allows you to pair your computer with your Android phone.

You can do cool stuff like pass files and images back and forth, use your phone’s features from your computer, and sync data such as contacts. In fact, GSConnect is such a faithful clone of KDE Connect, that the Android part of the equation is handled by the KDE Connect Android application.

On KDE Plasma, KDE Connect is tightly integrated into the desktop. We can get the same integration in GNOME, but we have to work a little harder to get it set up. It doesn’t take much time, and the benefits significantly outweigh the effort.

Being able to synchronize edits to your contacts means the changes you make on one device are reflected on the other. The ability to transfer files and images in both directions is neat, but being able to do it with a right-click in the Files browser takes it to a whole new level.

GSConnect lets you control playing media on your computer from your smartphone, run commands on your computer, and share the contents of the clipboards of either device.

This is how to set it up.

Installing the Android App

The Android end of the connection between your smartphone and your Linux computer is the KDE Connect app.

You can install it from the Google Play website or the Google Play application on your smartphone.

I Keep My Linux PC and Android Phone Synced With This App (1)

Installing the GNOME Extension

GNOME users need to take a few steps that KDE Plasma users don’t have to bother with. First, we need to make sure you’ve got the connector that sits between the GNOME Extensions page and the GNOME shell installed.

The easiest way to check is to try to install it. If you’ve already got it, your package installer will tell you.

On Arch-based distributions, the command is:

sudo pacman -S gnome-browser-connector

On Fedora, you need to type:

sudo dnf install gnome-browser-connector

Ubuntu users will use this command:

sudo apt install gnome-browser-connector

To install the GSConnect extension, go to its page in the GNOME Extensions site, and click the blue "Install" button.

I Keep My Linux PC and Android Phone Synced With This App (2)

Chrome and Firefox users can install an optional add-on to share links from their browsers to their smartphones. You’ll find the add-on in the Google Chrome Web Store and on the Firefox Add-ons site.

You shouldn’t need to reboot, but you’ll probably need to log out and back in before the extension comes alive.

When it’s running, you’ll see a GSConnect entry in the System Menu.

I Keep My Linux PC and Android Phone Synced With This App (3)

Integration With Nautilus

Again, this is one for GNOME users only. You can install another piece of software that provides a useful integration between the GNOME Files file browser and GSConnect. It adds a “Send to your smartphone” option to the menu when you right-click a file.

On Arch-based distributions you use Pacman:

sudo pacman -S python-nautilus

For Fedora, we need to add two packages:

sudo dnf install nautilus-python nautilus-extensions

Ubuntu needs two packages too:

sudo apt install python3-nautilus gir1.2-nautilus-4.0

Once you’ve paired your smartphone, described below, the “Send to” option appears in the right-click menu.

I Keep My Linux PC and Android Phone Synced With This App (4)

Tweaking Permissions and Settings

On your smartphone, start the KDE Connect app, and tap "Pair New Device."

I Keep My Linux PC and Android Phone Synced With This App (5)

You should see the name of your computer in the list of available devices.

I Keep My Linux PC and Android Phone Synced With This App (6)

Tap "Request Pairing."

A notification appears on your GNOME desktop.

I Keep My Linux PC and Android Phone Synced With This App (7)

Click the "Accept" button. On your smartphone, the app will populate with tiles and options.

I Keep My Linux PC and Android Phone Synced With This App (8)

You can send files, send the contents of the clipboard, control media playback on your computer, and more.

Options that require extra permissions are listed at the bottom of the screen. Tap each one that you wish to allow the app to control.

It’s not immediately obvious, but there are more settings tucked away. Tap the three-dot menu and select "Plugin Settings."

I Keep My Linux PC and Android Phone Synced With This App (9)

You’ll see a list of options with sliders.

I Keep My Linux PC and Android Phone Synced With This App (10)

These allow you to turn options on or off, letting you select those you’re comfortable with, and deselect the ones you won’t be using.

On your computer, click the > icon in the GSConnect entry in the System Menu, then select "Mobile Settings."

I Keep My Linux PC and Android Phone Synced With This App (11)

This opens the GSConnect extension dialog.

I Keep My Linux PC and Android Phone Synced With This App (12)

Your connected smartphone will be listed. Clicking on it takes you to the settings for that device.

I Keep My Linux PC and Android Phone Synced With This App (13)

Under Sharing > Clipboard Sync select both "To Device" and "From Device" in the drop-down menu to allow the automatic clipboard sync to take place.

Also, make sure that the Advanced > Clipboard slider is set to On. That should be the default, but check anyway.

I Keep My Linux PC and Android Phone Synced With This App (14)

The settings under the other category headings give you granular control over the permissions your smartphone will have.

Manual Transfers

To send a file, tap the "Send Files" tile, and tap the hamburger menu icon.

I Keep My Linux PC and Android Phone Synced With This App (15)

You can choose where to pick your files from, including from your Google Drive, or other linked storage such as OneDrive. A long press selects a file and puts a tick in its lower left corner.

I Keep My Linux PC and Android Phone Synced With This App (16)

Tapping the "Select" option in the top right corner sends your selection to your computer.

I Keep My Linux PC and Android Phone Synced With This App (17)

The "Send Clipboard" tile sends the contents of your smartphone’s clipboard to your computer.

Automatic Syncs

With these settings, you’ll have automatic syncing of your contacts and clipboard contents.

Your smartphone’s contacts are sent to a hidden directory on your computer, in this location:

/home/<user name>/.cache/gsconnect/<device ID>

Your phone's ID is the one that was displayed in the pairing request. If you haven't cleared your notifications, you'll be able to find them in your notification list by clicking the time and date in the top bar.

The directory holds JSON files that are kept in sync with your Android phone’s contacts. To use these in a GNOME application, the application must be able to read or import—ideally, schedule imports—from the JSON files in this location.

I don’t use any applications that do that, but because my smartphone is an Android phone, an easy way to sync contacts is to add your Google account to GNOME’s online accounts and add that address book to GNOME Contacts.

In the Settings app, select Online Accounts > Google and then follow the prompts in your web browser to connect your Google account to your desktop.

In GNOME Contacts, click the hamburger menu > Preferences, and then click the "Google Address Book" entry.

I Keep My Linux PC and Android Phone Synced With This App (18)

With clipboard syncing set up, the contents of your computer’s clipboard are sent to your smartphone automatically.

If you highlight a string of text and hit Ctrl+C on your computer, it’s sent to the clipboard on your smartphone.

I Keep My Linux PC and Android Phone Synced With This App (19)

To send the clipboard from your phone to your computer, you can press the "Send Clipboard" tile that we saw earlier in the KDE Connect app.

You should be able to set up a keyboard shortcut to pull the clipboard from your Android device to the computer, but there’s a long-standing bug preventing this from working. Every shortcut you enter is reported as being in use. When the bug is fixed, you’ll need to go to System Menu > GSConnect > Mobile Settings dialog, click your smartphone entry, then click "Keyboard Shortcuts."

I Keep My Linux PC and Android Phone Synced With This App (20)

The bug has been open since December 2021, so don’t expect a quick fix for this. In practice, I find the most useful direction is from computer to smartphone, which is automatic and works perfectly. It lets you send links and snippets to your smartphone and, because the Android clipboard can store multiple entries, you can pick them at will from the clipboard when you want to use them.

GSConnect Is Game-Changing

If you haven’t used GSConnect and KDE Connect before, you owe yourself to try it. Just for the on-screen notifications, it’s worth it. The file transfers make life easy, but the clipboard and contacts syncs take it to another level.

I Keep My Linux PC and Android Phone Synced With This App (2024)

FAQs

I Keep My Linux PC and Android Phone Synced With This App? ›

The GNOME GSConnect app lets you do much more than just transfer files. You can also use it to automate other tasks and keep your Linux computer and Android smartphone in sync.

How to connect Linux with Android? ›

Use JuiceSSH on an Android device to connect to a Linux instance
  1. Install JuiceSSH.
  2. Start JuiceSSH.
  3. Tap Manage Connections.
  4. Tap the. ...
  5. Configure the following parameters and tap the icon: ...
  6. Confirm the prompt and tap ACCEPT.
May 14, 2024

How to sync Ubuntu and Android? ›

Install KDE connect from Google Play Store to your android phone. Make sure both laptop and phone are on same network, and open the KDE connect application, it should automatically show your laptop name. Start pairing and you're done.

How to transfer files from Android to Linux via USB? ›

Here's all you need to know about Linux-Android file transfer USB.
  1. Connect your Android Device to your Linux Device. Using your phone's USB cable, connect the device to your PC or laptop. ...
  2. Go to Files. You should be able to see a phone icon pop up on your taskbar. ...
  3. Select the File and Copy.

Do Android devices run on Linux? ›

Android is a mobile operating system based on a modified version of the Linux kernel and other open-source software, designed primarily for touchscreen mobile devices such as smartphones and tablets.

How to enable Linux on Android? ›

How to run Linux on your Android smartphone
  1. Installing the packages needed. ...
  2. Choosing the distribution. ...
  3. Starting the installation. ...
  4. Connecting to your smartphone's VNC server. ...
  5. Your Linux distribution is up and running! ...
  6. Booting your Linux distribution.

How do I sync Android phone to PC? ›

In the search box on the taskbar, type Phone Link, and then select Phone Link app from the results. Select Android. You'll be asked to sign into your Microsoft account (you'll need to be signed into the same Microsoft account on both your Android device and PC in order to link your devices.)

How to mirror Android phone to Linux laptop? ›

AirDroid Cast Web
  1. First you need to set up AirDroid Cast app on your Android phone. ...
  2. Now turn to your Linux computer, open a browser and type on webcast.airdroid.com. ...
  3. Launch AirDroid Cast app on your Android, Scan the QR code or enter the cast code that available on the website.

How to access android phone with PC? ›

Connect an Android to a PC With USB
  1. Connect one end of the USB cable to your Android and the other to your computer. Many computers don't support USB-C. ...
  2. Watch for a notification on your Android. ...
  3. On your computer, open This PC to see your Android device.
Jun 13, 2024

How do I connect my Samsung Galaxy to Ubuntu? ›

How to Install GSConnect on Ubuntu
  1. Install KDE Connect on your Android Phone. Step one is to install the KDE Connect app on to your Android device. ...
  2. Install GSConnect on the GNOME Shell Desktop. Step two is to install GSConnect on the Ubuntu desktop. ...
  3. Connect Wirelessly. ...
  4. Choose Your Features.
Jul 26, 2021

What is the Android file manager for Linux? ›

AirDroid Web. Best for: Access and manage all the files on your Android phone from a Linux machine. It also supports wireless file transfer across all platforms. AirDroid Web allows you to directly view and manage all the Android files on your Linux system via its browser.

How to allow MTP on Android? ›

Search for the USB connection notification, then tap it to expand the available options. Next, select 'Transfer files' or 'File transfer'. That's it! MTP mode on Android is now enabled.

How do I tether my Android phone to Linux? ›

I did the following.
  1. Connect My Linux PC and my Android smartphone with a USB-c cable.
  2. Enable USB tethering in my Android smartphone.
  3. Run syncthing on both PC and smartphone, and configure the IP addresses correctly.
Jan 20, 2024

How do I open my Android phone in Linux? ›

Connect to An Android Device via USB in Linux

Next, a popup should open on the device to request authorization to allow USB debugging from the computer, and select Allow to proceed. If the command has run successfully, a window should open up displaying your device's active screen as shown in the following screenshot.

Can I run Linux terminal on Android? ›

Termux is a popular terminal emulator and Linux environment for Android that provides a full-featured Linux shell with access to a wide range of packages and utilities. With Termux, you can install and run Linux distributions, such as Ubuntu, Debian, and Arch Linux, directly on your Android device.

Does Android have a Linux terminal? ›

Android (the OS), is primarily Linux based, so with few modifications, you can also use the terminal on your android device similar to the way you do on your Linux system. Termux is one of the most popular android terminals and has a good active community to help you if do run into some problems.

Top Articles
Latest Posts
Article information

Author: Ouida Strosin DO

Last Updated:

Views: 5960

Rating: 4.6 / 5 (56 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Ouida Strosin DO

Birthday: 1995-04-27

Address: Suite 927 930 Kilback Radial, Candidaville, TN 87795

Phone: +8561498978366

Job: Legacy Manufacturing Specialist

Hobby: Singing, Mountain biking, Water sports, Water sports, Taxidermy, Polo, Pet

Introduction: My name is Ouida Strosin DO, I am a precious, combative, spotless, modern, spotless, beautiful, precious person who loves writing and wants to share my knowledge and understanding with you.