Linux

48889 readers
1708 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
126
 
 

Hey folks! After using Fedora Atomic for quite a while and really appreciating its approach, I've been eyeing one particular feature from NixOS: its congruent system management. Inspired from Graham Christensen's "Erase your darlings" post, I'd like to explore implementing something similar to NixOS' impermanence module on Fedora Atomic as one step towards better state management.

Why not just switch to NixOS? Well, while NixOS's package management and declarative approach are incredible, I specifically value Fedora's stringent package vetting and security practices. The nixpkgs repository, despite its impressive scope, operates more like a user repository in terms of security standards.

I've already made some progress with the following:

  • Fedora Atomic's shift to bootable OCI containers has helped with base system reproducibility when one creates their own images. This process has thankfully been streamlined by templates offered by either uBlue or BlueBuild
  • Using chezmoi for dotfiles (would've loved home-manager if it played nicer with SELinux)

My current (most likely naive and perhaps even wrong) approach involves tmpfs mounts and bind mounts to /persist, along with systemd-tmpfiles. I'm well aware this won't give me the declarative goodness of NixOS, nor will it make the system truly stateless - there's surely plenty of state I'm missing - but I'm hoping it might be another step in the right direction.

Particularly interested in:

  • Best practices for managing persistent vs temporary state
  • Working with rpm-ostree's (or bootc') assumptions
  • Tools or scripts that might help
  • Alternative approaches that achieve similar goals

Thanks in advance!

127
20
submitted 2 weeks ago* (last edited 2 weeks ago) by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
 
 

From their homepage: IPFire_ is the world's leading Open Source firewall distribution. Businesses across the world have chosen to put their trust in our versatile, feature-rich solution with its easy-to-use web management console.

128
 
 

While I was adding Golang to the PATH my terminal (Konsole) suddenly stopped recognizing basic commands like nano and ls. I restared my PC and after logging back in (X11) KDE started throwing errors because it wasn't able to find any program I tried to launch. Konsole is gone. I can't open any program whatsoever (Firefox, Discover etc.). Trying to log in into Wayland just throws a black screen. After a few more reatarts I decided to use the terminal from the login screen, but it is broken as well. ls not found, nano and vim don't exist. So far I can use pwd and cd.

What the hell is wrong here? Is it hardware failure (bad SSD)? Is there anything I can attempt to recover the system?

129
 
 

i like rhythmbox a lot and it's so great to use it as a music player but most of my music files don't even have any metadata it's just "song-name-author.opus" so it's a lot for me which is why i would use vlc instead yea!!! but anyway ummm why does xfce or gnome use rhythmbox??

130
131
199
LibreOffice 24.8.4 released (blog.documentfoundation.org)
submitted 2 weeks ago by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
132
133
 
 

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

https://gitlab.com/christosangel/tuiplette

tuiplette is a terminal match-three game, written in Bash.

The aim is to gain points by swapping two adjacent grid cells to create rows or columns of three or more matching cells, which will disappear and allow the above cells to fall and occupy the vacant space.

When there are no moves left, the grid will be refreshed, and the game will continue until all (configured) reshuffles are used. When there are no moves left, and no reshuffles left, the game will end.

If the score is among the 10 best scores achieved, it makes it in the Top Ten Hiscores.

As far as the appearence of the game, by configuring the game accordinly, the user can select the game theme according to their liking.

The user has select theme between letters, numbers, greek, shapes, faces and blocks.

The colors selected are the configured terminal theme colors.

themes

134
 
 
135
136
 
 

I primarily use my pc for gaming, and want to avoid upgrading to Windows 11. Beginning the journey of looking into alternatives.

I am ignorant, trying to be less so. I have a hard time understanding what exactly makes a game not work just because of OS.

137
138
 
 

I went from a 2600x to a 5600 (yes, MoBo is compatible after BIOS update) and now for some reasons I get 1FPS in games and monitor is not really detected (resolution is fine, but I can't change refresh rate and in "color" settings it's shown as "None-1 Monitor").

I tried:

  • monitor factory reset;
  • updating GPU drivers (was already running latest);
  • removing and purging GPU drivers (sudo apt remove ~nnvidia and sudo apt-get purge nvidia*) and reinstalling (sudo apt install pop-desktop system76-driver-nvidia);
  • resetting RAM speed to factory (2400Mhz).

Still nothing.

As you can guess from the commands, I'm running PoP!_OS and a nVidia GPU.

What else can I try?

Thanks in advance!

Issue found: I disabled secure boot from BIOS and now I can change resolution and refresh rate. Since I updated BIOS just before installing the new CPU it went under the radar

139
 
 

Hello,

first I installed Gentoo with glibc and it worked fine, I got sway up and running but after some time I got bored and wanted something new. so I decided to go with Arch with rEFInd bootloader but I couldn't make it work. Arch dropped me into a rescue shell. so I went back to Gentoo but this time with musl and this time I tried Hyprland on Gentoo. there were 133 packages to install for Hyprland, so I went for installing those packages but the build failed probably because using musl. now I thought I just pick that's easy to setup and I went with Debian and it got installed successfully. so yeah, right now I am using Debian after the back and forth between Arch and Gentoo.

sadly I pissed of some Gentoo devs on IRC #gentoo :(

maybe it was my fault I shouldn't have distrohopped when Gentoo was installed succesfully and working fine.

140
 
 

I know this is a Linux magazine but I can't really find a lot of resources on this.

I installed fedora kinite on a second hard drive, intending to dual boot with windows, after the install finished it looks like it removed my windows boot loader.

Has anyone run into this and if so how did you correct it?

141
 
 

There I said it !

142
 
 

Even gamers nexus' Steve today said that they're about to start doing Linux games performance testing soon. It's happening, y'all, the year of the Linux desktop is upon us. ᕕ(ᐛ)ᕗ

Edit: just wanted to clarify that Steve from GN didn't precisely say they're starting to test soon, he said they will start WHEN the steam OS releases and is adopted. Sorry about that.

143
16
submitted 3 weeks ago* (last edited 3 weeks ago) by corvus@lemmy.ml to c/linux@lemmy.ml
 
 

The situation is this:

  • I use a bluetooth dongle ASUS UB400 on my PC, bluetooth version 4.0
  • My Sony wh-1000xm5 (bluetooth version 5.3) is not detected by the PC when I scan for new bluetooth devices
  • Another Anker Soundcore Q20 headphones are detected and working fine, like the mouse and a bluetooth speaker.
  • The Sony is detected by my android smartphones and working fine
  • I switched the dongle with another one with different brand, and all the devices were detected (and work fine) with the excepcion of the Sony.
  • Using Debian 12.8 and tested with bluetoothctl

Any advice is welcome.

144
 
 

I'm getting back into coding and I'm going to start with python but I wanted to see what are some good IDEs to write the code. Thanks in advance.

145
 
 

Hi all,
I have all AMD and I wanted to try and set the integrated GPU for passthrough for VMs and leave the discrete one for my daily use. Is this doable? If so, how complicated would it be?
Processor: Ryzen 7 5700G with Radeon vega integrated graphics card
GPU AMD RX 6600.
Thank you

146
 
 
147
 
 
148
 
 

I have a couple of flatpaks installed that are no longer available on flathub, and i want to make sure to back them up so that i can run them later if i install a fresh distro for example.

Is it as simple as copying the application folder from ~/.local/share/flatpak and adding it there later? Does that include dependencies as well?

149
28
submitted 3 weeks ago* (last edited 3 weeks ago) by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
150
 
 

hello,

I don't know if this is the right place to ask this question but could someone explain me how a UEFI system boots, I couldn't find a guide online. I want to know because I don't understand certain GRUB commands and how it get installed.

I just copy paste commands from Arch wiki and it just magically works without me knowing anything about it.

all the different distros use different grub command parameter and it's so confusing. eg, Arch and Gentoo.

Arch command: grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB Gentoo command: grub-install --efi-directory=/efi

why both command is different? exactly where does grub gets installed?

sorry if this is a naive question but i really don't understnad GRUB.

view more: ‹ prev next ›