this post was submitted on 10 Aug 2023
1183 points (97.1% liked)
linuxmemes
21465 readers
1795 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now. ย
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The first time it paused my YouTube video inside Firefox when a call came in on my phone, it blew my mind. And then when the call ended, it just casually resumed the video. I love it. That, the clipboard syncing and easy sharing of files between devices make it absolutely awesome to have.
Especially the file sharing for me. I was previously using USB cable, but during large transfers it tends to just randomly disconnect (thanks MTP). Over WiFi I get faster transfer speeds and it doesn't keep disconnecting.
Although yes, theoretically I could move .tar archive or individual files over WiFi using netcat and Termux, but that's not the most elegant solution. ~~Also for some reason netcat is somewhat broken on Manjaro.~~ ~~Ok, the issue isn't with nc.~~ Ok (2) it is netcat. I just added a 2nd layer of issues that made me think it's not.
Edit 3: Ok. MAYBE netcat. I can see incoming connection in Wireshark and it sends back TCP RST. Edit 4: Tried with UDP, I can see the received text in Wireshark, netcat drank methanol.
I've always used
python3 -m http.server
to get files from PC->phone.For phone -> PC I use a library called
droopy.py
I use simplex on my phone and simplex CLI on my computer. I just message back and forth. It's already giving me any notifications from my servers, so it's already there anyway.
Hey thanks for this suggestion, you motivated me to look into simplex a bit more than just lazily downloading it on my phone
Nice. It's pretty great. I particularly like the multiple identities. I have one on my phone that only connects to all of my devices, and I can send notifications/code snippets/whatever I need between them. With the CLI app, you can even set it up to pipe messages directly to your notifications daemon, or automatically accept files.
That's a great usage, I'll definitely try that! Plus it's seems actually usable by average Joes for quickly starting a private chat. Hopefully they'll start packaging the CLI version for linux distros (idk why but I prefer downloading a package to using an install script), also I saw that simplex will release a desktop version of the app
I think you can already get the desktop GUI version. If I remember correctly, the installer script just downloads the appropriate binary to an appropriate path. The only irritation is that they don't have arm binaries, and it's rather difficult to compile. I've not managed to do it. Hopefully they'll just release arm binaries soon.
Oh you're right, I looked again and found the releases page on github, they have windows, macos (also aarch64), ubuntu, and Appimage for everybody else (x86 tho yeah)
I'm not really familiar with KDE connect (and new to Linux in general, but can't see myself ever going back to Windows), could you elaborate on the first part? How does KDE Connect help you watch firefox videos on your phone? Thanks!
Somehow, KDE Connect treats a media stream happening on a connected device the same as if it's playing on your local device. If you're playing a video on your laptop in Firefox it will add one of those "music player" things in your phone's notification shade, allowing you to control the video from your phone.
Android automagically pauses everything it deems to be "media playback" until the end of your call, thus also pausing that Firefox video on your laptop.
Oh nice, that sounds cool. Not an implementation of that type of software that I would ever have thought of.
Pretty much like "continuity" between iPhones and Mac, neat.
Wow it can do that. I did not know. That is such a handy feature.
Yeah, kde connect can control media players on your desktop and automatically pause them when a call comes in. To make it work with Firefox I do now realise it might be limited to kde desktops only though. But if you have that, all you need is to install the plasma integration extension for Firefox (which does a couple of cool things) and then kde connect can see Firefox's media as well.