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
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 :)
Year of mobile linux
[ astronauts meme ]
Always has been
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.
Everything people are saying here checks out, but you might struggle with VR. I haven’t tried VR on Linux yet, but I’ve heard some things about support being pretty janky. Maybe others with experience can weigh in.
I’d be interested to see what people have to say regarding VR setup, but the Oculus gets little use anymore. I have a few games that were never ported to the newer, self-contained systems (I have a Quest 3), and we’ve downloaded a bunch of custom Beat Saber levels that I might feel bad about, but the sensors are a big enough pain to set up that I don’t know that I’d feel that bad.
Yeah, I’ve considered VR for a long while, but between the already existing headaches, and the Linux related headaches I’ve heard of, I’ll just wait until I’m retired for VR space games, VR racing, and VR porn. Hopefully it’ll get better before I’m dead.
That was half the reason I upgraded. I don’t know if my old box would’ve been compatible (probably was), but I wanted it off Microsoft territory so bad and heating about Copilot sent shivers all over my spine.
I’ve never heard of installing any new OS without having to back stuff up. That’s just wishful lazy thinking lol.
You probably won’t have to do anything manually about Wine. Steam has Proton built in and it works great. As others always mention, check ProtonDB.com for user reports on how a specific game will work out.
I haven’t run into any problems in my library, but I honestly haven’t installed a ton of games.
I’ve used Heroic Games Launcher and Lutris for some other launchers (like Battle.net or Epic Games), and those have been a little hit or miss, but I think the main problem is something I’m missing. Not a huge priority but I’m still working on it occasionally.
I haven’t heard anyone call or 3D card since the 90s. They’re video cards or GPUs these days man. AMD has open source drivers that work just fine with Linux and should work just the same as the Windows version I believe.
Nvidia has open source ones, but they seem to be pretty terrible compared to the closed source ones. I had one issue with them last week but I think that was more related to KDE than it was the drivers’ fault.
I don’t really have any fancy hardware to describe how easy that was to get to work. Just a mouse, kb, headset(with mic) all of which worked fine without doing anything. I have a physical dongle for the controller, so I had to get a driver for that so I didn’t have to use a Bluetooth connection (pretty shitty comparatively speaking) or gasp plug it in. Had a few issues with it for a while, there was an updated version under a new name and such but it all works now. Just turn the controller on and it’s working instantly (unless I forget to charge it lol).
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
Can you try
"pactl load-module module-switch-on-connect"
?maybe a silly question bit is mint using pulse audio?
It’s not a silly question; I thought it doesn’t matter because PipeWire supports Pulseaudio.
The latest version of mint (22) is using pipewire now.
It says “no valid command specified”
Did you enter the command line (especially
load-module
) correctly?“Pactl load-module” outputs “you have to specify a module name and arguments.”
I duck go’d that command and it seems like it’s for pulseaudio. The latest mint release uses pipewire for the audio server. Is the command different for that?
“Pactl load-module” outputs “you have to specify a module name and arguments.”
As I said in earlier comment, please run
"pactl load-module module-switch-on-connect"
exactly. Note thatPactl
andpactl
are different commands and the former is invalid.Is the command different for that?
As the name suggests,
pactl
is a command for PulseAudio. PipeWire supports application written for PulseAudio, includingpactl
. Try"man pipewire-pulse"
to get further info.That seems to have worked. Tbf, your original comment displayed as “pactl load-module module-switch-on-connect” Which indicates 2 seperate commands.
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?
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.
Double checked and all of the drives are basic. I’m very confused as to what is different between the disks that readable and the ones that aren’t.
I’ve even tried multiple distros. Same scenario.
That’s a bummer. Unfortunately I can’t think of something else since fast startup has been suggested by another user and it’s also not the case.
The drives are shown as NTFS by Gparted right? Also can you confirm that the sizes should be those sizes? As in do you remember from when you bought them? 16 TB is still a big drive. Additionally can you confirm that they are all different drives and not partitions on the same disk.
Do they show up on the file explorer sidebar or if you go to “Other Locations” (in the file explorer)? If so do you get an error when you try to access them?
If they don’t unfortunately you probably will have to use the terminal to try and mount them so we can hopefully get some error message and hopefully some clue to what is going on.
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”.
It was a good theory, but no luck. I’m perplexed on this one.
Can a windows boot usb also not read them? If so and if you have the space to do so, it’s worthwhile to backup, reformat and repopulate the unreadable drives.
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.
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.
The language you want is “nonfree” in Debian derivatives.
Depends on the distribution, many package managers can filter by license. So you can find anything that doesn’t have an open source license.
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.
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 <headset-name>”, 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.
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
Is it wise to go for arch to try linux for the first time?
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.
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.
No
I’m using Arch, I love it. What’s absolutely bonkers is that the system belongs to you.
However, if you have never used Linux, it’s insane to try to install Arch. The online wiki is tailored for people with at least a decent amount of Linux knowledge.
As a noob, it will result in data loss, except if you’re already very familiar with terminals or are very fluent in IT.
You might want to try something more user friendly, as Zorin then come back to Arch when you want more power.
This is what I did. If you generally know what you’re doing around computers it just requires patience and a willingness to “Read the (Friendly) Manual.”
If you’re running intel, nVidia, dual GPU setup, and some other things, your installation will be more involved.
But the great part is that once you’ve set all that up, things just generally work and the Arch wiki is an amazing resource.
The arch wiki is difficult to use for beginners. Each page is single topic. It is not a guide. Using it daily, it takes at least a month to understand it well enough to “build your own guides”. If you want to do that kind of deep dive, jump on in. If not, you’ll have a better time using just about any distro other than arch.
BTW. If you do decide to take that route. Don’t become one of those miscreants who “uses arch btw” It’s a red flag for someone who doesn’t know wtf they are talking about.
I got one!
What constrains access to an rpc socket in the file system? Is it just the permissions of the socket or is there more to the whole process?
E: I originally wrote port instead of socket because it was early lol.
What’s an rpc port anyway? Do you mean DBus? Then FS perms of the socket. Perhaps also something in the protocol itself.
I meant to write socket instead of port because I was tired.
If for example a program can take rpc over a socket which is a file somewhere is it just the filesystem permissions that determine what can be done or is there more at play?
FS permissions are the main thing, yes. One can build more systems around it (don’t mount the socket into a Flatpak container, if you don’t want the Flatpak to talk to DBus) or (implement some sort of auth protocol like TLS does).
Ty!
-
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.
-
What are the minimum issues I am likely to face using the most beginner friendly distro like Mint for programming and light gaming?
-
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?
-
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?
- 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.
-
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.
-
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.
-
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).
For #1, I’ve made the realization that most distros are lightweight skins or addons on top of another distro. Most of the time, if you start with the base distro, all you have to do is install some apps, change some configurations, and suddenly you have that other distro. It is much easier than doing a reinstallation.
If you filter out all of these distros that only do a little on top of an existing, you’re left with a quite small number actually. I’d bet it’s less than 10 that are not super niche. Fedora, Arch, debian, gentoo, nixos are the big ones. There’s some niche ones, like void Linux and Alpine.
So I’d say if you try all of those, you don’t need to try any more 😁
-
I rarely distro hop. I used Linux Mint for a solid decade. I’ve made the jump to Fedora KDE pretty much entirely because Wayland support is the farthest along here, and that enables me to use more features of my hardware such as two monitors at different refresh rates, Freesync, etc. I did come to the conclusion awhile back that there’s a lot of pointless distros out there, a lot of them are just “I want this particular permutation of default software.”
-
Assuming you’re currently a Windows user, I think the main issue you’re going to face using Linux Mint Cinnamon Edition for “programming” is going to be general culture shocks. Using a package manager instead of heading to the browser, stuff like that. “Light gaming” depending on what you mean by that could be no trouble at all or dealing with some hiccups involving Nvidia’s imperfect support. There are some games that require proprietary anti-cheat that doesn’t support Linux, Valorant is one of those that springs to mind.
-
Difficult question to concisely answer; Mint has a system they call “Spices” which include a series of applets and widgets you can add to the UI, choose them from a menu and then configure them. One of these is “Cinnemenu” which replaces the default Menu with a somewhat more customizable one, though you might struggle to exactly replicate the WIndows look and feel. Beyond that, you might look at Conky for your desktop customizing needs.
-
File extensions do exist in the Linux world but they’re not as important for making things work as it is on Windows. Some files, particularly executable binaries, won’t have extensions at all. A text editor might not automatically append .txt to a plaintext file, because it doesn’t want to assume you’re not writing a bash script or config file or something. But if you record a sound clip with Audacity or something it’ll add a .wav or whatever extension as appropriate.
Bonus: You probably mean Neofetch (or whatever we’re using since the developer of Neofetch has “gone farming”). Those are hard-coded into Neofetch by its developer.
-
For #2,
For gaming, if you use steam, you may not face more than the following:
- game does not work with no well known way to resolve. You can find this out by checking protonDB
- game does not work because it needs to enable some options. Very easy to fix, and you can find the options on proton db for each game.
- does not work because you didn’t setup steam right. You often need to enable proton, which in short is steam’s emulator or windows
- does not work because your gpu drivers did not install. This depends on distro and they should all have a guide on how to do it, but usually it is just a matter of installing something.
For programming, you will love your life because everything programming is way easier on Linux.
-
I don’t distrohop. Instead I just use what works for me and what I find comfortable.
-
You will eventually need to use the terminal. And it will be overwhelming at first. But eventually the learning curve flattens a little when you get more comfortable not breaking your system ;þ
-
Can’t comment
-
File extensions are, in essence, nothing but a convention. You don’t even need them in Windows, really (You can open a file with any program, for example, you will just not get anything useful from it). So it’s far from a big deal.
-
-
Will it blend?
Depends on the hardware, but generally, yeah.
(It’s a joke)
I couldn’t get the Chuck Norris edition to blend, unfortunately.
I wanna install Linux on my Desktop as main OS after years of windows, last time I tried desktop was Fedora and Ubuntu back in the late 00s, back then all I remember is playing around with Gnome and KDE and compiz…
Most of what I know about Linux distros today is from memes…
How can I quickly learn about the best distro for my needs, (general use, some development, and some gaming, easy hardware support). With a toddler and demanding job, I don’t have too much time to just experiment with different distros and draw my own conclusions.
Thanks in advance.
Ubuntu and Linux Mint are ideal for people who just want to ignore the OS and get work done.
If you are a Dev you should be clear of such problem, unless you need a very specific tool, but, many people can’t switch because the programs they work with are not supported on Linux. Take a look into that, and in the worst case scenario you can dual boot windows.
Gaming wise proton is a bless and let’s you play most games, check protonDB for compability. Major portion of the games that don’t work are due to crappy anticheat solutions.
Good luck, any other questions feel free to ask.
I agree with Mint. I think Ubuntu has kind of devolved though, and PopOS is the better way to go. Fedora’s good too these days.
My recommendation is to try out a few distros in VirtualBox before switching - this was my process, and it can be very gradual.
I’m familiar with Proxmox, virtualbox, and KVM/KVM manager.
If I want to set up a PC to virtualize multiple operating systems, but with the feel of a multiboot system, what virtualization software would you suggest?
My goal is for the closest I can get to a multiboot system (windows, Debian, fedora) but virtualized so I can make snapshots. It should feel like I’m on baremetal when inside the VM.
Virtualbox is clunky with lots of pesky UI cluttering the screen and Proxmox doesn’t seem great for this use case.
Is it that much better to have a Desktoo Environment, on my desktop computer? I’m still halving it with Windows trying to get my games to run on arch lol
deleted by creator
Is OpenRC meant to be faster than systemD as a process system? I’ve been thinking of spinning up some non systemD distros like Artix on a VM on a mini DELL tinbox.
I will say though, I am not an advanced Linux user as the distros I’ve used were :
Ubuntu Endeavour OS SpiralLinux (Easy Mode Debian)
Would I need to make configurations in openrc or can it just run without messing with it like systemD?
Thank you
I have read that it is faster, though I have not tested it myself. Personally, my initial reason to use it was just to try something new and explore the unix world. My reason for staying is that it is a very simple init system that is pleasant to work with. It made me understand what an init system is and use it a lot more.
Systemd is good if you just want something invisible and you do not want to mess too much with an init system unless you have to. Everything integrates with it
OpenRC is nicer if you want to write your own init scripts. It is very well documented also.