Linux

52941 readers
999 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
26
 
 

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.

27
 
 

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?

28
 
 

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

29
64
submitted 1 week ago* (last edited 1 week ago) by gronjo45@lemm.ee to c/linux@lemmy.ml
 
 

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.

30
 
 

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.

31
32
152
submitted 1 week ago* (last edited 1 week ago) by DonutsRMeh@lemmy.world to c/linux@lemmy.ml
 
 

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

33
 
 

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.

34
 
 

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.

35
 
 

Is it possible to use a reverse ssh tunnel to force all network connection on the remote host through the local host.

Essentially:

local -> ssh -> remote remote web request -> ssh tunnel -> local -> internet

I want the remote to make connections through the locals VPN without having to authenticate on the remote as well

Hopefully this makes sense

36
 
 

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.
37
38
 
 

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)

39
 
 
40
120
Qt 6.9 released (www.qt.io)
submitted 1 week ago* (last edited 1 week ago) by JRepin@lemmy.ml to c/linux@lemmy.ml
 
 

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.
41
42
43
44
 
 

I have an x220, yes it is old but I prefer the keyboard and the repairability. Anyway, it has 1 x msata SSD (2TB Orico) and 1 x 2.5 inch SSD (2TB Samsung).

What I want:

  • to take advantage of 2 drives.
  • no windows. I go full Linux now.
  • some forms of backup if system fails.

What I managed to do:

  • /, swap and all system directories on the msata

  • /home is dedicated to the entire 2.5 ssd.

  • fully encrypted. I.e the msata has a LUKS partition that mounts /, swap and others. The 2.5 inch also has a LUKS partiton for /home. My /home is on its own, so if system fails or I need to distro hop, I can keep all of my data.

System runs fine but is this a good idea in the long run?

Should I have it the other way? Root and swap and systems on faster 2.5inch SSD. Home in the smaller msata?

What about everything on the faster 2.5 drive, then use the slower msata for backups? Since I have 2TB, I'm thinking partition the msata into 2 so I can do: Timeshift backup on one, and Borg backup for my personal files on the other?

45
16
submitted 1 week ago* (last edited 1 week ago) by dr_jekell@lemmy.world to c/linux@lemmy.ml
 
 

So I recently built a new computer to replace my 7 year old one but I have noticed a strange problem with it.

When I boot up the computer and use it as normal it sits around 8-10 GiB of ram in use plus about another 9 GiB committed.

But when I suspend the computer then un-suspend it later the in use ram starts creeping up even if I have less running than I did when I originally booted the computer.

Last time this happened it went from 10 GiB all the way up to about 43 GiB in the space of a few hours.

If I reboot then things go back to normal behavior.

Anyone have any ideas about what I could look for to fix it?


Specs:

  • Manjaro XFCE 25.0.0 Zetar
  • 6.13.8-2 Kernel
  • Gigabyte B860I AORUS PRO ICE ITX Motherboard
  • Intel Core Ultra 5 245KF CPU
  • 64GB DDR5 RAM
  • 2TB M.2 NVMe
46
 
 

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

47
 
 

I discovered GoboLinux not long ago and was disappointed to see it was no longer being maintained. It's exciting to see some folks are picking it back up again.

48
 
 

i want to test debian trixie (13) so i can report bugs and troubleshoot before the release later this year. i thought about simply installing trixie alongside my current bookworm installation, but that won't be my scenario when the time comes, since i've been updating my system instead of reinstalling it since debian jessie (8) and this time it won't be different. how can i clone my current system so i can simulate an update to trixie? do i simply create a new partition and copy my files over, then chroot to it and install grub?

49
 
 

SOLVED - "Allow screen tearing" was ON and caused this issue.

I have some constant stuttering on my current setup. Every 4-5 seconds, almost like a hiccup, I drop about 100 ms worth of frames.

Video:
https://picoshare.jau.nz/-VnpPP8z6xR

Full specs:

5600X

3080 Ti on 570.124.04

Nobara with KDE

Wayland

This has been persistent through several GPU driver updates and I'm tired of trying to troubleshoot it. I don't know what the exact cause is. Any ideas?

Also, related note, how easy is it to migrate from one distro to another? I am thinking about trying something else - maybe base Fedora or Arch - to hopefully have better performance.

50
 
 

Anubis provides protection against bots scraping websites and DDoSing projects.

This blog post is about Xe's reasoning for originally only providing docker packages and their work to provide native packages.

view more: ‹ prev next ›