Linux

5083 readers
155 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
176
 
 

The big names mostly can't yet, but some lesser-known Linux distributions offer the ability to undo updates and recover from damage, even automatically.

With a new version of Linux Mint available, a lot of people – especially less-technical types – are about to upgrade their PCs. As with almost all major upgrades, inevitably some some stuff won't work with the new version. Going back is difficult, although Mint does have a solution, and so do some smaller distros.

Linux Mint includes the Timeshift utility, originally developed by Teejeetech, but that doesn't make it invulnerable. No operating system is, as amply demonstrated recently by CrowdStrike. If installed on a file system that supports copy-on-write (COW) snapshots, Timeshift can use that, but if you chose some other disk format, it can also back up your system files using rsync to another drive.

For now, most Linux file systems can't handle snapshotting, including the default ext4 or its predecessors, or XFS, or the now-vanishing ReiserFS. Several existing file systems that work on Linux do include snapshot support, including bcachefs, ZFS, and Btrfs. However, there are solid reasons why most distros don't include the functionality.

For instance, while OpenZFS does support snapshots, and several distributions include ZFS, including TrueNAS Scale, Ubuntu, Proxmox, Void Linux, and NixOS, the ZFS code can't be compiled into the Linux kernel due to an incompatible software license. Thus, from appropriate levels of caution, OpenZFS isn't part of either SUSE's or Red Hat's enterprise offerings. Their compliance with multiple legal requirements and certifications is a big part of their corporate appeal. (For the curious, both companies maintain lists of their certifications. Red Hat has a 16-section list and SUSE a respectable dozen sections. Some companies will pay good money for this stuff.)

Red Hat removed Btrfs from RHEL six years ago, and is working on its own, all-GPL combined volume management system and file system called Stratis. Since Btrfs was invented there, Oracle had a simpler route available for its RHEL-compatible distro: Oracle Linux offers a kernel with Btrfs.

Bcachefs, meanwhile, is relatively new and immature. It only appeared at the beginning of this year in kernel 6.7, meaning that it's only been in three releases of the kernel so far. It's a little bit too new for anyone else to support it just yet.

So, for now, Btrfs is the most mature file system in the Linux kernel that can do snapshots. This is why SUSE's Snapper uses Btrfs by default, although it also supports LVM, and can be configured to use that instead.


Btrfs + Timeshift saved my broken Linux Mint

177
178
179
 
 

Recently I had a hiccup with my main SSD drive. I have a dual boot Win/Kubuntu setup. Linux was crashing hard and Windows was giving me blue screens. After I resolved the issue (cooling/loose connection, idk) my Linux was doing fine, but Windows was giving me blue screens. I think it was doing an update when it crashed.

After a couple of hours messing with my recovery USB and booting in safe mode, I was able to fix the bad update and reboot normally.

I tried to open Firefox and it couldn't find the executable. Looking into the Program Files Mozilla folder, I found the .exe files had been renamed to .exe.sig??????

Then looking for the Edge browser, I suddenly found out that Microsoft Copilot AI had been installed!?!?!?!?!?!?

What the actual fuck???

I never wanted that trash on my PC! That's one of the reasons out of the many that I didn't want to use Windows 11.

And it's a weird fucking coincidence that Firefox was fucked. I couldn't even rename the files to .exe because they wouldn't execute. Looks like they were encrypted or some shit? What the fuck is Microsoft pulling?

It's a happy coincidence because you know what? I've been thinking about going full Linux install since all my games and Windows applications work with Steam, Proton and Bottles now.

I really don't see any fucking reason to keep using Windows. Fuck this shit and fuck Microsoft.

Edit: Oh and that's on top of all the other bullshit like forcing users to create a MS account to install Windows 10 now and having to jump through hoops to have an offline installation. And also defaulting to having all your user folder documents into their fucking One Drive cloud.

I'm done.

180
50
submitted 2 months ago* (last edited 2 months ago) by the16bitgamer@lemmy.world to c/linux@programming.dev
 
 

I just got an email about this today. Here is more context:

To our valued Linux users:

After a great deal of internal discussion, we have made the difficult decision to sunset Linux support following the upcoming release of LightBurn 1.7.00.

Many of us at LightBurn are Linux users ourselves, and this decision was made reluctantly, after careful investigation of all possible avenues for continuing Linux support.

The unfortunate reality is that Linux users make up only 1% of our overall user base, but providing and supporting Linux-compatible builds takes up as much or more time as does providing them for Windows and Mac OS.

The segmentation of Linux distributions complicates these burdens further — we've had to provide three separate packages for the versions of Linux we officially support, and still encounter frequent compatibility issues on those distributions (or closely related distributions), to say nothing of the many distributions we have been asked to support.

Finally, we will soon begin building LightBurn on a new framework that will require our development team to write custom libraries for each platform we support. This will be a significant undertaking and, regrettably, it is simply not tenable to invest our team's time into an effort that will impact such a small portion of our user base. Such challenges will only continue to arise as we work to expand LightBurn's capabilities going forward.

We understand that our Linux users will be disappointed by this decision. We appreciate all of our users, and assure you that your existing license will still work with any version of LightBurn for which your license term is valid, up until LightBurn version 1.7.00, forever. Prior releases will always be made available for download. Finally, your license will continue to be valid for future Windows and Mac OS releases covered by your license term.

If you are a Linux-only user who has recently purchased a license or renewal that is valid for a release of LightBurn after v1.7.00, please contact us for a refund.

Rest assured that we will be using the time gained by sunsetting Linux support to redouble our efforts at making better software for laser cutters, and beyond. We hope you will continue to utilize LightBurn on a supported operating system going forward, and we thank you for being a part of the LightBurn community.

Sincerely,

The LightBurn Software Team

181
182
 
 

cross-posted from: https://lemmy.ml/post/18608925

It's not my work in KDE, it's a blog I posted

183
 
 

Hyprland is a relatively new name among tiling compositor offerings, but thanks to its impressive features, it is quickly becoming a popular choice among Linux users. If you’re not familiar with it, here’s a brief introduction.

It is a highly customizable, dynamic, lightning-fast tiling Wayland compositor designed to provide a powerful and flexible environment for managing windows and workspaces.

It is also built with performance in mind, resulting in smooth operations, very good performance, and, last but not least, visual appeal to users.

All of these qualities, combined with its avalanche of popularity, have resulted in a well-received message on the Debian developer list, announcing that precompiled Hyprland packages are now added and available to the distribution’s unstable repositories.

Furthermore, the acceptance of Hyprland in Debian can be compared to a wide-open door to a large part of the Linux ecosystem. Being one of the foundations on which today’s Linux world is built, Debian has always been a crucial factor in promoting free software.

Adopting a given one in its repositories means it will become available to millions of users, considering the huge amount of Debian derivatives that use it as their base. It is enough to mention Ubuntu, for example.

184
 
 

They did some crazy stuff, also implementing core technologies from the ground up.

full changelog

  • ABRoot v2: Complete rewrite using OCI images for reliable updates, improved support for atomic transactions, system state dumping, changing kernel flags, a built-in method to edit the configuration, ability to generate local images with extra packages (for drivers, codecs, and libraries), ability to rollback, and re-generate the initramfs.
  • Hybrid Debian Base: Transition from Ubuntu to a hybrid base made of Debian packages and Vib modules for increased flexibility and control over updates and configuration.
  • LVM Thin Provisioning: Efficient disk space usage with logical volumes, allowing virtual filesystems larger than the available physical storage and supporting the dynamic allocation of space as needed for the two roots.
  • PolKit Policies: Replaces sudo for secure privileged operations.
  • VSO v2: Acts as system shell, package manager, and supports Android apps via Waydroid integrated with F-Droid. Improved the tasks automation system to cover infinite scenarios.
  • DEB/APK Sideloading: Install .deb and .apk packages with Sideload Utility.
  • Apx v2: Custom environments, supports various package managers, and introduces stacks for replicating environment configurations. Includes package manager mapping, stack creation, and subsystem management. Distrobox updated to version 1.7.2.1.
  • Apx GUI: Graphical interface for APX management with ease.
  • FsGuard and FsWarn: Boot-time system integrity checks to ensure system security and reliability.
  • Vanilla Installer: Uses a reduced GNOME session, a new Albius backend that replaces distinst, new configuration screens, OEM support, and support for encrypting the /var partition with LUKS2. Supports manual partitioning and network configuration during installation.
  • First Setup: Uses a reduced GNOME session, added network configuration, user creation, hostname configuration, allows picking your browser of choice, and improved screens.
  • PRIME Profiles: A new GUI for switching graphics cards, enhancing hardware compatibility.
  • Vanilla Tools: Utilities for managing system features: cur-gpu to display the GPU in use, nrun to run a command using the NVIDIA GPU, prime-switch to switch PRIME Profiles.
  • Kernel 6.9.8: Ensures compatibility with the latest devices and peripherals.
  • GNOME 46: Updated GNOME to version 46, introducing the new pill icon to switch between workspaces plus all the UI and stability improvements.
  • Vib (Vanilla Image Builder): Our new OCI recipe system. Recommended method for creating custom and derivative OCI images of Vanilla OS, facilitating modular and scalable system builds. We have created a template for users to easily create custom images for Vanilla OS.
  • Recovery Mode: Integrated in the installer with recovery tools like terminal, GParted, and documentation access for system restoration.
  • Prometheus: Container library/engine for OCI image management, enhancing deployment processes in Albius and ABRoot.
  • Eratosthenes: Platform for browsing package details from our Debian repositories, providing detailed package information.
  • Atlas: Platform for browsing our OCI image details, aiding in system transparency.
  • Pico, Core, Desktop Images: Structured for modularity and flexibility, forming the base of Vanilla OS.
  • VM and NVIDIA Images: Proposed at installation time if the right hardware is identified.
  • Dev Image: Can be used in APX, and provides a large set of development libraries/SDKs and tools.
  • Chronos: Unified documentation server and frontend combining all guides and documentation for easier access and management.
  • Update Feedback and Control: A new icon now appears on the top right of the screen when an update is being installed, click on it to stop the ongoing operation.
  • New Wallpaper: Designed by community member hrstwn.
  • Build Provenance: We are attesting our OCI images using GitHub Actions to ensure build provenance.
  • New Branding: Introduced a new refreshed brand. Plymouth updated using our new brand.
  • Deprecation of Vanilla Control Center: We have deprecated Vanilla Control Center and implemented all our settings in GNOME Settings.
  • Updated AdwDialog Utility: With many UI and UX improvements.
  • New App Tour: Introduced a new Tour app that shows after the first setup process.
  • New Differ Utility: Used to extract info between OCI images.

185
186
49
Wine 9.14 released (gitlab.winehq.org)
submitted 2 months ago by neme@lemm.ee to c/linux@programming.dev
187
 
 

cross-posted from: https://lemmy.world/post/18058244

Wrote up a new guide! Hope you folks find it helpful :)

188
 
 

He has an ASUS laptops, one of the only ones you can get, got Arch on there.

The devices are not even shipped for the most part, people are booting Windows, using the ACPI dump to build the device trees.

Then those need to be upstreamed into the kernel, drivers need to be written.

Its not Asahi Linux, but still hard.

But there is progress, quite fast!

189
190
 
 

tl;dr EEVDF CPU scheduler that has replaced Linux's previous default scheduler (CFS), is close to completion. CPU schedulers can have a significant effect on performance and latency of various tasks.

It will be interesting to see how it compares to BORE which is what I use on my desktop systems. There's also the many workload specific schedulers that sched_ext allows for, but it's still not in mainline I believe.

191
22
Golang on debian (h0bbl3s.port0.org)
submitted 2 months ago by Blaze@sopuli.xyz to c/linux@programming.dev
 
 

cross-posted from: https://lemmy.world/post/17993021

I’m a big fan of debian. I’m also a big fan of golang. One of the sacrifices debian makes to be so stable is lagging behind a bit on software versions. Debian users generally understand this, and also understand that it’s a good idea not to mess with the system versions of software. Here I will demonstrate how I configure my system to use whichever version of go I wish without harming the overall system configuration.

192
193
 
 

cross-posted from: https://lemmy.world/post/18008132

The Linux Mint team has just released Linux Mint 22, a new major version of the free Linux distribution. With Windows 10's end of support coming up quickly next year, at least some users may consider making the switch to Linux.

While there are other options, paying Microsoft for extended support or upgrading to Windows 11, these options are not available for all users or desirable.

Linux Mint 22 is a long-term service release. Means, it is supported until 2029. Unlike Microsoft, which made drastic changes to the system requirements of Windows 11 to lock out millions of devices from upgrading to the new version, Linux Mint will continue to work on older hardware, even after 2029.

Here are the core changes in Linux Mint 22:

  • Based on the new Ubuntu 24.04 package base.
  • Kernel version is 6.8.
  • Software Manager loads faster and has improved multi-threading.
  • Unverified Flatpaks are disabled by default.
  • Preinstalled Matrix Web App for using chat networks.
  • Improved language support removes any language not selected by the user after installation to save disk space.
  • Several under-the-hood changes that update libraries or software.
194
 
 

cross-posted from: https://lemmy.sdf.org/post/20106974

I recently created a handful of scripts for polybar, to add some missing functionality that I wanted.

  • VPN status
  • dual battery info
  • connected bluetooth devices
  • available package updates

Thought I might share, in case anyone finds them useful or wants to modify them for other use cases.

Cheers!

195
196
 
 

I'm about to go ahead and go 100% Linux on my PC and completely get rid of Windows. The latest advancements in Windows application compatibility for Linux has taken strides and it's now easier than ever to run Windows apps thanks to Wine and Bottles and Steam's Proton. There's literally nothing I can't do in Linux that I could do in Windows.

The distro of choice I will probably go for is going to be Kubuntu. But I've been looking at immutable distros as a more stable alternative. But, it sounds to me like it's more adapted for smaller devices and IoT, like the Steam Deck or similar handheld devices.

Have you installed an immutable distro on your PC? What distro did you use? What was your experience like? What were the pros and cons according to you?

197
198
199
 
 

All I want to do is put a still image over a MP3 so I can upload a song to Youtube. (Sidenote: It feels really good to find a song I want to show someone that isn't already on Youtube. It used to be a somewhat regular thing i'd do, I have about a dozen Youtube videos that are just songs I uploaded because I wanted to show them to someone, but I guess Youtube got more stuff and my taste got more pedestrian, so I haven't felt the need to do it until now. Feels good!)

I used VEED, a web editor, and it produced a >300mb file. That seems a bit excessive. For the curious, this is the song: https://youtu.be/iLz7VXhCrnk

200
view more: ‹ prev next ›