Linux

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.

52
26

Someone gave me a Hisense C11 Chromebook and I'm wondering if there's absolutely anything I can do with it. It seems like a piece of junk and the Linux stuff I've seen for Chromebooks specify that they don't work with the ARM processor. Is there any distro that would work on it? Any other ideas about how to repurpose it? Note: I don't have direct access to an Ethernet cable/router for setup. Also don't have the most technical knowhow.

20
11
arstechnica.com

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 »).

82
6

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?

23
22

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
5

Ok I know this sounds crazy but it's all about Linux and iptables all the way I'm using a rooted android phone as a VPN router to keep confidential traffic separated between networks A and B are in the same network, B provides a separate network for C Device A: Linux ip 192.168.15.32 wlan0 Device B: rooted Android phone with Termux and [VPN Hotspot](https://github.com/Mygod/VPNHotspot) wlan0 ip 192.168.15.21 wlan1 ip 192.168.38.173 Device C: Windows 10 with RDP wlan1 ip 192.168.15.176 I've tried the following A: `sudo ip route add 192.168.38.0/24 via 192.168.15.21 dev enp1s0 ` B: Termux, su: `sysctl -w net.ipv4.ip_forward=1` ``` iptables -t nat -A POSTROUTING -s 192.168.38.0/24 -o wlan0 -j MASQUERADE ``` ``` iptables -A FORWARD -i wlan0 -o wlan1 -s 192.168.15.0/24 -d 192.168.38.0/24 -j ACCEPT iptables -A FORWARD -i wlan1 -o wlan0 -s 192.168.38.0/24 -d 192.168.15.0/24 -j ACCEPT ``` C: default route via 192.168.38.173 metric 1 C is solely seeing the internet from B's VPN, and can even access wlan0's router, meaning it has access to its internal network. C can ping B, B can ping C B can ping A and C A can ping B, but not C, which also means no RDP access What am I missing ?

3
0

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

43
24

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

153
82

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.

77
43

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.

24
6
github.com

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.

61
0

Hello, I think everyone here is already aware of the current problems regarding Intels 13/14th generation CPU-chips. If not this [article](https://www.tomshardware.com/pc-components/cpus/intel-finally-announces-a-solution-for-cpu-crashing-errors-claims-elevated-voltages-are-the-root-cause-fix-coming-by-mid-august) 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 :)

21
6

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.

8
0

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.

374
103
https://www.youtube.com/watch?v=cYhZ7myXyyg

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

24
0

Hi, by doing a ```bash 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 ```bash 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

23
8

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?

63
54

I've noticed a general sentiment that printing on Linux is (or at least was) extremely cumbersome and difficult. Why is that?

72
94

This was inspired by debian guy on the same community you can check out his story [here](https://lemm.ee/post/43870620) 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)

18
4

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. ![](https://protosparky.uk/cdn/rkgnketnktrdeg/1.jpg) 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

548
102
https://pine64.org/2024/10/02/september_2024/

cross-posted from: https://fedia.io/m/pine64@lemmy.ml/t/1266175 > A new community update! New hardware to announced and previous hardware to return!

47
1

Hi, I would like to use [Gnupg ](https://gnupg.org/)to encrypt, sign... documents. I've downloaded the Manual, it's quite extensive. So the learning curve is proportional :) I've tried the [GPA](https://gnupg.org/software/swlist.html#gpa) GUI, but with it, it seem impossible to generate an ECC key.. So what would be your recommendation to be able to generate ECC keys, be able to encrypt, sign etc.. with or without GUI. Thanks.

31
13

Has anyone here had success with USB fingerprint scanners? I also found this [Microsoft keyboard](https://www.amazon.com/Microsoft-EKZ-00001-Modern-Keyboard-Fingerprint/dp/B072QZ8B2P/) with fingerprint reader but I don't know if it works with linux.

81
26

is there a way to prevent all the other apps on the system from opening up new tabs/windows in firefox?

24
7

So, I discovered weird behavior when trying to play games on an NTFS file system in Linux. When i auto mount the drive through a fstab entry, it is only able to launch Linux native games (I think I read somewhere that this is a permission issue). However, if I mount it through steams "select a drive" option, it works without a problem (so far at least). I assume this is again a permission issue, as when I mount the drive through steam, I get a Polkit password prompt. Anyone got a clue what's going on, and/or maybe a way to make the auto mount work, so I don't have to manually mount it after every boot? Distro: Arch Kernel (according to neofetch): 6.11.1-zen1-1-zen NTFS driver: ntfs-3g Proton version: GE-Proton9-10 tested games: - Terraria (Tmodloader) - Project Wingman - Hades II fstab entry: `#/dev/nvme1n1p1` `UUID=E01A2CEC1A2CC180 /mnt/games ntfs nofail 0 3` full system update a few hours ago date for future visitors (dd.mm.yyyy): 01.10.2024 at 14:44 (02:44 pm) edit: formatting and adding proton version

33
14

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.

55
10

I'm using EndeavourOS (Arch btw) with KDE plasma 6.x (Wayland), SDDM, and systemd as boot manager. I have 2 displays, one HDMI-A-1 (1080p) and one on DP-1 (Ultrawide). When I boot the password entry cursor defaults to the HDMI display, but I want it to default to the DP-1 display. I've tried a few things, mostly suggestions from ChatGPT. But nothing has worked. The weird thing is at boot the boot menu and boot messages all appear on DP-1, and it is set as primary in KDE and that works fine as well. It is just the logon prompt that defaults to the wrong display. Things I've tried so far. * Adding video=DP-1:e to the options in the systemd entry - (No effect) * Edited /etc/sddm.conf.d/wayland.conf to run a script that did the following: kwriteconfig6 --file startkderc --group General --key PrimaryScreen DP-1 (didn't fix it, actually broke the logon process so had to remove it) I'm just not familiar enough with how SDDM works so hoping for some good pointers to provide the answer or point me in the right direction.

22
7

I started university today, I'm on a more general IT department. In first semester we have only one subject that is actually IT (rest is maths and english) that is about basic programming in C. And it turns out that university computers that we will use for this subject are all running Ubuntu. I planned to bring my laptop anyway because I want to have my configs, but it's still great that students who never used Linux will be introduced to it (for some basic stuff tho).

222
32
9to5linux.com

> The Linux Mint 22.1 distribution was slated for release in December 2024 with a revamped Cinnamon theme and better package management. > Slated for release in December 2024, near the Christmas holidays, Linux Mint 22.1 will ship with the soon-to-be-released Cinnamon 6.4 desktop environment featuring a revamped theme that’s much darker and contrasted than before, rounded elements, redesigned dialogs, and a gap between the applets and the panel. More from the Mint Monthly News: [September 2024](https://blog.linuxmint.com/?p=4749) > The transition towards Aptkit and Captain is now finished. Starting with Linux Mint 22.1, set to be released this December, none of our projects will depend on aptdaemon, synaptic, gdebi or apturl anymore.

107
15

I installed pop!_os as my daily driver some months ago (completely got rid of windows) and have thought it pretty good. But something about it seemed off - it would take programs just too long to open, it wasn't snappy... Once I got into something it seemed to run fine (playing dota or something else was fine after initial quirks). Well, today, figured it out... When I did the first install, I was very nervous about deleting all of my existing data on my disks and so tried to manually partition everything so that I could get it right (I think I was also planning to dual-boot). Fast forward to today, and I'm testing speeds on all the drives to see which one to pitch for a new one I acquired. I see the 3 HDDs, but where is the SSD... Oh god, I installed the boot partition and root and home all onto one of the ~12 year old HDDs and the SSD has been sitting idle. Anyway, just about done with the new fresh install onto the SSD, hopefully it isn't too hard to start port over the home directory from that HDD...

144
30

Hi, I've seen some tutorial to create [EdDSA](https://en.wikipedia.org/wiki/EdDSA) key with [Gnupg](https://en.wikipedia.org/wiki/GNU_Privacy_Guard) `gpg --full-gen-key` and it's supposed to allow me to create ECC key, but I see only > Please select what kind of key you want:\ (1) RSA and RSA (default)\ (2) DSA and Elgamal\ (3) DSA (sign only)\ (4) RSA (sign only)\ (14) Existing key from card\ Your selection?\ `gpg --version` show: > ...\ gpg (GnuPG) 2.2.27\ Supported algorithms:\ Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA\ ... Any idea what's wrong ?

18
8

Looking for a good app launcher for Linux. Currently looking for something for Arch and I see there's a lot of options liks rofi and wofi. What are your favourite app launchers and why?

65
56