Linux

52805 readers
465 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
1
 
 

XY: I installed bazzite and goofed up. The username is wrong and my home is /home/bazzite instead of /home/ludrol

I am trying to run usermod -l ludrol bazzite in tty3 with sudo su - but the bazzite user is logged.

2
 
 

I want to be able to format my system without formatting my home, I know I can keep them seperate partitions but I would prefer if I can have dynamic sizes of each, can I achieve that by creating a sub volume for each? Would I be able to distrohop without removing my home while keeping the sizes dynamic? I never sat up a BTRFS before so I'm clueless

3
 
 

Hi!

I'm trying to install linux lite on my wife's old laptop, and I when I try to boot from the flash drive I get the following message:

ERROR Verification failed: (0x1A) Security Violation

Here are some details that may be relevant:

  • It's her personnal computer (not managed by a corporation
  • I'm using ventoy on a usb stick
  • I've only put Linux Lite 7.4 on the usb stick
  • I've tried launching Lite live on my own computer and it works just fine

I'm still a noob when it comes to linux, so I'm stuck with this error message. Can anyone help me with this? Thanks,

4
 
 

So I got a new HP Victus 2023, and I want to install Fedora on it, it has an RTX 4050 and has win11 preinstalled, my last laptop was a 2014 Toshiba and I only had to disable secure boot for Linux to run, is there something else to disable before installing Fedora ? Maybe TPM?

5
 
 

I would like to buy myself a second hand and install Linux on it. I was looking into ThinkPad T14 gen1 or gen2 devices because of their maintainability and repairability. I found one where I live with a Ryzen processor but it has the wrong keyboard. How easy and expensive would it be to swap this with US English? Are there any good alternatives to the ThinkPads? I fancy the X1 but don't like the fact that I cannot change or swap anything on it. The T14 looks very bulky and unattractive but at least can have the RAM upgraded and the battery changed.

I fancy the Framework laptops, but don't want to spend so much on a laptop. Especially the latest 16 inch with Ryzen AI CPUs.

The T14 G1 is at least cheap, like 350€ with the 400 nits low power display and the battery is at 99%. I guess with tlp installed and autocpugfreq I can get 5-6 hours out of it.

6
7
 
 

OK so after finally learning fcitx5, I can't even type on half my apps, which are either on distrobox or flatpak.

How can I make my fcitx5 usable on distrobox and flatpak programs?

8
9
 
 

Hello everybody! I want to escape Microsoft and windows, and I am looking for a Linux distro. I have some experience with Unix and a very old Ubuntu distro. But that's quite some years ago. I am looking for a Linux distribution where i can play World of Warcraft on. I mainly use Nvidia graphics (RTX 3070).

I have found some distributions that are supposed to be good for gaming. I suppose, as i am still a Linux Noob, I am also looking for a distribution which is easy to get into. Especially for an older gamer ;)

I came with these distro's myself. What does the Linux community say?

Bazzite

Developer: Universal Blue (US?)

Drauger OS

Pop!_OS

Developer: system76 (Denver, US)

SteamOS -based on Debian 8 (Jessie) -designed to run steam and steam games -set to auto update their OS from Valve repo's https://store.steampowered.com/steamos

Developer: Valve (US)

Manjaro -based on Arch (rolling release model for latest software/drivers) -KDE plasma desktop (Pro-tip: enable flatpak and install ProtonUp-QT) https://manjaro.org/products

Developer: Majaro (EU - Austria, France, Germany)

Ubuntu: -the go-to linux distro for millions of users, incl gamers -best for beginners and gamers who want stable well supported distro -works seamlesssly with steam, lutris, wine (pro-tip: install the gamemode package (sudo apt install gamemode)) https://ubuntu.com/download

Developer: Canonical ltd. (UK)

Nobara -based on Fedora -optimized for gaming on newer Nvidia graphics (drivers come installed) https://nobaraproject.org/download-nobara/

Developer: Thomas Crider (Denver, US)

Mint -based on debian and Ubuntu -friendly OS, works out of the box, extremely easy to use https://www.linuxmint.com/download.php

Developer : Linuxmint (French, Dutch, UK)

10
 
 

I have been banging my head against the desk over this. I can use u-boot on the SD card to boot alpine off a flash drive. I cannot get the entire thing running off SD card though. It keeps doing this. What am I missing?

11
 
 

I am planning to buy a Lenovo T14s (4th generation) with eSIM-cpability. Does anyone here know or can anyone tell me how modern Linux-distros like Fedora, EndeavourOS, Manjaro or Mint do handle eSIM-functionality?

Is it available without going with additional packages, can I directly scan the QR-code to active the eSIM on the system? Any experiences here?

Thanks in advance!

12
138
submitted 2 days ago* (last edited 2 days ago) by [email protected] to c/[email protected]
 
 

This just warms my heart. The year of the Linux desktop isn't here, but the decade of it is.

13
 
 

In light of Mozilla’s recent policy changes, we no longer feel assured that Firefox aligns with our commitment to protect your privacy. This prompted us to revisit the choice of default web browser in Zorin OS 17.3.

14
 
 

In case anyone is using Debian Testing/Unstable and experiencing audio issues, I thought I'd share this.

Until the bugs get fixed, there are two workarounds:

  1. Uninstall FluidSynth
  2. Add systemctl --user restart pipewire to your session startup; this eliminates the problem.

As I want FluidSynth, I went with the latter.

15
55
submitted 2 days ago* (last edited 2 days ago) by [email protected] to c/[email protected]
 
 

Hello all,

I'm trying to get into GUI programming, but am hesitating on using a Python library to make my first barebones program. My goal is to code basic buttons and understand how operating systems implement the way they draw windows for applications.

I have coded mostly in scientific libraries or high-level languages that are fairly simple (Python, Matlab, Julia)... Also am familiar with basic concepts and syntax from C.

Looking for recommendations to start. I am happy to learn a new PL. Interested in writing code for legacy hardware and mobile. Bonus if the codes are general enough to be written for most displays one could interact with.

16
 
 

I'm using yay -S cmake to install. This is the output it returns:

cmake-3.31.6-1-x86_64.pkg.tar.zst failed to download error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.moson.org : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.moson.org : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arch.mirror.constant.com : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arch.mirror.constant.com : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.pseudoform.org : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.lty.me : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.lty.me : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.pkgbuild.com : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from iad.mirrors.misaka.one : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from iad.mirrors.misaka.one : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from archlinux.thaller.ws : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from archlinux.thaller.ws : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from america.mirror.pkgbuild.com : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.wtnet.de : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.wtnet.de : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arlm.tyzoid.com : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arlm.tyzoid.com : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from phinau.de : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from phinau.de : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arch.hu.fo : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arch.hu.fo : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.chaoticum.net : Could not resolve host: mirror.chaoticum.net warning: fatal error from mirror.chaoticum.net, skipping for the remainder of this transaction error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from archmirror1.octyl.net : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from archmirror1.octyl.net : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arch.jensgutermuth.de : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arch.jensgutermuth.de : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.hackingand.coffee : Could not resolve host: mirror.hackingand.coffee warning: fatal error from mirror.hackingand.coffee, skipping for the remainder of this transaction error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arch.mirror.zachlge.org : Could not resolve host: arch.mirror.zachlge.org warning: fatal error from arch.mirror.zachlge.org, skipping for the remainder of this transaction error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.arizona.edu : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.arizona.edu : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.mikrogravitation.org : Connection timed out after 10000 milliseconds error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.mikrogravitation.org : Connection timed out after 10001 milliseconds error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirrors.lug.mtu.edu : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirrors.lug.mtu.edu : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from ftp.halifax.rwth-aachen.de : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from ftp.halifax.rwth-aachen.de : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.bethselamin.de : Connection timed out after 10000 milliseconds error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.23m.com : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.23m.com : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.moson.org : The requested URL returned error: 404 warning: too many errors from mirror.moson.org, skipping for the remainder of this transaction error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.ubrco.de : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.ubrco.de : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirrors.niyawe.de : The requested URL returned error: 404 error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirrors.niyawe.de : The requested URL returned error: 404 warning: failed to retrieve some files error: failed to commit transaction (failed to retrieve some files) Errors occurred, no packages were upgraded. -> error installing repo packages

Thanks in advance.

Edit: Fixed with sudo pacman -Syu

17
18
 
 

What I want:

To boot into a BTRFS snapshots from rEFind boot manager. But rEFInd doesn't show the snapshots.


Additional Info:

  1. So, apparently, to restore the BTRFS snapshot of a root subvolume, I shouldn't do it with the root partition being actively used.
  1. So, I need to boot into the desired snapshot from the boot manager itself.
  1. GRUB has grub-btrfs, which lets you boot into snapshot from OS selection screen itself.
  1. rEFInd has refind-btrfs, which should do the same as grub-btrfs. But it didn't in my case. I am not seeing any way to boot into a snapshot from rEFInd.
  1. I use BTRFS Assistant with snapper to manage snapshots.
  1. I am not seeing any way to restore the snapshot from live environment too.
  1. I am using CachyOS (Arch) with Plasma DE.
  1. I suspect the reason is my unusual /efi /boot partition layout. (attached below)
  1. I did my partition this way because, my initial EFI partition had less storage (as seen on image), so , I created another boot partition and mounted my pre-existing EFI partition to /boot/efi. I did this by referring a Youtube video (I know, I should've known better)
  1. I also encrypted my BTRFS / partition
  1. If you need any other info, please ask.

I know this is a general community, but this is the 7th community that I'm asking this 🥲

Some people suggested Limine bootloader, but I like rEFInd for its versatile theme support.

19
 
 
20
 
 

I recently got a new Dell Inspiron 660s and it had Windows on it, I played around with Windows and eventually got around to putting Arch on it.

Now I've installed Arch on multiple systems but I'm no expert at Arch, I mainly like it because it's bleeding edge.

I opened Firefox on it and started to pull up Tetr.io and Friday Night Funkin - browser games, and it was noticably slower on Arch than it was on Windows.

According to Fastfetch, I have a "Radeon HD 5000/6000/7350/8350 Series" (???) and a "Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller" (my iGPU i think)

What can I do to fix this? Please tell me if I need to provide more info.

21
108
Qt 6.9 released (www.qt.io)
submitted 3 days ago* (last edited 3 days ago) by [email protected] to c/[email protected]
 
 

cross-posted from: https://lemmy.ml/post/28018658

Qt 6.9 is here! This release brings exciting innovations, enhanced graphics performance, and new platform capabilities to help you build exceptional applications.

Highlighted improvements in Qt 6.9 include:

  • Qt Graphs: Interactive 2D panning, zooming, and dynamic 3D graph injection. Printing support now available!
  • Qt Quick: GPU-accelerated SVG animations and Variable Rate Shading for improved graphics performance.
  • Qt Quick Controls: New context menu support enhances desktop integration and user experience.
  • XR Enhancements: Haptic feedback added for creating richter immersive virtual interactions.
22
 
 

Hey, I hope someone can help me.

Problem:

When I wake my PC from suspend, my monitor is always set down to 30% brightness for some reason.

These are the brightness settings of the monitor itself, which can only be accessed via the monitor settings using the buttons on the monitor. I do not mean the brightness settings of my desktop environment. These are still set to 100%, even though the monitor is darker.

The problem also arises in a second case. When I lower the brightness in the brightness control of my DE, my monitor brightness is also lowered in the monitor settings down to 30% again. I can then no longer increase the brightness in the DE settings, because 100% in the DE now equals 30% in the monitor. So if I set the brightness to 50% in the DE for example, this is 50% of the 30% set in the monitor. So actually only 15% in real terms

I hope I was able to explain the problem clearly. Please ask if you don't understand something. It's really annoying because I need to turn up my screen brightness with the Buttons on the Monitor every single time I wake up my PC.

Technical data:

  • Nobara Linux 41 (Based on Fedora)
  • KDE Plasma 6.3.3
  • Wayland
  • Desktop PC. So a external monitor. Not a laptop monitor.
  • I have a 2nd monitor on which this does not happen.
23
24
 
 

Seeing that DVD are slowly going end-of-live and that you can't buy a lot of my childhood favorites in german anymore and streams are compressed-to-death (and DRMed), i had a streak of preservia. Which is why i rip a bunch of discs from the library on Linux (yes, legally not ok, but morally just ease of access, i wouldn't sell them). Since it's only to watch them when nostalgia hits, i want them in a ready-to-watch format, chose AV1 webm for small size. My burner is LibreDrive-ok ootb, meaning makemkv goes automatically in that mode.

I have the discs for a limited time, so i used to use dvdbackup for DVD and later feed the folder to handbrake for conversion. Now i got a bunch of blu-ray:

  • ripping one takes even longer; whole 25 hours; i don't have the time for the whole LotR series with bonus disks.
  • makemkvcon backup needs only about 2 hours per disk, but the resulting folder is 80 GB big; i have only about 250 GB free space ** and the makemkv backup somehow has no audio streams, while handbrake does

While i write this, handbrake is loading the chapters (that alone needs more than 1 hour for blu-ray); i'm trying if a lossless FFV1 mkv conversion (for later re-conversion) takes less long.

Now:

  • Any better approach?
  • Any way to fix makemkv having no audio? (i could juggle with external disks) I think i have all libraries and the KEYDB.cfg.

Edit: nope, handbrake suddenly has unable to decrypt unit (AACS)

25
 
 

There has been discussions with-in the development circles regarding a potential integration of Web3 functionalities into the mainline kernel. Exploring the feasibility of incorporating features like decentralised application (dApp) support and smart contract execution directly into the kernel.

Early proposals suggest leveraging the NPUs in new processor families for secure on chain data validation within the kernel space. This means better fraud protection by validating signatures while booting up using the zk-SNARK cryptographic proof.

The developers at Linux Fundaytion notes that this plan requires extensive re-architecture of the codebase. They say that after this, Linux would only run supported systems with dedicated NPU and will simply refuse to boot on other systems, making a significant breakthrough in system security.

The timeline for the proposed changes have already been laid out. With chip manufactures already including dedicated NPUs, developers now have more freedom than ever. Linux communities have always welcomed Web3 technologies like NFT, dApp games etc. and with the kernel integration, Linux will be making a huge leap into the future. One developer put it aptly, "Imagine running my own ETH node directly within Linux kernel."

source

view more: next ›