r/linuxquestions • • 4d ago

Support Is there a way to attach `systemd-inhibit` (or similar behavior) to an already running command?

1 Upvotes

I know I can use `systemd-inhibit` to prevent the system from sleeping during an important command, e.g. `systemd-inhibit adb sideload ....`

However, what if I have started the command, and only then realize how long it will take and need to prevent the system from sleeping while it is executing? Is there any way to inhibit sleep as long as the current, already started command is running, and then re-allow sleep afterward?


r/linuxquestions • • 4d ago

Downgrading mesa to 26.0 on Fedora 45?

Thumbnail reddit.com
1 Upvotes

r/linuxquestions • • 4d ago

Support Tried splitting a large PS2 ISO file on Linux, now getting "Input/output error" and can't access folder/files

0 Upvotes

Hey everyone,

I was trying to split a large file (Biohazard - Outbreak File #2 (Japan).iso inside a retro collection folder) on an external/mounted drive on Linux (/run/media/pollo/ps/...), and things went sideways.

While/after trying to split/delete parts, the file manager (GNOME Files/Nautilus) threw an error popup saying:

This location could not be displayed.

Sorry, could not display all the contents of "retroachievements_collection_PlayStation_2_N-Z": Error when getting information for file "/run/media/pollo/ps/retroachievements_collection_PlayStation_2_N-Z/Biohazard - Outbreak File #2 (Japan).iso_part_66": Input/output error

Here is a screenshot of the error:

(Attached image showing the file manager error dialog over the folder structure)

My setup:

OS: Linux (Arch/Fedora based)

Path: /run/media/pollo/ps/

What I've noticed so far:

The folder won't fully open or list contents because it hangs on that specific part file (.iso_part_66).

Looks like a classic I/O error or filesystem hiccup triggered during the split/delete operation.

Has anyone run into this before? What is the safest way to force-unmount, check the filesystem, or use a tool like ddrescue to salvage the rest of the collection without losing everything else in that directory?

Any advice appreciated!


r/linuxquestions • • 4d ago

How do i make my login screen pretty(Cachy OS)

0 Upvotes

MisinformationPT aint helping


r/linuxquestions • • 4d ago

Experiences with huion kamvas 13?

Thumbnail reddit.com
0 Upvotes

r/linuxquestions • • 4d ago

Can I make a GUI for debootstrap to make ISO files?

0 Upvotes

Hi everyone,
(Before we start, I am a Debian user)

I am making ISO snapshots for myself (e.g., for backup/rollback or experiments) and also to make distros to show my friends. Making an ISO takes a lot of time, so I used Penguin Eggs because I am lazy. I automated Penguin Eggs and made a GUI to make ISOs in a few steps. I also use QEMU to launch the output; when I choose a qcow2/ISO and set the settings (e.g., 2 cores, 2048 MB RAM, and 10GB storage), it launches.

But I've heard about a tool called "debootstrap" for Debian to make ISOs. What is the difference between debootstrap and Penguin Eggs? debootstrap gives you full control, so I'm wondering: Can I automate debootstrap like I did with Penguin Eggs? Does it have a high failure rate?

+-------------------------------------------------------------+
|                         ISO Creator                         |
|                                                             |
|   [Icon]  Get Penguins-eggs, then locate its Debian         |
|           package to continue.                              |
|                                                             |
|   [ Locate Penguins-eggs.deb ]   [ Download Penguins-eggs ] |
+-------------------------------------------------------------+
+-------------------------------------------------------------+
|                         ISO Creator                         |
|                                                             |
|   Enter the base name for the ISO files:                    |
|   +-----------------------------------------------------+   |
|   | remaster-os                                         |   |
|   +-----------------------------------------------------+   |
|                                                             |
|              [ Cancel ]                [ OK ]               |
+-------------------------------------------------------------+
+-------------------------------------------------------------+
|                 Choose the ISO destination folder            |
+-------------------------------------------------------------+
| [Recent]     |                                              |
| [Home]       |  [Folder] Desktop            14:52          |
| [Desktop]    |  [Folder] Documents          Sun            |
| [Downloads]  |  [Folder] Downloads          13:35          |
| [Music]      |  [Folder] Music              Sun            |
| [Pictures]   |  [Folder] Pictures           Sun            |
| [Videos]     |  [Folder] Public             Sun            |
|              |  [Folder] Templates          Sun            |
|              |                                              |
|              |                     [ Cancel ]    [ OK ]    |
+-------------------------------------------------------------+
+-------------------------------------------------------------+
|                         ISO Creator                         |
|                                                             |
|   [Icon]  Ready to run operation 1 of 3: Remaster           |
|                                                             |
|           Output: remaster-os-remaster.iso                  |
|           Destination: /home/mohamed/Desktop                |
|                                                             |
|           The terminal will request your sudo password      |
|           if needed. Continue?                              |
|                                                             |
|              [ No ]                    [ Yes ]              |
+-------------------------------------------------------------+

I made about 10 ISOs with Penguin Eggs and got a 0% failure rate, with UEFI and legacy working fine. But if I automate debootstrap, is it impossible to get an almost 0% failure rate? I am remastering Debian only, so it will be for Debian only (I have XFCE, by the way). Does it have consistent steps so that if I automate it, I will 100% get the SAME successful ISO file (with different packages)?

Q&A:

  • What type of ISOs do you want? Installable or live? (I will do both if possible to fully automate, but for now, the installable Penguin Eggs do hybrid, but I didn't do it for remastering yet.)
  • Do you know about debootstrap**?** Yes... I saw how it works and how it remasters, but I just learned about it recently.

r/linuxquestions • • 4d ago

Advice Is there a way to automatically switch wifi connection based on if an app is open?

2 Upvotes

I have 2 wifi connections in my house (my sim card came with a free router but it only has 70gb of data) and my main wifi has unlimited but it has pretty bad latency

I want to use the free router wifi when playing a game but switch back to the main router when I do updates or general browsing (or just when I close the game).

is there a reasonable way to do this? it's not a huge deal since I can just switch manually but I don't want to forget one time and waste all of the data on that router by accident


r/linuxquestions • • 4d ago

Advice What would convince you that CPU throttling is causing latency when the host looks mostly idle?

1 Upvotes

Consider a hypothetical service on an eight-core Linux host using cgroup v2.

The service has a quota equivalent to one CPU. Requests arrive in bursts, tail latency rises, and its throttling counters increase. The host still looks mostly idle.

What would you measure to establish that quota throttling is actually causing the latency?

I'm especially interested in how you'd distinguish a burst exhausting its budget from a single busy thread or time spent waiting somewhere else. Which measurements would you line up before changing the limit?


r/linuxquestions • • 4d ago

Which Distro? intel i219-lm ethernet and resume from sleep

0 Upvotes

I have this on my Dell Optiplex 7090. I tried Ubuntu and it seemed to work but don't like snaps.

I tried Debian 13 and after return from sleep it either would not work or was limited to 10 mbps not 1GB

I tried Fedora and it seems to be working ok so far.

So why would it not work on Debian 13?

I liked Debian 13 with KDE the best. Had everything I needed and simple.

Chat gpt gave me this link with the same problem dated 11/19/2026

https://lkml.iu.edu/hypermail/linux/kernel/2611.2/14834.html?utm_source=chatgpt.com


r/linuxquestions • • 4d ago

How do people keep /home clean?

0 Upvotes

I'm on Arch and often doing pacman -Rsn package

and that just uninstalls it but doesn't that lead to dozens of leftovers in /home? Do you bother to tidy it up or just leave it. AFAIK it's mostly configs that end up in /home


r/linuxquestions • • 4d ago

Launch program on a specific place

Thumbnail reddit.com
0 Upvotes

r/linuxquestions • • 4d ago

Support How do i get my external monitor to not feel sluggish?

0 Upvotes

[My Specs: Asus Rog zephyrus g14 2025 5070ti]
I really really dont wanna be crawling back to windows after getting a taste of linux but i cant get external monitors or tvs to work on the dgpu ports. Sluggish window management. Sluggish mouse. Etc… i think that many have this problem on hybrid gpu laptops with nvidia graphics. There are many posts online with the solution, going back to Windows. Also if i go to dgpu mode everything feels sluggish too.

How did yall get a smooth experience on external monitors on linux other than using a hub on the igpu usb c port??
Appreciate any support ^^


r/linuxquestions • • 4d ago

Support Colors & Themes keep crashing

Thumbnail reddit.com
0 Upvotes

r/linuxquestions • • 4d ago

Trying to ditch Android: GrapheneOS or do a full port of Ubuntu Touch?

0 Upvotes

Graphene I just heard about last night, and then saw an article about the Devs accusing Google of criminal antitrust. I read the porting manual for Ubuntu Touch, and it is just barely within my capabilities (although it looks fun as fuck).

The phone(s?) I would be using have not been previously ported to UT, but are tentatively "capable".

Any thoughts?


r/linuxquestions • • 4d ago

Support Activating webcam disconnects and reconnects all USB devices

3 Upvotes

I am running Fedora 45 on a new machine that I have been setting up over the past few days. Today I was in a Discord call and decided to turn on my webcam (Logitech StreamCam) at which point my Bluetooth headphones and the mic integrated into the webcam disconnected and reconnected after a couple of seconds delay. The webcam did not show video at any point, and Discord needed to be restarted to hear or be heard again on the call.

Running journalctl --no-pager -b -p3 I get the following (repetition cut for brevity):

Nov 21 21:48:51 Minilith kernel: usb 4-1: cannot submit urb (err = -19)
Nov 21 21:48:51 Minilith pipewire[2059]: spa.alsa: front:3c: snd_pcm_start: Broken pipe
Nov 21 21:48:51 Minilith kernel: usb 4-1: cannot submit urb 0, error -19: no device
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:4: cannot set...
...48000 to ep 0x84
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
Nov 21 21:48:57 Minilith kernel: uvcvideo 4-1:1.1: Failed to set UVC probe control : -110 (exp. 26).
Nov 21 21:49:17 Minilith kernel: Bluetooth: hci0: SCO packet for unknown connection handle 3584
Nov 21 21:50:07 Minilith bluetoothd[896]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: g
etpeername: Transport endpoint is not connected (107)

Running sudo dmesg --level=emerg,alert,crit,err I get the following (repetition cut for brevity):

[    0.222267] virt/tdx: TDX not supported by the host platform
[  714.471576] Bluetooth: hci0: SCO packet for unknown connection handle 3584
[ 4439.570063] usb 4-1: cannot submit urb (err = -19)
[ 4439.576904] usb 4-1: cannot submit urb 0, error -19: no device
[ 4439.809645] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.038551] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.040026] usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
[ 4440.040036] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.040050] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.042023] usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
[ 4440.042031] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.042041] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.044023] usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
[ 4440.044029] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.044050] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.046023] usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
[ 4440.046029] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.046047] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.048023] usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
[ 4440.050024] usb 4-1: 3:4: cannot set freq 48000...
...to ep 0x84
[ 4440.240022] usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
[ 4444.962987] uvcvideo 4-1:1.1: Failed to set UVC probe control : -110 (exp. 26).
[ 4453.462863] Bluetooth: hci0: SCO packet for unknown connection handle 3584

Google has so far been unhelpful and I do not have the skill to diagnose the issue myself. I have used this webcam on a different Fedora 45 system previously, so it is unlikely to be the issue.

On the surface, what appears to be happening is the USB controller is crashing and resetting whenever I try to activate my webcam. The only thing I could think of that might cause this is that my new PC has a MT7922 Mediatek wireless adapter which has caused me other problems already, though disabling Bluetooth and Wi-Fi did not prevent the issue.

I greatly appreciate any assistance that can be provided, and will happily provide any additional information needed to diagnose.

Edits:

Update: I tried a third party webcam testing page to see if it was just Discord, which it was not. However, after the initial disconnect and reconnect of all USB audio devices, the camera did work, as did those audio devices, so the system is able to use the webcam, but the initial connection seems to break something temporarily.

Update 2: I have been just now been able to get it working without crashing the controller(?) by plugging it into the front USB-C port which is 3.2 Gen1 rather than Gen2 like the rear port. I do not know why this makes the difference though.

Update 3: connecting the webcam to a USB-A 3.2 Gen2 port with a C-to-A adapter works fine, the adapter is only rated to 3.1 speed though and I do not have anything faster. It may be that limiting the bandwidth is what makes it work without crashing. I still do not understand why the crash would be occurring though.

Update 4: the USB-IF's retroactive renaming of their standards strikes again. USB 3.1 is USB 3.2 Gen2, so the adapter has the full bandwidth of the port. This means that only the USB-C 3.2 Gen2 port has the issue. I am no longer certain of anything with this accursed naming scheme. I checked the product page and the adapter is USB 5Gbps, so it is in fact the full bandwidth of the webcam, so (in theory) only the USB-C port has the issue..

Update 5: Logitech specs state that the webcam requires USB-C 3.1, but if connected over USB 2 it is limited to 720p/30fps. However, it also states separately that it uses the USB 3.1 Gen1 protocol (A.K.A 3.0/SuperSpeed/3.2 Gen1/5Gbps). This is interesting given that when I plugged it into a USB-C 3.2 Gen1 it was still restricted to 720p/30fps.

Update 6: Where previously any attempt to activate the webcam would crash the controller, now I am able to view in Firefox and in the Discord settings preview. Activating the webcam in a call still crashes the controller though. I am unsure what has changed.

Update 7: Using Cameractrls I am able to get the webcam working everywhere except Discord calls (except for one time I cannot repeat). To do this I must change the Pixel Format from YUYV, which it resets to on each crash, to either MJPG or NV12. Notably, the Discord settings preview will automatically set it to MJPG 720p every time.

Update 8: I have run out of ideas and steam on this issue for the time being. Barring any miraculous revelations, I will get myself a USB-C to USB-A adapter (I had to borrow one for the tests), and at some point replace my Wi-Fi card, which is the only thing I have been able to think of as a potential cause. If that fixes the issue I will try to remember to update here saying so for posterity.


r/linuxquestions • • 4d ago

Support Grub not usable without a physical keyboard

Thumbnail reddit.com
3 Upvotes

r/linuxquestions • • 5d ago

Advice Resources To Actually Understand Linux

58 Upvotes

I've been using Linux for 7 years for personal desktop use, development, gaming, and music production. I consider myself to be a competent user, in that I am able to use the OS effectively to do the things I want to do, but I recently realized that I don't understand the system very well as a whole.

Most of my technical knowledge comes from what I've pieced together by solving various errors over the years. I only know what /etc/fstab is because I once had a drive crash, for example. I am at the point now where I want to learn about Linux by learning about Linux, rather than by reacting to problems.

This is especially because I have more and more friends jumping ship from Windows now. People are looking to me to teach them and help them solve their problems.

What resources can you recommend to gain a more complete understanding of Linux and to use the system effectively?

I'll add to this that my practical experience has been entirely with Debian-based systems (MX, [L]Ubuntu, Mint).


r/linuxquestions • • 4d ago

Title: Internal Wi-Fi adapter not detected on Ubuntu 24.04 – ASUS TUF Gaming F15 FX506HF (MediaTek MT7921)

Thumbnail reddit.com
0 Upvotes

r/linuxquestions • • 4d ago

Resolved Ubuntu install "problem examining storage devices"

3 Upvotes

I am trying to install Ubuntu server on a Dell Optiplex 3070. I keep getting stuck on the Storage Configuration step, receiving the message "Sorry there was a problem examining the storage devices on this system." The device has one 512GB NVME SSD, which currently has Windows 11 on it.

Things I have tried:

  1. Verified the checksum
  2. Turned off Secure Boot in BIOS
  3. Turned off Fast Boot in Windows
  4. Switched from Raid On to AHCI in BIOS
  5. Deleted the Windows recovery partition on the off chance that was causing a problem.
  6. Used Dell's built in diagnostics tool to check the disk (no issues reported)

I don't know what else to do. Is there something else I'm missing in BIOS? Anyone know what I can put into the shell to at least get more info?

EDIT: I'm dumb. I used Ventoy for flashing and selected the "Boot in normal mode" option and took me way too long to realize I should try "Boot in grub2 mode" when the first one didn't get me anywhere. That was it. Successfully completed my install. I'll still leave this up for posterity because they other things I tried were suggested as solutions across different parts of the internet and may help someone else.


r/linuxquestions • • 4d ago

Support Syslog flooded by errors related to some deleted video.

0 Upvotes

Yesterday I downloaded a ytb video via some web tool, and then deleted it with the firefox download interface. Later I received a notice telling me the disk storage was almost full, so I went and checked before finding out /var/log/syslog and /var/log/journal/ entries were flooded with the same 3 error messages:

2026-11-21T11:49:00.645072+01:00 laptopname-Aspire-A515-54 tracker-miner-fs-3[3057]: (tracker-extract-3:3057): Tracker-WARNING **: 11:49:00.644: Could not get mimetype, Erreur lors de l’obtention des informations du fichier « /home/username/Téléchargements/SaidVideoFilename.mp4 » : Aucun fichier ou dossier de ce nom

//basically saying "can't access that file's metadata, no such file name found".

2026-11-21T11:49:00.648693+01:00 laptopname-Aspire-A515-54 tracker-miner-fs-3[3057]: (tracker-extract-3:3057): Tracker-WARNING **: 11:49:00.648: Failed to update ignored file 'file:///home/username/T%C3%A9l%C3%A9chargements/SaidVideoFilename.mp4': ambiguous column name: ROWID

2026-11-21T11:49:00.648943+01:00 laptopname-Aspire-A515-54 tracker-miner-fs-3[3057]: (tracker-extract-3:3057): Tracker-WARNING **: 11:49:00.648: Task for 'file:///home/username/T%C3%A9l%C3%A9chargements/SaidVideoFilename.mp4' finished with error: Erreur lors de l’obtention des informations du fichier « /home/username/Téléchargements/SaidVideoFilename.mp4 » : Aucun fichier ou dossier de ce nom

I turned my computer off since then, but even after rebooting some program keeps writing those messages, but I can't locate it with the gnome system monitor sorting processes by disk writing quantity because it apparently either stops sometimes or isn't shown. Still, I removed like 7Go yesterday by truncating syslog, and I would like that to stop. Could someone help me find that program and understand how to fix the issue?


r/linuxquestions • • 4d ago

Advice Instant GUI calculator with live results?

3 Upvotes

I need a calculator just like the interactive console in the DevTools (if you're familiar with that). I really miss this minimalist text input calculator on Windows where you can bring it up with a hotkey instantaneously. On linux I've tried Qalculate!, SpeedCrunch, and gcalculator. the first two can calculate as you type but start up kinda slow each time. gcalculator starts up instantly, but it doesn't support real-time calculation. I really want this feature so that I can see how the numbers morph as I change the expression, as opposed to retyping or copying the last expression. Is there a GUI calculator that has both?


r/linuxquestions • • 4d ago

Why does my linux collapse after a month of constant use?

Thumbnail reddit.com
0 Upvotes

r/linuxquestions • • 4d ago

How did you "learn" Linux

Thumbnail reddit.com
0 Upvotes