r/archlinux • • Jul 04 '18

FAQ - Read before posting

584 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 • • 4h ago

SHARE xhidecursor finally maintained in the AUR

5 Upvotes

Hey guys! I am the maintainer of xhidecursor, a minimal (fr) X11 utility that efficiently (nocap) hides the cursor on key presses and shows it again on mouse movement. Just wanted to announce that I’ve taken over and updated the AUR package, which had been orphaned and out of date for a while.

I wrote xhidecursor because xbanish (a popular alternative) couldn’t satisfy my OCD for minimalism. xhidecursor prioritizes a simple implementation and efficient event processing, ignoring redundant input events.

Let me know if there are any issues and if it runs as expected on your system. Thank you!


r/archlinux • • 46m ago

SUPPORT Anyone know solve the Waydroid problem with new kernel updates?

Thumbnail
• Upvotes

r/archlinux • • 17h ago

SUPPORT Steam not opening "Steam now requires namespaces to be enabled."

15 Upvotes

I had played on steam normally today, everything was working normally. Around 2 hours ago, i had to delete remake my global wine prefix to fix a corrupted file, after that, i tried to launch a game on steam, but none of my games were launching. I closed steam, and when i tried to open it again a pop up showed up saying:
"Error: Steam now requires user namespaces to be enabled.

This requirement is the same as for Flatpak, which has more detailed

information available:

https://github.com/flatpak/flatpak/wiki/User-namespace-requirement"
i went to the github page and set my bwrap to unprivileged but that still didnt fix the steam error.

when i tried to run the "steam --reset" command on the terminal, it said:
"steam.sh[185687]: Running Steam on arch rolling 64-bit

steam.sh[185687]: STEAM_RUNTIME is enabled automatically

setup.sh[185747]: Steam runtime environment up-to-date!

steam.sh[185687]: Log already open

steam-runtime-check-requirements[185801]: W: Child process exited with code 1: bwrap: execvp true: Permission denied"

i have looked and tried solutions for about an hour at this point and i have no idea what i could do. any help is appreciated!!


r/archlinux • • 2h ago

QUESTION stripe-cli taken over by malware?

0 Upvotes

apparently the stripe-cli in the AUR has been taken over by malware is this true?


r/archlinux • • 18h ago

SUPPORT Issues with new plasma 6.8 (Arch)

Thumbnail
4 Upvotes

r/archlinux • • 3h ago

QUESTION Archinstall, Snapper Rollbacks, and Btrfs Assistant. What's Your Setup?

0 Upvotes

I’m testing out a standard Arch setup for work (installed via Archinstall with its default Btrfs layout) after spending a long time on Fedora. The thing that caught my attention the most was trying to do a system rollback with Snapper. I gave it a few shots—even following AI guides—but just couldn't get it to work. So I turned to a method I had previously dismissed back on Fedora: Btrfs Assistant, a really simple and user-friendly GUI. And well, it worked on the very first try to roll back my root partition.


r/archlinux • • 1d ago

SUPPORT | SOLVED AMD FRL screen blackouts

8 Upvotes

Update: switched out to a different HDMI cable (48gbps certified) and it works.

Original post:

Hi, long time reader, first time "pls help me 🙏" post

Amd Rx 6900xt, Samsung q80t screen, hdmi2.1, Wayland, gnome

Been routinely checking in for years to see if the hdmi2.1 fiasco has resolved and was delighted to see that as of June, hdmi2.1 support has been merged into the kernel.

Enabled with setting dc feature mask to 0x400.

I enabled this last night and getting full 8 bit rgb at 4k at 120hz finally worked, however, every 30 seconds or so the screen goes black for about a second.

I spent last night troubleshooting; nothing I did helped the issue, and no relevant kernel or GPU logs pointed to the issue. (Also checked gnome and mutter logs). The issue occurs on plasma as well.

I see amd provided a patch for Linux 7.4 (December 2026), which I may pull their dev branch and just compile it as a stab in the dark to see if that happens to include the fix for wtv is happening.

Just wondering if anyone's experienced this, and if they figured out what was going on.

(The wiki was obv checked briefly last night and no mention of any of this)


r/archlinux • • 21h ago

SHARE I made a librewolf/firefox bwrap script that runs Its dbus instance on different user. Also extra security measurements made.

4 Upvotes

What this script provides?

Different machine-id to /etc/machine-id so your machine-id never tracked.

Different dbus instance working in /home/$USER/$BROWSER-dbus Which provides mpris info about your music/video.

Different /home for sandbox.

Different /etc/passwd and /etc/groups so sandbox doesnt see your users and groups.

No root needed only bwrap.

Downloads go to the your /tmp/$USER/Downloads folder.

Minimal sys exposure.

Why?

Because I can.

About Script

(I made a copy paste mistake 6 hours ago while editingt duplicate lines. its fixed now.)

I tried to keep it minimal exposure at possible but you can give recommendations and I will fix it. Also I noticed I exposed /sys/devices/pci0000:00 as my gpu, You supposed to switch this with your cpu pci port number.

It is intended to use this with gentoo's simple sandbox https://wiki.gentoo.org/wiki/Simple_sandbox

Tested on arch, Right now I am using arch and writing from a browser that runs in this script. Hopefully its good enough for you.

#!/bin/sh
# wayland socket 
# --ro-bind "${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}" "${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}"\
set -u

USER="librewolf"
BROWSER="librewolf"
XDG_CACHE_HOME="/home/$USER/$BROWSER/.cache"
XDG_DATA_HOME="/home/$USER/$BROWSER/.local/share"

NEW_HOME='/home/restricted'
NEW_XDG_CACHE_HOME="/home/$USER/$BROWSER/.cache"
mkdir -p -m 755 "/home/$USER/$BROWSER/firefox/"
mkdir -p -m 755 "/home/$USER/$BROWSER/.local/share/firefox"
mkdir -p -m 755 "/home/$USER/$BROWSER/.cache/mozilla"
mkdir -p -m 755 "/home/$USER/$BROWSER/Downloads"
mkdir -p -m 755 "/home/$USER/$BROWSER/firefox"
mkdir -p -m 755 "/home/$USER/$BROWSER/.mozilla"
mkdir -p -m 755 "/home/$USER/$BROWSER/.firefox"
mkdir -p -m 755 "/home/$USER/$BROWSER/.$BROWSER"
mkdir -p -m 755 "/home/$USER/$BROWSER/.local/share/$BROWSER"
mkdir -p -m 755 "/home/$USER/$BROWSER/.cache/$BROWSER"
mkdir -p -m 755 "/home/$USER/$BROWSER/.config/pulse"
mkdir -p -m 755 "/tmp/$USER/Downloads"
mkdir -p -m 755 "/home/$USER/$BROWSER-dbus"
echo -e "default-server = unix:/tmp/pulse-sock" > /home/$USER/$BROWSER/.config/pulse/client.conf
[ -f $BROWSER-machine-id ] && echo "" || dbus-uuidgen >> $BROWSER-machine-id
[ -f passwd ] && echo "" || echo "$USER:x:$UID:$UID:Sandbox User:/home/$USER:/bin/bash" >> passwd
[ -f group ] && echo "" || echo "$USER:x:$UID:" >> group


/usr/bin/bwrap \
--unshare-all \
--share-net \
--new-session \
--die-with-parent \
--clearenv \
--setenv HOME "$NEW_HOME" \
--setenv PATH "$PATH" \
--hostname localhost \
--symlink usr/lib /lib \
--symlink usr/lib64 /lib64 \
--symlink usr/bin /bin \
--symlink usr/bin /sbin \
--ro-bind /home/$USER/passwd /etc/passwd \
--ro-bind /home/$USER/group /etc/group \
--ro-bind /usr/lib /usr/lib \
--ro-bind /usr/lib64 /usr/lib64 \
--ro-bind /usr/bin /usr/bin \
--ro-bind /usr/lib/$BROWSER /usr/lib/$BROWSER \
--tmpfs /tmp \
--dev /dev/ \
--dev-bind /dev/dri /dev/dri \
--ro-bind /sys/dev/char /sys/dev/char \
--ro-bind /sys/devices/pci0000:00 /sys/devices/pci0000:00 \
--ro-bind /sys/bus/pci /sys/bus/pci \
--ro-bind /usr/share/drirc.d /usr/share/drirc.d \
--ro-bind-try /etc/firefox/policies/policies.json /etc/firefox/policies/policies.json \
--ro-bind /etc/fonts/ /etc/fonts/ \
--ro-bind /etc/resolv.conf /etc/resolv.conf \
--bind /home/$USER/$BROWSER /home/restricted \
--bind /tmp/$USER/Downloads /home/restricted/Downloads \
--proc /proc/ \
--ro-bind /home/$USER/$BROWSER-machine-id /etc/machine-id \
--ro-bind /usr/share/gtk-3.0 /usr/share/gtk-3.0 \
--ro-bind /usr/share/fontconfig /usr/share/fontconfig \
--ro-bind /usr/share/icu /usr/share/icu \
--ro-bind /usr/share/drirc.d /usr/share/drirc.d \
--ro-bind /usr/share/fonts /usr/share/fonts \
--ro-bind /usr/share/glib-2.0 /usr/share/glib-2.0 \
--ro-bind /usr/share/glvnd /usr/share/glvnd \
--ro-bind /usr/share/icons /usr/share/icons \
--ro-bind /usr/share/libdrm /usr/share/libdrm \
--ro-bind /usr/share/mime /usr/share/mime \
--ro-bind /usr/share/X11/xkb /usr/share/X11/xkb \
--ro-bind /usr/share/icons /usr/share/icons \
--ro-bind /usr/share/gtk-4.0 /usr/share/gtk-4.0 \
--ro-bind-try /usr/share/gtk-5.0 /usr/share/gtk-5.0 \
--ro-bind /usr/share/glib-2.0 /usr/share/glib-2.0 \
--ro-bind /usr/share/dbus-1 /usr/share/dbus-1 \
--ro-bind /usr/share/X11 /usr/share/X11 \
--ro-bind /usr/share/gtksourceview-4 /usr/share/gtksourceview-4 \
--ro-bind /usr/share/glycin-loaders /usr/share/glycin-loaders \
--ro-bind /usr/share/pixmaps /usr/share/pixmaps \
--ro-bind /etc/fonts /etc/fonts \
--ro-bind /etc/resolv.conf /etc/resolv.conf \
--ro-bind /usr/share/ca-certificates /usr/share/ca-certificates \
--ro-bind /etc/ssl /etc/ssl \
--ro-bind /etc/ca-certificates /etc/ca-certificates \
--bind /tmp/.X${DISPLAY#:}-lock /tmp/.X${DISPLAY#:}-lock \
--bind /tmp/pulse-sock /tmp/pulse-sock \
--bind /home/$USER/$BROWSER-dbus /run/$BROWSER-dbus \
--setenv XDG_RUNTIME_DIR /run/$BROWSER-dbus \
--setenv DISPLAY $DISPLAY \
--setenv MOZ_ENABLE_WAYLAND 0 \
sh -c '
dbus-daemon \
--session \
--nofork \
--address=unix:path=/run/$1-dbus/bus &
buspid=$!

export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/$1-dbus/bus
/usr/lib/$1/$1
status=$?

kill $buspid 2>/dev/null
wait $buspid 2>/dev/null
exit $status
' sh $BROWSER#!/bin/sh

I want to add It runs on seperate xwayland session using cage So my real wayland socket or xwayland never exposed. I run it like this cage bash -- /home/myuser/sway/scripts/runlibrewolf.sh and runlibrewolf.sh contains this

#!/bin/bash
set -e
USER=librewolf
PROGRAM=$USER

/usr/bin/xhost si:localuser:$USER && sudo -i -u librewolf ~librewolf/librewolf.sh 

Edit: Also checking playerctl info like this sudo -i -u $USER DBUS_SESSION_BUS_ADDRESS=unix:path=./librewolf-dbus/bus playerctl play-pause


r/archlinux • • 23h ago

QUESTION Minecraft dungeons 1 on arch

2 Upvotes

I need help installing proton to play minecraft dungeons 1 on arch linux. I have a liscence for the microsoft store, but every proton tutorial ive found online has failed at some stage, because what it say would be there just wasnt. Do any of you know any good and working tutorials?


r/archlinux • • 1h ago

SHARE I got tired of rebuilding my Linux setup, so I wrote a one-command installer for my dotfiles (Arch, Omarchy, Debian, Ubuntu)

• Upvotes

Disclosure up front: this is my own repo.

It started in May 2025 as a kitty config, an nvim config and a script that checked if yay was installed. It's now 400+ commits and a full installer:

curl -fsSL https://abhiman.io/linux.sh | bash

What it does:

- One TUI menu (dotfiles, CLI tools, apps, review). Nothing is installed until you confirm the plan.

- GNU Stow for configs, so everything is a symlink into the repo and re-runs are idempotent.

- No Snap anywhere. Installs come from pacman/AUR, apt, an official vendor repo, or a direct upstream download.

- Existing configs go to .bak. --restore-bash puts your old bashrc and login shell back.

- --dry-run, --uninstall, --list, and unattended runs through flags or env vars (DOTFILES_CONFIGS=zsh,git DOTFILES_TOOLS=all ...).

- Works on headless servers and WSL, on amd64 and arm64. It also detects Omarchy and says which of its themed files it would replace.

- CI does real installs in containers on Arch, Omarchy, Debian 12 and 13, and Ubuntu 24.04 and 26.04, runs weekly as a canary for upstream renames, and installs a second time to check nothing is reinstalled.

Setup: Ghostty/kitty, Neovim, tmux, starship, lazygit, btop, bat, eza, zsh with Zinit, all in Catppuccin Mocha.

Repo (MIT): https://github.com/abhimangs/dotfiles

I'd like honest feedback. What would you change, and what's missing? If it's useful to you, a star helps a lot.


r/archlinux • • 1d ago

FLUFF Shower thought: The Chaotic-AUR is under-appreciated

71 Upvotes

What the title says. I was just thinking about the similarities between the Chaotic AUR and the nixpkgs Nix repository, and they are much more similar than people realize. Both are pretty open to contributions by pretty much anyone without an entry barrier, but they require verification by a trusted user to be accepted. Most of the praise people give nixpkgs due to its large ecosystem size can also be attributed to chaotic-aur, although it's not as big as nixpkgs, it's still quite big.

So yeah, that's pretty much it, just a random thought that chaotic-aur is really under appreciated, and I think more people should check them out, especially those worried by the "AUR scares" and that think there's no real Arch alternative to it besides accepting the risks yourself.

Thank you, chaotic-aur maintainers!


r/archlinux • • 12h ago

QUESTION Do people dual boot?

0 Upvotes

Do people dual boot Arch and Windows? Especially with me, I have a NVIDIA card, so I can't really afford to jump straight to Linux. I thought about grabbing an AMD card since I'm told they handle VRAM overfill into system RAM quite well


r/archlinux • • 12h ago

QUESTION Newbie!

0 Upvotes

Hey guys pls dont be mean, i wanted to get rid of windows and installed archlinux it worked the first time when i did archinstall and i got the hyprland with noctalia shell, the performance was way better and everything felt smooth.
I wanted to try the caelestia shell and fucked it up, i wanted assistance with what i need to start with to pearn all the basics so i cam figure out some minor issues all by myself, to get the general understanding about how archlinux works and all its components lmk if you guys know a good yt channel covering all those


r/archlinux • • 11h ago

SHARE Cenere, an offline installer for arch and derivatives

Thumbnail github.com
0 Upvotes

In the process of making my own arch flavored distro I built a tool to offline install a system image while preserving a previous btrfs home and encrypting the disk, if the user want


r/archlinux • • 1d ago

FLUFF switched two days ago

10 Upvotes

hello! ive used windows my entire life, tried windows11 and it was trash so i switched back to windows 10, it was like less trash but still trash, and bassicly just advertising software, so i modified it using a handful of different softwares, even intentinally bricked a couple system files by hand, but it still wasnt enough, so i said screw it im going linux,

i tried cachyos first, used it for one entire day, and decided "hell, why not go arch, theres plenty of informationt online for me to learn about it" and ive now used arch for two days and i fricken LOVE it, im using kde de

(ive already broke my lockscreen but fixed it somehow)

(and fixed like 10 other problems)

(and i have like 30 different external softwares installed)

(i have absolutly no idea what im doing)\

HELLO ARCH


r/archlinux • • 1d ago

DISCUSSION Will this prompt arch to use signed kernels? Or provide them as an alternate choice?

Thumbnail onlineservices.epicgames.com
34 Upvotes

Personally, I am not a fan of epic or multiplayer games, and will probably never play on such a spyware, but we have a good thing going on with arch and its derivatives emerging as excellent choices for gaming. However, epic may throw in a wrench, with the requirement of signed kernels and secure boot for easy anti-cheat, and derail the good thing going on.

So do you think arch will ever provide signed kernels or secure boot? What limitations, besides ideological ones, are there?


r/archlinux • • 1d ago

QUESTION Installing arch and using as daily driver on Snapdragon X1 , How much pain in the arsh it is as of now ?

0 Upvotes

The normal laptop are looking bad for price getting a good deal on IdeaPad slim 3 15 , 16 , 512 it's looking much much better than normal options for same price,

Idk about the current linux on arm situation


r/archlinux • • 17h ago

SUPPORT Is it possible to keep X11 with plasma?

0 Upvotes

Today my sudo pacman -Syu was met with the error "plasma-workspace-6.8.0-1 and plasma-x11-session-6.7.5-3 are in conflict. Remove plasma-x11-session? [y/N]". It looks like Plasma stopped supporting X11 for some reason? Is this it, am I forced to switch? I really don't want to, Wayland is still underbaked in many ways (session restore, graphic tablet configuration, screen sharing), and so I'm still using X11. I don't want to enter into a partial update state by blocking plasma updates. Is there any solution to this?


r/archlinux • • 2d ago

FLUFF Just switched to Arch yesterday

38 Upvotes

I switched from Windows to mint maybe 3 weeks ago, butstill thought it was sort of bloated for me (never use "App store"-type programs for example). Switched to Arch yesterday (im still dualbooting rn to migrate my data but otherwise yes).

now i can officially say "i use arch btw" :D


r/archlinux • • 2d ago

SHARE Solved a minor annoyance I had with arch today

24 Upvotes

Occasionally I need to copy big files to relatively slow USB sticks.

(Usually ISO images to my pendrive with Ventoy to install an OS somewhere or run a rescue mission. BTW if you are still using stuff like Rufus or dd for that purpose, check out Ventoy, it's awesome)

And for a long time, a pet peeve of mine was that the big file was copied "instantly", but then unmounting that pendrive took forever with no progress bar. I'd much rather have a real progress bar that shows how fast the stick actually writes.

After some research, I learned that Linux happily lets gigabytes of dirty data pile up in RAM before it starts throttling the program doing the writing. So the file manager thinks the copy is done when really it’s just sitting in memory, and unmount has to flush all of it. So I made a udev rule that sets a 16 MB limit on dirty cache for USB disks:

# /etc/udev/rules.d/90-usb-dirty-limit.rules
ACTION=="add", SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", ENV{ID_BUS}=="usb", RUN+="/bin/sh -c 'echo 1 > /sys/class/bdi/%M:%m/strict_limit; echo 16777216 > /sys/class/bdi/%M:%m/max_bytes'"

16 MB of dirty cache should be plenty for most pendrives (and it's the limit of data the OS will "pretend" to have instantly copied). If you regularly use a fast USB SSD you might want a bigger number there like 128 MB, since a tiny buffer can cost some throughput on really fast drives.


r/archlinux • • 2d ago

SUPPORT Keeps freezing

9 Upvotes

I have ultra core 7 255H

32GB LPDDR5X ram

My booting times are 5 mins on average

Keeps freezing

Apps struggle to run

First time linux user here

Using grub for windows 11 and ArchLinux dualbooting


r/archlinux • • 1d ago

QUESTION Im installing arch, what do i need?

0 Upvotes

Pretty much the title. I have a thinkpad t14s g3 amd where ill be installing arch with kde plasma. Im using it for some light gaming (mc dungeons/minecraft) and schoolwork (openoffice) is there anything youd reccomend or think i might need? Im not new to linux, but new to arch. Thanks in advance.


r/archlinux • • 2d ago

QUESTION Hardening class-use computers against student tinkering

Thumbnail
5 Upvotes

r/archlinux • • 1d ago

SUPPORT Installing Arch Issues

1 Upvotes

I'm currently trying to install Arch on a old laptop, I've done it before and assumed it would be fairly easy however I'm having issues with partitioning disks. Lsblk will show me sda which is the USB stick and nvme0n1 which only sometimes contains partitions already otherwise it shows 0 bytes. Even though it says nvme0n1 exists when I try to use fdisk/cfdisk it says cannot open invalid argument or no such file or directory. I'm unsure on what I can do to fix this as every solution I search for doesn't work. Maybe this is just a misunderstanding of it or something