/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,448,304 Subscribers

    3

    I just did a Frugal install of MX Linux with Toram which enables for the OS to be booted copy/load straight in to RAM with persistence.

    The operating system now is soo fast and much snappier when compared to Ubuntu 22.04 LTS I had installed previously which was solely running from my gen3 NVME .

    So tie question I have is , can I do something similar with Ubuntu where the whole OS upon boot gets loaded in to tie ram. And then it saves charges when I turn of the PC

    My mini pc has 64GB of dd4 running @ 2666Mhz ..

    7 Comments
    2024/10/14
    23:33 UTC

    1

    Terminal using file as the first argument

    Recap: Terminals/shells call a program/command/tool, then none or more options and none or more files or directories. For example, cat [file] outputs the file contents to the terminal.

    GUI file explorers typically act the other way around, and that you select a file and then through double click/right click/dragging choose how you interact with it or what tool is used on that file. This seems easier for the purposes of discoverability, where it's easier to see what (recommended) options exist for a given file(type). (Disadvantages ignored, for the moment.)

    Are there any terminals/consoles/shells/etc (I am aware there's a lot of nuance I'm leaving out there, but for simplicity) that operate in a similar fashion, in which you enter a file and get recommended/use tab to see recommended options for tools/programs to use on the file? If not, do you know of any experiments of this sort?

    This is out of pure curiosity, I doubt I'd use such being used to how things are and how they work. I vaguely remember a 'one-instruction operating system', where you just select a file and the machine learning behind it determines what you want to do with it, but this was well over a decade ago, I can't find it again, and I don't recall if it was an experiment or a joke. Which I'm not all too keen on using, but comes to mind as the 'closest' to this that I can recall (or, in a sense, the most extreme). I am aware I'm oversimplify several things, and this is more a post of interest as to what might be rather than how much sense they make.

    Edit: attempt to avoid details about terminal != shell.

    Edit 2: please avoid downvotes, I wish to ask this in good faith as far as I can and am well aware that my form of questioning is not ideal, leaving room for well-meaning individuals who wish to set things straight.

    22 Comments
    2024/10/14
    19:34 UTC

    331

    Today, we are now one short year away from Windows 10 EOL.

    On 14 October 2025, All Windows 10 Consumer devices will reach End of Life and cease being supported, that includes security updates.

    Optionally, the only choice to remain online and safe, will be to know how to install Windows 10 LTSC IoT and it's missing dependancies, or begin paying a subscription to get further updates.

    For those who aren't students, knowing the proposed pricing currently available for non-consumers, if you're going to pay you may as well just by a slightly newer computer.

    Regardless of how many of Microsoft's 60% userbase choose to remain with Windows, this date will result in at least some amount of the at least 240 million users migrating to Linux.

    As a result of Valve's work with Proton, along with many other advances in the ecosystem by KDE, GNOME and many other GNU/Linux developers, those who frequent this subreddit will understand how our OS ecosystem has now become a very viable choice for a lot of users, especially those who don't wish to or simply can't afford to spend on upgrading to Windows 11.

    This means that between now and the next 12 months, we will be seeing a constantly increasing number of new users asking very basic and perhaps seemingly dumb questions and I think it is important for us to take this fresh perspective in mind as we try to show patience and helpfulness, even if that just means directing users to the right subreddit or video for their needs.

    Personally, I could see Linux exploding from its current 4.5% to as much as 10-20% over the next two years, with 15% by the end of 2025 not being impossible. We've seen big changes in short amounts of time before, just like the enormous uptick PC Gaming saw during the pandemic.

    [Earlier this year, India already reached nearly 15% Linux usage for desktops/laptops.

    Personally, I am going to direct all Windows users to Linux Mint, but that may change over time as a Debian user myself.

    104 Comments
    2024/10/14
    15:59 UTC

    244

    Happy Birthday to us! KDE is 28 years old today!

    8 Comments
    2024/10/14
    11:12 UTC

    0

    Red Hat certified Administrator

    I have no real linux experience, I do have a rocky linux vm running. I am interested in getting Red Hat certified. Should I get one from LPI first and than take the Red Had cert? What study materials do you guys suggestion? Will rocky linux help me achieve my goal?

    9 Comments
    2024/10/14
    09:40 UTC

    24

    bookmark-cd: The quickest way to cd into your file manager bookmarks

    I was re-learning Go and simultaneously was unhappy with using the GUI to navigate and "Open In Terminal" hence I created bookmark-cd. It allows you to run bcd to quickly switch to any of the bookmarked directories you've created via the file manager. Supporting fuzzy searching as well.

    Feedback is appreciated: https://github.com/omranjamal/bookmark-cd

    https://i.redd.it/9isj0gz2youd1.gif

    10 Comments
    2024/10/14
    09:32 UTC

    227

    What's with the myth that linux is hard to use? My experience after 6 months with barely any experience.

    Just wanted to get people's views on this. And also share my own experiences. I see alot of people who ask the question should I switch or moan that when they did switch that they had a terrible time even getting to install Linux. And blame linux pretty much every time.

    So im basically a linux newb. Ive had prior yet very limited use with linux mint but that's about it.

    6-7 months ago I had enough with w11, ads in the start menu, co pilot ai And general privacy concerns since win 10. Just had enough!

    I reformatted and went with ubuntu, had some issues with installing due to BIOS settings i changed to force win 11 to install. But I had it installed within a morning. I had 2 minor hitches with drivers. Realtek audio and nvidia drivers. Both fixed up with a quick Google search and spending more than 5 minutes just learning basic terminal commands and how they work.

    Forgot the add I also had partition issues because i used ntfs and not ext4 oops.

    Within 3 days I had my system set up. And my ui to a more similar Windows like experience.(dash to dock) Since then my experience has been flawless. Theres a few minor quirks and frustrations with Linux but nothing that infuriates me the same on windows.

    It's been 6 months now. I've even upgraded my cpu and gpu 2 months ago. It was the easiest upgrade experience I've ever had. (I love mesa and amd) the only main issue I have. Which isn't a linux problem rather a market problem is native support with applications. Even still there's FOSS and paid alternatives that do support linux.

    And even at that push there's wine. Which I still can't my head around how it works.

    Even my gaming experience. Has been nearly on par with Windows. Legit every game I have works. Issues only arise from kernel level anti cheat or the likes of devs who haven't enabled EAC and Battle eye support for mp titles. Again. This isn't a linux issue. Rather a support issue.

    Day to day use its simpler and faster to use. Its just took a little set up time and basically simply learning how linux does stuff differently.

    I'm still learning a ton. I found I actually prefer using the terminal where at the beginning it was a little scary. Currently trying to learn the file structure where linux saves program files etc. Getting to grips with wine some more. But even for an average user. With a little Google search or just asking the linux community in general you'll always get help. Ive had better support from linux users than I ever have with windows official channels.

    Still I've barely any issues from updates (when i want to install), Better performance. Better stability, better security and privacy. 0 bloat or slow down over time. Maintenance isnt required as much.

    I've been a win user since 98, barely looked at linux. Now I wish a jumped ship years ago.

    What was your first experiences like? Why do you think people assume linux is some fiddly pain in the arse system only tech heads can use? Is it the sheer amount of distros. People scared to do things different to windows?

    194 Comments
    2024/10/14
    08:05 UTC

    126

    My experience switching to Ubuntu 24.04 on my work laptop

    I've been working as a freelance Salesforce developer for a few years now and have been using Windows 11 for a couple of years. Two weeks ago, I decided to make the switch to Ubuntu 24.04.1, and I wanted to share why I made the switch to Ubuntu Linux and my experience with it so far.

    Why I switched?

    I've been using a Lenovo ThinkPad with an i7-1165G7 processor and 32 GB of RAM, and it's been my daily driver with Windows 11 for almost two years. However, I've recently started noticing performance hiccups and general lag in everyday use. I've also encountered issues when waking up from hibernation, where instead of resuming my session, the system would restart.

    I have previous experience with a MacBook Pro for three years while working in an organization before I switched to full-time freelancing. I missed the overall stability, with sleep and hibernation, and system performance and I knew that I could get that with Linux.

    Previous experience with Linux:
    I have used Linux Mint primarily during my university years till 2016 and so was familiar with Linux and Ubuntu ecosystem.

    How did the switch go?

    I choose Ubuntu 24.04.1 for stability and long-term support, which is critical for my work laptop.

    I evaluated the applications that I used for work and was happy to find that all of them are either supported on Linux natively or have good alternatives. Here's a quick list:

    • Applications that are available and work equally well or better than on Windows: Node version manager(nvm) for nodeJS, Python, VScode, Postman, Obsidian, Chrome, Firefox.
    • Alternatives for the following applications: SublimeText (replacing Notepad++), SublimeMerge (replacing Github Desktop).

    The installation was straightforward. I took a backup of all necessary files to my Google Drive and performed a clean install of Ubuntu, removing Windows and setting up separate root and home partitions. The installation process went smoothly without any issues.

    Issues and resolution:

    After logging in, I enabled fractional scaling at 125% for my 1080p laptop screen but, I encountered blurry text issues in Chrome, Microsoft Edge, VSCode, and Postman.

    To resolve, I enabled the Wayland platform in Chrome's flags and set the ozone platform to Wayland. For Postman and VSCode, I added --ozone-platform-hint=auto -enable-features=WaylandWindowDecorations to the.desktop files Exec flag.

    I had installed Microsoft Edge for Office account integration, which allowed access to my work-related links and credentials. However, due to the blurry text issue, I exported my bookmarks and passwords from Edge to Chrome and removed Edge.

    Setting up Cisco AnyConnect VPN with a .pfx certificate took some time, but I was able to connect using openconnect which works even better because I can save my password and don't have to re-enter it every time I disconnect and reconnect.

    Final Verdict:

    I tweaked the look and feel of the desktop to match my workflow muscle memory and I am glad to say I am back to 100% pace and loving the overall stability, responsiveness and ease of doing stuff like switching between nodejs version, etc.

    Here's a quick glimpse of what my desktop looks like and apologies for the long winded post.

    https://preview.redd.it/cr813tf5xnud1.png?width=1920&format=png&auto=webp&s=527eefbb81f9f217ead5c370229fb66896f60427

    32 Comments
    2024/10/14
    06:25 UTC

    70

    Could I effectively use a de-snapped ubuntu?

    I use Linux mint, but I like Ubuntu's modified DE. Linux mint doesn't have snaps.

    I know how to completely remove snaps. And just use flatpak and debs. But, would that make Ubuntu relatively unusable?

    106 Comments
    2024/10/13
    19:23 UTC

    51

    Have you ever needed to change a Binary or a Hexadecimal values so far?

    One of windows users biggest complains about Linux is that you might need to use the terminal all the time. while that is true depending on what type of user you are. if you are an only browser user you will not need the terminal 99% of the time. if you are a gamer that only uses steam you will also not need the terminal 99% of time. but i think it is stupid that there are settings available on windows only accessible via the Registry Editor. where you will need to change certain Binary or a Hexadecimal values to configure it. when i was using windows 11, i needed to get my task bar to the left of the screen to make things easier with extra monitors. I knew windows 10 had a settings option for that but in windows 11 i had to use the Registry Editor. And just recently on my window 10 VM. I had to do disable all automatic updates via Registry Editor. wondering if there are situations where you had to configure something on Linux not accessible in the terminal via anything similar to the Registry.

    104 Comments
    2024/10/13
    19:10 UTC

    128

    Inkscape launches version 1.4, with powerful new accessible and customizable features!

    Introducing Inkscape version 1.4! New & updated features include Filter Gallery Dialog, Modular Grids, Swatches Dialog & more file import/export options. Power Users, this one's for you! Read all about 1.4: https://inkscape.org/news/2024/10/13/inkscape-launches-version-14-powerful-new-accessib/

    Blue square with Inkscape logo in beige with woman painting leaves on a tree Inkscape 1.4 launch

    5 Comments
    2024/10/13
    19:04 UTC

    0

    Is it just me, or does plasma have overall bad dual monitor support?

    Switched to plasma for my dual monitor setup, but its just kind of bad. First, it removed the panel (taskbar in my case) from all monitors, then it changed the scaling on one of the monitors just by unplugging and plugging it back in. Then the sound was refusing to play via the laptop speakers which are better than my monitor crappy speakers, but it just refused to then I accidentally disabled the sound output and when I try to enable it via the "inactive devices" button or something it was like blank with just the volume slider showing.

    Im not ranting, or something like that, but this is my first time ever using two monitors so i don't know lol

    11 Comments
    2024/10/13
    11:07 UTC

    7

    Analyzing issues regarding preferred core scheduling and AMD's multi-CCX on Linux

    0 Comments
    2024/10/13
    08:08 UTC

    23

    Linux in Linux in a VM... Crazy?

    I've been running Linux in a VM just to use the browser. Basically, I was testing out how much RAM I could use before it would just crash (2GB in a VM ran for about 8 hours before it crashed). I was basically just using it as a Web Browser server really. It has been working great (this VM has 8GB of RAM and has been running about 16 hours now. I've watched YouTube videos, done Reddit stuff, etc... everything I normally do on my regular PC).

    It's a little more responsive than my main host. I run multiple browsers on it (YouTube is kind of useless on the VM because the audio isn't working. I've got something set wrong I think). But I have played videos just to make sure it won't crash. I played like 2 videos in the 2GB RAM VM and it crashed. I also had Reddit open and a search tab open as well. Yeah, it was pretty heavily used. The swap file still had over half the ram space left (1.5GB out of 3GB swap) but it still crashed. This is kind of why it's not imperative for me to have a swap file on my system.

    But overall, with this 8GB RAM VM... It's kinda nice. I gave it 120GB of drive space but I'll bet I can cut it down to about 40-60GB I think. I mean, if all I'm using it for is a browser, that should be plenty.

    So, this has been a fun experiment and something I'm considering keeping going. And if I can fix the audio issue in this VM, That would be awesome!

    And yes, I know, using 60GB of my main computers disk space seems like a waste and it may even be impractical. And I think I'm using more RAM than normal on my main system but I'm currently using 2229MB of RAM in this VM which is about what I'd be using on my regular system. Now I'm using 11GB of RAM. But ya know what? I've got 64GB total in this machine so... RAM UP PC!!!

    53 Comments
    2024/10/13
    01:06 UTC

    0

    Naming schemes - Definite Article

    How do you all use the definite article "the" with your file naming conventions?

    I want to only use lowercase and hyphens in my naming scheme. This is how I am going to name the following video file:

    carsthestar-s1e1-thezephyrstory-1994.mp4

    I put "The" in the name of the episode, because it isn't at the beginning of the filename.

    The TV series is entitled "The Car's the Star." But it would look out of the place having the definite article at the beginning of the filename. Also how to deal with the apostrophe?

    11 Comments
    2024/10/12
    20:55 UTC

    0

    Will Linux Ever Get Full Support for Professional Software as Its Market Share Grows?

    With Linux market share growing to around 4.5%, and macOS at 15% as per stats counter, do you think if Linux ever catches up, we'll finally see proper support for things like Adobe, CAD, Microsoft Office, and native gaming? Or will big companies always treat Linux like it's not worth the effort?

    82 Comments
    2024/10/12
    20:16 UTC

    0

    Quick tool for renaming files, created by me: NAMEO

    Yesterday I was doing some file cleaning in my Debian Bookworm, when I realized that many downloaded file and folder names contained uppercase characters and spaces. So, to not waste time renaming them all, I tried to find a specific tool for the job that I needed, but NOTHING. So I decided to do it the old fashioned way as always: create it myself. Between one line of code and another, I finally managed to create this tool in Shell Script, capable, at least in the first (current) version, of renaming files chosen by the user in lowercase. This is how Nameo was born, my tool created by and for Linux users around the world. Let me know what you think and... a little follow on my github account would be super appreciated!

    GitHub: https://github.com/Rob1c

    Nameo Tool: https://github.com/Rob1c/Nameo

    31 Comments
    2024/10/12
    12:44 UTC

    0

    Are we regular linux users way too dependent on software centers and one unified software source ? aren't we workable because of this

    So i'm a ubuntu user and been using it for years seance 2008 I guess but I call my self a comfort user I use every OS out there and i use linux because how fast and safe it is mostly.

    However one thing always bothered me, that aren't we too relied on unified software centers.

    Back in the day you could find deb file or two to install but honestly we still used PPAs, sinptik and ubuntu software center now i use flathub and ubuntu store.

    However i can't compile from source so doesn't this puts me/us in a pretty vulnerable situation?
    Where if a software source goes we don't know what to do ?

    Update

    I believe a lot of you don't understand where i'm going with this post:

    My discusttion is what will happen if the software center goes down for example you are using ubuntu app center it want down and now what do you do ?
    You can't install gnome software center easily remember ubuntu app center want down !

    Even the deb files are harder to come by nowdays for example what will happen if hackers attack flathub and ubuntu software center ?
    In windows it's easy you just get installer exe files and run them mostly but what will happen with us not power user linux users

    32 Comments
    2024/10/12
    11:02 UTC

    Back To Top