Settings

Theme

Ask HN: Apple like integration between iPhone/Android and Linux

7 points by whatarethembits a year ago · 10 comments · 1 min read

Reader

Hi HN, from your own experience, has the experience of integrating your phone (iPhone and Android both) with Linux improved in the last 4 years? Specifically copy/pasting seamlessly and transferring files. I use these features 10+ times a day for work and kinda non-negotiable. Before I moved to Apple ecosystem, I used PushBullet and it was a pain, Apple's integration is much better in terms of friction. I'd also tried KDEConnect, but found it to be extremely flaky.

I'm due to upgrade my MacBook and can't help but feel like a fool for agreeing to being fleeced for Apple's memory and storage nonsense, even if affordability is not an issue. Also I'd like to not depend on one company so much. My only reservation is phone integration story on Linux; is it possible to get it close to Apple's version? I don't mind putting in the work to set things up initially, as long as it can be relied upon in a pinch going forward.

Thanks!

freedomben a year ago

I'm a Gnome user so can't speak to KDE, but on Gnome GSConnect is pretty good. It definitely has much more of a open source/hacker feel to it than I'm sure the Apple experience does, so that part may be disappointing, but the features do all work pretty well. When you're on the same LAN it is also lightning fast. I often get a notification on my laptop that I have an incoming call before it even starts to ring.

Big limitation there is that there's no server sitting in the middle, so they have to be able to speak directly. Obviously not a problem at home or on the same wifi, but if you want it while traveling then you can add something like Tailscale or similar. Very, very easy to get setup and works pretty well. It does introduce a lot more latency than I'd like depending on where each device is, but it's very usable.

I would also definitely take a look at scrcpy[1]. It's really a killer app that lets you connect nearly everything on your phone over adb. I use it via USB, but it works just fine over wireless adb as well. You can forward audio, video, clipboard, and much, much more (for example, you can use your laptop keyboard and/or mouse to select thing on the mobile).

All in all it's likely to be a step down in some ways, but probably a step up in others (unless there's a scrcpy equivalent for mac/iphone). The freedom you gain though more than makes up for it IMHO.

[1]: https://github.com/Genymobile/scrcpy

mcsniff a year ago

KDEConnect (GSConnect or another implementation) or scrcpy + a service like Tailscale or ZeroTier is going to be your best option really.

Apple has a lot of invasive back-end "magic" going on to allow Continuity and the seamless sharing between iOS and MacOS.

  • t0md4n a year ago

    Can you explain what the invasive back-end magic is?

    • freedomben a year ago

      They are MitM-ing everything with server-side support. If you're already using Apple stuff I don't think it's any more invasive than what you already get, but I'm guessing GP says that because there's really no need for a server in the middle for most of what gets done. It just lets things run a little more seamlessly without requiring you to be on the same network all the time (or setup something like Tailscale or another VPN). Also the sweet sweet analytics (for Apple).

    • runjake a year ago

      The Apple Platform Security Guide provides a good overview:

      https://support.apple.com/guide/security/welcome/web (see the Continuity section, specifically)

    • tsujamin a year ago

      Presumably AirDrop, iCloud KeyChain and Apple Push Notification Service? I don’t find any of them particularly invasive, but I guess some might not like the device id/auth/centralisation aspects

mcint a year ago

Most recently I've had issues due to the iOS Local Network entitlement, that's now required at iOS 16, or a little earlier.

Accessing anything on the local network other than the gateway address is blocked in browser (I hope apple correctly handles gateways not on the first address in the private IP range), goodbye most of the usefulness, though closes some long-standing web security and privacy or fingerprinting concerns. It's mainly annoying because it doesn't fit into other existing paradigms. And I can't override the permission for my browser, not even occasionally turn it in, because my browser doesn't request it.

brudgers a year ago

On Ubuntu, I connect to iCloud with Firefox to access stuff from my iOS devices. iCloud is one of my Home tabs for several of my browser identities.

I guess it's more trouble than AirDrop. But that's a guess because it isn't really much trouble.

lukeaf a year ago

I have been using LocalSend (https://localsend.org) between macOS, Windows, and Linux. It works great. It has Android and iOS clients as well but I haven't tried on mobile yet.

lylejantzi3rd a year ago

I've enjoyed NearDrop[0] for file transfer. I don't do copy/paste between devices.

https://github.com/grishka/NearDrop

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection