this post was submitted on 08 Jan 2024
36 points (86.0% liked)
Linux
48017 readers
1015 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Plug in cable to PC, go into android USB setting and switch it to file transfer instead of charging mode, it should show in your file manager as a connected USB drive. ( you can tell everyone is a linux or phone techy, everone gave the complicated merhods that didn't address the question asked, but @OP all the other methods work also )
TBF, KDE Connect is pretty convenient for this and other stuff
Of course, it's awesome; so is GSConnect on Gnome, and syncthing is awesome, and fx on android with samba shares is great. Croc on mobile to PC, etc. just the dude asks how to use USB cable and gets recompile your kernel suggestion ( I'm being hyberbolic)
He can still use the Cable C to keep the battery on.
I have a Pixel 4a with GrapheneOS and I can never get it to find any other devices in KDE connect for some reason. Syncthing works fine though so I just use that instead.
If you're using a vpn it could be preventing it, I had to allow lan on mullvad's settings to make it work.
Yeah I do have Mullvad as well but it doesn't seem to be that. I tried split tunneling KDE connect and also just turning the VPN off altogether and it made no difference.
My current guess is either some hidden security thing in GrapheneOS that I haven't discovered yet, or maybe some router setting that's filtering it out? The investigation is ongoing!
I had to specifically run
mullvad lan set allow
in the terminal on pc and turn on "local network sharing" on the phone app specifically. If you're not on linux idk, but if you are and haven't tried that it could help. Though if it doesn't work with the mullvad disabled (and "always require vpn" off on both devices) then it probably isn't that. If it's a graphene setting it isn't one enabled by default, because I got a pixel 6 last week and it works fine through mullvad to use kde connect with my settings set to allow lan.K I kind of solved it! Turns out there wasn't a setting within the Mullvad app for "always require VPN", but there was one in the Android system settings under VPN. If I turn that off and then split tunnel KDE connect only on the phone (not on my laptop for some unknown reason) then they can see each other.
One to file under "I don't know why that works but I'll take it" lol.
Lol ayy alright! Glad you got it sorted!