Linux

48965 readers
877 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
776
-32
submitted 3 months ago* (last edited 3 months ago) by jyoskykid@sh.itjust.works to c/linux@lemmy.ml
 
 

The problem (for those who are unaware of it)

Moved it to the end, to keep the focus on the solution.

Solution

GNU is a desktop OS that was never completed. Linux is a desktop OS that was never completed.

GNU/Linux is a hybrid OS.

Musl, etc. are libraries that were never OSes.

  • So Alpine would be a Community/Linux OS.
  • Debian would be a Community/GNU/Linux OS.
  • FreeBSD would be a Community/BSD OS.
  • Ubuntu would be an Enterprise Community/GNU/Linux OS.

I was thinking ontologically to resolve this problem. It is often confusing to explain to ordinary people why Linux has so and so differences and so and so commonalities, and then the community gets toxic once you get to whether it's GNU or Linux.

So I think this is a good solution that solves the argument of calling it systemd/Freedesktop/KDE/LightDM/GNU/Linux or the other party that says it's either GNU or Linux alone.

Why can't you include GNU in the Community?

Because GNU was an independent OS, and the project did a lot for software freedom, and it was even pivotal to the success of Linux, yet the community does not honour their wish to mention their names, because of aesthetic problems. GNU has never self-identified as a component collection like Freedesktop.

The problem (for those who are unaware of it)

Not everyone may be aware of this, but from the time GNU and Linux based hybrid operating systems became a thing, there was a debate about what they should be called. An OS has a kernel and the userland. Both GNU and Linux were independent operating systems, both of which were never completed.

GNU was a project by FSF under Richard M. Stallman to replace the proprietary UNIX OS. Linux was a hobbyist project by Linux Torvalds to make an OS that would run on the Intel 80386 CPU, while BSD/386 was facing a lawsuit from AT&T for releasing proprietary UNIX source code. GNU was planning to make a microkernel based OS, and it was planning to develop the kernel slowly, while Linus started Linux from the kernel side, with a monolithic architecture.

Since Linux was free software and could run directly on the new hardware, it gained the support of the hacker community, who added patches to the GNU userland to make it work with Linux. But when Linux finally became an OS with the help of GNU, the hacker community said they only care about Linux, not the GNU programs, and gave no recognition to GNU.

Because of this, Stallman asked the distributions to be called GNU/Linux, and that sparked flame wars because of how it is bad to pronounce, and how a distribution has many components beyond just GNU, and that therefore the kernel that runs on the hardware is what should describe the OS, and further several ad-hominem attacks on the personal life and behaviour of Richard Stallman.

Eventually, the name Linux caught on, but sympathizers of GNU are requested to call it GNU/Linux. This continues to be an unresolved, but sidelined dispute that seems unfair to GNU, especially considering most "Linux programs" are actually dependent on GNU GLIBC, and won't run on the other Musl LIBC based systems. Anytime someone mentions it, because there is no easy solution to it, it turns into a flame war.

777
 
 

ZLUDA is a compatibility layer for Nividia’s CUDA on other processors

778
779
780
 
 

Yesterday I tried to install the latest NVIDIA drivers on my Linux Mint laptop (version 21.3, Cinnamon Edition) and my Driver Manager said that, since i have Secure Boot enabled, I had to create a Mok key for my drivers so I could use them with Secure Boot. So I created a password and restarted my PC. However, I didn't know what to do in the MokManagement screen, so i turned off my PC and then turned it on again to be able to start over. After turning my PC on and off a few times to try a few different buttons thqt I ended up not understanding, I looked up a tutorial and tried to follow it. But when i clicked "Enroll MOK" this time, instead of showing "View Keys", it asked if I wanted to delete my existing keys.

What should I do to get this to work? I turned off my PC after this and switched back to the open source drivers because, again, I had no idea what to do. Did I fuck up my drivers? Can I try to redo the process to make it work? What about the extra keys I created? I'm really confused. Thanks in advance.

781
 
 

I was setting up my laptop for traveling and adding Wireguard VPN configuration.

The Wireguard config generated by router only contains IPv4 address (10.0.5.x), and while testing the VPN to my surprise "what is my ip" websites can find my IPv6 address (I USB tethered mobile connection to my laptop).

It looks like NetworkManager does nothing about IPv6 connection if VPN doesn't have IPv6 settings, which is bad for road warrior type of VPN configuration.

Is there an easy toggle to turn of IPv6 if VPN is connected and otherwise? Or is only option to disable all IPv6 no matter what?

782
 
 

Plasma 6.2 will be released in just three days! In the end we did revert the notification changes, so users of Plasma 6.2 won’t experience any new issues with notifications. The list of verified 6.2 regressions is extremely small, with most being low importance. We will of course eventually get them fixed anyway! But they aren’t release blockers.

783
784
 
 

What software have you found particularly frustrating or difficult to configure on Linux?

785
 
 

Visit about:compat in your firefox. I find it insane that these exist.

Edit: I've learned that this is part of the webcompat system addon developed by Mozilla and other contributors. I see why this is beneficial default behavior, since FF has no chance of getting enough market share to matter more if things are broken.

However, this behavior is too intrusive for my taste. For example this injection: https://hg.mozilla.org/mozilla-central/file/8a4afb4d34f8/browser/extensions/webcompat/injections/js/bug1472075-bankofamerica.com-ua-change.js is basically just to silence annoying user reports.

Also, Every site FF pretends to be a different UA on is artificially reducing FF market share data.

786
 
 

I'm curious what the difference is between Balenca etcher and Ventoy for writing isos to a live USB for distro hopping purposes. I see both recommended in fourms. Is there any advantage to using one over the other? Are they both equally safe/secure?

I'm also curious about trying out new distros. I've been using LMDE for about a year now and it's been fine, but I want to expand my knowledge and see whether LMDE is my favorite distro or not. I'm not the most well versed in Linux and don't have any prior programming experience so a beginner/mid level distro is what I'm looking for. I want something I can test out without connecting to WiFi (so not arch).

787
 
 

Zrythm is an interesting open-source digital audio workstation (DAW) software package. It's been making use of the GTK toolkit but now the developers have decided to switch to Qt6 instead.

788
789
790
 
 

Ok I know this sounds crazy but it's all about Linux and iptables all the way

I'm using a rooted android phone as a VPN router to keep confidential traffic separated between networks

A and B are in the same network, B provides a separate network for C

Device A: Linux ip 192.168.15.32 wlan0 Device B: rooted Android phone with Termux and VPN Hotspot wlan0 ip 192.168.15.21 wlan1 ip 192.168.38.173

Device C: Windows 10 with RDP wlan1 ip 192.168.15.176

I've tried the following

A: sudo ip route add 192.168.38.0/24 via 192.168.15.21 dev enp1s0

B: Termux, su: sysctl -w net.ipv4.ip_forward=1


iptables -t nat -A POSTROUTING -s 192.168.38.0/24 -o wlan0 -j MASQUERADE
iptables -A FORWARD -i wlan0 -o wlan1 -s 192.168.15.0/24 -d 192.168.38.0/24 -j ACCEPT
iptables -A FORWARD -i wlan1 -o wlan0 -s 192.168.38.0/24 -d 192.168.15.0/24 -j ACCEPT

C: default route via 192.168.38.173 metric 1

C is solely seeing the internet from B's VPN, and can even access wlan0's router, meaning it has access to its internal network. C can ping B, B can ping C

B can ping A and C

A can ping B, but not C, which also means no RDP access

What am I missing ?

791
46
submitted 3 months ago* (last edited 3 months ago) by countrypunk@slrpnk.net to c/linux@lemmy.ml
 
 

Someone gave me a Hisense C11 Chromebook and I'm wondering if there's absolutely anything I can do with it. It seems like a piece of junk and the Linux stuff I've seen for Chromebooks specify that they don't work with the ARM processor. Is there any distro that would work on it? Any other ideas about how to repurpose it?

Note: I don't have direct access to an Ethernet cable/router for setup. Also don't have the most technical knowhow.

792
793
 
 

What do you think of wakib? https://github.com/darkstego/wakib-keys

It's like emacs keybindings but keep today's default/ standard keybindings and adds other layers to it.

In the past months, I tried over and over to use emacs or vim. I dislike having to switch between the "modern" way and vim or emacs inside the editor. With wakib all common shortcut are the same and it adds shortcuts for movements.

I did not yet spend too much time with it but I really like that it simply extends on what I use anyway.

794
795
 
 

For those unaware, about umu-launcher

This is a unified launcher for Windows games on Linux. It is essentially a copy of the Steam Runtime Tools and Steam Linux Runtime that Valve uses for Proton, with some modifications made so that it can be used outside of Steam.

796
 
 

Hi, I'm trying to get SCALE to work but I'm so confused by what they mean by PATH and I'm stuck.

https://github.com/spectral-compute/scale-docs/blob/master/docs/manual/how-to-use.md

I'm at the CMAKE step.

This is the official guide I'm following. I do understand what they mean by SCALE_PATH though as that is clearly explained but PATH is just very vague to me or I'm just misunderstanding it completely.

797
 
 

Hello Linux community,

I need some help with shutting down my laptop when the battery reaches a low percentage.

I am using Debian 12 with the GNOME desktop. WARNING: Minimal installation with self selected packages.

What I want to achieve is, that the laptop just does a 'halt -p' or shuts itself down when the battery is below 20%.

What I did so far:

  • Look into GNOME settings in the power settings area and I found nothing helpful
  • I edited /etc/Upower/UPower.conf with my settings and changed the CriticalPowerAction to PowerOff, ensured the upower daemon is running via systemctl status and rebooted. The result was that I get a warning popup message in GNOME when the battery load reaches 21%, but it does not shutdown the laptop at 20% or under 20%, although I get another pop up announcing that the laptop would be shutdown
  • I ensured laptop-mode-tools and gnome-power-manager settings are installed

Any help/pointers for further help would be highly appreciated.

798
 
 

TLDR: perfctl is a crypto mining and proxy jacking malware that exploits about 20’000 common missconfigurations to install itself on Linux servers. Mostly using a 10/10 CVE on Apache RocketMQ.

It is very persistent and can reinstall itself even when you have deleted all the perfctl and perfcc files. It hides itself by removing logs, network packets, and stopping all activity once you login to the machine.

Monitoring cpu usage using tools (I use net data on my server) can help identify infections (100% cpu usage when « idle »).

799
 
 

TLDR: is the amount of time used to switch to these distros worth it? (compared to Debian, Fedora, etc.), or is there a better distro that fits my use case?

I have been using Linux for about 4 years now as my daily driver, distro hopping a lot. I have used PopOS (for a few years), Manjaro, Garuda (for a year or so), KDE Neon, Debian, Linux Mint, Nobara (for some months until I ran into system breaking issues), and lastly EndeavourOS.

Issues I have run into in the past are around the different packaging systems and versioning. The Debian/Fedora based ones seem to be fairly slow to update and so they have out of date packages, which sometimes is ok, but sometimes if they are too out of date I have to compile it from scratch. Also the different packaging systems (like apt, pacman, dnf...) means that depending on what flavor I am currently running there may not be a analogous system or maybe a package will be missing and I end up (once again) having to build it from scratch. On the other side I have Arch Linux based ones, which usually works great (especially having access to the AUR) but I end up spending a lot of time configuring stuff that isn't built in (which is by design I know), or having stuff randomly be broken after an update. (which I suppose is my own fault I should have probably set up btrfs or something). Also some libraries will build/work great out of the box on some distros and be completely unusable on others for no apparent reason.

I looked into Gentoo, NixOS, and Guix SD as possible solutions for my issues. Gentoo because since it seems like I have to compile a lot of my libraries anyways maybe I should use a system where you have to compile everything. NixOS and Guix since it seems they are designed for package management and versioning built into the system which might be exactly what I am looking for.

I am worried about the learning curve of all of these. I don't have a lot of time to mess around with configuring stuff all the time. Ideally I'm looking for a distro that works well with my old-ish hardware (with NVIDIA support unfortunately) where I can sit down, program and/or play games on steam+proton; but it seems like I have to choose between "system is stable but packages are old" and "system and libraries are new but is very unstable. Or if I am using snaps or flatpak its "install 5 things and now you are out of memory" (thanks electron).

Also concerned about both NixOS and Guix since they seem to be designed behind "everything goes through the package manager", which is super cool for making it so the environment is the same, but I am concerned about getting stuff to work if a package doesn't exist or if the library is designed to use like 'pip' or 'bun.sh' or some built in package manager.

Any thoughts about this? any non popular distros that might fit my use case? did I give up on some distro too soon? am I just a confused newb?

800
28
submitted 3 months ago* (last edited 3 months ago) by taaz@biglemmowski.win to c/linux@lemmy.ml
 
 

I've remembered this exists and there seems to be some very recent activity in the repo so if you didn't know what was possible with TUI graphics now you know! (recommended watching with sound :)

Official site: https://notcurses.com/
Repo: https://github.com/dankamongmen/notcurses

PS: dank (the guy behind it) is definitely one of a kind, just read the releases haha

PPS: here is a doom running through notcurses in the terminal: https://www.youtube.com/watch?v=a_w5rh3c76g

view more: ‹ prev next ›