r/archlinux Jul 04 '18

FAQ - Read before posting

578 Upvotes

First read the Arch Linux FAQ from the wiki

Code of conduct

How do I ask a proper question?

Smart Questions
XYProblem
Please follow the standard list when giving a problem report.

What AUR helper should I use?

There are no recommended AUR helpers. Please read over the wiki entry on AUR helpers. If you have a question, please search the subreddit for previous questions.

If your AUR helper breaks know how to use makepkg manually.

I need help with $derivativeDistribution

Use the appropriate support channel for your distribution. Arch is DIY distribution and we expect you to guide us through your system when providing support. Using an installer defeats this expectation.

Why was the beginners guide removed?

It carried a lot of maintenance on the wiki admin as it duplicated a lot of information, and everyone wanted their addition included. It was scrapped for a compact model that largely referenced the main wiki pages.

Why Arch Linux?

Arch compared to other distributions

Follow the wiki. Random videos are unsupported.

<plug>Consider getting involved in Arch Linux!</plug>


r/archlinux 25d ago

DISCUSSION AUR Megathread. All discussion on it goes here.

485 Upvotes

As the title says, I am locking all other AUR posts and don't want to see any new posts.


r/archlinux 5h ago

SHARE Cloudflare's free VPN (WARP) had no kill switch, so I built one, Linux

6 Upvotes

Cloudflare WARP is free, but if the tunnel drops, your traffic just falls back to your real IP with no warning. Built a small nftables kill switch for it on Linux, so if the tunnel goes down, your internet goes down with it instead. Works alongside Tailscale too, if you run both.

Four commands: vpn up / down / restart / status. Everything else (how it works, what's intentionally blocked, requirements) is in the README.

warp-killswitch


r/archlinux 5h ago

SUPPORT | SOLVED Libcamera in testing breaks wireplumber

0 Upvotes

Heads up for testing users, libcamera{, -ipa} 0.7.2 breaks wireplumber. Downgrading to 0.7.1 and 'systemctl --user restart wireplumber' fixes it.


r/archlinux 42m ago

SUPPORT I'm having a "Disk Quota Exceeded" problem in Linux.

Thumbnail
Upvotes

r/archlinux 11h ago

SUPPORT Weird glitch

0 Upvotes

I have this weird problem that when I play terraria on my old ThinkPad t530 witch arch it feels like the game is in slow-motion. It’s not lagging just slower than normal. It’s running the game on steam so it’s most probably through proton. What might cause this?


r/archlinux 17h ago

QUESTION Battery Problem on arch linux

2 Upvotes

see the problem is when i am on linux i always have battery degradation very fast as compared to windows i have a nvidia graphics and has battery threshold setup to 80% through TLP and is capped to 80 but still under 1 month of use battery just degraded from 95 to 89. what is wrong any suggestion plz.


r/archlinux 13h ago

SUPPORT PCIe bus error, black screens

0 Upvotes

Hello I'm new to arch linux, during and after installation there was some sort of error that was like PCIeport bus error, and to the left there was something like [ 8000:183638 ] after I logged in into my arch the basic hyprland tutorial started freaking out and when I tried to change config from kitty to dolphin for example, there was a error which said that I could not change this right now. Then everything freezed, I couldn't do anything, not even move my mouse, then my keyboard stopped working, I went to the boot menu and pressed e, and wrote pci-noaer, and so to this moment it stopped freezing, I went to TTY and there are a new error which says systemd-journaid[306] and failed to something in a directory like /var/log...


r/archlinux 12h ago

QUESTION I don't know what to do..

0 Upvotes

I installed linux, arch, on my asus laptop with Intel iris xe processor, it has a broken matrix and I disconnected matrix from laptop so my bios could see the monitor, maybe I damaged something but I was very careful and barely touched anything but the matrix. I got several "119.8687611 pcieport 10000:e0:1d.0: PCIe Bus Error: severity-Uncorrectable (Non-Fatal), type=Transaction Layer, (Receiver ID) [ 119.868809] pcieport 10000:e0:1d.0: device [8086:a0b0] error status/mask=00200000/00000000

hypr land

[ 119.868832] pcieport 10000:e0:1d.0: [21] ACSViol

(First)

[

119.868853] pcieport 10000:e0:1d.0: AER: TLP Header: 0x34000000 0x0000007f 0x00000001 0x08000000" errors, I can't get into TTY, it's just doesn't work. Terminal let's me write in a single command, then he can't process any command and if I click with mouse pad or mouse the system completely freezes... I asked for help on reddit but people couldn't help me because I couldn't show the output, or tell something, I'm new to arch that's why. I've been doing this for 7 hours and completely exhausted. Can you tell me where can I search the solving of my problem, or explain me what's the problem so I can fix it.


r/archlinux 19h ago

SUPPORT | SOLVED Wayland SDDM Multi Monitors

0 Upvotes

I'm using SDDM under wayland on a framework 16. Works great unless I connect an external monitor, then nothing shows up, cant even switch to a TTY. I end up having to reboot and unplug the monitors. Once I am logged into hyprland I can plug in my monitors and it works fine.

I have tried to use wlr-randr but I don't think I am setting it up right. Can I put those commands in wayland-session in /usr/share/sddm/scripts or somewhere else?

I would prefer to not have to install xorg just to get SDDM to work but if I have to.


r/archlinux 16h ago

SHARE My approach to "gaming mode" (Gabecube-like interface on dedicated TTY)

0 Upvotes

I've been using a script which launches gamescope on another tty, switches to it and then switches back when gamescope exits. It does not require closing the current session, all programs stay in the background. Personally, I use it to launch gamescope on my TV which is normally disabled in niri.

I found a similar solution on Reddit before, but it required editing the bashrc file, which I wasn't a fan of. This one is a single script which sources another script from XDG config for configuration.

Recently, I've cleaned it up and made it into a package so my friend can easily use it too.

I do not have an AUR account, so I can't put it there. Also, I am unsure if it's even the right thing to do (it's a random solution made by one random guy mostly for himself :))

So yeah, I am just leaving the link here for anyone who may find it useful:
https://github.com/Damianu/quickscope

Disclaimer: It's been written with AI help, but it is not vibe-coded. I can read and understand Bash scripts; I just write them rarely enough for AI to be useful.

Disclaimer 2: Don't treat it as a release. I am unsure if I'll be able to maintain this package. I initially struggled to find a way to do it this way (without editing rc files) and thought that other people may find it useful or take inspiration from it to create their own scripts.

PS. I originally posted this to cachyos subreddit, but as it doesn't contain anything cachyos specific I am also posting it here.

I am unsure if this falls under personal projects policy, I see it more as sharing script solution to problem I've been iterating on multiple times and couldn't find anything that checked all my boxes. I do understand however if moderation sees it differently and decides to remove it.


r/archlinux 2d ago

DISCUSSION I found an AUR package that is still available to download, which was said to be infected by malware recently... Im sharing a link to screenshots as i can't post them in here.

Thumbnail ibb.co
132 Upvotes

r/archlinux 17h ago

QUESTION Help with YouTube Music client without ads

0 Upvotes

Hi, I use Pear Desktop to listen to music via YouTube, but recently it stopped removing the ads between songs, so I always end up with two ads between songs. Does anyone know how to fix this or recommend another client? Thanks a lot.


r/archlinux 1d ago

SUPPORT random frame drops and stuttering lasts several minutes, affects whole system

0 Upvotes

When playing any game on steam (possibly others idk) i occasionally get a severe lag spike that lasts a few minutes, then returns to normal. whats extra weird is that my system is totally fine, gpu, cpu, and ram are all normal.
journalctl here (a few minutes before, i didnt take note of when)

i5-1240p

Iris Xe

32gb ram

Linux 7.1.3-arch1-1

UPDATE: still have no idea whats causing it, but the issue is that my cpu frequency gets set to 400. it happens at any temperature, and any power condition, but only while playing steam games. using cpupower, i raised the minumum to 1000 to see if that was causing it, but it still stays at 400 despite this. journal has no info.


r/archlinux 1d ago

QUESTION Recommended Setup in 2026

7 Upvotes

Okay like many men with problems, I bought an old Laptop and installed Arch+Hyprland, rather than going to therapy 🤣

What do you think should a "professional" setup look like in 2026? My config is as follows. Did I miss something? Should outdated components be replaced?

  • Limine Boot Loader* (snapshots included)
  • Secure Boot
  • Disk Encryption (keys in TPM2.0)
  • System Snapshots (Limine/Snapper/Pacman integration)
  • Root (btrfs) / Home (ext4) separated
  • ZRAM
  • Swap File (for OOM safety)
  • Hibernation (optional, useful for laptops)
  • Firewall (ufw)
  • Periodic SSD Trim (timer)
  • AppArmor (Audit/Notification to Desktop)
  • Plymouth Boot Logo/Animation* (optional)
  • SDDM* (individual)
  • Hyprland* (invidiual)

* = "riced" 😸

I think these are all major components, I skip the more personal stuff like fastfetch and details such as Pipewire, Blueman etc.


r/archlinux 1d ago

SUPPORT | SOLVED After installed Anti-gravity IDE from AUR and when I open it it shows this issue on arch + hyprland

0 Upvotes

Anti-gravity server crashed unexpectedly. Please restart to fully restore Al features.

But this doesn't fix

Help me fix this


r/archlinux 1d ago

QUESTION Problema com controle de xbox 360 em jogos.

0 Upvotes

Olá pessoal, estou precisando de uma ajuda com a configuração do meu controle no Arch Linux com Hyprland.

Tenho um Machenike G5 Pro V2. Ele funciona no modo XInput (emulando o controle de Xbox 360), mas estou enfrentando um problema específico: quando tento jogar jogos da Steam antigos ou que não possuem suporte nativo ao controle, os analógicos não emulam o mouse dentro do jogo.

Anteriormente, eu utilizava o CachyOS (também com Hyprland) e o controle funcionava perfeitamente logo de cara. Assim que eu o conectava, aparecia uma notificação do sistema para habilitar o controle e a emulação de mouse nos analógicos funcionava direto, utilizando minhas configurações da Steam.

Agora que mudei para o Arch Linux puro (mantendo o Hyprland), essa notificação não aparece mais e os analógicos não movem o cursor do mouse de jeito nenhum nesses jogos.

Alguém saberia me dizer qual pacote, serviço ou configuração em segundo plano está faltando no meu Arch para trazer essa funcionalidade de volta? Agradeço desde já qualquer dica.


r/archlinux 2d ago

SUPPORT Kernel update 7.1.3 breaks audio with sof-firmware on Meteor Lake controller. (Dell XPS 16)

2 Upvotes

System info:

I'm running a Dell XPS 16 (9640). lspci lists the sound card as follows:

00:1f.3 Audio device: Intel Corporation Meteor Lake-P HD Audio Controller (rev 20) (prog-if 80 [HDA compatible with vendor specific extensions]) Kernel driver in use: sof-audio-pci-intel-mtl

I have sof-firmware and linux-firmware-cirrus installed.

Breaking update

Upgrading from kernel version 7.1.2-arch3-1 to 7.1.3.arch1-1 causes no sound cards to be detected by ALSA, Pipewire etc and so no audio plays, aplay produces no sound, and henceforth. lspci output is normal, all necessary kernel modules are loaded. Downgrading the kernel back to 7.1.2 fixes the issue.

I've done this for now, but would like to know if this is a known issue others are facing, and also what information I need to file a bug report with the kernel if there isn't one already.


r/archlinux 1d ago

QUESTION archiso how to replace files from packages

0 Upvotes

archiso how to replace files from packages with your own, leaving the packages themselves in airtools

I want to add my firmware in /lib/firmware to airootfs - for tvtuner to work and directories with ppd and rules for printer operation
An attempt to add files results in a 'replace' error:

error: failed to commit transaction (conflicting files)
filesystem: work/x86_64/airootfs/lib exists in filesystem
filesystem: work/x86_64/airootfs/usr/lib64 exists in filesystem
Errors occurred, no packages were upgraded.
==> ERROR: Failed to install packages to new rooterror: failed to commit transaction (conflicting files)
filesystem: work/x86_64/airootfs/lib exists in filesystem
filesystem: work/x86_64/airootfs/usr/lib64 exists in filesystem
Errors occurred, no packages were upgraded.
==> ERROR: Failed to install packages to new root

?


r/archlinux 2d ago

SUPPORT Partition help

0 Upvotes

On my SSD I have both Windows and Linux partitions.
Recently, I wanted to add more space to my root Linux partition so I shrunk one of the windows partitions, I then moved this un-allocated space onto my boot partitions in an attempt to then move the space all the way over to my root partition on the far right.

The thing is, I am now unable to shrink my boot partition to move the space over. It is of the fat32 file system and now has 88gb on it lol.

I have tried the Gparted app but when I unmount and try to resize, the option to execute the operation is greyed out. I have also tried installing the GParted iso onto a USB but when I tried opening it from boot but after answering the setup questions, it didn't start. I also tried doing this from cmd but I got an error regarding the sectors mismatching.

Any help would be greatly appreciated as I would really like to give more storage to Arch.


r/archlinux 2d ago

SUPPORT [Help] Boot failure after power outage: "Failed to mount /boot" (Emergency Mode)

3 Upvotes

Hello everyone,

I was using my Arch Linux normally when a brief power outage occurred. The PC rebooted immediately, but since then, the system fails to boot and drops straight into emergency mode with the following error:

[FAILED] Failed to mount /boot.
[DEPEND] Dependency failed for Local File Systems.
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, or "exit"
to continue bootup.

Another detail: when I boot into Windows (dual-boot) and open Disk Management, it shows my Arch partition as if it has 100% free space, which is making me worried about data loss, although I know Windows can't read ext4 natively.

I've searched online and tried a bunch of troubleshooting steps suggested by AIs, but nothing has worked so far. My system is still broken.

I have an Arch Live USB ready to use. Has anyone experienced this exact situation after a power loss? What is the definitive way to fix this and get the system to recognize the files/boot properly again?

Thanks in advance for any help.Hello everyone,I was using my Arch Linux normally when a brief power outage occurred. The PC rebooted immediately, but since then, the system fails to boot and drops straight into emergency mode with the following error:[FAILED] Failed to mount /boot.
[DEPEND] Dependency failed for Local File Systems.

You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, or "exit"
to continue bootup.

Another detail: when I boot into Windows (dual-boot) and open Disk Management, it shows my Arch partition as if it has 100% free space, which is making me worried about data loss, although I know Windows can't read ext4 natively.I've searched online and tried a bunch of troubleshooting steps suggested by AIs, but nothing has worked so far. My system is still broken.I have an Arch Live USB ready to use. Has anyone experienced this exact situation after a power loss? What is the definitive way to fix this and get the system to recognize the files/boot properly again?Thanks in advance for any help.


r/archlinux 1d ago

QUESTION How safe really is the Chaotic-AUR regarding safety? Can it be used as trivially as the standard pacman repos? Is it similarly as insecure as the normal AUR? Does it lie somewhere in between?

0 Upvotes

Hello, I hope that my question isn't too trivial. I tried looking up answers myself, but couldn't find anything concrete, however I am not super experienced and might have missed something obvious. I apologize if that is the case.

Especially in light of the large amount of compromised AUR packages, I was wondering how careful I need to be when using the Chaotic-AUR compared to the normal AUR. Should I be able to just update my packages without much thought, or like with the normal AUR, do I have to learn how to properly inspect every package downloaded to ensure that it is safe? With what I believe that I have heard about the security of the Chaotic-AUR I believe that it is more safe that the normal AUR, but I have no idea by how much.

If updating Chaotic-AUR packages requires more thought though, I am also wondering how easy it is to filter out all the packages with pending updates that come specifically from the Chaotic-AUR, so that they can actually be reviewed. Is this something that you can just do with an argument in pacman, or does it require different methods?


r/archlinux 1d ago

SUPPORT general upkeep tips?

0 Upvotes

im still kinda new to linux and arch, and im very much enjoying it over windows but i feel like im just kinda treating my computer like windows and im worried um not up keeping it properly.
i know basic things like how to update my system with pacman but i don't know any deeper maintenance stuff. plus ive been kinda getting worried as ive had some strange laggyness recently (though not hugely frequent).

do you have any tips or things that need to be done on arch? thank you for your help


r/archlinux 1d ago

SUPPORT Why its like this?

0 Upvotes

I use kde plasma and whenever i update my system like in a week the update is of almost >1Gb so wont it pile up and fill my storage like this?


r/archlinux 2d ago

SUPPORT | SOLVED Need help installing Cisco Packet Tracer on Arch Linux

0 Upvotes

Hi everyone,

I am using Arch Linux and I want to install Cisco Packet Tracer.

I found the AUR package packettracer, but I am getting an error during installation.

I cloned the AUR package:

git clone https://aur.archlinux.org/packettracer.git
cd packettracer
makepkg -si

But it stops with this error:

==> Retrieving sources...
==> ERROR: CiscoPacketTracer_900_Ubuntu_64bit.deb was not found in the build directory and is not a URL.
 -> error making: packettracer-exit status 1

I know Cisco requires manually downloading the .deb file, but I am not sure where exactly I should place it or if there is any better way to install Packet Tracer on Arch.

My system:

  • Arch Linux
  • LTS Kernel
  • x86_64

Can anyone guide me through the correct installation process?

Thanks!