this post was submitted on 03 Sep 2024
138 points (96.6% liked)

Linux

48287 readers
636 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Ever had a question about Linux but felt too afraid to ask? Well now's your chance, ask any question about Linux, no matter how noob or repeated it is, and I and others will help answer them.

Previous noob question thread: https://lemmy.ml/post/14261893

top 50 comments
sorted by: hot top controversial new old
[–] zcd@lemmy.ca 37 points 2 months ago (5 children)

No question here, just wanted to highlight that I use arch btw

[–] cyclohexane@lemmy.ml 15 points 2 months ago (3 children)
[–] Steamymoomilk@sh.itjust.works 4 points 2 months ago (1 children)

Yes, good

But what init system?

;)

Gentoo is great

[–] cyclohexane@lemmy.ml 3 points 2 months ago (1 children)
load more comments (1 replies)
load more comments (2 replies)
[–] turnipjs@lemmy.ml 9 points 2 months ago (1 children)

You should try NixOS, it's pretty cool.

[–] comma_egomaniac@midwest.social 7 points 2 months ago (3 children)

Don't listen to this guy, use GNU Guix.

[–] EveryMuffinIsNowEncrypted@lemmy.blahaj.zone 5 points 2 months ago (2 children)

Real Linux users only use Hannah Montana linux. 😎

load more comments (2 replies)
[–] zaphodb2002@sh.itjust.works 4 points 2 months ago (1 children)

Real talk, I want to try Guix but I have not successfully installed it on any hardware, including VMs. This includes with nonguix for proprietary drivers and stuff. I can never get past install, it always just craps out on some substitution thing. Am I just stupid?

load more comments (1 replies)
load more comments (1 replies)
[–] jhdeval@lemmy.world 4 points 2 months ago

i unfortunately using kinoite for my desktop and Debian for my servers. I am not totally in love with kinoite but I don't dislike it enough to change back to regular fedora.

load more comments (2 replies)
[–] wildbus8979@sh.itjust.works 14 points 2 months ago (1 children)

I'm always too afraid to ask.... Is this year finally the year of Desktop Linux? Is next year the year of Mobile Linux?

trolololo.jpg

I kid, this year has been the year of Desktop Linux for well over two decades for me. Obviously! And I think this megathread is great idea :)

[–] turnipjs@lemmy.ml 11 points 2 months ago

Year of mobile linux

[ astronauts meme ]

Always has been

[–] otter@lemmy.ca 14 points 2 months ago (3 children)

What is something Linux related that you've learned recently?

As a meta question, could this work as an additional (or alternate) recurring discussion question? It felt similar in intent, to encourage people to keep learning / asking questions and chances are that if someone learned something then others will benefit from the information (or correct them)

[–] SeikoAlpinist@slrpnk.net 15 points 2 months ago

After 26 years of using Linux, I did my first baremetal "immutable" distro install last week.

My youngest son is starting school and instead of the Chromebooks that they recommend, I took a chance and installed Fedora Silverblue on a $200 Lenovo "student-rugged" class laptop. Everything works and he hasn't had any issues so far. He gets access to the same student platform as the other students through Chrome, but then I can install Minetest and Tux Paint and GCompris as well.

The older kids run Debian stable for years now, but if this works out, I might transition them over next semester.

[–] TimeSquirrel@kbin.melroy.org 10 points 2 months ago (1 children)

I learned how a kernel actually loads a program and switches between them by using timer interrupts and interrupt vectors that point to specific locations in memory to resume execution from. Not specifically Linux related, but I'm trying to learn more computer science, and it just clicked for me two weeks ago. I've been programming microcontrollers for ten years, but those are monolithic programs, and while I knew what interrupts were and have used them, I never understood how an OS actually runs multiple things while staying in control. Now I do. About time I understood a core concept of these machines that have been here all 42 years of my life.

It's one of those "aha!" moments like when I realized classes and structs are just data types like any other in C++ when I was starting off programming and can be used like them. OOP became fun after that.

[–] teawrecks@sopuli.xyz 5 points 2 months ago

I remember when the mapping of virtual memory segments clicked for me. I think i said out loud, "that's so clever!". Now it just seems so fundamental to managing memory for user space applications, but I hadn't thought about how it was done before.

load more comments (1 replies)
[–] Cattypat@lemmy.blahaj.zone 11 points 2 months ago (5 children)

Alright, absolute noob here, I'm not particularly interested in computer science or an OS I have to obsessively research. First, how is gaming on Linux nowadays? I play a lot of games, most of which are not triple-A, so I wonder how accessible this is. Second, what distributions are accessible and still customizable? I have all kinds of peripherals I'd like to be able to use, speaker systems, midi controllers, etc.

[–] DesolateMood@lemm.ee 10 points 2 months ago

Fellow Linux noob, just started using it earlier this year so if someone with more experience wants to weigh in, please do.

That said, gaming on Linux is pretty good. Steam's proton makes most games playable out of the box, although it's still a good idea to check Proton DB to see if any particular game you want to play is playable.

As for your other question, I'm not totally sure what you mean by accessible and customizable, but I don't think any of your peripherals are going to be distro locked. The Arch Wiki is a pretty good resource for, well, everything, but most relevant to you for your peripherals (it also usually gives good information for any distro, not just arch)

[–] Auster@lemm.ee 6 points 2 months ago (2 children)

About gaming, from my personal experience, it's overall pretty straight forward. When issues happen, you just got to have patience to read through logs and search up on Google or similar any suspicious parts of the log. Worst part is usually DRM/anticheat, but from what I can gather, usually pretty isolated cases are problematic due to compatibility, usually requiring the devs to go out of their ways to make the DRM incompatible.

As for the distros question, perhaps Linux Mint? It trades off bleeding edge updates for the sake of stability. Just avoid the Debian-based variant of Mint for now as it's still in beta.

load more comments (2 replies)
load more comments (3 replies)
[–] ClanOfTheOcho@lemmy.world 8 points 2 months ago (12 children)

I have an old (2017) Windows 10 box that is ineligible for Windows 11. Originally purchased to run my Oculus Rift, it now just streams YouTube and Twitch and plays some old Steam games and occasionally school related stuff (Lexia, Scratch, stuff like that).

I started thinking that, rather than worrying about an unsupported Windows OS on my network, I might upgrade to Mint or Ubuntu.

So, my question(s) is/are, how much of a hassle will such an upgrade be? Will I need to wipe the drive, or can I keep my files without having to back them up first? Can I run Windows games on Steam with Wine? Are there good 3D card drivers nowadays?

I'm reasonably versed in using Linux as a user, less so as an admin, in case that affects the way you answer.

[–] RobotZap10000@feddit.nl 6 points 2 months ago (2 children)
  1. Depends on how much crap you're willing to put up with. It'll all be worth it in the end! (Pro tip: disable secure boot in BIOS)

  2. I wrote a whole guide on the two options, but then accidentally deleted my comment. You can either install Linux on another drive, or shrink your NTFS partition and install Linux alongside it. You can always access NTFS from Linux, but not the other way around (by default). If you don't understand what I'm talking about, you should really look it all up. I would personally just backup and wipe, you can always reinstall Windows if you want to.

  3. Have you heard of Valve's Steam Deck? It's a handheld gaming device that can play nearly every PC game, and it runs Linux! Valve made gaming on Linux an absolute breeze thanks to Proton. There are some popular games that don't work, either because Tim Sweeney hates Linux (yes, really) or because the anti-cheat won't accept Linux, but I only know about Destiny 2 and Rust that have that problem. Easy Anticheat works just fine, I play Apex Legends and Deep Rock Galactic with no issues!

  4. If you have AMD, you don't even have to think about it. Their drivers are part of the Linux kernel. Nvidia is not impossible to use, but you might have some issues. I experience random desktop environment crashes that I can only attribute to their drivers, but it only happens on startup sometimes, which is the least annoying it could be. If you choose a distro that doesn't mind automatically installing non-free software, you probably won't need to think about it either. The open source driver, Nouveau, works fine but performs awfully in games (or at least it did a year ago).

If you just want some clear instructions: backup your files, wipe your disk and install Linux Mint Cinnamon Edition. It's easy peasy to use and getting the proprietary graphics drivers is only a few clicks away. Just configure your Steam games to run through Proton and you might not even tell the difference.

[–] ClanOfTheOcho@lemmy.world 3 points 2 months ago

Thanks for the detailed explanation!

load more comments (1 replies)
[–] zcd@lemmy.ca 5 points 2 months ago

There would be no hassle in wiping the drive, you can do it as part of the super easy installation process for any Linux distro. Ideally you would back up any important files and drop them into your fancy new file system once the install is finished. And you can pretty much launch almost any game directly out of steam and it will run. There are a few exceptions for some of those games with anti cheats that rootkit your system, but the majority just work out of the box. Drivers included, but Nvidia might be ever so slightly annoying

[–] Blisterexe@lemmy.zip 5 points 2 months ago

Games work fine, if you install linux as a dual boot, you can move the files over (windows files appear as if the windows install was a usb key). Also drivers are fine

load more comments (9 replies)
[–] WeebLife@lemmy.world 7 points 2 months ago (10 children)

I'm on Linux mint 22 and my audio outputs don't change automatically. When I plug in USB headphones, audio won't output to them unless I manually change it in settings.

Also, why can't I interact with the panel applets (on the right side) while I'm in game? For example: I'm playing a game, I plug in my headphones, I have to manually change the audio output so I hit the "windows" key to bring up the panel, but I can't interact with any of the applets on the right side of the panel (I can't select the audio icon and change settings from there). I have to search audio settings in the panel then alt tab to it. It's really cumbersome

[–] EveryMuffinIsNowEncrypted@lemmy.blahaj.zone 9 points 2 months ago (5 children)

Fun fact: The "Windows key" (or "Command key" for Mac users) has its own generic name: the Super key!

Not trying to be a smartass here; I genuinely find it fascinating! :D

load more comments (5 replies)
load more comments (9 replies)
[–] AlternatePersonMan@lemmy.world 6 points 2 months ago (2 children)

With the recent Microsoft garbage, I'm giving Linux another try. I've been running a laptop for a while, no issues. My main rig, however can't read all of my um..?hard drives

A live USB of Mint 21 reads 2 of 5 drives fine. The rest are recognized from GParted, but can't access them. It looks like NTFS-3G is installed.

I've duck duck go'd (which apparently is just Bing) for a solution, but haven't succeeded. Long term, I can probably pick up another drive, copy, and reformat everything to something Linux friendly. For now, I just want access.

I'm lazy and burned out. I don't want to use the terminal- which I did try. I just want to make a few clicks and have access to all of my files.

If it matters, the drives (roughly) show up as: 500 gb, 4 TB NTFS (readable) 3, 12, 16 TB unknown (not readable)

Windows says they're all NTFS.

Is there an easy way to easily mount my drives?

[–] bloodfart@lemmy.ml 6 points 2 months ago (2 children)

If you can boot back into windows, turn off quick startup/shutdown, run chkdsk or whatever on the drives, reboot back into windows then boot back into Linux and you’ll be okay.

Quick startup is a kind of weird sleep/hibernate mutant that leaves drives in an unclean state when it turns off, so the Linux drivers for ntfs say “I’m not gonna touch that possibly damaged drive”.

load more comments (2 replies)
[–] freeman@sh.itjust.works 5 points 2 months ago (2 children)

I think the disks could be Dynamic Disks on which it would not be a good idea to install a linux distro.

Unfortunately Microsoft's own advice to change it to a basic disk (since it considers dynamic deprecated) WILL RESULT IN DATA LOSS.

Since you only want to access them it seem to be possible with ldmtool. While it is a cli tool there is a corresponding service that at least according to some askubuntu posts and arcwiki should make them behave like normal filesystems.

load more comments (2 replies)
[–] wheeldawg@sh.itjust.works 6 points 2 months ago (1 children)

I don't know if this is specifically possible. I'm not quite rookie-level new (been using it about a year now) but I have something I would love to have convenience-wise.

It's a desktop machine with regular speakers, and I have a wireless headset that connects to its own dongle (not Bluetooth). It's there a way to switch to the headset automatically when I power it on, and revert to speakers when I turn it off?

I feel like it's possible hardware-wise, but I'm not tryna learn how to code to make it happen, and I don't know how to find a software solution. I don't even know what to call what I'm looking for.

[–] qpsLCV5@lemmy.ml 5 points 2 months ago (1 children)

i'd suggest starting by finding out what package in your distro actually decides where audio goes - mostly it is pulseaudio (older) or pipewire (newer).

depending on the details of how your distro and the dongle work, it could either be a simple "pactl set-default-sink ", or a more complicated set of udev rules or pipewire/wireplumber scripts.

note that distros using pipewire still often support a lot of pactl commands, so it may be worth looking at the simple option even when not using pulseaudio.

[–] freeman@sh.itjust.works 4 points 2 months ago

They can also use pavucontrol, whether they use pulse or pipe, for a GUI to select default audio interface as well as easily switch apps to different outputs if needed

[–] jonathanvmv8f@lemm.ee 5 points 2 months ago (8 children)
  1. For Linux enthusiasts, how do you decide which distro you would like to try out next among the plethora of options that are available? The difference I perceive between majority of distros gets smaller the more I try to understand about them.

  2. What are the minimum issues I am likely to face using the most beginner friendly distro like Mint for programming and light gaming?

  3. How customizable is the GUI in Linux Mint specifically? What if I want a start menu like Windows 10 with the app list and the blocky app tiles? What about those custom widgets I see in hardcore Linux users' desktops?

  4. I heard there is no concept of file extensions in Linux. How am I supposed to work on my projects that I imported from my Windows machine that do contain extensions?

Bonus: Who creates those distro icons in color coded ASCII in the system info command in the terminal?

[–] flubba86@lemmy.world 4 points 2 months ago* (last edited 2 months ago)
  1. I usually stick with distros that have large userbases. I've tried smaller and niche distros before, and inevitably they stop being maintained, or move in a direction I don't like. The larger distros like Ubuntu, Fedora, OpenSuse, have more resources (people, time, money) to spend on testing updates, and have reliable update schedules. When I was younger I didn't care about that kind of thing, but these days I use my PC almost exclusively for work 10 hours a day, 5 days a week, I need my PC to not break when I update it.

Another technique I use is to go to the vendor site for software I use and look at which Linux distros they officially support. Usually they will publish at least an Ubuntu package, sometimes a universal deb file that works on Ubuntu, Debian or Mint. Sometimes an RPM package for Fedora/CentOS too. This is getting less relevant these days with Appimage files and Flapak images that work the same across all distros.

It's natural to get bored or frustrated with one distro and want to try out others. Imagine if Microsoft made many different flavours of Windows that each look and operate differently, everyone who is bored and frustrated with default Windows would be trying them all out, comparing them, debating the pros and cons, communities would form around common favourites.

I have a small gaming PC that I use to test out other distros, I'm currently on Nobara, that I actually highly recommend for a gaming-focused distro.

  1. This one is really hard to say. It depends on so many factors like what hardware you are running, what software you plan to run, how tech savvy you are, even your definition of what is an issue. Mint is very stable and easy to use, you may run into zero issues getting it installed, running VSCode, playing some Factorio. Or you might run into a small incompatibility between your GPU and the bundled kernel drivers and run into a whole world of hurt spending days tinkering on the command line with no usable graphics driver.

  2. I believe Mint still comes with the Cinnamon Desktop, that is specifically designed to be familiar and easy for users transitioning from Windows. It's not super customisable, but I think it can do what you described. I'm not the best person to answer, I haven't used Mint or Cinnamon since 2012.

  3. File extensions are optional in Linux for some kinds of files. Linux usually tries to identify a file type using a "Magic string", meaning it will read the first 8 to 16 bytes of the start of a file and will be able to tell with a great deal of accuracy what kind of file it is. Executables, drivers, shell scripts, and many others use this method and do not need a file extension. You can definitely still use extensions though. Eg, libre Office will still save documents with a doc extension (.odt). Often Linux will use a combination of both the magic string and the file extension to determine the file type. Eg, the magic string identifies it as an open office file, and the extension tells you it's a document kind of office file.

Your Linux photo editor will still save images with a .png or .jpeg extension, because these are the convention (and may be required if you will be opening those files on a different OS). Similarly, your project files created on Windows will still work fine on Linux (if the equivalent Linux app supports that file format).

load more comments (7 replies)
[–] SentientFishbowl@lemmy.ml 5 points 2 months ago (4 children)

Is there a way to assess which packages on my linux distribution aren't open source? I'm planning on having a secondary machine which is exclusively open source, but not sure how I would go about ensuring that is the case.

[–] bloodfart@lemmy.ml 6 points 2 months ago

The language you want is “nonfree” in Debian derivatives.

[–] ober@lemmy.dbzer0.com 6 points 2 months ago

This would depend on the distro you use. Most distros will require you to enable a non-free repository before you can install anything that isn't Foss or open source from the official repos. You could also use an FSF approved distro. Keep in mind, the FSF will only approve distros that don't include any non-free anything in the official repos. Besides that, you just have to know the licensing before you install it.

load more comments (2 replies)
[–] frengo@lemm.ee 4 points 2 months ago (6 children)

Is it wise to go for arch to try linux for the first time?

[–] cyclohexane@lemmy.ml 5 points 2 months ago

First time Linux user you mean?

I wouldn't recommend it, unless you can navigate the terminal well. When you install arch, it installs no desktop environment, only the ability to talk to a terminal.

It's technically possible and very doable with some googling, but I wouldn't recommend it.

[–] flubba86@lemmy.world 4 points 2 months ago

Depends what your goals are. With Arch, you will need to closely follow a guide to get it installed, if anything goes wrong you will need to search through the Arch Wiki for answers. Arch has an insane amount of customisation options, you will spend a lot of time in the Arch Wiki learning about them. By installing Arch you will learn a lot about Linux. Is that your goal?

You will spend more time reading and learning, but come out further ahead than someone who first installs Ubuntu or Mint.

However if your goal is to simply install Linux on your PC to try it out, (if you don't even know if you will like it, and don't know if you want to learn it's mechanics) then Arch wouldn't be my first choice.

load more comments (4 replies)
[–] ptc075@lemmy.zip 4 points 2 months ago (5 children)

Could you point me to a good place to start learning how to troubleshoot? I added Unbuntu as a dual-boot to my gaming rig a while back, and when it works, it's great. But as soon as I hit an error, I drop back to Windows because I know how to fix shit there.

[–] bigmclargehuge@lemmy.world 6 points 2 months ago* (last edited 2 months ago)

First suggestion: commit to using Ubuntu for a set period of time. Could be a week, could be 2 hours. When you encounter issues, force yourself to stay on Ubuntu.

What you'll find is that at first, errors will seem like gibberish, then you'll do some snooping online, and find out how to access some log files or poke around your loaded modules. You'll slowly learn commands and what they do.

Eventually, something will click, ie; "wait a minute, I just checked to see which kernel modules are loaded, and I'm missing one that was mentioned in my error, that must mean I need to load that module at boot." You load that module, reboot, try your command again, and bam, everything works. You've learned how to troubleshoot an issue.

The best way to learn Linux is to immerse yourself in it. You can't efficiently learn German if, every time you hear a phrase you don't understand, you switch back to English, right?

[–] freeman@sh.itjust.works 5 points 2 months ago

Ubuntu Wiki Ask Ubuntu Ubuntu Forums

The wiki has some information and should correspond to how Ubuntu specifically is configured. You can ask for ubuntu specific help in those communities. You can also ask here and on several Linux communities on Lemmy.

The Arch Wiki I find to be more in depth than the ubuntu wiki. Of course some things may differ from Ubuntu's defaults but I found it a useful resource when using Ubuntu.

Finally I suggest you learn a bit about how Linux works in general, what is in what directory, what is wayland and xorg, understand how drives are named etc and some understanding of the terminal (moving around in directories, how to use sudo etc, no need to learn to make bash scripts).

load more comments (3 replies)
[–] Wav_function@lemmy.world 3 points 2 months ago (1 children)
[–] ClanOfTheOcho@lemmy.world 5 points 2 months ago (1 children)

Depends on the hardware, but generally, yeah.

(It's a joke)

load more comments (1 replies)
[–] Manalith@midwest.social 3 points 2 months ago (3 children)

I've got one progam that I need for work that I cannot get to run on Linux. I've tried WINE on both Ubuntu and Zorin (and winlator for android). I have the installer exe file and try to launch with WINE but then nothing happens. Is that a program problem, WINE limitation, or something else? Is there a different program I should try to launch it?

[–] kyoji@lemmy.world 4 points 2 months ago

How are you launching the exe with WINE? Try doing it via the command line if you aren't already. That way you may get some more information about why it isn't working. Its as simple as wine path/to/your/exe

You could also try something like Bottles, which will let you use possibly newer versions of WINE without modifying your system's WINE.

load more comments (2 replies)
load more comments
view more: next ›