operating_systems

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

jdrch, in Nala: a frontend for APT, so you can have prettier output, faster downloads of packages, and a history.
@jdrch@discuss.online avatar

This is pretty fascinating.

pineapplelover, in What new OS* have you tried this year?

GrapheneOS and Arch Linux. Both amazing. I’m staying indefinitely.

KindnessInfinity,

I gotta get into Arch someday. How’s your experience so far? Easy to use? (I’m sure it is, the wiki is very detailed) Glad to see you like GOS

grue, in What new OS* have you tried this year?

I’m not particularly militant about Linux distros, but Alpine is one distro I disapprove of in particular. The reason is that it isn’t GNU/Linux – it strips out (copyleft) GNU libc and coreutils and replaces them with permissively-licensed alternatives. I think that (whether intentional or not) it caters too much to corporate interests that exploit “open source” without truly respecting the users’ freedom, and therefore its popularity is potentially harmful to the Free Software movement in the long run.

garam,
@garam@lemmy.my.id avatar

But alpine license isn’t that bad right? I mean musl is okaish?

Can you elaborate more?

Thank you

grue,

Considered in and of themselves, permissive licenses are “fine.” They confer all four of the freedoms the FSF lists here, so there’s nothing wrong with them from the perspective of the person receiving the code as an end-user.

The problem is that, unlike copyleft, they fail to bind that recipient to the same conditions and guarantee those freedoms will be maintained for all downstream users who receive the code in the future. They are thus exploitable by those who would take without giving back in return. This makes permissively-licensed code popular with the exploiters, but is bad for the users in the long run.

See, for example, MacOS and iOS: in theory, they’re just BSDs with fancy proprietary UIs, but in practice they can be made so locked-down and user-hostile there’s an entire movement devoted to creating new laws to force Apple to stop bricking people’s property because they needed to replace a bad hardware component. Those four freedoms I referenced earlier are definitely no longer being upheld by Apple, even though Apple itself benefited from them to make the software in the first place.

There’s a reason why copyleft-licensed Linux is so much more popular than permissively-licensed BSD, and resistance to selfish bad actors (even as flawed as it is, what with the “tivoization” exploit of the GPLv2 and all) fragmenting the community with proprietary features is undoubtedly part of it.

LeFantome,

There are some opinions mascaraing as fact here and some not very evidence driven at that.

Linux is a beneficiary of great timing. The pre-cursor to FreeBSD, BSD 386, already existed and was much more mature when Linux appeared. The reason that Linux became popular was primarily that AT&T launched a lawsuit against BSD which made its legal status questionable during a critical few years. This was at the dawn of the Internet and the distribution and collaboration that enabled. By the time the lawsuit was resolved, Linux was massively more popular and BSD was left behind. Ironically, early Linux never faced early legal trouble as it was not taken seriously by UNIX players. The Linux lawsuits came later but, by then, Linux had major corporate backers ( see SCO vs IBM with IBM being the on the Linux side ).

Hell, Linus himself has said that he would never even have created Linux is Minix had been free ( meaning explicitly free as in beer, not as in freedom at the time ). In fact, Linus did not want to adopt the GPL at first because it allowed charging for the software.

One reason that Linux was able to advance so quickly ( or exist at all ) was the existence of GNU and especially GCC. I hate the amount of credit GNU tries to take for moderns Linux distros but there is no denying its importance in making Linux viable early on.

Today, Linux succeeds over BSD primarily because of the greater corporate interest. Apple does not really use the BSD kernel either.

These days, the most popular license used in typical Linux installs is MIT and permissively licensed software is more common than GPL. Some MIT communities, like the X Window Project, are decades old and represent strong trends away from corporate dominance and exploration over time. The vibrancy of all the Open Source communities cannot be explained in terms of the world-view expressed in the comment above. I do not have the numbers in front of me to support this but it is my own impression that permissively licensed software generally succeeds more often at creating sustainable communities. Or maybe it is just the FSF. While there are many successful GPL programs, fewer than 500 of them are GNU and there are almost as many abandoned GNU projects as there are active ones.

In my view, the most important GNU program by far is GCC. That evil Apple company you cite created LLVM / Clang and licensed it permissively. They did by far the most work on it and yet have it away. Today, other evil companies like Microsoft contribute to Clang / LLVM as well. LLVM is of course the basis for the Rust language, another corporate contribution. The lack of GPL here does not seem to have prevented any of this innovation, the massive contributions to the community, or collaboration between these giant corporate interests. This is just one example.

storksforlegs, in What new OS* have you tried this year?
@storksforlegs@beehaw.org avatar

I tried PopOS finally after many glowing reviews… and it was beautiful, snappy and had lots of unique features. But while it was very friendly, I had trouble finding my way around. I think still aimed at linux users who are a little more knowledgable. (Not me.)

Ultimately I am too basic and went back to Mint.

bbbhltz,
@bbbhltz@beehaw.org avatar

Interesting. I haven’t used Pop, but I had always been under the impression that it was meant to be as easy as Mint.

storksforlegs,
@storksforlegs@beehaw.org avatar

Oh I think it is! You should definitely give it a try, I think it’s just me. I tend to do pretty poorly with OS that aren’t extremely windows-like.

DEADBEEF, in Going to try Debian 12 when it releases is there anything i should know about Debian in general beforehand?
@DEADBEEF@beehaw.org avatar

Debian-specific advice

Debian is a stable distro, so software versions will remain pretty much the same over the life cycle. This is good if stability (software not changing out from under you) is desired, but if you want to take advantage of new features as they are added to whatever software you’re running, it’s less beneficial. So, if you’re going to run debian as a desktop os, I would recommend switching your apt sources to point to the unstable branch: sid switching your apt sources to point to testing (see below).

You’ll probably see a lot of older tutorials and stackoverflow posts that use apt-get, which predates apt, instead of apt as the package manager. apt is the recommended frontend; apt-get will work, but apt will have a nicer user experience.

Also, on the topic of apt, there are three ways to run updates that you’ll probably see online; this stackexchange post provides a pretty good explanation of the differences between them.

General linux advice that I think is worth sharing

Man pages are pretty helpful once you know how to navigate them. Some tips regarding that:

  • You mentioned that you tried manjaro, so I think you probably already know what man is, but just in case: man is the command that you use to pull up manual pages for basically everything.
  • You can search through the man database for a keyword with the apropos or man -k commands. For example, apropos video pulls up a list of all the man pages that have the word video in their names or descriptions.
  • You might notice when running the above command that there are numbers in parentheses after the manual names. This is because the manuals are broken out into 9 sections based on the types of pages they contain. You can put the section number before the name to specify which section to pull up the manual from. So, if you had two manuals named foo in sections 1 and 3, to pull up the one for section 3 you would use the command: man 3 foo. If you want to read more, man has it’s own manual page, which you can pull up with man man.
  • You can search for text in man with / and ?. / performs a forward search and ? performs a backwards search. You can jump forward to the next result in the search with n or back to the previous result with p.
  • The bottom of man pages will have a ‘see also’ section, which lists related commands. Some man pages will also have an examples section.

Another good place to look for documentation is the arch wiki. A lot of the information on there translates to other distros fairly well, and it’s got huge amounts of well written information. If you use duckduckgo, the bang for it is !aw.

The shell is pretty intimidating for a lot of new users. While it’s not strictly necessary for most things, I do think that you’ll have a smoother linux experience if you become at least a little bit comfortable using it. Here is a bash guide aimed at beginners.

Finishing Thoughts

Looking back at what I’ve written, I realize that I have dumped a lot of information on you. So I think the best piece of advice that I can offer is this: Becoming comfortable with linux (or any new operating system) takes time and can feel overwhelming. Don’t feel pressured to understand everything immediately and don’t be afraid to go slow; Rome wasn’t built in a day.

I’ve been running linux as a daily driver for 6 or 7 years now, and I run debian on my servers, so if you have any questions now or in the future, I am happy to try to answer them.

Hirom,

I would recommend switching your apt sources to point to the unstable branch: sid.

Strongly disagree with this. Most users should use Debian stable, or if you needs new versions of specific software, then maybe testing or backports.

Unstable is intented for Debian maintainers, and people who do QC and debug Debian. Unstable means more frequent bugs and breakages, which only makes sense if you’re working on detecting bugs and fixing them before new packages arrive in testing/stable.

Using unstable without being an advanced Debian users is asking for trouble, because you risk more frequent breakages that requires manual intervention and in-depth Debian/Linux knowledge to fix thing. Veteran Linux users may be comfortable with this, but it’s the wrong choice for most new users.

DEADBEEF,
@DEADBEEF@beehaw.org avatar

Good point. Testing would probably be a better choice; I’ll edit the parent comment to reflect that

Hirom,

Thanks

20gramsWrench, in Linux gamers, what distro are you currently on?

garuda, it’s just a fancy arch install with the ugliest, bloatiest, default theming you can imagine, but once you get rid of it it’s pretty solid.

nlm,
@nlm@beehaw.org avatar

You’re really selling it :D

…I looked it up. You’re correct. That… was flashy.

TrontheTechie,

I’ve been using Garuda as well. It’s solid, and I like the fact they have a gaming variant that takes a lot of the nitpick presetup out of the picture.

ivereadalltheory, in Linux gamers, what distro are you currently on?
@ivereadalltheory@beehaw.org avatar

Fedora but I’m about to move to NixOS Unstable or VanillaOS if it gets better NVIDIA integration.

kirstierthanthou,

I am on Vanilla OS with a NVIDIA gpu and its running pretty well.

ivereadalltheory,
@ivereadalltheory@beehaw.org avatar

Awesome. I’ve heard there are some problems with hardware acceleration.

HubertManne, in Linux gamers, what distro are you currently on?
@HubertManne@kbin.social avatar

Im really surprised that I don't see zorin os on these types of threads. Its main stick is to be chock full of out of the box software especially around windows compatibility. wine and play on linux are ready right away and I can run most windows programs right after install.

nlm,
@nlm@beehaw.org avatar

It looks pretty nice straight out of the box too. You used it long?

HubertManne,
@HubertManne@kbin.social avatar

yes. years now. I keep on trying something else but I don't have much patience now and take the easy way out.

nlm,
@nlm@beehaw.org avatar

It’s pretty nice that linux has gotten far enough that we can have that luxury these days. :)

boonhet, in Linux gamers, what distro are you currently on?

Been gaming on Gentoo for over a year, even if I haven’t found much time for gaming in the last few months.

Don’t do it if you’ve gotten too lazy for Arch though. Try Pop!_OS or Linux Mint or something. Enjoy an easy distro for a bit, till you get the itch for Arch back.

nlm,
@nlm@beehaw.org avatar

Oh I’ve tinkered with Gentoo plenty in the past (I still miss OTW if that rings any bells) and no, I really don’t have the patience for it these days. :)

And yeah, I’ll probably end up installing something a bit more fancy soon-ish… for now I plopped Kubuntu 20.04 on there and Diablo IV is downloading as we speak!

eyecreate, in Linux gamers, what distro are you currently on?

I have my gaming computer hooked to my TV and running Chimera OS. Makes it easy to use with just a controller.

nlm,
@nlm@beehaw.org avatar

Sounds like a sweet setup for controller based gaming!

LoafyLemon, in Linux gamers, what distro are you currently on?

Pop!_OS ᕙ( •̀ ᗜ •́ )ᕗ

Icarus,

My last two laptops have been System76 models. The first time I didn’t really love Pop!_OS but the most recent laptop I gave it another shot and it’s come a long way. Really enjoying it overall (still prefer KDE over gnomey stuff tho, lol)

wet_lettuce,

Pop!_OS for life!

Xeelee, in Linux gamers, what distro are you currently on?
@Xeelee@kbin.social avatar

I've been using Mint without any issues for a while now. I only play Steam games, though.

green_witch,
@green_witch@beehaw.org avatar

Also on the latest Mint. I really like it. I was previously on PopOS and enjoyed that, too.

elehayyme, in Linux gamers, what distro are you currently on?
@elehayyme@kbin.social avatar

I've been running Pop for a bit over a year now and am (mostly) satisfied with it. The only issues I had were due to kernel updates, it would cause flickering on my screen and (like someone else mentioned) had to revert to an older kernel until the situation was resolved.

MT_Book_Wyrm,

Pop here also. I tried several different distro's, pop worked out of the box. Only issue was my cheap little Bluetooth USB wart, but five minutes of searching showed me how to get it working. That's it. I like it. Familiar enough for a windows refugee, plays enough steam games without issues to keep me happy. No crashes, no freezes, unlike windows 10/11.

hallettj, in Linux gamers, what distro are you currently on?
@hallettj@beehaw.org avatar

I’ve been evaluating NixOS to make sure I can run games on it. I’ve only tried a machine with Intel graphics so far, but I see that AMD and Nvidia drivers are packaged. It seems convenient now that I’ve figured out the setup.

Vulkan is set up out of the box.

It’s necessary to enable 32-bit DRI support by adding this line to /etc/nix/configuration.nix:


<span style="color:#323232;">hardware.opengl.driSupport32Bit = true;
</span>

To use Lutris install the package and use its UI to install runners. I didn’t have to configure any extra libraries to get Battle.net running. You can configure the “system wine” that Lutris sees, and extra libraries your games might need like this:


<span style="color:#323232;">home.packages = with pkgs; [
</span><span style="color:#323232;">  (lutris.override {
</span><span style="color:#323232;">    extraLibraries =  pkgs: [
</span><span style="color:#323232;">      # List library dependencies here
</span><span style="color:#323232;">    ];
</span><span style="color:#323232;">    extraPkgs = pkgs: [
</span><span style="color:#323232;">      wine-staging
</span><span style="color:#323232;">    ];
</span><span style="color:#323232;">  })
</span><span style="color:#323232;">];
</span>

Those lines go in a Home Manager config file, like ~/.config/home-manager/home.nix. That installs Lutris, and any listed dependencies at the same time.

NixOS does not put dependencies in the file paths where programs usually look for them. That traditional directory structure is called the Filesystem Hierarchy Standard, or FHS. But Nix packages can create a virtual FHS where needed, and that is what the Lutris package does. That lets software that isn’t built for Nix work, like Lutris’ Wine runners. That means that for games to access libraries those libraries must be listed in that extraLibraries option so that they are included in the FHS.

32-bit libraries are in pkgs.pkgsi686Linux.* if you need them.

I haven’t tried Steam yet, but I think it has an option similar to the extraLibraries one for Lutris.

A nice feature of NixOS is that if you add a bunch of libraries to your config trying to get a game to work, those libraries are automatically unlinked when you remove them from your config so your system stays nice and tidy.

Chobbes,

I’ve been having a great time with games on NixOS. Steam just works when you enable it. I believe you can specify extra libraries for the filesystem hierarchy hackery, but I haven’t needed to yet. One thing you should know about (if you don’t already) is steam-run which is a simple command line tool that automatically wraps things in a normal FHS. Super convenient for the occasional binary :).

hallettj,
@hallettj@beehaw.org avatar

Good to know, thanks! Do you find steam-run to be helpful even for non-steam binaries that need an FHS? Or do you use it mainly for games?

Chobbes,

Yeah, exactly! For steam itself on NixOS you don’t have to manually use steam-run, but steam-run is a handy little tool to wrap / run other commands with the FHS that NixOS sets up for steam. I’ve mostly used it to run a few Linux games that I have binaries for, but don’t have on steam… I’m pretty sure I used it for another Linux program too, but I can’t remember what right now.

Joker,

Which packages do you add to extraLibraries? How do you find the dependencies? I’m struggling with this at the moment.

hallettj,
@hallettj@beehaw.org avatar

It depends on what your games need. I haven’t added any libraries yet, but I haven’t tested many games yet either. If something isn’t working you might be able to determine a missing library from the log output. In Lutris the Play button has an arrow on it that you can click on to find the “Show log output” button.

Atemu,
@Atemu@lemmy.ml avatar

32-bit libraries are in pkgs.pkgsi686Linux.* if you need them.

Put the libraries into extraLibraries; it’ll add them for both µarches. No need to explicitly use pkgsi686Linux yourself.

hallettj,
@hallettj@beehaw.org avatar

Oh good tip, thanks!

sailsperson, in Linux gamers, what distro are you currently on?
@sailsperson@kbin.social avatar

Here's my config (no hardware):

  • OS: Arch
  • Kernel: linux-zen
  • Window Manager: i3-gaps
  • Compositor: picom

I've been running this for several years now across multiple PCs, all with different hardware, including Nvidia and AMD for graphics, and Intel and AMD for CPU - and it's been working really well for me right up until recently.

After this paragraph, I will talk about the issues I've exeprienced as a gamer using my particular config. Please note that it's just a couple of minor issues, and the rest of the experience has been more than wonderful, convenient, functional, and beloved, and I do recommed Arch as a gaming setup as someone who's been running it to play games for several years in a row.

The most recent Steam Next Fest (June 2023) has revealed several demos that behaved like they launched, i.e. Steam changed my status to "in-game", changed the Start button in library, updated the playtime properly, etc., yet the game did not, in fact launch at all. I managed to play the affected demos when I switched to the KDE Plasma desktop environment on the same PC... and back on the same config after that as well.

I would consider that a one-time error that was gone by, essentially, reloading the X server, but there's been another consistent issue that I have only managed to observe in this i3+picom config. Ever since Steam's most recent UI beta, the floating elements, such as the buttons that let you install the game's demo, wishlist it, or navigate the store by the tags applied to the same game, all of which appear when you're hovering your mouse pointer over the game's thumbnail in Steam, are basically ignored; when clicking any of them, the click registers on the element that is supposed to be underneath the element you're actually trying to click: for example, if you're hovering your mouse pointer over a game and want to click the green wide "Install Demo" button, which is floating over another game's thumbnail, you'll click that thumbnail instead and open its Steam page. This particular issue persists between full PC reboots, X server restarts, i3/picom restarts, etc., and never occured in XFCE or KDE Plasma.

As I haven't been using any of the store features in Steam prior to the June's Steam Next Fest, I failed to notice any of the above, but now, I can't deny that it's been annoying. I really like my current configuration for everything I'm doing at my PCs: it's great for my work, it's even great for my gaming, it's great for my leasure, and I don't want to ditch it, because I have already tried many other tiling window managers, and i3-gaps is the one that stuck with me the most.

Now, I know there's sway, which is supposed to be a drop-in alternative, i.e. I can use my i3 config with it no problem, but sway uses the Wayland compositor, so I can't run it as easily: I'll have to set up the SDDM display manager instead of the dead-simple lightdm in order to keep the convenient multi-user setup I have, and probably sacrifice some of the performance my GTX 1080 has been giving with the proprietary drivers (I know, disgusting, but it has worked the best for my hardware as compared to the nouveau, unfortunately). I guess it's just time for me to tinker again.

nlm,
@nlm@beehaw.org avatar

You know… at least for me, I think I’m past the stage of being horrified over having to use proprietary drivers. I know it’s not as nice as a pure open source system, but still… it gets my system to run better, it’s free and it’s still Linux. So in my opinion it’s a good tradeoff still.

I do get why purists would hate it though and I wish you’d get the same performance with a completely free system.

sailsperson,
@sailsperson@kbin.social avatar

As far as I know, it's not entirely about some purism ideal they have in mind - the difference between the two nvidia camps on Linux is the functionality you gain with both drivers, and the proprietary driver is simply more restrictive, so, yeah, I agree that they have a point.

This is the reason I know very well that my next GPU is going to be an AMD one (given that their hardware has proper open source source by that time, that is). I bought by GPU back in 2017 or 2018, I think, a couple of years before using Linux and even considering it - had I known that today's me was going to run LInux, I would've gone for an AMD GPU right away.

Even skipping the Nvidia driver debates, the AMD hardware has been a much more consistent and pleasant experience for me on Linux overall across several AMD-based laptops that I have installed Linux on. While I did manage to get things going on my desktop that has an Nvidia GPU, it definitely caused me more headache than I expected.

nlm,
@nlm@beehaw.org avatar

Good points all around. I suppose AMD would be a better choice when the time comes to upgrade. There’s no real down sides to them either compared to Nvidia except maybe not supporting the same ray traving tech?

I’m a bit out of the loop there though.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • operating_systems@beehaw.org
  • random
  • meta
  • Macbeth
  • All magazines