A couple of years ago with my old phone (running if I don’t remember wrong Android Pie) and my old laptop (running Manjaro KDE) I discovered KDEConnect and how it could enable a clipboard sharing feature similar to the one Apple provides between Macs and iPhones. It was great! Now, after having changed both my phone (now running Android 14) and my laptop (now running PopOS! 22.04) I wanted to reproduce that magic but I found out that with Android 10 some complications regarding clipboard sharing arrived and so it doesn’t work out-of-the-box anymore :(

I found some saying that the only way to do that was by the persistent notification button (still ok but meh) and some others reccomending some adb commands to make it work as it was before (which would be great but I wanted to investigate a bit more before pasting some random commands to my terminal)… but it was all kinda old content (referring to Android 10 or at most 11), what’s the situation as of today? Do you use clipboard sync? And if so, how?

  • shaked_coffeeOP
    link
    fedilink
    arrow-up
    2
    ·
    8 months ago

    and (from what you know of course) there’s no way to make it work as automatically as it was before using adb?

    • Pantherina@feddit.de
      link
      fedilink
      arrow-up
      4
      ·
      8 months ago

      Only foreground apps and keyboards can read the clipboard, which is a really good thing.

      KDE Connect could partner up with Florisboard or Heliboard/Openboard, and integrate that sync. The keyboard takes it up and sends the content to KDE connect via IPC (inter process communication), which is still not blocked through the Android Sandbox, not even on GrapheneOS.

    • Kusimulkku@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      8 months ago

      I remember looking into it years ago but didn’t find any acceptable solutions. PC to phone works automatically but unfortunately I now have to remember to push send if I want it to work the other way

      • shaked_coffeeOP
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        And do you have to enable some setting on the desktop side to make it work from linux to android? 'Cause I tried and it wasn’t working out of the box (maybe it’s because I was using GSConnect without having install KDEConnect, could it be?)

        • Kusimulkku@lemm.ee
          link
          fedilink
          arrow-up
          2
          ·
          8 months ago

          I think clipboard sharing was one of those that was on by default when I set it up last time. Not sure about GSConnect, I was just using regular KDE Connect

          • shaked_coffeeOP
            link
            fedilink
            arrow-up
            2
            ·
            8 months ago

            For anyone else with the same issue, Clipboard sync is disabled by default on GSConnect, but can be simply enabled going to the extension settings and then tapping on the device name. (Yes, I just found out that the device name was tappable and there were lots of per-device settings, wow)