11

The very first feature listed on this app is:

Shared clipboard: copy and paste between your devices.

In Android 10, Google broke that feature and now the phone can receive clipboard contents from the desktop but not send them to the desktop. The developer appears to have a workaround as the release notes for 1.14 say:

  • Android 10: You can now send the clipboard contents via the notification

but there's no hint how to do that, and the developer email on Google Play doesn't respond.

All of the plugins in the desktop app are turned on except Send notifications (which is for notifications in the opposite direction) and Inhibit screensaver.

In the android app, All KDE Connect notifications is On, Persistent indicator and Allow notification dot are off:

notifications

How do you "send the clipboard contents via the notification"?

Bruni's screenshot below is nothing like mine, but leads me to suspect I'm actually missing a plugin (There are actually no listed missing permissions).

enter image description here

Auspex
  • 1,158

5 Answers5

13

Go to the Notifications of your Android device, find kde connect and click on send clipboard.

enter image description here

The screenshot is from the phone. This is on KDE Connect 1.17, Android 11, KUbuntu 21.04, but I do not remember a time when it did not work on this phone and it came with android 10.

You need to allow KDE Connect to show notifications (on the phone) enter image description here

Bruni
  • 11,099
4

To send clip from android to Desktop via KDE->

  1. Select your text

  2. click on share screenshot, here for selecting

  3. Select KDE-Send to device this screenshot for selecting KDE

  4. Select the device to which you have to send this ss

Voila, it will open in the default editor of your desktop immediately. This steps can also be performed to send any file to other device from android via KDE.

Although there is not any option to send it in KDE app, but the above steps are more faster(which we generally use to send anything) as we have not to paste the clipboard in KDE app to send it and we can directly send it even without copying.

UPDATE: Now, in the latest android KDE app, there is option to send text directly through the remote input input option.

1

Another solution is to manually change the Android keyboard to KDE Connect once. Afterwards you're able to pull the clipboard from your phone without additional user interaction.

1

There is a workaround to let KDE Connect automatically send the clipboard (from Android to the desktop PC).

you can enable the READ_LOGS permission in order to enable a workaround to clipboard sync.

Run these commands:

adb -d shell pm grant org.kde.kdeconnect_tp android.permission.READ_LOGS;
adb -d shell appops set org.kde.kdeconnect_tp SYSTEM_ALERT_WINDOW allow;
adb -d shell am force-stop org.kde.kdeconnect_tp;

How does it work?

With log reading enabled, KDE Connect watches its own log. If it sees a line indicating that it has been denied access to read the clipboard, it pops up an invisible window to the foreground, grabs the clipboard, and closes the window.

Source: https://userbase.kde.org/KDEConnect#Clipboard

Remember to go to "Plugin settings" and enable "Clipboard sync".


How to run those commands?

  1. Make sure you have the adb tool installed. It's part of the Android developer tools. (Exact instructions depend on each distro, you can probably install them from your package manager.)
  2. Make sure you have USB Debugging enabled on your phone.
  3. Make sure you have a good USB data cable.
  4. Connect the phone to the computer.
  5. Open a terminal on the computer.
  6. Try running adb devices. It should list your phone.
    • If it doesn't, check your phone. There should be a pop-up dialog asking you to authorize your computer to connect over USB debugging to your phone. Try the command again afterwards.
  7. Finally, run the three commands listed above.
0

I have reported this as a bug: https://bugs.kde.org/show_bug.cgi?id=446366

This option should be available also in the list of commands for desktop devices.

dusoft
  • 103