r/linuxquestions • u/Pleasant_Bonus2728 • 10h ago
r/linuxquestions • u/Express_Resolve9972 • 20h ago
Advice NVMe SSD overheats and disappears from BIOS during writes. Is mine dead?
Laptop: HP 15s-du3xxx (i5-1135G7), BIOS F.68, Fedora 45 SSD: Samsung PM991 256 GB (MZVLQ256HAJD), about 6 years old
Symptoms:
- Hard freezes during heavy writes (unzipping a 5 GB file, installing things in a VM, even ~70 MB installs). Black screen, fans spin up, only a hard power-off helps.
- SSD temperature hits 82 °C (its warning limit) right before freezing. It's 45 °C at rest.
- Restarting immediately shows "no drive found". After waiting a while with the power off, it boots normally.
- Getting worse over time
SMART: PASSED, 15% used, 0 media errors, 233 min above warning temperature, 965 unsafe shutdowns out of 3,256 power cycles.
Direct writes: 2 GB at 109 MB/s, 5 GB at 137 MB/s (no fast-cache phase at all), reaching 74 °C in 39 s. Reads 1.6 GB/s.
Already tried: NVMe power saving off (nvme_core.default_ps_max_latency_us=0, pcie_aspm=off), fans cleaned and repasted 2 months ago, latest SSD firmware.
Technician's test: their SSD worked in my laptop, but I don't know how long or how heavily they tested it.
Other note: I use a third-party replacement battery but installed at the HP service center only by that same technician. Never faced any of these SSD issues all these years with that same battery.
Is my SSD's controller failing, or could the laptop's power, mother board, battery or BIOS still be the cause? Planning to buy a WD Black SN7100.
r/linuxquestions • u/Substantial-Ice4108 • 14h ago
Which Distro? distro suggestions?
hello! i am looking to install linux on my computer, yet i am finding myself unsure of which distro to go for. one of the biggest things for me is that i want an extremly customizable... well, everything. and then, of course, privacy, but i don't need tails or qubes level. i'm not like a secret agent or anything, and i'll be using a vpn + waterfox, and lots of blockers as well, so just really like not ubuntu with privacy (don't love the telemetry, sorry!)
thank you people of reddit
r/linuxquestions • u/RZA_Cabal • 1d ago
Device resource management on Linux vs Windows
I have a Samsung Galaxy Book2 360 notebook (fairly modern) running Windows 11 and I have been struggling with the laptop overheating all the time and fans running like mad. It would literally be hot on the surface. I decided to dual boot with Linux Mint... I've only had it a couple of hours today but my device has not overheated at all today. Fans running normal and not berserk. I haven't gone into trying to figure out all the tech details of what's happening under the hood (both Windows and Linux) but surprised at the difference in experience. Does Linux just generally manage device resources (CPU, memory et al) better. It's been a pleasant surprise.
r/linuxquestions • u/Mammoth_Language_282 • 14h ago
Linux on TCL TAB A1 Plus NXTPAPER
This thing yearns for Linux. I yearn for Linux. My neckbeard demands for some good Linux on this thing.
Unfortunately tho nura or postmarket os doesn’t appear to have a distro for it tho.
I’m also down to make an os for it if need be since I feel like that would be a solid winter break project, but I want to hear some opinions from people who have made os (specifically mobile os) to know how much pain to expect and how much Vaseline to keep strapped on me.
What route should I go down. Bend to the capitalist oligarchs at google, sit on my hands and wait for someone else to make a Linux port, or make my own os? Any advice or comments r welcome.
Thank y’all for reading, The Vaseline Man III third of his name Jr.
r/linuxquestions • u/Ok_Heat8254 • 14h ago
Random system freezes across multiple Linux distros (Debian, Fedora, etc.) — AMD Phoenix1 / DMCUB errors
reddit.comr/linuxquestions • u/TuxLibertario • 15h ago
Arquivos .bash_history-XXXXX.tmp permanecendo no diretório pessoal.
Como desabilitar a criação desses arquivos?
Não quero usar /etc/rc.local para remove os arquivos temporários:
sudo find /home /root -type f -name '.bash_history-*.tmp' -delete
bash --version
GNU bash, versão 5.3.0(1)
echo "$HISTSIZE"
500
echo "$HISTFILESIZE"
500
O histappend está desabilitado.
shopt histappend
histappend off
shopt cmdhist
cmdhist on
Encontrar uma solução definitiva, sem precisar executar rm no /etc/rc.local.
Testando no arquivo ~/.bashrc
shopt -s histappend
PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r"
O Void Linux aplica alguma correção?
Investigar a origem dos arquivos .bash_history-*.tmp
https://lists.gnu.org/archive/html/bug-bash/2024-09/msg00013.html
https://itsfoss.community/t/bash-history-in-void/11930
https://www.baeldung.com/linux/preserve-history-multiple-windows
https://github.com/void-linux/void-packages/discussions/57249
r/linuxquestions • u/CarrotOne5284 • 16h ago
Support Discord Audio Not Working on Kubuntu
Hey everyone! I'm facing an issue with Discord on Kubuntu. YouTube and other media audio work fine, but when I join a Discord voice channel, I can't hear others, and my microphone isn't transmitting either.
Has anyone faced this issue or knows how to fix it?
Specs:
- Dell G15 – Intel i5
- NVIDIA RTX 3050
- 16GB RAM
- Kubuntu 26.04.1 LTS
- KDE Plasma 6.6.7
- Linux Kernel 7.0.0-43-generic
- Wayland
Any help would be appreciated. Thanks!
r/linuxquestions • u/PrestigiousHoney9480 • 10h ago
Which Distro? Cachyos, arch or gentoo
So I’m kinda a Linux beginner started dual booting Debian/windows a few months ago I use Debian always but why I keep windows is my mom also uses the laptop I’m planning to get my own laptop for Christmas the framework16 amd ai 9 and 5070 rtx 12gb vram 32gb ram and 2 ssd 4 and 2tb so I’m planning on installing Linux now I said I was beginner and that’s true I know how to use the terminal for simple things can navigate it use nano etc I use ai for troubleshooting tho now I heard cachyos is good for Nvidia GPUs but it’s based on arch and I want to learn so maybe I can do a manual cachy install but then I think is isn’t that arch so should I do a pure arch install. My friend uses gentoo since like a week I was gonna tell him to teach me some Linux and jokingly he just said RTFM so yea CACHY OS ARCH OR GENTOO :)
r/linuxquestions • u/WetmoisttySocks • 8h ago
Which Distro? Which distro suits me?
Im a student cyber security associate.
Im new to linux and im searching for a distro.
I want to use kali-linux to dual boot etc but i heard that kali isn't meant for for dual boot so im searching a distro that feels like kali so i can learn myself linux.
Sorry for my bad English im from EU
r/linuxquestions • u/UsernameWhole6854 • 1d ago
Using USB portable display for TTY from headless Ubuntu
My thinkcentre M910q is running Ubuntu server, and I currently access via ssh with a terminal emulator. However, I'm curious about purchasing a small eink display that can be connected via USB cable. I'd like to just have this non-obtrusive eink display mounted on the wall by my desk so I can interact with my server command line.
Assuming that the eink display acts like a typical portable monitor, and the USB 3.0 connectors can satisfy the power demands of the display, is it possible to configure Ubuntu server to output a TTY over the USB 3.0 connector? Or is it necessary to emulate in one way or another?
r/linuxquestions • u/mr_bigmouth_502 • 1d ago
Which Distro? Which distros have the best legacy support and/or the longest support windows for each release?
Linux has a reputation for resurrecting old machines, but lately I’ve been hearing a lot about the kernel dropping support for old hardware, 32-bit support being dropped, X11 support being dropped, etc.
What are some distros worth looking into that run counter to these trends?
EDIT: So far the following distros are in the running:
- antiX
- Gentoo (somewhat surprising, but makes sense since you compile it yourself)
- OpenSUSE Tumbleweed (this one really surprised me)
- Debian (if you count ELTS; which is a paid extended LTS option)
- Puppy Linux
As far as other OSes go, Windows 10 LTSC 2021 surprisingly has a 32-bit version, but I don't know if it can use the IoT license. If so, that means support until 2032. There's also NetBSD, but having read some posts on its subreddit, I think the level of expertise needed for it is above my paygrade.
r/linuxquestions • u/Late_Worldliness_681 • 17h ago
LVM2 Rootfs fills up unexplained, and undetectable in anyway
Hello people, I'm really at a loss. My homeserver has had a bit of a problem. It started about a month ago. My rootfs /dev/sda3 its a LVM2 and filled up completely seeming to come out of noware. It is a ssd 240gb which I initally cappt off at 100gb. Didn't really think much off it and grew the partition by 100gb. A mistake I know now.
Well 3 days ago it happend again and my 200gb root partition filled up completely again. Now I have searched half of the internet looking for a way to look up what file or directory filles it up. The most help I found was this. But it's a nearly 14 yo article. I run every services in a rootless podman container, and grouped in different users.
df -h gives me:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/fedora_2001--1c06--030c--4f00--913c--2a60--9f54--030e-root 186G 178G 7.6G 96% /
devtmpfs 4.0M 0 4.0M 0% /dev
tmpfs 16G 588K 16G 1% /dev/shm
efivarfs 128K 75K 49K 61% /sys/firmware/efi/efivars
tmpfs 6.1G 1.8M 6.1G 1% /run
none 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service
none 1.0M 0 1.0M 0% /run/credentials/systemd-resolved.service
tmpfs 16G 0 16G 0% /tmp
/dev/sda2 2.0G 638M 1.3G 33% /boot
/dev/sda1 599M 8.0M 591M 2% /boot/efi
/dev/md0p1 5.6T 3.3T 2.1T 62% /mnt/raid
tmpfs 3.1G 336K 3.1G 1% /run/user/1005
tmpfs 3.1G 156K 3.1G 1% /run/user/1007
tmpfs 3.1G 88K 3.1G 1% /run/user/1006
tmpfs 3.1G 476K 3.1G 1% /run/user/1004
tmpfs 3.1G 12K 3.1G 1% /run/user/1000
tmpfs 3.1G 416K 3.1G 1% /run/user/1002
tmpfs 3.1G 296K 3.1G 1% /run/user/1003
tmpfs 3.1G 88K 3.1G 1% /run/user/1001sudo du -h --max-depth=1 /* | sort -hr gives:
du: cannot access '/proc/45937/task/45937/fd/3': No such file or directory
du: cannot access '/proc/45937/task/45937/fdinfo/3': No such file or directory
du: cannot access '/proc/45937/fd/4': No such file or directory
du: cannot access '/proc/45937/fdinfo/4': No such file or directory
3.9T/mnt
3.9T/
40G/home
7.3G/var
3.4G/usr
576M/boot
488M/root
27M/etc
3.6M/run
588K/dev
0/tmp
0/sys
0/srv
0/proc
0/opt
0/media
0/afsI can't figure out where this amount of ~100gb of extra data originates from. My monitoring system (I user beszel and cockpit) both indicate that it happend on 28th of november. It doesn't indicate a high bandwidth usage or any other out of the ordinary spikes and peaks. Just a really big write to my rootfs. My raid storage is completely untouched.
If any one could help me figure anything out it would be much appricated!!
r/linuxquestions • u/NumberNo2031 • 1d ago
making a media computer for kids
Okay this is a pretty weird one, I wanted to start making a media centre for my future children to use. Ive been recently pretty against the way the internet is going and I want my kids to be able to use a laptop or home computer that is disconnected from the world wide web as a media centre for my house, I know there are ways to download wikipedia and I have many DVD's of older disney movies, I have some videogames safe for kids such as minecraft and a few nintendo games setup to play on linux. I wanted to ask if anybody know what I should be looking for with this device, I want something that can last into my kids lives as either a laptop or connected to a TV, also I was wandering if I get some kid friendly youtube channels videos downloaded such as stampys minecraft series is there an app I can use on linux to present these in a way thats easier for a kid to chose videos or will I have to just use VLC. I hope my project is interesting to whoever sees it and people have ideas as im planning to make it over Christmas as a surprise to my wife
r/linuxquestions • u/mindstormer12 • 22h ago
Is it worth optimizing calls to external commands? Polling, events
Is it worth optimizing calls to external commands if they are call periodically or is it so insignificant that it's not worth potential added complexity?
For example, a typical desktop status bar like Waybar has modules that often poll for updated information typically anywhere from 1 second to 60 seconds. Ideally, events are used to avoid polling (e.g. when network status and udev) but a lot are not supported and do require polling like disk size.
If I want a module to display the size of my nfs storage that is not always mounted, the intended and KISS way (according to how the module works) is to first use mountpoint to check if the path is a mountpoint where if it is, then report the size of the disk with du. This is trivial, but considering the user might want up-to-date information (e.g. if the disk is for downloading files and is frequently approaching full), then these external commands run every 5, 10, 30 seconds or so.
There's are ways to avoid mountpoint running every few seconds though, e.g. restarting the status bar with a different config that includes or excludes the module when the nfs storage gets mounted/unmounted respectively. Or use a state file to reflect when NFS storage is mounted then checking for this state file (with [[ -f <state file> ]] in a shell), less expensive than external command to mountpoint.
Similarly, I see examples of modules that make heavy use of polling with sleep, which itself is an external command--so polling frequently itself is not efficient in this context. Are these external commands also being run by the application if they implement the modules, i.e. is the application using more efficient alternatives to mountpoint, du, and sleep (through e.g. lower level system calls)?
Are these (trivial) optimizations worth the additional complexity in the context of "scripts" (modules) running every seconds for a status bar? Not really interested in "why would a user need to poll for disk space every few seconds" or "this probably won't have any effect on battery life", etc. Just want to get some perspective to decide whether such optimizations are appropriate. I recall setting a module to naively poll .1 seconds (can't remember what data was being polled) and eventually realized it was the culprit to why my battery life dropped from 8 hours to 3 hours so I'm especially conscious about making reasonable optimizations.
r/linuxquestions • u/Professional_Fly6407 • 22h ago
Ubuntu Pro token problem
I'm installing Ubuntu Desktop 26.04.1 LTS, and I enabled Pro. It asked me to attach the machine to my One account, so on my windows machine, I created an account and attached the token, not realizing it could be done on the Ubuntu machine. Now I'm stuck, it won't accept another. I can't get past the token screen. What to do?
r/linuxquestions • u/No-Exam-8660 • 19h ago
Como quito el frp en linux
Hola quiero quitarle el frp a un celular viejo para ser exacto el j3 prime lo avía comprado en un tiangis pero jamas lo pude usar por que tenia el frp y se lo quiero quitar pero uso linux y no encuentro herramientas
r/linuxquestions • u/DrunkAndUnaware • 1d ago
Advice What are some odd things you’ve run Linux on or you think are non-standard devices that may be able to run it?
I’ve got a bunch of old electronics lying around and just wondered if there were some things that might be able to run some lightweight distros
r/linuxquestions • u/EstablishmentDue7326 • 23h ago
HELP! (Ubuntu on chromebook)
reddit.comr/linuxquestions • u/Appropriate-Cat569 • 17h ago
Advice AI Agents in Fedora
I recently switched over to Linux after my frustrations with Windows 11. The main issue I’m running into is restrictions with the main stream AI models’ (Claude, Gemini) desktop versions being limited to macos and Windows. Do you just use terminal/VS Code api extensions? I’ve been using the workarounds but I’m curious to know what most of your guy’s workflows looks like.
r/linuxquestions • u/hersoncruz • 2d ago
Which distro are you running on your daily driver going into 2027, and why?
I've used Linux and open source for years, and I'm curious what people are settling on these days. Are you still distro-hopping or locked in? What finally made you stay?
r/linuxquestions • u/oui-systemes • 1d ago
What about Linux for Families and Kids / pour familles et enfants
I've read some of the posts here and there ! about linux for kids ... linux for old computers
I had a look to endless os, edubuntu, a few others ...
I had in mind a project I tested years ago Kano Os which was running on raspeberry PI.
Anyway didn't find what I was exactly looking for. I wanted to setup an old computer for my daughter, I gave it to her a few years ago, it was running an older version of windows and couldn't be updated (over 10 years old). The computer was running so slow, and I remember parental control was a nightare to setup.
Which way did you go for your kids ?
Et pour les français qui me liraient quels choix aviez vous fait pour une interface en français ?
r/linuxquestions • u/EdgarAllanPin • 1d ago
Trust GXT 970 Morfix on Linux
Hi folks!
I got myself this mouse model and am struggling to get it to work on Linux. I'm only now really dipping my toes into Linux, so I'm still scouting and getting everything to work before potentially making the jump and this is the first road block. The mouse driver to configure it is Windows only. Now, Steam's Proton (magic) was able to install it and run it, but the program does not see the mouse despite the mouse being connected.
Since I'm honestly sure the program would work if it could just. See. The mouse, does anyone know of a way to sort of "point it" into the right direction? The only open source Linux driver someone (a user on GitHub called fgonga) made by reverse engineering the Windows one is Portuguese and is missing a good amount of features. Sadly, it no longer seems active either.
If anyone knows of a different program that can properly interface with this specific mouse, I would be happy to hear about it too.
Thanks in advance!
Edit: since this mouse model is capable of remembering its configuration, and since I do not need to change it often on the spot, using a virtual Windows 10 machine with USB passthrough in VirtualBox worked. I was able to configure it using Trust's own software.
r/linuxquestions • u/ChucklesArt • 1d ago
Which Distro? Good distro for HP 2 in 1
Hello all. I have an old HP Spectre x2 12-C012DX that I'm hoping to use with linux. It's been collecting dust because of some damage that came to the screen and some swelling that came to the battery, but I'm finally replacing those things and figured it'd be a good place to start experimenting with Linux.
My dream would be to match the 2 in 1 experience, but most important to me is that it supports a stylus as I originally bought the machine for art programs on the go.
Bought refurbished and unable to verify right now, but the specs according to the listing are
360 GB SSD
8 GB RAM
7th gen intel core i7 processor
Intel iris plus graphics 640
Is any of what I'm hoping to do possible with linux or am I looking for a lightweight distro and using this bad boy for a home server or something?
Thank you all for your expertise!