Linux

4996 readers
95 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS
1
2
3
4
 
 
5
 
 

cross-posted from: https://ani.social/post/6217644

6
 
 

This is a really great article about how to use BTRFS snapshots with examples.

7
 
 

cross-posted from: https://lemmy.ndlug.org/post/1167059

COSMIC’s Alpha 2 release builds upon that work with functionality built out for Files, additional Settings pages, considerable infrastructure work for screen reader support+, and some highly requested window management features. System76 is ecstatic at the level of excitement and collaboration so far with alpha testers and early app & applet developers, and we look forward to seeing what comes from these new additions.

...

The second COSMIC alpha will be released on September 26th. Those participating in Alpha 1 on Pop!_OS can simply update through the COSMIC App Store to transition. This alpha will be followed by monthly alpha releases until all core features have been built out.

More coverage:

8
9
10
11
 
 

Install instructions for OpenSuse Tumbleweed/ MicroOs using Full Disk Encryption secured by a TPM2 chip and measured boot or a FIDO2 key.

Nice to see OpenSuse pushing forward on securing the Linux Desktop with FDE and measured boot. Hope to see other distros following.

12
 
 

One day, Wayland will truly take over the Linux world, but it's not quite there yet with plenty still using X11 due to various problems some of which the new Frog Protocols aim to solve.

Announced by misyl, who does various work for Valve (like Gamescope), it certainly sounds like a good idea to give Wayland Protocols a swift kick to get into gear to improve things for users. Writing on their social media post :

Wayland Protocols has long had a problem with new protocols sitting for months, to years at a time for even basic functionality.

This is hugely problematic when some protocols implement very primitive and basic functionality such as frog-fifo-v1, which is needed for VSync to not cause GPU starvation under Wayland and also fix the dreaded application freezing when windows are occluded with FIFO/VSync enabled.

We need to get protocols into end-users hands quicker! The main reason many users are still using X11 is because of missing functionality that we can be shipping today, but is blocked for one reason or another.

13
 
 

I have this collection of mp3s from the 90s-2000s from before the streaming services era. Back when people used Winamp or XMMS to listen to their music. I backed up my music files in two places and they're both organized differently.

I need a tool to go through the whole thousands of files, find out what each track is (artist, album, track title, track number all that meta data), rename the file accordingly and apply all the metadata, then move the file in a certain directory structure.

Are there any music organizers out there that can do this? Or do I have to implement my own script?

14
15
 
 
16
 
 

An already working reimplementation of libfprint in Rust, supposedly easier to use.

17
18
 
 

What hacks they needed, where they get MacOS binaries, how the boot works etc.

Very interesting talk.

Btw they have a regular Function touchbar ;)

19
20
21
 
 

It's the simple things really. I've swapped back to Linux as my primary about a year ago, and still I have issues I don't have with Windows.

6 months now, particularly on Linux Mint (Bazzite to its credit hasn't had this issue much) I just can't fit connect to the internet. Linux is the only thing with this issue. By some arcane lucky magic, it somehow fixes itself when I'm fiddling around trying to fix it myself.

Only for the problem to come back next time I boot up my PC on Mint.

I have it connected to a TP link switch, just like other devices. None have the issue, not even a console (Nintendo Switch). Months, fucking months of going through forum posts, articles, social media, and trying out dozens upon dozens of "solutions", both in gui and the terminal - and the problem persists.

Now, I don't think I'm tech savvy exactly, but I'm not tech illiterate either. I understand some simple lines of code, some very basics of networking, etc. I'm patient enough to deal with issues like these for over half a year.

But how the hell is Linux even going to dream of being anywhere near mainstream when one of the most recommended "beginner" distros can't even run a year long without something as simple as the damned internet working???

And it's not just the internet. It's little things that just pop up one day and now you have to solve a puzzle to figure it out. Oh, suddenly you have to print something? Oh, you decided to get a light up keyboard that was on sale? Try to use Steam Link? Get ready to roll the dice on whether it'll take you a weekend to do / use it.

Microsoft is shit. Windows, is shit. Windows 11 is a privacy goddamn nightmare.

But in the end of the day, it just fucking works, those damn bastards ensure that. And even when something doesn't work, it seems, for some unknown reason, most of the online solutions do fix the issue.

Now imagine someone who's less likely to open up a terminal using Linux. They won't. They'll sacrifice their privacy because they might have full time jobs in something not remotely tech related and just wanted to watch some YouTube and don't want to spend the little free time they have fixing their own computer.

What's hilarious is just as I'm finishing this rant, the internet on Mint just magically decided to work again with no issues.

Maybe next time then I'll try yelling at the Linux fairies in my PC to see if they'll do their magic. At this point it's about a valid solution as any other.

22
 
 

So why did I even want to do this? Because the front panel of my PC has a 3 1/2" drive hole and I wanted to populate it.

Fine, real reason is because I have a few legacy machine lying around and having a floppy drive accessible is nice to have.

How does it work? Well I have a Floppy to USB adapter inside my rig, and since my motherboard has an unused set of USB 2 headers, I just plugged it into that.

Otherwise, it was just plug and play... almost.

Why the drive works as Plug and Play, linux mint pokes the USB to see if it's still there, so I have a small script at boot that disables it for that internal header.

I am just socked that it works, and while it sucks that I need to be root to read the disks, I am just happy that the whole setup works at all.

23
45
DirectX Adopting SPIR-V (devblogs.microsoft.com)
submitted 1 week ago* (last edited 1 week ago) by arendjr@programming.dev to c/linux@programming.dev
 
 

SPIR-V is the intermediate shader target used by Vulkan as well, so it sounds like this may indirectly make DirectX on Linux smoother.

24
 
 

After 20 years, Real-Time Linux (PREEMPT_RT) is finally -- finally -- in the mainline kernel. Linus Torvalds blessed the code while he was at Open Source Summit Europe. [...] The real-time Linux code is now baked into all Linux distros as of the forthcoming Linux 6.12 kernel. This means Linux will soon start appearing in more mission-critical devices and industrial hardware. But it took its sweet time getting here. An RTOS is a specialized operating system designed to handle time-critical tasks with precision and reliability. Unlike general-purpose operating systems like Windows or macOS, an RTOS is built to respond to events and process data within strict time constraints, often measured in milliseconds or microseconds. As Steven Rostedt, a prominent real-time Linux developer and Google engineer, put it, "Real-time is the fastest worst-case scenario." He means that the essential characteristic of an RTOS is its deterministic behavior. An RTOS guarantees that critical tasks will be completed within specified deadlines. [...]

So, why is Real-Time Linux only now completely blessed in the kernel? "We actually would not push something up unless we thought it was ready," Rostedt explained. "Almost everything was usually rewritten at least three times before it went into mainline because we had such a high bar for what would go in." In addition, the path to the mainline wasn't just about technical challenges. Politics and perception also played a role. "In the beginning, we couldn't even mention real-time," Rostedt recalled. "Everyone said, 'Oh, we don't care about real-time.'" Another problem was money. For many years funding for real-time Linux was erratic. In 2015, the Linux Foundation established the Real-Time Linux (RTL) collaborative project to coordinate efforts around mainlining PREEMPT_RT.

The final hurdle for full integration was reworking the kernel's print_k function, a critical debugging tool dating back to 1991. Torvalds was particularly protective of print_k --He wrote the original code and still uses it for debugging. However, print_k also puts a hard delay in a Linux program whenever it's called. That kind of slowdown is unacceptable in real-time systems. Rostedt explained: "Print_k has a thousand hacks to handle a thousand different situations. Whenever we modified print_k to do something, it would break one of these cases. The thing about print_k that's great about debugging is you can know exactly where you were when a process crashed. When I would be hammering the system really, really hard, and the latency was mostly around maybe 30 microseconds, and then suddenly it would jump to five milliseconds." That delay was the print_k message. After much work, many heated discussions, and several rejected proposals, a compromise was reached earlier this year. Torvalds is happy, the real-time Linux developers are happy, print_K users are happy, and, at long last, real-time Linux is real.

25
view more: next ›