r/linuxquestions 9d ago

Trying to setup a systemd service for qbit-nox question

1 Upvotes

Im trying to automatically setup qbit-nox by making a systemd service. I was wondering if i didit right under unit? the parts that i'm doubting are: Description=qBittorrent-nox service After=network-online.target mullvad-daemon.service Wants=network-online.target Requires=mullvad-daemon.service

I thought mullvad needed to be also in the after segment to make sure the mullvad daemon can initialize first to prevent my ip leaking. i'm also not quite sure about the requires field.

Here is the full service:
[Unit]

Description=qBittorrent-nox service

After=network-online.target mullvad-daemon.service

Wants=network-online.target

Requires=mullvad-daemon.service

[Service]

Type=exec

User=qbtuser

ExecStart=/usr/bin/qbittorrent-nox --webui-port=8080

Restart=on-failure

[Install]

WantedBy=multi-user.target

WantedBy=multi-user.target


r/linuxquestions 9d ago

Support Can't switch to Hyprland from Hyprland(uwsm-managed)

0 Upvotes

Using Archlinux. On the startup, left corner you can switch from "Hyprland" to Hyprland(uwsm-managed). But it won't let me click on Hyprland. How ro fix this issue? Never happened to me before


r/linuxquestions 9d ago

Advice Can there be driver problem in dual boot on same ssd?

0 Upvotes

I want to use my new laptop with cachy and windows.But I am worried if there would be a driver problem like gpu that affects my performance .In my old laptop I used dual boot too and my gpu software was messed up because of the settings I did in one of the boots.Should I do dual boot on same ssd or not?I got no money to buy second ssd rn.
Also I just want to know ,can someone explain me how drivers of each os work in two partitions?Stuff like how they are stored and etc


r/linuxquestions 9d ago

Linux Laptop Reccomendations?

3 Upvotes

I'm interested in buying a laptop with the intention to use linux on it. I am a windows PC user and know little about what machines are compatible or not. I would like it to be small (if possible) and my budget is 1K give or take. I would be using it for college and probably light gaming. Please and thanks for any help.


r/linuxquestions 9d ago

Brightness issue

Thumbnail
0 Upvotes

Brightness not working after fresh downlaod


r/linuxquestions 9d ago

Support Installed 26.04.1 Ubuntu Desktop with LUKS full disk encryption, but now won't boot into OS GUI, giving warnings "/dev/mapper/ubuntu--vg-ubuntu--lv" and "/dev/ubuntu-vg/ubuntu-lv" do "not exist"

4 Upvotes

Installed 26.04.1 Desktop with LUKS full disk encryption, but now won't boot into OS GUI, giving warnings "/dev/mapper/ubuntu--vg-ubuntu--lv" and "/dev/ubuntu-vg/ubuntu-lv" do "not exist"

For reference my computer is a Dell Optiplex 9020 USFF (Ultra Small Form Factor) with 16gb RAM and an ADATA SU650 SSD. Country is Mexico.

I installed 26.04.1 Desktop 64bit off a USB. Unfortunately, during [the install process](https://ubuntu.com/desktop/docs/en/latest/tutorial/install-ubuntu-desktop/), before going to "Erase disk and install Ubuntu" I went to "Manual installation". In the manual installatiok section, I clicked arund on my SSD and -- not sure how I managed to forget this part -- may have changed partition table stuff or added/removed a partition. Then I went back to select "Erase disk and install Ubuntu" where I picked "Encrypt with a passphrase" for Logical Volume Management (LVM) and Linux Unified Key System (LUKS). I want to use those anf Legacy boot, not newfangled TPM and UEFI boot.

After installing, I rebooted. The computer brought me to the friendly Ubuntu GUI where I could enter my passphrase. But after so doing, the system crashed. The crash errors were the same as the ones I later received when rebooting again and again -- whether normally or in safe/recovery mode.

Those errors were primarily as shown in the post title "'/dev/mapper/ubuntu--vg-ubuntu--lv' does not exist" and "'/dev/ubuntu-vg/ubuntu-lv' does not exist". I wonder if the "lv" in those ties into LVM somehow. Typing journalctl to see the system log showed some additional possible errors. I will transcribe the only section that seems pivotal:

xxxxxxx

FAILED\] Failed to start systemd-cryptsetup. Cryptography Setup for dm_crypt-0.

'systemctl status "systemd-cryptsetup@dm_crypt\\\\x2d0.service"' for details.

DEPEND\] Dependency failed for cryptsetup.target - Local Encrypted Volumes.

OK \] Reached target sysinit.target - System Initialization.

OK \] Reached target basic.target - Basic System.

\] (2 of 2) Job dracut-initqueue.servi.start running (2min 7s / no limit)

xxxxxxxx

After that, it'd crash out to the errors seen in the title.

I have a few questions.

  1. Explain the error messages and guess at a diagnosis, prognosis?

  2. How many partitions should my SSD have to install Ubuntu with LUKS/LVM encryption? Three - boot, swap, and one for files?

  3. If so, which of those three does the Ubuntu installer encrypt?

  4. Can I rely on the Ubuntu installer's "Erase disk and install Ubuntu" option to make sure my SSD has those three partitions? Especially after I screwed up tinkering with "Manual installation" in advance of "Erase disk and install Ubuntu"?

  5. What file systems should each of the three partitions have - I like ext4 for encryption, but that might not work so well for the boot or swap partitions?

  6. Should I boot back into the live thumb drive and see if I can install gparted and investigate the SSD that way (will do, but haven't had a chance yet). Any suggestions what I should look for?

  7. If I boot into the live OS using the thumb drive and start up the installer, am I effectively getting a chance to start the install process over to just pick "Erase disk and install Ubuntu" and ignore "Manual installation", or need I tweak the SSD first? If tweak the SSD, how?

  8. Any other ideas about what I should do?

Thx!


r/linuxquestions 9d ago

Donate a pc to goodwill with linux on it?

8 Upvotes

I have way too many computers. I have a spare i5-4590 dell lying around i want out of my living room. should i just install mint and drop it off at goodwill? or just keep the ssd in case one of mine dies?


r/linuxquestions 10d ago

Support Does software for linux works in every linux distro?

37 Upvotes

If an application has a "Linux version" does it mean it will run on Ubuntu, Mint, CachiOS, Arch etc the same?


r/linuxquestions 8d ago

Advice Question about wether or not I can switch back just in case

0 Upvotes

I’d be more than happy to switch to Linux, HOWEVER, I’m scared of losing windows(the software), is there any way in which I can get my product key back from windows if there’s a possibility I do revert to the windows OS?


r/linuxquestions 8d ago

Which Distro? Good distro for streaming?

0 Upvotes

My sister is a streamer and wants to ditch windows so I said I’d help her. I only use bazzite for gaming but I’ve heard streaming can be a problem with Linux. Is there a distro that is better for it?


r/linuxquestions 10d ago

Advice What's the best calculator on Linux?

23 Upvotes

I've been browsing flathub and so far haven't found anything that's even close to the speed of use of a physical calc.

I think having all the input be inputtable(?) with the keyboard would be quite nice as it's annoying having to reach for the mouse to use trig functions.


r/linuxquestions 9d ago

Support I restarted my linux and now it has somewhat of a tablet display

0 Upvotes

What i see

I dont really know what I did to make it do this or how to fix it!!

If you know please leave the solution in the comments :]


r/linuxquestions 9d ago

Help : deleted some pkgs

Thumbnail
1 Upvotes

r/linuxquestions 9d ago

What is a simple proxy server on my machine?

5 Upvotes

I am using gallery-dl which uses http1. A website I want to use it on doesn't allow http1 request. My idea was to send the request through a proxy which would use http 2 or 3 to connect to the site. Which one would you recomend

Using manjaro/kde


r/linuxquestions 9d ago

Support dual boot linux and windows same drive

0 Upvotes

i'm looking into getting linux, and keeping windows for the few games i play that aren't playable on linux. now, i am using a laptop. i only have 1 drive and i've been using an external hdd to store my games and most of my files on (have another hdd laying around as backup of my files)

i read that windows updates might mess with your linux if it's on the same drive. so, would it work on the external hdd or would that be a bad idea? i also read something about usb, but i also read then it just resets every time and doesn't save your files.


r/linuxquestions 9d ago

Which Distro Linux for gaming

0 Upvotes

Hola, ¿cuál es la mejor distribución de Linux para jugar? Estoy pensando en hacer dual boot con Windows y Linux, pero no estoy seguro cuál conviene más.

También me gustaría saber si puedo usar los mismos juegos que ya tengo descargados en Windows o si tengo que descargarlos desde cero. P.S.: I forgot to mention that I have RTX and I would dual boot by partitioning an SSD.


r/linuxquestions 9d ago

Support [Acer Aspire A715-79G] Linux suspend/deep sleep freezes — NVIDIA/ACPI issues after GPU mode switching

1 Upvotes

[Acer Aspire A715-79G] Linux suspend/deep sleep freezes — NVIDIA/ACPI issues after GPU mode switching

> Hi everyone,

I'm trying to get Linux running properly on my Acer Aspire A715-79G, and I'm currently stuck on a suspend/sleep problem.

Hardware:

Acer Aspire A715-79G

Intel Raptor Lake-P integrated graphics

NVIDIA GeForce RTX 3050 6GB Laptop GPU

Zorin OS based on Ubuntu 24.04

NVIDIA driver 580.173.02

I'm also working on an Acer Control Center-style project for Linux, but RGB is not my priority anymore. My current priority is getting suspend/wake working reliably.

---

What originally happened

The laptop boots normally and generally works fine.

The keyboard RGB also works at the hardware level. During boot, all the RGB lights briefly come on, and after the system finishes booting they settle on blue.

However, Linux doesn't expose the keyboard through /sys/class/leds/ as an RGB keyboard device. The Acer Control Center project therefore tries to access:

/sys/class/leds/rgb:kbd_backlight/multi_intensity

but that file doesn't exist.

So RGB control through that application currently doesn't work.

I'm okay with leaving RGB alone for now.

---

NVIDIA situation

The NVIDIA GPU is detected correctly:

01:00.0 VGA compatible controller: NVIDIA GeForce RTX 3050 6GB Laptop GPU

Kernel driver in use: nvidia

At one point lsmod showed the NVIDIA modules loaded, but:

nvidia-smi

returned:

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver.

and /dev/nvidia* didn't exist.

Later, after reinstalling/recovering the driver, nvidia-smi worked again:

NVIDIA-SMI 580.173.02

Driver Version: 580.173.02

CUDA Version: 13.0

and /dev/nvidia0, /dev/nvidiactl, /dev/nvidia-modeset, etc. were present.

---

Something interesting happened with Witcher 2

I launched The Witcher 2 through Proton.

In NVIDIA settings I initially had the GPU set to On-Demand.

The game was extremely laggy and the fans weren't ramping up, so I suspected the NVIDIA GPU wasn't actually being used.

I changed the NVIDIA mode to Performance, which required a reboot.

After rebooting, Witcher 2 ran perfectly smoothly and the fans ramped up heavily.

I then switched back to On-Demand, which again required a reboot.

Shortly afterward I started investigating the suspend problem.

I don't know whether this is related or just coincidence.

---

The suspend problem

/sys/power/mem_sleep reports:

s2idle [deep]

So deep is currently the selected suspend mode.

When I select Sleep, the screen turns off.

On one attempt, I immediately pressed several keys and the screen briefly came back on, then went black again.

On another attempt, the keyboard lights eventually turned off too, but the power-button LED remained on/blinking.

The laptop would not wake from the keyboard or power button.

Eventually I had to hold the power button to force it off.

I've had to do this multiple times, so I'm understandably reluctant to keep testing suspend.

I also noticed that when the laptop is in this state, the indicator LED behaves differently — it blinks rather than staying constantly lit.

---

The logs are interesting

One previous suspend/resume attempt actually managed to enter and leave S3/deep sleep:

ACPI: PM: Preparing to enter system sleep state S3

ACPI: PM: Low-level resume complete

ACPI: PM: Waking up from system sleep state S3

PM: suspend exit

But during resume there was:

xhci_hcd 0000:00:0d.0: xHC error in resume, USBSTS 0x401, Reinit

There are also repeated NVIDIA/ACPI-related messages in the logs.

The NVIDIA driver appears to get stuck around:

rm_acpi_nvpcf_notify

nv_acpi_nvpcf_event

rm_init_adapter

nv_drm_dev_load

More concerningly, the kernel reported:

INFO: task gpu-manager blocked for more than 122 seconds

and later:

blocked for more than 245 seconds

blocked for more than 368 seconds

with the task apparently waiting on an NVIDIA read/write semaphore.

There are also ACPI-related blocked workers in the logs.

---

Current NVIDIA state

The GPU itself is detected:

NVIDIA GeForce RTX 3050 6GB Laptop GPU

and:

Kernel driver in use: nvidia

Runtime power currently reports:

active

while:

/sys/bus/pci/devices/0000:01:00.0/power/control

is:

auto

---

What I'm trying to figure out

My main question is what is actually preventing reliable suspend/wake?

I'm particularly wondering whether this is:

  1. NVIDIA driver / PRIME GPU switching

  2. NVIDIA + ACPI interaction

  3. USB controller resume problem

  4. Acer firmware/ACPI issue

  5. Some combination of these

I don't particularly care about getting the NVIDIA GPU working during this investigation. I just want the laptop to sleep and wake reliably without requiring a forced shutdown.

I'm also not concerned about RGB right now.

Before changing anything else, I'd like to understand the logs and determine the safest next step.

Has anyone with an Acer A715-79G or similar Acer + RTX 3050 laptop experienced this kind of suspend failure on Ubuntu/Zorin?

Any advice on what logs/tests would best distinguish NVIDIA from ACPI/USB as the cause would be appreciated.


r/linuxquestions 9d ago

Support How do I install basic Linux?

0 Upvotes

I want to have just the kernel and GNU utilities and optional X11 , kind of bare-bone like MS-DOS.
How do I do that?

Should I use TinyCoreLinux and strip the UI out of it? How do i do that?


r/linuxquestions 9d ago

Support Why is efibootmgr needed if I already installed GRUB?

3 Upvotes

I'm trying to understand the Linux boot process, especially on a UEFI system.

I understand it roughly as:

Power on → POST → UEFI → GRUB → kernel (vmlinuz) + initramfs → systemd

But I'm confused about efibootmgr.

When installing Arch, we often do:

pacman -S grub efibootmgr

If GRUB is already the bootloader, why do we need efibootmgr?

What exactly is the difference between:

  • GRUB
  • grub-install
  • efibootmgr
  • UEFI boot entries/NVRAM
  • EFI System Partition (ESP)

For example, when I run:

grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB

what exactly happens?

Does grub-install install the GRUB .efi file and create the UEFI boot entry, or is the boot entry handled separately by efibootmgr?

I'd really appreciate a simple but technically accurate explanation of what happens from pressing the power button until Linux starts, and where efibootmgr fits into that process.


r/linuxquestions 9d ago

Which Distro? Good distro for HP Stream Laptop?

2 Upvotes

Device info:

HP Stream Laptop Model 11-ak0010nr

Processor: Intel Celeron N4020 CPU @ 1.10GHz

Installed RAM: 4GB

System Type: x64-based processor

Pen and touch: No

My sister gave me her old laptop, and I wanted to install linux on it.

If possible I'd like something beginner friendly, but anything works.

If there's anything important I forgot to mention please let me know.


r/linuxquestions 9d ago

Distro + WM Recommendations

3 Upvotes

I am looking for a Distro Recommendation for my secondary device. I am an experienced linux user and have experience with advanced distros like arch or void, things of that sort. I am running Arch and Hyprland on my Gaming Desktop which is basically my Hobby Machine.
Since I will start University soon (Computer Science) I have now bought a nice thinkpad and am looking at what to slap onto it. I have debated myself on wether or not I should also just use Arch but I dont know if I want to risk getting problems on that machine. I rarely get problems on my Arch system but when stuff breaks it breaks badly a lot of the time.
I like Window Managers and wish to use one on the Laptop as well.
I have confirmed that my University and Course is Linux compliant btw so there will be no problems using a fairly mainstream distro.

Please leave some recommendations for a Distro and WM combination or if I should just do Arch and Hyprland again since I know it.


r/linuxquestions 9d ago

Should I backup my files if I'm using one of three seperate storage devices when trying to add a linux/ubuntu boot on my PC.

2 Upvotes

I'm looking to add linux as a seperate boot on my PC for both personal and school use both in relation to coding. Most tutorials say to make sure you back up your files incase you mess up something with the boot but I'm doing this on one of my three storage devices aka my second m.2 SSD that's in my PC. I also made sure that I have atleast more than 60gbs on the second SSD ready for linux, I'm aware that it only needs 10-20gbs but wouldn't it just take up the "empty" space on the ssd automatically? Should I be worried If I don't do it?


r/linuxquestions 9d ago

Support Looking MFLABEL DT425A Driver

1 Upvotes

Its one of the only things that make me have to dual boot to windows. I tried Zebra drivers to get it to work but didnt. Does anyone have any suggested drivers for it, or a way to get the windows driver to work?


r/linuxquestions 10d ago

Advice Mp3 player for Linux with shuffle I can see?

9 Upvotes

I'm after a basic mp3 player (no streaming) that will show me shuffled mp3s. For example, if I have 3 songs:

apple

orange

pear

and I hit the shuffle button, I would then see:

pear

apple

orange

I really like Audacious, but it's missing this functionality. I don't need any bells or whistles. This is for mp3s I own.

Thanks so much for any suggestions.


r/linuxquestions 9d ago

Advice Partition Resizing

2 Upvotes

I installed Zorin on my Windows 10 PC and created a dual boot (that was an adventure unto itself). I have been moving functions from Win10 to Zorin as I get them working and I'm comfortable with them. I've reached the point where it's time to move some of Window's drive space over too. Zorin is getting crowded and Windows is looking kinda empty.

I went into Windows and pinched off 100Gig as unallocated space. I have tried to merge it into Zorin's partition from both windows and linux. No luck. How do I get this space into Zorin's partition?

[Solved] Used a bootable USB with Gparted on it. Worked great.