Linux

47547 readers
507 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
2
 
 

For those unaware, about umu-launcher

This is a unified launcher for Windows games on Linux. It is essentially a copy of the Steam Runtime Tools and Steam Linux Runtime that Valve uses for Proton, with some modifications made so that it can be used outside of Steam.

3
 
 

What do you think of wakib? https://github.com/darkstego/wakib-keys

It's like emacs keybindings but keep today's default/ standard keybindings and adds other layers to it.

In the past months, I tried over and over to use emacs or vim. I dislike having to switch between the "modern" way and vim or emacs inside the editor. With wakib all common shortcut are the same and it adds shortcuts for movements.

I did not yet spend too much time with it but I really like that it simply extends on what I use anyway.

4
5
 
 

TLDR: perfctl is a crypto mining and proxy jacking malware that exploits about 20’000 common missconfigurations to install itself on Linux servers. Mostly using a 10/10 CVE on Apache RocketMQ.

It is very persistent and can reinstall itself even when you have deleted all the perfctl and perfcc files. It hides itself by removing logs, network packets, and stopping all activity once you login to the machine.

Monitoring cpu usage using tools (I use net data on my server) can help identify infections (100% cpu usage when « idle »).

6
 
 

Hello Linux community,

I need some help with shutting down my laptop when the battery reaches a low percentage.

I am using Debian 12 with the GNOME desktop. WARNING: Minimal installation with self selected packages.

What I want to achieve is, that the laptop just does a 'halt -p' or shuts itself down when the battery is below 20%.

What I did so far:

  • Look into GNOME settings in the power settings area and I found nothing helpful
  • I edited /etc/Upower/UPower.conf with my settings and changed the CriticalPowerAction to PowerOff, ensured the upower daemon is running via systemctl status and rebooted. The result was that I get a warning popup message in GNOME when the battery load reaches 21%, but it does not shutdown the laptop at 20% or under 20%, although I get another pop up announcing that the laptop would be shutdown
  • I ensured laptop-mode-tools and gnome-power-manager settings are installed

Any help/pointers for further help would be highly appreciated.

7
 
 

Hi, I'm trying to get SCALE to work but I'm so confused by what they mean by PATH and I'm stuck.

https://github.com/spectral-compute/scale-docs/blob/master/docs/manual/how-to-use.md

I'm at the CMAKE step.

This is the official guide I'm following. I do understand what they mean by SCALE_PATH though as that is clearly explained but PATH is just very vague to me or I'm just misunderstanding it completely.

8
 
 

TLDR: is the amount of time used to switch to these distros worth it? (compared to Debian, Fedora, etc.), or is there a better distro that fits my use case?

I have been using Linux for about 4 years now as my daily driver, distro hopping a lot. I have used PopOS (for a few years), Manjaro, Garuda (for a year or so), KDE Neon, Debian, Linux Mint, Nobara (for some months until I ran into system breaking issues), and lastly EndeavourOS.

Issues I have run into in the past are around the different packaging systems and versioning. The Debian/Fedora based ones seem to be fairly slow to update and so they have out of date packages, which sometimes is ok, but sometimes if they are too out of date I have to compile it from scratch. Also the different packaging systems (like apt, pacman, dnf...) means that depending on what flavor I am currently running there may not be a analogous system or maybe a package will be missing and I end up (once again) having to build it from scratch. On the other side I have Arch Linux based ones, which usually works great (especially having access to the AUR) but I end up spending a lot of time configuring stuff that isn't built in (which is by design I know), or having stuff randomly be broken after an update. (which I suppose is my own fault I should have probably set up btrfs or something). Also some libraries will build/work great out of the box on some distros and be completely unusable on others for no apparent reason.

I looked into Gentoo, NixOS, and Guix SD as possible solutions for my issues. Gentoo because since it seems like I have to compile a lot of my libraries anyways maybe I should use a system where you have to compile everything. NixOS and Guix since it seems they are designed for package management and versioning built into the system which might be exactly what I am looking for.

I am worried about the learning curve of all of these. I don't have a lot of time to mess around with configuring stuff all the time. Ideally I'm looking for a distro that works well with my old-ish hardware (with NVIDIA support unfortunately) where I can sit down, program and/or play games on steam+proton; but it seems like I have to choose between "system is stable but packages are old" and "system and libraries are new but is very unstable. Or if I am using snaps or flatpak its "install 5 things and now you are out of memory" (thanks electron).

Also concerned about both NixOS and Guix since they seem to be designed behind "everything goes through the package manager", which is super cool for making it so the environment is the same, but I am concerned about getting stuff to work if a package doesn't exist or if the library is designed to use like 'pip' or 'bun.sh' or some built in package manager.

Any thoughts about this? any non popular distros that might fit my use case? did I give up on some distro too soon? am I just a confused newb?

9
23
submitted 15 hours ago* (last edited 15 hours ago) by [email protected] to c/[email protected]
 
 

I've remembered this exists and there seems to be some very recent activity in the repo so if you didn't know what was possible with TUI graphics now you know! (recommended watching with sound :)

Official site: https://notcurses.com/
Repo: https://github.com/dankamongmen/notcurses

PS: dank (the guy behind it) is definitely one of a kind, just read the releases haha

PPS: here is a doom running through notcurses in the terminal: https://www.youtube.com/watch?v=a_w5rh3c76g

10
47
Laptop for Linux use (forum.uncomfortable.business)
submitted 19 hours ago by [email protected] to c/[email protected]
 
 

So I'm looking for a laptop, but before you downvote and move on, I've got a twist: I'm looking for a laptop with Linux support that's going to intentionally be console-only and rely on TUIs to make a lower-distraction device.

I was looking at older Thinkpads with 4:3 screens and the good keyboard before Lenovo went all chicklet with them, but I'm kinda concluding they're both way too expensive AND way too old to be a reasonable choice at this point.

A X220 or T40-whatever would be great and be the perfect aesthetic, but they're expensive, hard to find parts for, and using enough crusty old shit that this becomes yet another delve into retro computing and not one into practical, useful computing which is the goal here.

So, anyone have any recommendations of any devices in the last decade that have a reasonable keyboard, screen, use modern enough components that you can source new drives and RAM and batteries and such, and preferably aren't coated in a coating that's going to turn to sticky goo?

Thin(ner) and light(er) would be nice, but probably not a dealbreaker if the rest of the pieces align. This will be almost entirely used at a table for writing and such.

11
20
submitted 21 hours ago* (last edited 21 hours ago) by [email protected] to c/[email protected]
 
 

Hello,

I think everyone here is already aware of the current problems regarding Intels 13/14th generation CPU-chips. If not this article should explain your questions.

Since Intels new ucode update came and went, I was looking for an update on the situation and wanted to ask you (the users) for your experience using an Intel 13/14th gen CPU.

Are you still facing issues regarding degradation or are there any other issues potential users should be aware of?

Thanks in advance :)

12
42
submitted 1 day ago* (last edited 1 day ago) by [email protected] to c/[email protected]
 
 

I spend hours trying to fix this stupid error and nothing work, please help

13
 
 

This was inspired by debian guy on the same community you can check out his story here i hope i aint stealing anything

Why did i decided to move to linux?
Windows is getting slower with win11 + the microsoft recall thing, (tho windows 10 solved this issue. am prob gonna fully switch linux once windows 10 ends support, and i dont think windows 12 is gonna be any better and idk why am considering buying macos as a secondary os.) and also Linux gives you more frames as well in gaming.

The story:
So i wanted to try Linux, the first distro i ever used if you count is Ubuntu, i hardly used it in the vm, but really it was Linux mint, i loved the speed,simplicity,etc i would download distros on my brothers laptop when he takes my gaming pc bcs how windows 11 is slow on his laptop i also used tails os(on my main pc) and some nix (didnt like Nixos config when i was new) and i used Tails os as well and i didnt know why discord isnt working :) i found my favorite distro: Cachyos ,some grauda linux (a little bloated sadly i only used it for 2 days before switching back to cachyos since A nvidia driver problem has been solved), btw i also tried building regular arch, and use bazzite but regular arch was too hard + building regular arch is hard i also love the aur, And i also tried blendos yeah the installer kept overriding the usb :P.

My main Pc specs i used linux on:
intel I3 12100f
Gtx 1650
16gb of ram (Originally 8gb but suddenly the other 8gb stick decided it wants to work again after Distrohopping to Cachyos)

The laptop specs(used on Linux Mint and Nixos):
i3 115g1
4gb ram
integrated graphics

How is my experience going:
Its alright. but i wish app support improves ngl, below is my experience with (more?) apps and games.


Gaming:
Its not that bad most of my library on steam works fine under proton AND natively, and i didn't test my epic games library, but sadly i suffered with some games:
Roblox (I can use sober but no thanks, dont wanna use a android emu to play roblox, but ngl i wanna quit roblox due to the moderation thingy, its a fun game tho on my dualbooted windows ssd.)
~~Fortnite~~ (The anticheat. not a problem anymore, i quit it too boring. i would dual boot windows to play Roblox/and this game as well.) Gmod (I need to run a script to fix it but it rarely happens for me and when am in game no problems so far)
Beam.NG drive (Lags on some maps and i need x11 to play it with Vulkan render and native linux build that is hidden in the files no steam integration and you cannot add mods due to a "network issue" but ig firewall? due to Cachyos auto enabling that.)
Discord (Idk if this counts as gaming but i bearly had any problems except with streaming i rarely stream so its fine)
fact ig: On my previous Lemmy account, when i instance hopped. i even ask help with gaming.


Nvidia:
Tbh its not that horrible like people call(+The linux creator) Nvidia, its actually good on linux (even on Wayland)


Web dev:
I like to web dev my personal site on Vscode and thats on Linux, Nothing to say here its going great. and i use git to publish it to codeberg and it will be displayed on the world wide web.


Content creation:
Tbh i never really tried it, bcs am too lazy to make videos on Odysee/Peertube and originally youtube, But sadly affinity is not on Linux(I can use photopeas once my 6month trial of affinity ends), they say its hard and they had struggles porting it from mac to windows as well. and Davinci resolve(Which i used on windows) its not that bad like people say. but sadly there is no AAC support, but Mp3 is supported, Tho i had way more trouble on fedora i needed distrobox.


small issues with some apps (all catagories)
Whatsapp(Tbh i can use the web version i rarely/almost never call people on whatsapp)

14
 
 

This is a 12 year dream. I have always run a Windows workstation along side a Debian laptop. I am no stranger to Debian. I have a 12 year association with it. I am not a Linux wizard yet but have been adept with it.

Why not use Debian daily then? My personal computing usage unfortunately centered around consumption rather than creation. I watched videos, listened to podcasts, read technical articles, and browsed social media. On top of this, inertia and great software like Visual Studio, Notepad++, Excel, OneDrive held me back.

Visual Studio is an absolute must-have for all .NET developers. I built small pieces of complex web projects only occasionally. VS Code on Linux is decent for .NET development but it is not the same. Though Jetbrains Rider existed along-side, it is unthinkable to drop Visual Studio. At least for dark matter developers.

Notepad++ is a fabulous software program that had no complete alternatives on Linux. I used it for scripting, text manipulation, note taking, dumping and editing thoughts. Scintilla-based equivalents Geany, SciTE exist, but do not come close.

MS-Office Excel is another remarkable software program with no real alternatives in other ecosystems. It is worth the 5K INR per year. Organizing data, life planning, and creating simple reports are a few of its greatest capabilities. Also, the formulas system is amazing. OneDrive is another great and a utilitarian software program from the Microsoft stable.

So, why now? I had the most fun and growth when I built things. I love the independence that comes with the experience of building things. As far as I can remember, I was always a tinkerer, thinker, builder, doer and explorer. After a decade or so of inaction, I needed a change. A few things fell into place recently.

  • Windows is about to get a whole lot more annoying. An increase in ads, baked-in Copilot, and a suffocating push to outlook user-linked usage.
  • Jetbrains Rider became formidable now for CLI and web app development.
  • I learnt enough of apt-pinning, backports and makedeb repository.
  • The last straw is from an unexpected experience. I set up a Win 11 VM recently using the KVM+QEMU route. I noticed that the VM's performance was quite responsive. KVM+QEMU despite all the pain felt worthy. I cannot recommend it enough.

Immediately I decided to remove Windows, install Debian with a Windows VM inside. I will write about various experiments and experiences over the next year. These are some of the sub-projects on my mind in no particular order.

  • Write about this setup
  • Implement a nice 3-2-1 backup strategy
  • Write about significant alternatives
  • Write about significant issues
  • Linking to phone
  • Configure monitoring, notifications and alerts
  • Configure auto dark mode
  • Find a way to play an old strategy game on Linux
15
16
 
 

I just got hold of an AMD RX7800 XT to replace my current Nvidia RTX3080.

I'm likely overthinking this but from what I understand I should just be able to swap the cards then uninstall the Nvidia drivers correct?

I'm running EndeavourOS which I installed with the option to include the Nvidia drivers by default so dunno if that changes anything? I've been daily driving Linux for exactly a year as of this month but I still kinda feel like a newbie sometimes lmao. Thanks in advance!

(Update) I got my AMD card installed and loaded up Wayland with no issues, only thing I had to install was the AMD Vulkan drivers for Steam.

17
18
 
 

cross-posted from: https://fedia.io/m/[email protected]/t/1266175

A new community update! New hardware to announced and previous hardware to return!

19
20
21
 
 

It started as a stupid project cause I was bored. How much can you actually do without a windowing environment?
After finding out how to post to lemmy from a TTY, I realized that I can do most things I do daily using text.
Browsing the web in links, which opens all sorts of files in the corresponding programs if configured correctly.
Opening images in fbi, PDFs in fbpdf, listening to music in cmus, watching movies in mplayer, using e-mail in alpine, creating documents in vim and latex, ...
The only thing that still requires a GUI is image editing and a few websites I need that don't work without JavaScript.
And it's actually really nice...more focused, without loading times, animations, popups, ads, or other distractions, and everything is scriptable.

Anyway, sorry for the blog post.

22
547
submitted 3 days ago* (last edited 3 days ago) by [email protected] to c/[email protected]
 
 

Hey y'all, today I experienced another push for Linux from our friend Microsoft. 5 minutes ago, I wanted to use the timer app on Windows, so I could manage my work/break schedule, and this fucker showed up. Yes, that's a prompt to sign in with a Microsoft account to use the clock. If you close it, it pops up 30s later. Clicking “Don't sign in” or closing the process responsible for displaying it is useless, and guess what… IT PAUSES THE TIMER WHEN IT SHOWS UP.

I guess this is another thing added to the super long list of things which will eventually make me switch my main workstation to Linux once win10 is discontinued.

/endrant

Hope y'all are having a great day :3

23
 
 

I know there choice of distro is really meaningless as you can install almost any program on almost any distro. But I have been playing with kali which is for security people and pen testers. Is there a similar distro for programmers? Like a few ides installed some profiling tools some virtual environment tools etc?

24
 
 

Hi,

by doing a

ps aux | grep UserName

The output do not keep the LF[^1] 😡

I've found some solution online by they involve 3 or more pipe | !

On my side, I've made this

ps -fp $(pgrep -d, -u UserName)

But still I found it not super human readable.

Is their a native way with ps to filter users ? or to grep it but the keep the LF ?

[^1]: linefeed https://en.wikipedia.org/wiki/Linefeed#Representation

25
 
 

So I've been really interested in immutable OS's since Silverblue, kept jumping off and on again as I hit what I thought were brick walls. I was just not approaching them properly.

I've been using Bluefin for work for the last 6 months and started making distrobox containers for projects. One thing I always ended up with was a load of mess with pip or NPM, so the idea I can just jump into a container for that specific project was really appealing.

But it never occurred to me, I can do this for everything, I know this is something that has been done before, but I've just stumbled on it. I made a distrobox container using boxbuddy that used the arch-bazzite-gnome image, called it arch-gaming. This has given me a containerised gaming setup that runs like arch native. I can just chuck all my gaming stuff through that and box buddy auto exports the icons into the app menu, so the GUI side of things is sorted. As it's bazzite the nvidia drivers and steam are all ready to go I installed lutris that was it.

The added bonus of bluefin is that I don't need rpm-ostree for anything, languages are handled by brew, apps with flatpak, and now the aur for anything niche or apps I want to use in a more traditional setting.

I now have a portable, reproducible system that should be pretty robust.

view more: next ›