/r/linux

Photograph via snooOG

Welcome to /r/Linux!

This is a community for sharing news about Linux, interesting developments and press.

If you're looking for tech support, /r/Linux4Noobs and /r/linuxquestions are friendly communities that can help you.

Please also check out:

https://lemmy.ml/c/linux and Kbin.social/m/Linux

Please refrain from posting help requests here, cheers.

GNU/Linux is a free and open source software operating system for computers. The operating system is a collection of the basic instructions that tell the electronic parts of the computer what to do and how to work. Free, Libre and open source software (FLOSS) means that everyone has the freedom to use it, see how it works, and change it.

GNU/Linux is a collaborative effort between the GNU project, formed in 1983 to develop the GNU operating system and the development team of Linux, a kernel. Linux is also used without GNU in embedded systems, mobile phones, and more. These can include things like Android or ChromeOS. GNU itself is also used without Linux, some examples appear in projects like Debian/kFreebsd and Guix GNU/Hurd.

Join us on IRC at #r/linux on libera.chat!🔗

Frequently Asked Questions

Recent AMA's

GNU/Linux resources

GNU/Linux Related:

Distributions:

Debian based

RedHat

Unique

Linux with Proprietary Elements

Embedded

Linux on Mobile:

  • Jolla (SailfishOS)
  • PostmarketOS
  • Replicant🔗
  • ZeroPhone
  • Movements:

    Desktop Environments:

    Window Managers:

    Fluff

    Learning/resources

    Creativity:

    Help

    Webcasts:

    Other operating systems:

    Rules

    Please review full details on rules here.. All rules will be applied regardless of the number upvotes a post/comment has.

    • No support requests - This is not a support forum! Head to /r/linuxquestions or /r/linux4noobs for support or help. Looking for a distro? Try r/findmeadistro.

    • No spamblog submissions - Posts should be submitted using the original source with the original title. Posts that are identified as either blog-spam, a link aggregator, or an otherwise low-effort website are to be removed. Some reasons for removal are that they contain re-hosted content, usually paired with privacy-invading ads. If there's another discussion on the topic, the link is welcome to be submitted as a top level comment to aid the previous discussion. Please see: r/linux/wiki/rules/banneddomains

    • No memes, image macros, rage comics, overdone jokes - Meme posts of any kind are not allowed in r/linux. Feel free to post over at /r/linuxmemes instead. This rule can also apply to comments, including overdone jokes, comment-chain jokes, or other redditisms that are popular elsewhere.

    • Reddiquette, trolling, or poor discussion - r/linux asks all users follow Reddiquette. Reddiquette is ever changing, so a revisit once in awhile is recommended. Top violations of this rule are trolling, starting a flamewar, or not "Remembering the human" aka being hostile or incredibly impolite. Additionally, sexism/racism/other isms are not allowed. See also: /r/linux/wiki/rules/userconduct

    • Relevance to r/linux community / Promoting closed source applications over FOSS - Posts should follow what the community likes: GNU, Linux kernel, developers of open source software, or other applications on Linux. Take some time to get the feel of the subreddit if you're not sure!

    • Spamming self-promotion, surveys, crowdfunding - Submitting your own original content is welcome on r/linux, but we do ask that you contribute more than just your own content to the subreddit as well as require you to interact with the comments of your submission. We set that no more than 10% of your posts should be your content. Please be aware that this does not supersede other rules. Additionally, surveys for your blog/news source/paper/own use are not allowed. Please see /r/linux/wiki/rules/crowdfunding for those crowdfunding..

    • No misdirecting links, sites that require a login, or URL shorteners - In short: if your link doesn't go right to the content it will be removed. Sites that require a login to view the content are not allowed in r/linux. Example: A private Facebook post or a news organization that doesn't have free article views. URL shorteners and links that misdirect users to ads/jokes are also banned. See a list here, although the mods will make a decision on a per domain basis as needed: /r/linux/wiki/rules/banneddomains

    • No NSFW - No NSFW links or images without mod approval. No discussion that is overly-suggestive to what is normally considered NSFW.

    • Non-useful Image Upload/Fluff Image - Images of "Linux in the wild", plushies, Tux, and more are not encouraged for posting as a top level submission. If necessary, this can apply to comments too at mod discretion. The image/video upload feature is for posts regarding features/guides/etc. See also: Meme rule.

    See even more subreddit and external links over at the supplemental page

    This subreddit is fan ran and not affiliated with any organization.

    /r/linux

    1,309,779 Subscribers

    11

    "Free," "libre," and "open source" in 2024

    I grew up on welfare and in public housing, so we used refurbished ThinkPads and the CDs in Linux magazines for our computing at home not because we were savvy, but because it was the best bang for buck at the time. These days, I'm still not super savvy, but I'm still using a refurbished ThinkPad and Linux as my daily drivers. It's almost a principle thing, at this point.

    But I've been trying to get more tech-savvy recently, and not just as far as computers go. Made a post a few hours ago about my ideas for getting into microscopy - this citizen/democratization of science stuff is right up my alley for the same reason free/open source/libre software is. One of my future projects would be something like this, which has this bit:

    A top-end version would cost a couple of hundred pounds to produce, and would include a microscope objective and an embedded Raspberry Pi computer.

    Just the other day, I listened to RMS' talk about copyright vs community, and he mentions not using Raspberry PI. Sure, I could be convinced. You go the FSF page or the Libreplanet page on SBCs, and the options are slim. Shit, for hardware, in the smartphone section, they're still pushing the Nokia 8110 4G Dual SIM. Maybe not too up-to-date on the hardware front, their SBC page seems to be updated every 3-5y. You dig around a bit on Reddit, and you have some good-sounding alternatives - HiFive, Pine64.

    But I'm shaky on how ethically solid they are - can't really look to the FSF for guidance there, and more & more people say you can't look to the FSF too much, in general. From where I'm standing, good points all around. But I can't wait for the Libre Silicon folks to catch up, so I need a crash course in the ethics of...whatever we're calling "hardware and software that the user controls, not the producer." I got a stew of terms for this stuff - free, FOSS, libre, open source, right to repair - and no clue how they all gel together. Skim through people talking about GPL/copyleft vs MIT vs Apache licenses, none of that means anything to me. So if you got overviews of the situation today, or a good reading list to get my head around this stuff, I'd appreciate it.

    8 Comments
    2024/07/20
    16:34 UTC

    0

    Why are traditional distros recommended more often to newbies than immutable distros?

    Whenever a beginner considers switching from Windows to Linux, Ubuntu, Linux Mint and even Arch are the ones usually recommended.

    Why aren't immutable distros recommended instead? Immutable distros like Fedora Kinoite are much easier to use because of their centralized store and flatpaks, and they are also far more stable and secure.

    Kinoite specifically uses KDE too, which is very easy for Windows users.

    Traditional distros are more prone to breakage, and require the use of the terminal more often.

    73 Comments
    2024/07/20
    15:24 UTC

    53

    Intel now supports laptop HDR on Linux

    This is so exciting. Something I've waited on for years is now done.

    Intel has merged these patches into the Linux kernel (happened yesterday I think, cause I been watching the patch history like a hawk, refreshing page everyday. Anyways, today I note the patches have been added, so I did the following:

    1. Compiled a custom linux kernel for my Manjaro system using this guide
    2. Installed the Vulkan Wayland HDR WSI Layer from u/Zamundaaa's GitHub page using these steps
    3. Added KWIN_DRM_ALLOW_INTEL_COLORSPACE=1 to /etc/environment - not sure if this has any effect
    4. Enabled HDR for the display kscreen-doctor output.eDP-1.hdr.enable
    5. Tested a HDR video with ENABLE_HDR_WSI=1 mpv --no-config --vo=gpu-next --target-colorspace-hint --gpu-context=waylandvk --gpu-api=vulkan "/home/user/BEST HDR DEMO FOR TVs | 4KHDR TEST.webm"

    Howled in pain as my eyes got blinded by so many nits... Just kidding... or am I? 🫠 The video opens up in HDR and it's so gorgeous. As good as it does in Windows. Essentially, this means I can now watch HDR movies on Linux. I hope Chrome adds HDR support too, YouTube is the final missing piece of the puzzle.

    TIPS:

    • SDR colors may look off at first, to fix this - Go to Display Settings and set SDR Color Intensity to 100%
    • SDR brightness may be too bright - Go to Display Settings and change SDR Brightness as desired, mine is on the second slider value

    Long live Linux! 🐧

    4 Comments
    2024/07/20
    13:25 UTC

    8

    How do you guys manage your years of experience (dotfiles)

    I have used chezmoi to manage my dotfiles but by the way it changes the names to `dot_config/dot_zshrc` is simply inconvenient, i also used bare git repo but since i use better-commits, i cannot use it in a bare git repo, then i made a non-bare git repo but managing stuff was more difficult than a bare repo coz in the bare one, i can add the dotfiles like `config add ~/.config/nvim` which became `~/.cfg/.config/nvim` and in the non-bare one, i had to copy the repo (i use fish shell) so i made a function:

    function dotfiles-add
        for dotfile in $argv
            # Get the path relative to ~/.config
            set -l relative_path (string replace -r '^~/.config/' '' $dotfile)
            
            # Create the destination directory
            set -l dest_dir ~/.cfg/.config/$relative_path
            if test -d $dotfile
                mkdir -p $dest_dir
                cp -r $dotfile/* $dest_dir/
            else if test -f $dotfile
                mkdir -p (dirname $dest_dir)
                cp $dotfile $dest_dir
            else
                echo "Warning: $dotfile does not exist or is not a file/directory."
            end
        end
    end
    
    function dotfiles-commit
        set -l current_dir (pwd)
        cd ~/.cfg
        better-commits
        cd $current_dir
    end
    
    function dotfiles
    	set -l current_dir (pwd)
    	cd ~/.cfg
    	git $argv
    	cd $current_dir
    end

    which definitely doesnt work (problems in dotfiles-add function) so in this, the dotfiles-add isnt working as expected it copies stuff into ~/.cfg but not like ~/.cfg/.config/nvim it does ~/.cfg/home/daUnknownCoder/.config/nvim so i would like to do something easier like the bare git one while being able to use better-commits

    41 Comments
    2024/07/20
    12:02 UTC

    0

    There is never going to be the year of the Linux desktop.

    There is never going to be the year of the Linux desktop. You know why? People have been saying that it will be forever. It’s like a very big circlejerk. I’m not saying that that there isn’t going to be a year for the Linux desktop because people fucking hate it, it’s because like we have seen the market share will steadily grow until it hits a point that if you don’t support Linux, your product cannot reach its full potential. Even if the year comes around it shouldn’t be called the “year of the Linux desktop” it should be called whatever the most popular operating system that uses the kernel is because Linux is a kernel, not an operating system.

    My guess is if there is a “year” of the Linux desktop it will have to be in 20 years. People that have experimented with Linux and use it as a daily driver would have kids and since those kids are raised by people who use Linux, the kids will also use Linux and get used to it like people that grow up with windows are used to windows.

    61 Comments
    2024/07/20
    09:50 UTC

    0

    Could something similar to the windows outage have happened to linux machines running the crowdstrike software?

    Could someone with some expertise shed some light on this topic? From what I've read so far a faulty kernel level update was pushed to the crowdstrike servers all at once (which shouldn't have happened from a testing pov) windows hosts proceeded to download this faulty update and started going into BSOD's and since it was failing to boot, systems with bitlocker protection were doubly fucked if they did not have access to the key providers (some of which also went down)

    I know that crowdstrike also has software for linux but does the OS allow kernel level access like windows does? And if it does are there systems in place which could help the OS recover itself?

    Edit: I found this post which goes into the technical reasons for the crash: https://www.crowdstrike.com/blog/technical-details-on-todays-outage/

    26 Comments
    2024/07/20
    09:36 UTC

    2

    The Thelio Mega Is a Dual-GPU Linux Supercomputer from System76

    "The new Thelio Mega can be configured with one of several AMD Ryzen Threadripper Pro 7000 series processors, from the 16-core 7955WX to the 96-core 7995WX. There are two GPU slots—the base model has a single AMD Radeon RX 7600, or you can order it with various NVIDIA RTX cards. The desktop is sold with up to 512GB RAM, two 8TB NVMe drives, an additional 32TB SATA SSD, and an optional Wi-Fi 6E and Bluetooth card..."

    https://www.howtogeek.com/thelio-mega-upgrade-2024/

    0 Comments
    2024/07/20
    08:37 UTC

    18

    System wide crt-shader

    I'm making a small retro style pc running off a raspberry pi 5 to play old dos games. The games look great when I run them on dosbox-staging and I've fallen in love with the crt shaders, but now I'd like to have my entire system to have that same crt effect. Does anyone know of an app or how to get a system wide crt shader?

    Edit: I just want to thank everyone for their responses. So thank you. I appreciate all your help and ideas.

    11 Comments
    2024/07/20
    02:33 UTC

    97

    Is Linux kernel vulnerable to doom loops?

    I'm a software dev but I work in web. The kernel is the forbidden holy ground that I never mess with. I'm trying to wrap my head around the crowdstrike bug and why the windows servers couldn't rollback to a prev kernel verious. Maybe this is apples to oranges, but I thought windows BSOD is similar to Linux kernel panic. And I thought you could use grub to recover from kernel panic. Am I misunderstanding this or is this a larger issue with windows?

    107 Comments
    2024/07/19
    23:41 UTC

    0

    Anyone have experience with Harmony OS?

    https://developer.huawei.com/consumer/cn/app/planning

    Kind of interesting. The first iteration of it was a multi kernel distro. Which would switch kernels depending on the use case.

    The newest one apparently dropped the android code base. And you will no longer be able to side load android apps.

    It also switched to a micro kernel (reported to be made by them).

    Same os no matter what device you're on. I really wish there was a Linux distro which worked on mobile the same as it does on PC.

    2 Comments
    2024/07/19
    23:37 UTC

    0

    Why 2025 will be the year of the Linux desktop

    1. People are shocked and scared by the Cloud Strike issue today, and will become inherently distrustful of Windows cybersecurity solutions in the future.
    2. Their work is too important to be vulnerable to attack using Windows without any cybersecurity layer.
    3. They have all these machines already, so switching to Mac would be too expensive and a waste of resources.

    Solution? Linux. All of these enterprise customers will switch to Linux by necessity now and personal users will follow their lead. Big companies like Adobe will need to port their software to meet up with this demand. 2025 - the year of the linux desktop

    129 Comments
    2024/07/19
    19:12 UTC

    13

    Anyone else hate the slowness of installing/updating Flatpak via cli?

    I have automated a bunch of stuff. I wrote a "sysupgrade" script, that updates everything that I know I need to update manually, dnf, cargo, and flatpak.

    What I found out, is Flatpak is extremely slow... like veeeeeery slow, when it comes to installing/updating apps via cli.

    "flatpak install ...." oftentimes results in "Looking for best match" and literally takes minutes. Up to the point, where I just cancel it and try to install via Gnome Software Center (which I also use on awesomewm, btw.)

    Same goes for update. Right now, I'm updating my system, and while everything else was done within minutes, flatpak is still "looking for updates..."

    31 Comments
    2024/07/19
    12:40 UTC

    883

    Has something as catastrophic as Crowdstrike ever happened in the Linux world?

    I don't really understand what happened, but it's catastrophic. I had friends stranded in airports, I had a friend who was sent home by his boss because his entire team has blue screens. No one was affected at my office.

    Got me wondering, has something of this scale happened in the Linux world?

    Edit: I'm not saying Windows is BAD, I'm just curious when something similar happened to Linux systems, which runs most of my sh*t AND my gaming desktop.

    480 Comments
    2024/07/19
    12:36 UTC

    23

    A Simple File sharing app in Go

    Presenting Syncio, an open-source tool designed for:

    ✅ Minimal setup

    ✅ Platform independence

    ✅ Fast, wireless file transfers

    ✅ File transfer over Hotspot or LAN

    Built with Go, HTML, and Bootstrap, Syncio aims to make on-the-go wireless file transfers as smooth as possible.

    The primary motivation behind building this was the lack of easy to use file sharing options in Linux-Android and Mac-Android ecosystems.

    ✨ Any contributions and feedback are welcome. Give it a try and let me know your thoughts!

    18 Comments
    2024/07/19
    03:53 UTC

    0

    Open Source Drivers

    11 Comments
    2024/07/19
    01:12 UTC

    39

    Commonality between complaints about linux?

    This is not to insult anyone but I find a lot of common things when people complain about linux.

    Number one seems to be nvidia graphics cards, I know linux support kinda suck for them. Some of that blame should be nvidia not linux.

    Number two it seems like alot people try to do very complicated wine stuff right out the box. I get it because there were programs I missed a lot after switching. I'm guilt of this one, I found the simplest way was to run a vm of windows for the longest time.

    Number three seems to be gaming, I know linux doesn't run number of games but with proton it getting better. I just want to state this though it not linux fault that game don't support it.

    I more technical user so I might be missing something.

    To me the average computer user could use linux without a problem, it very stable and with fantastic desktop environments like kde gnome that are very easy to use.

    It maybe I'm bias just because it fits my use cases. Idk

    118 Comments
    2024/07/18
    15:02 UTC

    104

    Fractal Design offers free Raspberry Pi case for self-printing

    The computer case manufacturer Fractal Design presented the North Pi model designed for the Raspberry Pi at the Computex IT trade fair.

    This case was apparently only intended for the trade fair, so you can't buy it.

    It seems that people liked the case so much that the manufacturer received many requests. Fractal Design is still not offering the finished case for sale, but has published the 3D print files with which you can print the case yourself (https://www.fractal-design.com/north-pi-3d-files/).

    What does this have to do with Linux? Nothing directly. But many users who are active here will have Linux installed on their Raspberry Pi. That's why I wanted to point out this free (besides printing costs) case. Especially since I've seen uglier ones and Fractal Design always produces good cases.

    12 Comments
    2024/07/18
    10:23 UTC

    Back To Top