Linux - Reddit – Telegram
Linux - Reddit
761 subscribers
4.18K photos
207 videos
39.8K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
Suggest me a package manager

In my work i need to have multiple versions of packages and i want an easy way to have project specific shells that take care of linking the correct stuff i need, I know that nix and guix can do this but i am looking for a way to get this functionality with any distro's built in package manager, My dream is basically big package repository with a package manager that is able to install and manage multiple versions of the same package + nix like shell functionality to ease switching between projects.

Note: i don't like using containers for this as i find them pretty wasteful (disk wise) and unfit for that usecase

Note2: I know that nix is pretty much what i described and i have been using nixos for quite a while, i switched to regular linux and i don't like having multiple package managers hence the question hoping that their might be something similar out there that i can't find.

https://redd.it/mowa6k
@r_linux
Any headsets where are can hear my own mic?

Been using razer headset for a while and like being able to hear my own mic as i'm not fan complete silence but I hate having to install third-party software.

does any one know a headset that's just plug and play?

https://redd.it/moy5fl
@r_linux
Linux command deep dive

I kind of want to understand Kernel and how user interacts with it in detail. Recently had an interview where I was asked what happens from the moment you type “vmstat” to the moment you get all the stats back. (I am a web dev and I just use Linux on day to day basis, was asked this because they wanted to test how much of system admin am I 😅)
Now I know what vmstat does, and I have always treated Linux as an OS, not really caring what goes on in background. But this piqued my interest. How would I go about learning this ? Couldn’t find any good resource that can explain the whole workflow! Any ideas ??

https://redd.it/moyxux
@r_linux
Xanmod vs Liquorix

I always use Liquorix. But now I'm kinda thinking if xanmod or liquorix is better. Some benchmarks say it Liquorix some say thats Xanmod. I would want to know which one is the fastest/most secure.

​

I'm kinda new to Linux. But I'm creaving for knowledge. Thanks everyone for reading/answering.

https://redd.it/mozk9g
@r_linux
starting a native adaptive Linux client for Signal

Please do not respond with criticisms of Signal. I am trying to get something done here, not start a debate.

I just ordered a PinePhone and the biggest obstacle for me to use it as my daily driver to replace Android will be having a Signal client. I've been following the issue of getting Signal working on Linux smartphones for a while and I've come to the conclusion that it is probably best if we start a new client application. The Signal developers are uninterested in making their clients work for our use case. The Signal "Desktop" (Electron) client does not and will not support registering an account, is not designed for small screens, and does not build on ARM. The latter two issues may be fixed upstream (eventually), but they've specifically said they do not want to make the Electron client have feature parity with the Android and iOS clients. I doubt using the Android client in Anbox would be a good long term solution for battery or RAM usage.

So I think we need a native Linux client. I do not think Axolotl is a viable long term solution because it uses its own implementation of the Signal network protocol (written in Go). Reimplementing the cryptography and network protocol is a ton of work and will continue to be a ton of work as upstream adds more features. Axolotl has only just started reimplementing the new Signal groups protocol which was introduced 5 months ago. Also, the security of a reimplementation is dubious. Whisperfish is a nonstarter because it uses the proprietary QML libraries from Jolla. It is also using the unmaintained libsignal-protocol-c library, but the developers plan to switch to the new upstream Rust libraries.

Fortunately, the Signal developers are now using a new Rust library with bindings to C, Java, Swift, and TypeScript for their own clients. Currently this is undocumented and does not yet implement all the logic necessary to write a complete client. However, upstream has advised that using this new library would be the best option for starting a new client.

There are several paths forward:

1. A new application with the GTK Rust bindings. This would have the advantage of not needing any intermediate layers between the upstream libraries and the client application.
2. A new application with Qt and Kirigami. I discussed this idea with the Plasma Mobile developers and they suggested it could work by making a QObject wrapper class around the Rust libraries using cxx, run that in its own thread to handle the networking, and use Qt signals & slots to communicate with QAbstractItemModels backing the QML.
3. Integrate the Rust Signal libraries with an existing chat application instead of writing a whole new GUI. Integrating into Chatty would have the advantage of also handling SMS & MMS like the Signal Android client, but I'm unclear how audio and video calls could be integrated into Chatty. Maybe that could be separately integrated into Calls. Integrating Signal into Fractal or NeoChat could be other approaches, but would make those applications much more complex and I'm not sure their developers would welcome that.

I am leaning towards using QML and cxx because I'll be able to reuse those skills for my main project. That's an old QWidgets application that we're planning on rewriting with QML and have discussed integrating Rust libraries. The thought of using C to add Signal support to Chatty is unappealing to me. I have no
experience developing with GTK, so that would add a lot of work to this project for me. Ultimately, which technical path to choose will be up to whoever does the work.

For push notifications, I think we should implement a native Linux daemon for Firebase Cloud Messaging without Android. This would require no extra effort for the Signal Foundation. It could also be used for reimplementations of other Android chat applications such as WhatsApp, Facebook Messenger, Slack, Zulip, and more. microG has already reimplemented the Android API in Kotlin so studying that code could be helpful.

If someone wants to make this client work on Windows and macOS, notifications could be done with WebSocket. But I'm far more interested in getting it working on Linux smartphones.

I don't really have the capacity to lead this long term, so right now I am trying to organize people who are interested in doing the work. Hopefully once there is a minimal proof-of-concept that can register an account and send & receive text messages, more developers will join.

I've also started a discussions on the Pine64 and Signal forums about this.

https://redd.it/mp2j0j
@r_linux
Can I flash iso without downloading file?

Is there a way to make a bootable usb piping axel downloader to dd command as in (flash iso directly from link) I have little space , is there a way? I don't care if it takes time but if there's a way , maybe download and compress at same time?

TL:DR : Can I Flash iso without downloading?

https://redd.it/mp3s03
@r_linux
Does that linux kernel internally use multiple threads ?

In kernelspace, does does linux kernel execute instructions in a sequential way, or there are cases in which the kernel itself will be processing multiple instructions internally ? Does the kernel internally spawn multiple threads for some tasks ?

https://redd.it/mp7cgi
@r_linux
Is it worth going through version 2.6 of the kernel?

I recently got the book Understanding the Linux Kernel 3rd edition. I noticed that the book goes through Linux 2.6, so I’m wondering before diving into 800 pages if it’s worth going through this version or if I should get more up to date material.

If you think I should go over more recent material, any recommendations?

https://redd.it/mp25zb
@r_linux
I'm teaching Linux Command line fundamentals for free

I teach about command line and linux in general on discord anyone interested can pm me to get the discord link. Apart from this on the discord I post resources, and you can ask anything related and meet people also interested in computer science in general. I am looking for mentors and teachers as well so anyone willing to teach can also join!

https://redd.it/mp9vzz
@r_linux
What is the best kid friendly distro for kid ?

I don't have anything for my sister birth day. So i decide to pack a present with my old laptop that are still function with xubuntu pre install But my sister is 10 year old she don't know anything about linux.

Should i just leave the laptop with xubuntu pre install or there other better option ?

https://redd.it/mpavdw
@r_linux
Hello Everyone, i am trying to put together a noscript that checks for the running processes at regular intervals and issue a warning mail if something is not running.

I have tried using ps -ef > log.txt in a noscript scheduled from ceontab to run every 1hr. log.txt has the necessary write and read permissions. when i run the noscript from terminal, it runs fine and writes to the log.txt
When the noscript runs from chrontab, its no longer writing to the file. Please help.

https://redd.it/mpbq9b
@r_linux
What is a problem/minor pet peeve you have with Linux that you wish would get fixed?

Just a disclaimer: when I say “Linux” I mean everything from a problem you have with the kernel to a typo in a man page or even an OS specific problem.

What is something that bothers you that you wish could be fixed?

https://redd.it/mpe35n
@r_linux