Linux

48677 readers
437 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
201
 
 

Not sure if this is also true for KDE.

202
203
 
 

Fedora KDE, Wayland, Nvidia, proprietary drivers. Everything worked fine until suddenly plasmashell started crashing every time I interact with with the plasma panel. On x11 this doesn't happen, but instead the the whole video freezes while audio continues, and after a while it comes back. The plasma panel may or may not be frozen after this.

Is this an Nvidia problem again?

Logs coming in a couple minutes

204
205
 
 

Five years ago, I bought a Supernote A5. It was (and mostly still is) a great device for reading and writing on an eInk display, and it runs plain old linux.

The deciding reason I went for this device instead of the competition is that I was "under the impression" that they were about to enable full SSH access to the device! Awesome!

"Why were you under that impression?", I hear the skeptics ask. Well, their spokesperson has stated that they would do so. Via mail, and on reddit, publicly, multiple times. I was still torn, so sent them a DM, asking if this was ineed factual. "Yes", they said, "the next quarterly update will enable SSH access!".

Great!

Well, it's been 5 years. They did not follow through. A couple updates were published, none contained the promised functionality, the spokesperson stopped answering questions about SSH. The last software update I received is from 2.5yrs ago. Mentions of the original Supernote A5 have largely been scrubbed from their website.

Let me be clear, the device still functions perfectly. But it is in danger of becoming e-waste because it is so needlessly complicated to get stuff on the device. I'm currently in need of an ebook reader with (ideally) OPDS capability, and I am pretty confident I'd be able to get something like koreader running on this, or at least just run a script to sync files over SSH. Also, I frankly feel wounded in my pride having a Linux device in my possession which refuses to do my bidding (I'm joking of course, but also I am 100% serious).

Here's all I know:

  • plugging it in via USB, the device reads as an MTP device, with access only to the documents/books/... stored on it
  • you can place an update.zip file (obtained from the SN website) into the root of that MTP directory, and upon reboot, the device will update. To me, this appears to be the most promising route of gaining access.
  • unfortunately, the zip file is encrypted. The decryption key clearly has to be known to the device, but since I have no access to it,...

I'm a software engineer, but I have zero knowledge of the "dark arts", so to speak. If anyone could help me (or point me into the right direction!), I would really be grateful. I don't want this (generally nice) product to turn into a paperweight instead of a paper replacement :(

206
146
submitted 3 weeks ago* (last edited 3 weeks ago) by Cornflake@pawb.social to c/linux@lemmy.ml
 
 

The dark system theme I have set seems to make some applications look funny, with dark boxes where they should be light. Is there any way I can manually set a theme on a per-application basis?

207
 
 

Hey! I've been wanting to make the switch to Linux for a while now, and I've dual booted Mint for a while. I realize that most games work well with Linux, but I can't seem to get my Elgato HD60 Pro to work. (Pci-e capture card)

I just want to be able to grab gameplay with HDMI passthrough on Linux, and right now, this is my biggest hurdle (along with Adobe not working well, but I'm gonna switch to davinci resolve for that)

Any help will be greatly appreciated.

208
 
 

Don't know if this is really the right place for this, but I can't imagine trying to do this on windows! Not saying it couldn't be done, but I wouldn't know where to start

I got a new laptop with a backlit RGB keyboard, but no capslock, numlock indicators. I figured I could solve that by just setting the backlight of the key if capslock is enabled. I got that working, but that's boring.

While I was doing that I realised that I was baaaasically working with a 20x6 LED display sooooo...

Behold! Playing snake on my laptop!

Source code is very specifically for my Kfocus M2 Gen 5, which I believe is just a branded Schenker KEY 17 Pro (M24)

Having said that, it could be adapted to other keyboards fairly easily:

https://gist.github.com/Kraiden/5393bc30f4c29d8b8dd51b4c21c0c829

209
31
submitted 4 weeks ago* (last edited 4 weeks ago) by Donatello@lemmy.ml to c/linux@lemmy.ml
 
 

Hi,

I need to setup a Rsync server to backup a 😡 NAS.

So I want to run it under SSH.

man rsync

Also note that the rsync daemon protocol does not currently provide any encryption of the data that is transferred over the connection. Only authentication is provided. Use ssh as the transport if you want encryption.

but when I do rsync --config=/etc/rsyncd.conf --rsh=ssh --dry-run
I get:

rsync: --rsh=ssh: unknown option (in daemon mode) So there no way to specify that rsync daemon should run under ssh ?

Also is this following A.I statement is correct ?

The rsyncd.conf file is only used when the rsync daemon is running on the remote host and the client connects to the daemon directly, without using an SSH connection.

So there is no way with Rsync (under ssh) to set settings (config file or other) that will apply to all clients !!??
So it's the client that configure rsync and the server !? there is no way around ?!

210
 
 

So with the recent drama it looks like bcachefs isn't going to stay in the kernel for too long. What do I do now? I have my root filesystem as bcachefs on multiple devices. Is it possible to migrate to btrfs or ext4?

211
 
 

Hello,

I had a working wireguard peer on my laptop, which I didn't want anymore, so I decided to uninstall wireguard. All was well until I restarted the laptop and now I can't access the internet anymore.

I think it's because of some config left over from wireguard, but I'm not sure how to fix it.

Running pop os 22.04.

Any advice?

212
 
 

The xev output for both left alt and right alt is given below. I could not use right alt for any purpose due to this. What could be the problem? Thanks in advance.

KeyPress event, serial 39, synthetic NO, window 0x1400001,
    root 0x409, subw 0x0, time 14963499, (139,64), root:(818,407),
    state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 39, synthetic NO, window 0x1400001,
    root 0x409, subw 0x0, time 14964219, (139,64), root:(818,407),
    state 0x18, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XKeysymToKeycode returns keycode: 92
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
213
 
 

I usually use Tor Browser to scan files online for viruses, which I then send to Windows users (I use Linux) if they are clean.

Lately, I've noticed that the User Agent in TOR is showing up as Linux, when it used to show up as Windows.

Is this a problem with my system or a change made by the TOR team? The fact that Linux has far fewer users increases fingerprinting.

214
112
Wine 9.22 Released (www.winehq.org)
submitted 4 weeks ago* (last edited 4 weeks ago) by that_leaflet@lemmy.world to c/linux@lemmy.ml
215
 
 

My laptop has a display resolution of 1366x768. Every now and then, I'll encounter a window whose default height is over 768 and thus won't fit entirely within my screen. The GTK file picker comes to mind, though it is resizable without much fuss. But then there are those that cannot be resized and being unable to move the titlebar further up, I am forced to use Alt+F7 to see what's at the bottom.

I suspect that many programs today are designed to work comfortably on higher resolution displays, but not really tested on smaller ones. Understandably, developers only have so much time and 1366x768 is getting long in the tooth. Just wanted to put this out there since nobody seems to be talking about it.

216
 
 

i've instaled opensuse tumbleweed a bunch of times in the last few years, but i always used ext4 instead of btrfs because of previous bad experiences with it nearly a decade ago. every time, with no exceptions, the partition would crap itself into an irrecoverable state

this time around i figured that, since so many years had passed since i last tried btrfs, the filesystem would be in a more reliable state, so i decided to try it again on a new opensuse installation. already, right after installation, os-prober failed to setup opensuse's entry in grub, but maybe that's on me, since my main system is debian (turns out the problem was due to btrfs snapshots)

anyway, after a little more than a week, the partition turned read-only in the middle of a large compilation and then, after i rebooted, the partition died and was irrecoverable. could be due to some bad block or read failure from the hdd (it is supposedly brand new, but i guess it could be busted), but shit like this never happens to me on extfs, even if the hdd is literally dying. also, i have an ext4 and an ufs partition in the same hdd without any issues.

even if we suppose this is the hardware's fault and not btrfs's, should a file system be a little bit more resilient than that? at this rate, i feel like a cosmic ray could set off a btrfs corruption. i hear people claim all the time how mature btrfs is and that it no longer makes sense to create new ext4 partitions, but either i'm extremely unlucky with btrfs or the system is in fucking perpetual beta state and it will never change because it is just good enough for companies who can just, in the case of a partition failure, can just quickly switch the old hdd for a new one and copy the nightly backup over to it

in any case, i am never going to touch btrfs ever again and i'm always going to advise people to choose ext4 instead of btrfs

217
218
18
submitted 4 weeks ago* (last edited 4 weeks ago) by FrameXX@discuss.tchncs.de to c/linux@lemmy.ml
 
 

I am trying to install Linux (Fedora KDE spin specifically, but this problem is probably not distribution related) on an older Acer Switch 3 (SW312-31P) tablet. The installation always fails when trying to setup grub with "failed to set new efi boot target". Grub shows up when I boot the device, however only UEFI fimware setting is present in the GRUB menu. I repartitioned the whole internal drive as GPT added ext4 partition to be mounted at /, swap partition and FAT32 EFI partition to be mounted at /boot/efi and even told the Fedora installer to reformat it as EFI, however the result is still the same. I think the problem lies somewhere within the EFI firmware of the device itself, because when I run

sudo efibootmgr -v

I get this result:

Skipping unreadable variable "Boot0000": Input/output error
error trace:
 efivarfs.c:271 efivarfs_get_variable(): read failed: Input/output error
 lib.c:140 efi_get_variable(): ops->get_variable failed: Input/output error
Skipping unreadable variable "Boot0001": Input/output error
error trace:
 efivarfs.c:271 efivarfs_get_variable(): read failed: Input/output error
 lib.c:140 efi_get_variable(): ops->get_variable failed: Input/output error
Skipping unreadable variable "Boot0002": Input/output error
error trace:
 efivarfs.c:271 efivarfs_get_variable(): read failed: Input/output error
 lib.c:140 efi_get_variable(): ops->get_variable failed: Input/output error
Skipping unreadable variable "Boot0003": Input/output error
error trace:
 efivarfs.c:271 efivarfs_get_variable(): read failed: Input/output error
 lib.c:140 efi_get_variable(): ops->get_variable failed: Input/output error
Skipping unreadable variable "Boot0005": Input/output error
error trace:
 efivarfs.c:271 efivarfs_get_variable(): read failed: Input/output error
 lib.c:140 efi_get_variable(): ops->get_variable failed: Input/output error
Skipping unreadable variable "Boot2001": Input/output error
error trace:
 efivarfs.c:271 efivarfs_get_variable(): read failed: Input/output error
 lib.c:140 efi_get_variable(): ops->get_variable failed: Input/output error
Skipping unreadable variable "Boot2002": Input/output error
error trace:
 efivarfs.c:271 efivarfs_get_variable(): read failed: Input/output error
 lib.c:140 efi_get_variable(): ops->get_variable failed: Input/output error
Skipping unreadable variable "Boot2003": Input/output error
error trace:
 efivarfs.c:271 efivarfs_get_variable(): read failed: Input/output error
 lib.c:140 efi_get_variable(): ops->get_variable failed: Input/output error
show_order(): Input/output error

Does anyone know what does this mean? I tryed asking Generative AIs, however they would usually advice me to remove faulty entries with some command that wouldn't work (usually using the efivar utility which would at least list all the variables without throwing an error).

I tryed using the "load optimized defaults" option in UEFI settings. That didn't help. I have secure boot disabled.

On start grub prints out "checking media [fail]" before showing boot options.

219
220
39
submitted 4 weeks ago* (last edited 4 weeks ago) by Tekkip20@lemmy.world to c/linux@lemmy.ml
 
 

Ding Ding Ding

It comes down to this, the heavyweight desktop championship between two powers in the Linux world.

In the blue corner, we have the mighty KDE, KDE comes with a wealth of customization options and good features with every update. It serves a nice alternative to windows 10 or 11s desktop and itself as an OS.

KDE has got so good that even legendary distro, Fedora, wishes to use it in its dealings.

In the grey/black corner, we have GNOME, This is a heavy distro with some ram usage, but it strives to be a simple desktop for usage and has had some good features every new version it comes packaged in as well.

GNOME has had a long history much like KDE, But controversial changes from its older brother.

However.. big name distros like Ubuntu have used it across millions of machines in different sectors.

What desktop do you favour and why? Explain your thoughts.

Round 2... GO!

Ding

221
 
 

This week we of course continued the customary bug-fixing, but got some nice new features and UI improvements too!

Let me also remind folks about KDE's end-of-year fundraiser. We're 84% of the way to our goal, and it would be amazing to get all the way to 100% before December! Then we can focus on those stretch goals from December to January.

Anyway, enough of the sales pitch, back to the free stuff!

And isn't that amazing? Let's zoom out a bit here and remind ourselves just how incredible it is that this software is made available for free, with no contract or license agreement, to everyone. To you, to your school, to community organizations, businesses, governments, even our direct competitors to study and examine (which goes both ways, and helped me fix a bug in GTK this week; read on for details). It's kind of wild, if you think about it. But, here we are, and we want to keep on being a light in a tech world that sometimes seems to be darkening. Help us keep that light glowing!

222
 
 

I made Cathode - don’t vote for it (or at least, don’t give it a high rank, since Debian uses ranked choice). It kind of sucks, honestly; I was just having fun.

I have a feeling Juliette Taka’s going to keep being the de facto face of Debian for a long time - I ranked hers first in the voting.

223
27
submitted 1 month ago* (last edited 4 weeks ago) by doomsdayrs@lemmy.ml to c/linux@lemmy.ml
 
 

I have a "Dell Inc. Latitude 5290 2-in-1", and it comes with a stereo microphone array that, by default, has a gain that is way too extreme.

A value of 100% is screeching / over-blasted to any listener, while a value of 25% is most reasonable.

Thus, I wanted to limit the gain of the microphones through PipeWire.

I created the following WirePlumber configuration file.

# For "Dell Inc. Latitude 5290 2-in-1"
# The analog input array is way too loud

monitor.alsa.rules = [
  {
    matches = [
      # This matches the value of the 'node.name' property of the node.
      {
       	node.name = "alsa_input.pci-0000_00_1f.3.analog-stereo"
      }
    ]
    actions = {
      update-props = {
        node.description        = "Dell Latitude 5290 2-in-1 Stereo Microphone"
        channelmix.min-volume   = 0.0
        channelmix.max-volume   = 0.25
        channelmix.normalize    = true
      }
    }
  }
]

I know this is applying to the correct node, because executing wpctl status shows that the node description has been properly changed.

The problem is that the "channelmix.max-volume" is not applied as I expect it to be. I expect it to make it so that 25% max volume is the new 100%, Instead it seems to do nothing.

What am I doing wrong, and how can I achieve what I want?

Edit 1: Channel Mix is working, but it seems the "Volume" as of wpctl get-volume is referring to gain. Essentially Channel Mix is making it quieter, but the gain because of "Volume" is nonsensical.

Edit 2: RedHat developer says there isn't support for thatcurrently :( https://fosstodon.org/@wtay/113532113977083665

Edit 3: EasyEffects is not the solution here, This is a lower level issue, not something done via an affect to the audio stream. EasyEffects cannot "undo" gain changes.

224
 
 

An HOA (home owners associations) can say what color you can paint your house, What you can plant in your yard, What you can have in your driveway, and some even say what color your blinds can be.

Microsoft controls your computer, they say what info is sent back to Microsoft, and they say when you must upgrade. They can shut down your computer when they want whether you like it or not.

225
 
 
view more: ‹ prev next ›