Linux

47890 readers
1755 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
576
38
submitted 2 months ago* (last edited 2 months ago) by Unyieldingly@lemmy.world to c/linux@lemmy.ml
 
 

I been having issues with the cheap hp gaming laptop with Linux, One CPU core runs at 100% no matter that do i tried masking and disabling stuff, changing the Network card, adding Ram, and some desktops like Gnome forks had issues as well, KDE, and Mate work fine but it looks like it maybe has a Firmware, Driver or a Kernel issue, so far i tested it with Fedora, Fedora rawhide, Ubuntu and Mint, I'm going to test Debian next.

The laptop i had issues with Windows 11 works fine. https://www.walmart.com/ip/HP-Victus-15-6-inch-FHD-144Hz-Gaming-Laptop-AMD-Ryzen-5-8645HS-NVIDIA-GeForce-RTX-4050-8GB-DDR4-512GB-SSD-Mica-Silver-2024/5395277312

Edit Only Gnome 3 forks have issues with the Nvidia Drivers i will retest it at a later date with a new install and one CPU thread runs at 100% with all DE's and OSes but Windows 11.

Edit 2 I think i found the issue AMD APUs on some systems with Nvidia GPUs will spam the system the bug report i found said to disable the iGPU. also Gnome forks work fine i think it was my fault for not disabling secure boot.

577
578
 
 

I've been looking around for a scripting language that:

  • has a cli interpreter
  • is a "general purpose" language (yes, awk is touring complete but no way I'm using that except for manipulating text)
  • allows to write in a functional style (ie. it has functions like map, fold, etc and allows to pass functions around as arguments)
  • has a small disk footprint
  • has decent documentation (doesn't need to be great: I can figure out most things, but I don't want to have to look at the interpter source code to do so)
  • has a simple/straightforward setup (ideally, it should be a single executable that I can just copy to a remote system, use to run a script and then delete)

Do you know of something that would fit the bill?


Here's a use case (the one I run into today, but this is a recurring thing for me).

For my homelab I need (well, want) to generate a luhn mod n check digit (it's for my provisioning scripts to generate synchting device ids from their certificates).

I couldn't find ready-made utilities for this and I might actually need might a variation of the "official" algorithm (IIUC syncthing had a bug in their initial implementation and decided to run with it).

I don't have python (or even bash) available in all my systems, and so my goto language for script is usually sh (yes, posix sh), which in all honestly is quite frustrating for manipulating data.

579
118
submitted 2 months ago* (last edited 2 months ago) by Sunny to c/linux@lemmy.ml
 
 

Hi.

Tried to install nix but am stuck with an issue I'm not able to resolve. Whenever I boot the system, it uses approx 5min on the boot-up of Nixos Stage #1 as seen in the picture. After a while it will boot into the system but without a GUI. I've done the installation twice, with different isos to make sure I didn't do it wrong. It only works if I downgrade to nixos 23.11, but if I update(+plasma 6) from there It results in the same problem.

The error is:

kernel: Acpi Error: Aborting method (long string) due to previous error (AE_AML_UNINITIALIZED_ELEMENT)

Have no idea what this error is, and there don't seem to be alot of info on it. Reaching out here to see if anyone is able to help me troubleshoot this, as I would really like to try latest Nixos.

580
 
 

Some Lemmy user at one point had asked about a "multi-paste" feature, if there was a way to use keyboard shortcuts to display multiple clipboard items and copy/paste them out at will (this user mentioned similar to RTS games they like to play). ~~If someone can find that post, can you notify them and direct them here, please? I'm having trouble locating it but I recollect that it was within the last 3 months.~~ Edit: I found the post!

Somehow this was stuck in my mind when I accidentally pressed a keyboard shortcut, that showed my last 5 copied items. This isn't exactly what the user was looking for but I thought I'd publicize it here.

If you use Fcitx (because you need multi-language input) from the fcitx5 packages, then you may already have installed the clipboard add-on. You can use fcitx with just one keyboard layout. By default, it's activated by Ctrl+semicolon and shows the 5 last entries, but the number can be configured.

581
 
 

I searching for a tablet for drawing and discovered this one. Anyone tried drawing on it? I wondering if the experience is good.

On the page they doesn't mention if the screen supports drawing pens, but it's possible to order an MPP pen with it, so I assume that it works with Wacom or Surface pens?

582
 
 

I am trying to create a KVM/QEMU/Virt-Manager VM without exposing my IP/internet connection to it. I pay for a VPN subscription, and I typically access it through wireguard configs that integrate with my distro (Fedora 40 Workstation) and DE VPN menus. From my understanding, as I have them set up now, I can enable one of these configurations in my settings, and all of my traffic is routed through the VPN, except for my local network.

I want this VM guest to have all of its traffic sent to the VPN as well, with the exception of some connection between it and the host, so I could still access it from the host for utilities like ssh.

Is it possible to achieve this? When I looked online, it seemed to require some CLI configuration of IP routes, and I didn't feel confident not understanding the changes I was making, as I want to make sure it is impossible to leak; it just shouldn't have any access to my normal network. If my VPN is disabled on the host, then it simply shouldn't be able to access the internet.

583
68
submitted 2 months ago* (last edited 2 months ago) by j4k3@lemmy.world to c/linux@lemmy.ml
 
 

My old man has a bunch of .dox stuff saved. He has complicated large files saved that are not supported by any of the FOSS conversion tools. I've tried Libre office, Abi Word, and every command line tool and converter I can find. These are entire book sized files.

I have a W10 machine with Word. Is extracting the .exe and running it with wine feasible without making an epic mess or massive project of this?

584
 
 
585
98
A Steam Deck Everywhere (blog.doomsdayrs.page)
submitted 2 months ago by doomsdayrs@lemmy.ml to c/linux@lemmy.ml
 
 

I figured out how to easily use Steam headlessly for Remote Play on Linux.

Took me a few hours to figure out, with some questions asked, but with this, I no longer have to deal with Sunshine or other janky ways of playing (steam) games remotely.

I'll be making a repository with some packaging andother convenience functions soon.

586
 
 

The link makes it seem like crap hardware, and sure 4gb of ram is really crappy. But how does this compare with one of my kid's Fire tablets? Does anyone have opinions on that?

587
 
 

Basically title. Do you know of any companies that use desktop Linux?

I can think of two in my area in Brisbane - Adfinis and Red Hat. Both have a pretty small presence here from what I last heard (several employees each).

My employer allows the Linux team to use Linux but it's discouraged and our lives are made somewhat difficult.

588
 
 

I got into computers when there was no GUI.

Then years later I got a Win95 PC and I found the Windows GUI pretty good - although the rest of the OS was not. My personal Linux PC running Slackware 96 came with FVWM95 wich was a good approximation. So I switched to that.

That was just for graphical utilities of course - of which there weren't very many. I spent the rest of my time in the Linux console or in xterm using screen for convenience.

Fast-forward to today: I still do that. I still like the Win95 UI paradigm, so I run Mint / Cinnamon. But most of what I do with it is open a Gnome terminal, blow it up and start tmux - like screen but better.

And, ya know, for almost 3 decades, whether it's Mint or anything else I used, that's pretty much what I've been doing: running screen in a terminal in a Win95-like GUI. And it works fine for me.

I recently ordered a laptop that comes with Debian / Wayland and the Sway window manager installed by default. I learned a long time ago that it's often better to go with whatever is installed by default than try to reinstall everything and fight a system that wasn't designed for it.

The laptop will take a few weeks to get here. So to prepare for when it lands on my porch, I decided to get into Sway on my current machine, to get used to it. I figured even if I don't like it, at least that way I'll be comfortable with it, and I'll know whether it's acceptable as it is or whether I should spend the time installing something more Win95-like.

But my current machine doesn't run Wayland, just plain Xorg. 2 minutes of searching revealed that Sway is in fact i3wm for Wayland.

Great! I promptly installed i3 on my Linux Mint box, switch to it, fucked around with the config file for a few hours and... I love it! That's pretty much exactly what I do with Cinnamon anyway but quicker!

And just like that, I switch to i3. I felt right at home with it from the get-go. The whole Win95-like UI was just a familiarity: in fact, what I've always wanted was a tiling window manager.

And yes, I did spend a few hours - almost half a day really - configuring the thing exactly how I like. But if I'm honest, I probably spent just as much time with Cinnamon way back when I switched to that too. So it's no different really.

So the takeaway here is: even if you have decades-old die-hard habits and you don't want to change, you should expose yourself to change every once in a while: you might just get surprised 🙂

589
 
 

First of all. This is not another "how do I exit vim?" shitpost.

I've been using (neo)vim for about two years and I started to notice, that I,m basically unable to use non-vim editors. I do not code a lot, but I write a lot of markown. I'd like to use dedicated tools for this, but their vim emulators are so bad. So I'm now stuck with my customized neovim, devoid of any hope of abandoning this strange addiction.

Any help or advice?

590
 
 

No, android does not count.

Is there anyone who daily drives Linux on apple silicon or other ARM hardware? If so, then how is your experience, would you recommend it?

For at least 3 years, I've been wanting to get an apple silicon mac to daily drive Linux on, lately I've been seriously considering getting one of these machines, or even other ARM hardware, like the thinkpad x13s or even the new Qualcomm laptops.

I'm pretty much sold on a used macbook air m1 at this point, but I still wish to hear what other people have to say

591
 
 

If I'm using Arch or another minimal distro, is it a good idea to install a syslog daemon? Or can I go without?

592
25
submitted 2 months ago* (last edited 2 months ago) by Dust0741@lemmy.world to c/linux@lemmy.ml
 
 

how would i go about getting the latest kde onto debian 12? is it worth it even?

EDIT: fine I wont try lmao

593
 
 

One of the biggest things holding me back from jumping definitively on Linux is possibly getting rid of the apps/games i'm comfortable with and know well. How do you exaclty use Wine/Proton? You install it, launch the app with it and pray it works? Are there ways to know what is not working and possibly try to fix them googling or reading the documentation?

594
 
 

I've got a BTD 600 usb bluetooth adapter and I'm trying to connect Sennheiser Momentum 4 headphones. Same manufacturer.

When I plug the BTD 600 usb adapter into a windows machine it works as expected:

  • The LEDs start off white, indicating "calls" mode. (The device is transmitting a low-latency high-compression signal. The quality is terrible, but there's very little lag)

  • As soon as I play music or youtube video or some form of audio, the LEDs on the usb adapter change to purple, indicating "aptX" mode. Audio is clear and there is little latency. The adapter remains in call mode indefinitely (or until I make a call of some sort, which I haven't tested)

I've even tested this out successfully with a steam deck. It works fine, so I know it can work on linux. However, on my Pop_OS! cinnamon desktop I have issues. Upon plugging the BTD 600 usb adapter into Pop cinnamon:

  • The LEDs start off white, and remain white no matter what audio is playing. The device is stuck in "calls" mode; audio quality is terrible (though there is very little lag).

I did some research and found terms like "pulseaudio" and "pipewire" and realized those seem tied to the desktop environment. So, I logged out of Pop_OS! cinnamon and logged in to Pop_OS! Pop (its default desktop environment). Lo and behold, the BTD 600 could "see" audio was being played and switched from "call" mode to "aptX" mode.

My guess is that something about the cinnamon desktop environment isn't telling the audio controller that audio is playing, but something in the Pop desktop environment (and the windows and steam deck desktop environments) is.

Does anyone know what tells the audio controller audio is playing, or what would "trigger" a usb device into thinking audio is playing?

(For what it's worth, the adapter seems to handle the bluetooth connection to the headphones independently from the operating system. Bluetooth settings does not see the device. I also purchased an Avantree C81 bluetooth adapter which seems to function in a similar fashion, however its LED does not change color depending on codec used. I'm including it here as the fix for the BTD 600 should be the same fix for the Avantree C81.)

595
 
 

"Mini Text" is a tiny scratchpad utility for Linux that I've found to be quite useful. I thought it might appeal to some others in this community.

596
 
 

There's been some Friday night kernel drama on the Linux kernel mailing list... Linus Torvalds has expressed regrets for merging the Bcachefs file-system and an ensuing back-and-forth between the file-system maintainer.

597
598
31
submitted 2 months ago* (last edited 2 months ago) by ExtremeDullard@lemmy.sdf.org to c/linux@lemmy.ml
 
 

I'm about to step into the wonderful world of ARM Linux. I work with ARM32 as an embedded developer profesionally (Cortex-M3 specifically) so I'm not a complete newbie. But I've never used ARM64, and I've never used it with a desktop OS. So I'm doing my research, as one does, to know roughly what I'll be dealing with.

I have a few questions regarding backward compatibility and architecture-naming. Maybe you specialists out there could shed some light.

From what I could find, I understand the following:

  • arm64 and aarch64 are the same thing: the former is what Linus likes to say while the latter is what ARM calls their own stuff.
  • arm64 / aarch64 really mean "compatible with ARMv8" as a least common denominator, meaning ARMv8.x-y (x being the extension, y being A for application or R for realtime) will run it, just without taking advantage of any extension or realtime instructions.
  • ARMv9.x will run arm64 / aarch64 kernels and applications, as it's (supposedly) backward-compatible with ARMv8, just without taking advantage of the ARMv9 ISA.
  • If I want to create arm64 software that takes advantage of this-or-that extension or realtime instructions, I have to compile it in explicitely. I'm not sure if gcc handles special instructions, I haven't checked yet, but I suppose it does since it knows about the Thumb mode for instance.

Do I understand correctly?

If I do create some software that relies on extended ARMv8 or ARMv9 features and I want to release my software as a package, how should I name the package's architecture? Is there even a standard for that? Will it get rejected by the package managers of the few ARM distros out there, or will it be recognized as a subset of the wider arm64 / aarch64 architecture?

599
 
 

How to change dark/light nature of libadwaita in non-gnome systems?

@linux@lemmy.ml @linux@a.gup.pe
I use a window manager on Wayland. I know customising gtk4 apps is hard for some reasons. Neither I want some great level of customisation for it. I do not need uniform theming etc.
JUST
A simple way to change dark light theme from terminal. I use darkman to switch between dark and light theme. I just need a way to switch between dark and light with libadwaita
Please help.

600
view more: ‹ prev next ›