Linux

48008 readers
1278 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
51
 
 

Today I needed to do a clean install. I downloaded and installed the distro as usual choosing similar installer options as I did in the past (however I didn't install CUPS this time because idk what's up with that vulnerabilities).

After a reboot and fixing some systemd-boot freeze issues in BIOS, the system started and the GDM login prompt appeared without any issues. But there was no usual gear icon in the corner that lets you choose between Wayland, X11 and GNOME Classic modes.

I tried to log in but I got my usual Wayland issue (2/3 of the screen is black and 1/3 is artifacting). So I needed to switch to X11 to figure out if I can do anything about the issue this time.

I rebooted to fix the display issue and entered CLI mode (ctrl + alt + f2). I checked for xorg packages and they were indeed installed. However doing startx gave an error about XAuthority not being configured and launched an empty session with 3 or 4 xterm windows.

For those thinking of the 61st /usr/lib rule, I do not have an NVidia GPU so that's not the issue.

So, all of that made me think that new releases of EndeavourOS come with the stupid X11-less version of GNOME. Can I add the support myself via CLI or do I have to install an X11-only DE and use that to compile a version of GNOME with mandatory X11?

EDIT: everyone said that I should change the hardware but I figured out a fix myself. It turned out it was actually a distro issue.

52
53
18
submitted 4 days ago* (last edited 3 days ago) by [email protected] to c/[email protected]
 
 

On startup of my laptop, all wifi networks are detected, my laptop connects to the wifi, but I don't have internet and get wifi with a question mark icon.

Upon running the following command I have immediately an internet connection: resolvectl --no-pager status

Does anybody have a clue what is going on, and how to resolve it?
I am running Fedora Linux 40 (Workstation Edition) firmware Version 2.29 DNS4, DNS6 : Automatic

Edit: updated to fedora 41, and the issue seems to be resolved for now

54
55
 
 

KDE are kicking off their 2024 end-of-year fundraiser just in time for Halloween!

Even if the spine-tingling horrors of the long dark night of Walpurgis are mostly imaginary, the sinister threats of predatory proprietary software providers remain all too real.

Fear not! We, the KDE community, will help you, your friends, family, company, and community banish all the creepy and insidious proprietary software that haunts your computers, phones, and household appliances.

But we can't do it alone! We need you to help us fight the good fight against the tech-ghouls from beyond. Use the form to donate any amount to our fundraiser (or become a regular donor to our community) and help us keep the dark forces of proprietary software at bay.

56
 
 

Fedora Linux provides a wide variety of users with leading edge open source technology in a community developed and maintained operating system. The Fedora KDE Spin combines the reliable and trusted Fedora Linux base with the KDE Plasma desktop environment and a selection of KDE applications – simple by default, yet powerful when needed.

Back in April 2024, Fedora Linux 40 included the KDE “MegaRelease 6” – the Plasma desktop environment, Frameworks application libraries (with the underlying Qt platform), and Gear application suite were all upgraded to new versions in one fell swoop to deliver improved performance and reliability. Since then, continuous upstream updates by the KDE teams to fix bugs and deploy new features were quickly deployed to Fedora 40 users, including breakthroughs such as Explicit Sync in Wayland (which addressed the most prevalent graphical glitches on Nvidia devices)!

Now, as part of the Fedora Linux 41 release, the KDE Spin again includes the very latest with the recently released KDE Plasma 6.2, up-to-date KDE applications and core system packages, and new ways of using Plasma on different devices.

57
 
 

(for anyone who do not know, bc is a "arbitrary-precision arithmetic language". its syntax is similar to C)

Gavin Howard's bc (bc-gh) is adopted by busybox, toybox, FreeBSD, Android, macOS for its robustness and superior performance. It is also shipped with Gentoo Linux; LFS also use bc-gh.

Even though bc-gh is more robust and updated, Linux distros other than Gentoo and Fedora do not package it it. bc-gh is not available on Arch (available on AUR), Debian and perhaps all of its derivative. The reason seems to be a licensing reason: bc-gh is under the BSD license.

bc-gh is clearly superior to GNU bc, Gavin Howard's benchmark show that bc-gh is faster than GNU bc in most case, while bc-gh actually do more work than GNU bc.

Today I tested GNU bc and bc-gh. I let they do this operation: (1024*1024)^(1024*1024). GNU bc give me the answer in five minutes, bc-gh give me the answer in two minutes.

GNU bc do not have a repository. All development happen in private, and we can't make sure it is still maintained. The latest version is 1.07 from 2017. bc-gh have a public repository and it is actively maintained.

So it is clear that other Linux distro not adopting bc-gh is purely licensing reason. They reject software not under the GPL license, even if they are more robust and more performant.

We need a campaign to raise awareness about superior software alternatives. We need to stop Linux distro for not adopting superior and updated softwares for licensing reasons.

58
 
 

Saw a post without noticing the community and commented a genuine comment with good intentions.

Apparently it was against the rules of that community and I was banned.

Original post:

My (removed) comment:

And yeah, the last comment was sarcasm.

I just don't really understand why is there a community for shitting on Linux? Like I can get not liking it, and hating the Linux die hard fans, but it really is an amazing thing that is integral to almost all modern computing... Kind of like hating social media by having a facebook page for it.

59
60
 
 
61
40
submitted 6 days ago* (last edited 6 days ago) by [email protected] to c/[email protected]
62
 
 

Hi everyone,

I run a Surface Go 1 with Fedora Workstation on it and with the Surface Kernel installed in order to improve bluetooth.

Sadly, lately, it ain't improving anything and my Surface Go just seems to have lost its bluetooth connectivity as it only manages to connect to my Sony portable speaker.

My work iPhone and my Microsoft Modern Mobile Mouse aren't detected/can't detect my Surface Go, but I can still send files through LocalSend (I guess it's not using bluetooth).

As I'm getting tired of these problems, if I don't find a quick solution, I'm looking at getting a wired mouse or a bluetooth dongle.

Since I already have my bluetooth mouse, a dongle would be practical but I'd want to be sure that I won't run into bluetooth problems with it anymore.

I don't know if it changes everything, but my Surface Go is almost always linked to an USB-C screen from Philips that I'm using as an USB hub. So the dongle would be on it and I'd use the trackpad when I'm not in front of that screen.

Thanks in advance for your help.

63
33
submitted 6 days ago* (last edited 6 days ago) by [email protected] to c/[email protected]
 
 

cross-posted from: https://lemmy.world/post/21426498

I use nixos + greetd + tuigreet + hyprland. I missed to mention that I wanted to disable or hide the logs that gets shows when starting hyprland from tty terminal by writing Hyprland or when using greetd tuigreet. After entering my username and password, These logs show before hyprland starts, I want to avoid that

64
 
 

Hi friends, I'm back, this time jotting down some notes around my go-to way to provision VMs using Ansible. This post assumes Debian (Nix may be a future post).

Of course there's many ways to provision a server, and this is just one of them. I hope some of these notes are helpful!

If you have any other ways you prefer to set up a server, that would be cool to share!

65
 
 

Easy one I hope. LMDE5, trying to add a user. According to various sites I checked, it's easy enough, go to control panel, users and groups, click on add, and fill in the details, and bob's your uncle... Except that it didn't work, still just the one user on the log in screen. Tried giving the new user the same permissions as the current one, no dice, have also rebooted, and nothing. So, either I missed something, or the system isn't behaving, but either way, I could use a hand with this, thanks.

66
16
submitted 5 days ago* (last edited 3 days ago) by [email protected] to c/[email protected]
 
 

I use neovim in tmux for development and have set up as a keymap for cmp completion. It was working well until just a while ago and I don't know what happened.

seems to register as a simple when I'm under tmux and so doesn't cmp complete in neovim. It's not a problem with cmp as is also bound to that and it does work. It also isn't a problem with neovim or the terminal emulator itself, as I tried this on foot, alacritty, kitty and gnome-terminal. In all cases, works when not in tmux, but when tmux it doesn't work. It was working fine just yesterday, and I don't know why it isn't now or how to fix it.

Has anyone had this kind of issue or knows how to fix it?

EDIT: Found a fix, though I don't know why it was working earlier and stopped working suddenly
https://github.com/tmux/tmux/wiki/Modifier-Keys#extended-keys
In tmux.conf, add

set -s extended-keys on
set -as terminal-features 'xterm*:extkeys'
67
 
 

Hi, I've been running Fedora Silverblue since version 39 and with 41 now releasing I feel like it would be wise to finally upgrade my Toolbx container from 39 to 41 too. I didn't change the container when I upgraded to 40 on the OS. I read a bit online and it seemed like the general opinion was that you shouldn't upgrade containers but rather create a new container with the new version.

How do you manage migrating settings (Codium + Extensions, Toolchains etc.) between containers without having to manually recreate everything?

68
29
Idiomatic awk (backreference.org)
submitted 6 days ago by [email protected] to c/[email protected]
69
 
 

Long story short, I made a post in '23 August about my predictions for linux in the next 10 months. It has been more than 10 months I am here. Old post here: https://lemmy.world/post/3322139

Here were my predictions:

  • Pop OS 24.04 will be awesome and be the go-to recommendation when it is released
  • SteamOS for PCs will not be released yet
  • Linux market share will be around %2-2.5 in Steam hardware survey
  • Plasma 6 will be released around January and will be a bit buggy, but most rough edges will be smoothed by the next release in 3-4 months
  • NVK will have performance parity with official drivers in certain configurations
  • Wayland will gain wider adoption, even on Nvidia
  • There will be little to no progress in compatibility with current anti-cheat blocked games
  • (bonus, not related to Linux) Web environment integrity will be adopted only in education industry because it is dominated by Chromebooks at least in US.

And the results:

  • Pop OS 24.04 is still not here and even if it was I wouldn't recommend it to anyone yet because their custom DE is still cooking. (incorrect)
  • SteamOS is not released. (Correct)
  • Linux is exactly at %2 on Steam survey right now and was even higher before (Correct)
  • Plasma 6 is in a good shape (correct)
  • I haven't followed NVK development closely but afaik it doesn't offer performance parity at the moment. (incorrect)
  • 2024 has been a good year for Nvidia + Wayland :) (correct)
  • Ah, the anti cheats... <insert it's evolving but backwards meme here> (correct)
  • Web Environment Integrity is dead (incorrect) source: wikipedia

So I got 5/8. Before you ask, no, the "decommision my PC" part didn't work out. That endeavour lasted only 1 and a half month. But I managed to isolate myself from Linux news.

70
 
 

It is reportedly plug-n-play for basic features, but for more advanced features, something like this project would need to be patched to add support for the camera.

https://github.com/samliddicott/guvciew-meet4k

71
-13
submitted 5 days ago* (last edited 5 days ago) by [email protected] to c/[email protected]
 
 

Idk if posts like this are alllowed here but we'll see I guess.

So, my main Linux machine is a laptop from 2012 featuring a completely busted case (externally and internally) and latches (so it won't close without performing an automated disintegration and it makes terrifying sounds when applied any pressure on), a suspected-to-be-dead dedicated GPU (not NVidia because obvious reasons), 2x4 Gb of DDR3 RAM and the slowest Toshiba HDD known to mankind that makes pretty concerning noises itself too and sometimes gives drive errors. However I'm planning to replace it with an SSD because I've not grown to the absolute wisdom of Linux users yet ~~(vim is trash. use nano instead.)~~. Oh and its OS is a distro based on Arch (btw) featuring GNOME for the DE because not grown to WMs yet.

I understand that I don't have an external display and a keyboard because the laptop's ones work perfectly and it's not a Thinkpad but hopefully it's not too bad.

72
 
 

Hey there i consider myself a relative noob, but I’ve been using Linux as my main operating system for about four years now, transitioning from Windows 7 to Linux Mint and then to MX Linux. Recently, I encountered a login issue, and I know I’m partially to blame for this. When I try to install projects from GitHub and things don’t work out, I often give up without deleting or cleaning up the configurations and fragments. Over time, this has led to a huge clutter on my system, which is why I’ve been wanting to do a fresh install for a while now, and I’m taking this as the opportunity to finally do it. My Hardware:

CPU: AMD Ryzen™ 7 5800X
GPU: AMD Radeon™ RX 6700 XT
RAM: 32 GB

What I'm Looking For:

I’d love suggestions for a Linux distro that:

Has relatively up-to-date updates
Can optimize the performance of my hardware
Supports both programming and gaming

Currently, I have a minimal installation of Windows 11 set up for dual boot, but I’m considering moving it to a VM if the performance impact is manageable. If that doesn’t work out, I’d like to continue with Windows 11 in dual boot. I want to play games like Space Marines 2, and while I know about tools like Proton, Wine, and Lutris, I just don’t wanna dive into that right now. Please, no fundamental debates about how I don’t really NEED Windows. I fucking know! And just wanna know if its possibly or not. ;)

Additional Preferences:

I’d like to use Flatpaks wherever possible, except for programs that aren’t available or those where permissions issues arise, like password managers with browser integrations.
I’m interested in some "ricing" but don’t want to spend all my time troubleshooting or making constant adjustments.
I’d like to run a local AI on the machine so i hope for something that can squeze the last drop of performance out of my hardware.
I appreciate the extensive guides available for Debian-based systems but am open to exploring new options.

I’m excited to hear your recommendations!

Thanks in advance!

Edit: I loaded Fedora Kde, Nebora and AuroraDX on Ventoy and explored the systems.MyFavorite at this time is AuroraDX

73
 
 

Since https://www.reddit.com/r/linux/comments/1gdhy7u/experimental_flathub_release_of_newpipe_on_linux/ got a bit of traction yesterday, this is WhatsApp straight from Meta running on Linux desktop using android-translation-layer.

android-translation-layer (ATL) is a Wine-like approach to run Android applications on Linux. Rather than running an Android container like for example Waydroid does this instead implements the Android API. Note that right now it's very much work in progress and almost no app will work yet, but the fact that they have apps like Newpipe and WhatsApp running already is very promising!

Join the Matrix chat at #android-translation-layer:matrix.org and follow along!

74
75
 
 

(this post obviously assumes the recent removal of russian devs due to sanctions is bad; no need to comment if you disagree)

a lot of people i know are considering jumping ship to some bsd after the recent MAINTAINERS debacle, but i'm skeptical it would make any difference. afaik, they're just as us-centric as linux if not more (it's the berkeley software distribution, after all). also, my biggest gripe about the bsds and the main reason i've never had any interest in them is their permissive licensing. permissive licenses suck

would there be any difference wrt sanctions in the bsds or moving away from linux to *bsd bc of that would be pointless?

view more: ‹ prev next ›