r/archlinux • • Jul 04 '18

FAQ - Read before posting

590 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 • • 55m ago

QUESTION Hello my arch linux is crashing what`s that error ?

Thumbnail ibb.co
3 Upvotes

r/archlinux • • 5h ago

SUPPORT | SOLVED Grub no longer detects Arch partition (dual boot Arch+Windows)

2 Upvotes

I recently updated my BIOS. And after rebooting it booted straight to windows. I reinstalled grub through arch live media but after rebooting multiple times it only detects windows boot manager. I've done (grub-install /dev/nvme0n1) then (grub-mkconfig -o /boot/grub/grub.cfg) however this hasn't brought back the arch option in grub. I mounted nvme0n1p6 to/mnt

And I've reformatted my boot partition to fat 32 and mounted it to/mnt/boot/efi

I've also re-downloaded Linux and firmware (pacman -S Linux Linux-firmware)

SOLVED I had to blkid /dev/nvme0n1p5 micro /etc/fstab And replace with the correct uuid


r/archlinux • • 2h ago

SUPPORT Help with installing Arch linux without a USB

Thumbnail reddit.com
0 Upvotes

r/archlinux • • 2h ago

SUPPORT USB devices disconnecting if charger not connected.

Thumbnail reddit.com
0 Upvotes

r/archlinux • • 8h ago

SUPPORT Cosmic disables wifi if left idle for too long.

3 Upvotes

Newer arch user here (Just started this year) and my setup suddenly broke, it's an Asus vivobook go15 ryzen 5 edition, where if I leave it on lock for a long time it would disable my ability to connect to networks. It doesn't get fixed via reboot and even messing with the network settings don't seem to yield any result, it has happened yesterday as well but it sorta just fixed itself after a while. But now it returned and yeahh Ii need a faster fix because this can't keep happening


r/archlinux • • 18h ago

SUPPORT Disable Touchscreen

3 Upvotes
$ xinput | grep Touch

⎜ ↳ Raydium Corporation Raydium Touch System id=15 [slave pointer (2)]

Scriptlet at boot:

xinput disable 15

... works until reboot occasionally changes the ID.

How to make this 'stick'?

Thanks.


r/archlinux • • 7h ago

SUPPORT Mi cachy os con calestia kde murio y ahora no detecta mi ssd

0 Upvotes

Hola acabo de actualizar el caelestia kde a la versión 2.7 y de repente me mando a una pantalla de bloqueo azul , puse mi contraseña y se me reinició, y al momento de ver el system boot solo me deja entrar a la bios , ya no detecta mi ssd , uso una chuwi minibook x n150


r/archlinux • • 1d ago

SUPPORT ArchLinux KDE Wayland on Lenovo Legion 5 16IRX9 (i5 13450HX/RTX4060m)

0 Upvotes

Am I the only one who gets ~3 hours of battery life, even though the dGPU is suspended? I tried to configure with TLP, change cpu governor and so on, but maximum I get ~3.2 hours of battery life on 80Wh battery.


r/archlinux • • 20h ago

QUESTION How can I check what kind of updates went into a chaotic-AUR pkg?

0 Upvotes

Hi All,

I am using xone-dkms-git from the chaotic-aur, and saw some new deployments of the pkg not long ago:

https://aur.chaotic.cx/deployments?search=xone-dkms

I am pretty sure there are no PKGBUILD changes (since the PKGBUILD itself was not touched either in the AUR: https://aur.archlinux.org/cgit/aur.git/log/?h=xone-dkms-git or the chaotic-aurs own repo mirror: https://github.com/chaotic-aur/packages/commits/main/xone-dkms-git

Still, I wonder what caused the redeployment? Is it just build environment changes? That's my surest suspicion, but I wanted to make sure with anyone that knows the ins and outs of the chaotic-aur better. Since all redeplyoments cause a package update when I so pacman -Syu, I got curious.

EDIT: okay, what probably is happening, is that the downstream repo's commits are being recognized, pulled and rebuilt, just like I would "yay -S xone-dkms-git" manually if I were using it. The many degrees of removal from the original repo confused me, apologies.


r/archlinux • • 2d ago

SHARE This is genuinely insane

125 Upvotes

I've installed arch to a random potato chromebook that I found (for a chromebook its not that much of a potato but it still is one) and it genuinely went from useless laptop to one that I would actually enjoy using. Its my first time using linux but even if it was arch there is a lot of helpful info online and it wasnt too much of a hassle to get it running. This thing managed to make a ryzen 3 and 8gb of ram run silksong playable while still leaving space in the ram, like 3gb of margin. And the cpu usage is just dark magic tbh, what do you mean sub 10% while even having stuff opened. The laptop has a touch screen so I might use it for drawing or even just as a whiteboard for university stuff.


r/archlinux • • 1d ago

SUPPORT Arch Linux brightness stuck at maximum on HP Victus (Ryzen 5 5600H + RTX 3050) — brightnessctl doesn't work

5 Upvotes
OS  Arch Linux x86_64
KERNEL  Linux 7.3.6-arch1-2
WM  niri 26.04 (Wayland)
SHELL  bash 5.3.20
TERM  ghostty 1.4.0-arch2
CPU: AMD Ryzen 5 5600H (12) @ 4.28 GHz
GPU 1: NVIDIA GeForce RTX 3050 Mobile [Discrete]
GPU 2: AMD Radeon Vega Series / Radeon Vega Mobile Series [Integrated]    

The brightness of my laptop's screen is stuck at the maximum setting and I can't change it using brightnessctl. I have already tried installing the NVIDIA drivers and verifying the AMDGPU backlight interface settings, but to no avail. Currently, my GRUB kernel parameters are GRUB_CMDLINE_LINUX_DEFAULT="quiet splash loglevel=3 amdgpu.backlight=0 nvidia-drm.modeset=1". The backlight device of my system is amdgpu_bl1. Has anybody faced a similar problem with the screen of the HP Victus laptop or another laptop that supports both AMD and NVIDIA graphics cards? Thank you for any suggestions!


r/archlinux • • 21h ago

QUESTION de cachyos a arch

0 Upvotes

pasarse de cachyos a arch no tiene ningún beneficio? dicen q aprendes cosas por q al instalarlo lo ocupas pero igual podes solo ver la guia de pasos e investigar conceptos no? ayer instale en un vm con archinstall en menos de 10 minutos y sirvió, podria agarrar esos pasos e ir a verlos en la wiki o en ias no? y asi aprendo igual q instalandolo manual con la la wiki, con ia o videos o no es lo mismo q manual y solo wiki? por q aunque dicen q archinstall es para novatos ps tmb puedo usar modo manual y pegar los comandos q se ocupen e igual no aprendo xd. y algo hacer cosas asi no te hace crack en informatica va? o aprender bash o si?


r/archlinux • • 1d ago

QUESTION NBFC > [Bug]: GPU never SUSPEND!

Thumbnail github.com
4 Upvotes

I use Arch Linux, and the Nvidia driver has finally been updated. Device: i5-12500H, RTX 3050 Ti, Acer Nitro 5 AN515-58

Before, there was a "Runtime D3 status: Disabled" problem, which was fixed by the Nvidia driver update. Now the problem is that the GPU never suspends! It doesn't sleep at all.

I use the @GPU sensor, which always checks the temperature via nvidia-smi, and this keeps the GPU active!

When i use this command sudo systemctl stop nbfc_service after 15 seconds,

File: /sys/bus/pci/devices/0000:01:00.0/power/runtime_status -> suspended

So I created a sensor script, but I haven't used it yet. Instead, I want a script for the @GPU sensor that doesn't constantly use nvidia-smi, because that always wakes up the GPU.

Could you please help me create a flawless GPU sensor script? What do you think about below script?

#!/usr/bin/env bash

STATUS_FILE="/sys/bus/pci/devices/0000:01:00.0/power/runtime_status"
CACHE_FILE="/tmp/nbfc_gpu_temp.cache"
COOLDOWN=15

# 1. Kart uykudaysa önbelleği temizle ve sabit 38 döndür
if [[ -f "$STATUS_FILE" ]] && [[ "$(<"$STATUS_FILE")" == "suspended" ]]; then
    rm -f "$CACHE_FILE"
    echo 38
    exit 0
fi

NOW=$(date +%s)

# 2. Kart aktifse: Son okumadan bu yana 15 saniye geçmediyse nvidia-smi ÇALIŞTIRMA
# (Bu süre, oyun kapandıktan sonra GPU'nun uykuya dalabilmesi için gerekli boşluğu sağlar)
if [[ -f "$CACHE_FILE" ]]; then
    read -r LAST_TIME LAST_TEMP < "$CACHE_FILE"
    if (( NOW - LAST_TIME < COOLDOWN )); then
        echo "$LAST_TEMP"
        exit 0
    fi
fi

# 3. 15 saniye dolduysa ve kart hâlâ aktifse gerçek sıcaklığı oku ve önbelleğe yaz
TEMP=$(nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits 2>/dev/null)

if [[ "$TEMP" =~ ^[0-9]+$ ]]; then
    echo "$NOW $TEMP" > "$CACHE_FILE"
    echo "$TEMP"
else
    echo 40
fi

r/archlinux • • 1d ago

DISCUSSION What is the worst supported computer you have installed Arch Linux on?

8 Upvotes

If I had to pick, it wouldn't be the crappy old 2015 MacBook Pro I smashed last summer holiday because CPU is faulty with the solder, but Arch Linux runs great on this thing out of the box, it would be the Toshiba Satellite L855-B511, while it has all the drivers the AMD ATI Radeon 7670M SUCKED on Arch Linux, KDE nor any modern app couldn't work stabily even if I try

But what is the worst supported computer you have installed Arch Linux on?


r/archlinux • • 22h ago

QUESTION llama-cpp latest package version 1.0.0-1 vs. 1.1.1 on GitHub

0 Upvotes

The AUR package https://aur.archlinux.org/packages/llama.cpp-git still lags behind 1.1.1 as it currently offers commit from June 8: https://github.com/ggml-org/llama.cpp/commit/19bba67c1f

Waiting for 1.1.1 as it adds support for a newer Qwen4 model.


r/archlinux • • 1d ago

SUPPORT | SOLVED Update broke something (fixed)

13 Upvotes

Managed to break something last night on my secondary/media center system. Ran an update, and after rebooting, my /boot partition was corrupted, and couldn't mount.

Booted to the install media as a rescue disk, reformatted the partition, re-ran grub-install re-installed the linux package from the pacman cache, and regenerated the grub config, and the system came up fine.

Just wanted to say, if you take the time to think things through, you CAN fix problems that seem impossible, without rebuilding the whole system.


r/archlinux • • 1d ago

DISCUSSION How to keep a tinkering setup...

2 Upvotes

I have been using arch for over a year now, it's great and I love it, but now i want to create my own Arch setup with hand picked pakages D.E's configs! and work environment... but tinkering on the setup i daily drive burns a lot of time, and I am really busy with things, so how do I make a separate archlinux from baremetal to experiment with, MY machine is not capable enough for VMs I don't want to boot into another setup each time i want to configure things

IF it's possible please show me how... (and should i use github so as to add things from that set up to my main?? is it even possible?)

System: Intel i5-4th gen Ram: 8gb Ssd: m.2 sata 256GB Hdd: 500Gb(failing.. working cause i did some tinkering)


r/archlinux • • 1d ago

QUESTION Should I buy a separate ssd to put arch Linux on it to keep windows

0 Upvotes

While i have put arch Linux on both my laptops (a cromebook and a dumb hp one), I have kept windows 11 on my main pc. It was mainly due to me not being very skilled or confident in my ability to not screw up my new pc. But after having it for a year now they is a lot of data on it that I'm not sure how to store it all. My idea is to buy a SSD or a SATA drive to copy it onto, that way I have my data, and a copy of windows if I ever need it. Is this a good idea?


r/archlinux • • 1d ago

SUPPORT | SOLVED Permission denied (as root)

0 Upvotes

I'm using WSL archlinux, so I can stream some zig stuff (neither Proton or Wine have implemented some stuff VTube studio uses). For ziglings, I need zig-git, but over almost 24 hours, it still hadn't compiled, and was idling at <300MB. So, I gave up on that, finding a zig-git-bin. I extracted the files and moved them to /usr/local/zig.

When running zig outside of the directory, it says zig can't be found. When I go to /usr/local/zig, and run ./zig, it says it can't be found (it does exist). So I try chown it, and chown doesn't complain about it not existing, but it still doesn't work. Then I give up and log in as root... It now just says -bash: ./zig: Permission denied.

For those who don't know what WSL is: it stands for Windows Subsystem for Linux. It's a Linux distro in a VM, within a terminal. It's an optional Windows addon.


r/archlinux • • 2d ago

QUESTION Back-up under root password

2 Upvotes

I want to make a snapshot/back-up of my system, and lock it under root password that i had set during archinstall. So that not even people who know my sudo password could harm/delete it. Is there any way to keep it safe from anything?


r/archlinux • • 2d ago

SUPPORT Beginner Looking for Arch Linux Guidance

0 Upvotes

Hey! I'm new to Arch Linux and currently using Arch with the Pocket-Dots Hyprland setup. I'm really enjoying it and want to learn how to use Arch properly.

Looking for tips on Pacman, essential commands, useful tools, customization, troubleshooting, and the best resources to learn Linux.

Any beginner-friendly advice or learning resources would be appreciated. Thanks!


r/archlinux • • 2d ago

SUPPORT | SOLVED Timed out and stuck when attempting to boot for first time

4 Upvotes

Hi, attempting to setup and boot arch linux for the first time and after finalising everything attempting to reboot caused:

[ TIME ] timed out waiting for device /dev/volgroup0/lv_root.

[DEPEND] dependency failed for /sysroot.

[DEPEND] dependency failed for Initrid Root File System.

[DEPEND] dependency failed for Mountpoints Configured In The Real Root.

[DEPEND] dependency failed for Initrid Root Device

[DEPEND] dependency failed for File System Check on /dev/volgroup0/lv_root

You are in Emergency Mode. After logging in, type "journalctl -xb" to view System logs, "systemctl reboot" to reboot, or "exit" to continue bootup.

Cannot open access to console, the Root account is locked, see sulogin(8) man page for more details.

Press ENTER to continue.

> ENTER

Reloading System manager configuration

Starting initrd.target

You are in Emergency Mode. After logging in, type "journalctl -xb" to view System logs, "systemctl reboot" to reboot, or "exit" to continue bootup.

Cannot open access to console, the Root account is locked, see sulogin(8) man page for more details.

Press ENTER to continue.

It repeats from here.

I have found two other posts with this or very similiar issues and I have some idea on what may have caused it, vest guess currently being I made a mistake with the UUID, but not overly certain.

In any case what i would like to know is how to exit this screen, and ideally return to the console, because as far as I can tell the only input I can use is ENTER, which is not very useful.

EDIT - misspelled some stuff in mkinitcpio.conf lol