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

Powered by : @r_channels
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
Yall wanna see so many people that hate Linux for some reason but don't even know what they're talking about?
https://redd.it/1m9i46t
@r_linux
SPDIF TosLink Troubles (GNU-Linux)

If anyone has had issues with PCM 48 over TosLink—Zorin OS for some reasons cooks Fedora based distros and NixOS in the task.

I don't really know why and I've already spent way too much time trying to solve it on NixOS.

But basically, distros other than Zorin were just crackling on playback no matter what I'd do. So in the off chance you have this issue too, give Zorin OS a go before you give up 💙

And if you know the reason why, feel free to leave a comment about it! There aren't many conversations about TosLink around.

https://redd.it/1m9irc6
@r_linux
The Linux Concept Journey — kexec (Kernel Execute)

“kexec” (Kernel Execute) is a set of Linux system calls (https://medium.com/@boutnaru/the-linux-concept-journey-syscalls-system-calls-efcd7703e072) which provides the ability to load and boot\\reboot into a new kernel from the currently running kernel. It can help in cases in which we want to reboot very fast without waiting for an entire boot process (https://wiki.archlinux.org/noscript/Kexec). Moreover, we can use the “/sbin/kexec” binary for that using the following syntax: “kexec -l kernel-image — append=command-line-options — initrd=initrd-image” (https://linux.die.net/man/8/kexec).

Overall, the difference between a normal “system boot” and a “kexec boot” is that the hardware initialization performed by the firmware (like BIOS\\UEFI) is not done in case of a “kexec boot” (https://linux.die.net/man/8/kexec). Thus, “kexec boot” loads a new kernel and jumps to it while bypassing the firmware and the bootloader like GRUB (https://medium.com/@boutnaru/the-linux-concept-journey-gnu-grub-gnu-grand-unified-bootloader-0a1e64067315). Examples of use-case are: first step in generating a crash dump and during kernel development when frequently building and rebooting the kernel (https://blogs.oracle.com/linux/post/reboot-faster-with-kexec).

Lastly, a new kernel image can be loaded from a memory segment using the “kexec_load” syscall (https://elixir.bootlin.com/linux/v6.15.5/source/kernel/kexec.c#L242) or from a file using the “kexec_file_load” syscall (https://elixir.bootlin.com/linux/v6.15.5/source/kernel/kexec\_file.c#L332). Also, for enabling the “kexec” system call we should enable “CONFIG_KEXEC” (https://elixir.bootlin.com/linux/v6.15.5/source/kernel/Kconfig.kexec#L20). By the way, “kdump” (Kernel Dump) is based on kexec for quickly booting to a dump-capture kernel in case a dump of the system kernel’s memory needs to be taken. An example is when the system panics (https://docs.kernel.org/admin-guide/kdump/kdump.html) — as shown in the diagram below (https://cloud.tencent.com/developer/article/2431825).

https:\/\/cloud.tencent.com\/developer\/article\/2431825



https://redd.it/1m9ocdh
@r_linux
Which is the single most time saving hack you used in Linux?

Which commands, tool or hack or anything has saved a lot of time for you on repeated tasks that you do daily? What thing in your experiences saved you much time and effort that you thought you should have learned earlier?
I just used alias "c" for clear and it saves a lot of time and effort.

https://redd.it/1m9ra4r
@r_linux
Suggestions for M.2 WiFi / Bluetooth card that have good compatibility with Linux?

Hey all - noscript says it all. Looking for suggestions for M.2 WiFi / Bluetooth cards that have good compatibility with Linux?


I've got 2 little HP Elitedesk 701 AMD A10-powered mini PCs with Intel 7200-something series WiFi cards that do not play nice with Linux at all, so was just looking for something that would work and is plug and play.

Thanks!

https://redd.it/1m9sjae
@r_linux
My local Lowe's has its check-out computers running Linux.
https://redd.it/1m9v28p
@r_linux
parallel-disk-usage (pdu) is a CLI tool that renders disk usage of a directory tree in an ASCII graph. Version 0.20.0 now has the ability to detect and remove hardlink sizes from totals.
https://redd.it/1m9v27o
@r_linux
Oh blessed day, my dad was down with a dual boot to try and daily drive Linux Mint! His first Linux distro!

Hello everyone, my dad who got me into computers back in 2006 or so has gotten out of them and just stuck to windows, but today after he's gotten a new desktop a while back he's down with trying to daily drive linux mint!

He uses SDRs and other radios and softwares but they're usually old so I feel we should be able to use them on wine, if not that's the reason for the dual boot, he doesn't use it daily or even weekly.

He spends a lot of time trying to make windows faster, more secure, etc. but he really can't so I think he'll love playing with this, not having to play with it, or maybe even learning about real security (I'm in Purple Team security so I can help guide him and teach him) like firewalls and static code scanners and stuff instead of Geek Squad and random youtube tutorials lol

Just was excited and wanted to share!

Cheers!

https://redd.it/1ma7ogk
@r_linux
finally got linux installed on this computer...yay
https://redd.it/1maat5c
@r_linux
Why I do not like to see AI tools are implemented to distros!
https://redd.it/1mahi8o
@r_linux
I am currently creating my own WindowManager/WaylandCompositor
https://youtu.be/BTypxgK0i-M?si=drC-wQ2saYEEBEB-

https://redd.it/1mahiw6
@r_linux
When has windows gotten so bad?? (rant)

I've been using Arch for the past 1 and a half years and I needed to use davinci resolve to edit a video. Kdenlive or other alternatives were not an option because i needed to share my project with other people. This is where the problem began.


I decided to dual boot windows and linux. And if im gonna switch things up, might as well try another distro bc although i had no problems with arch i knew it would blow up some day and I didnt feel like dealing with that.


1. Windows 11 live usb would not detect my hardware. It gives me the dumb "install drivers to show hardware" page and there is literally no workarounds. I research a bit, people tell me to use windows 10 and upgrade to 11. I boot into windows 10 iso, same problem. There are no disks to install windows onto. What do you mean i have 2 whole ssds for you to choose from. Oh you need to use rufus to install the iso? Alright I borrowed a laptop and installed the iso through rufus. The exact freaking same problem. Windows cant find my ssds. I need to make sure my SATA mode is set to ahci? My bios doesnt even have that option. 6 hours later i learned that i need to turn off intel vmd in the bios.



2. i get in and wifi isnt working. there isnt even a wifi option. So i search my laptop model number and install the intel wifi driver from there. We have wifi now.



3. A whole bunch of updates. And then most of them fail with an error code. Why does nothing ever work smoothly in this operating system? One of the updates get stuck at 46 percent for an hour. And then on the bottom right corner theres a popup saying "reboot now!" so im like uh, alright. I reboot. Bam bluescreen. I almost lost my mind there. Rollback the update. Windows failed to do so. Troubleshoot. Windows couldnt find any problems. It tells me to reset my pc. But there is no reset my pc button. like what the actual heck am i supposed to do? I troubleshoot for a couple more hours and I decide to just reinstall windows.



4. I get through the process. install windows, install wifi drivers, audio, graphic, everything manually, pause on the windows updates for a bit. I decide to update my bios first. I run the exe file, it does stuff, says compeleted, and shuts off. The laptop turns back on, and bluescreen again. I wanted to punch that frowny face so freaking bad like why is this os so bad?? Turns out intel vmd was switched on again after the bios update. I turn it off, update windows 30 times, and finally i have a working system.


Meanwhile I installed fedora i3 spin. I boot into live usb, it finds my disks. And what do you know? my wifi and display works perfectly fine already. I install the system into my other ssd, reboot, and I am in. I run sudo dnf update, it installs a bunch of packages, took about 40 seconds, and i was done. I have a working operating system. Why can't windows "just work" like linux? It is just beyond me how crappy it has become over the years. I am for sure never going back to windows, esepcially after this experience.

https://redd.it/1mak1in
@r_linux