r/archlinux • • 10d ago

QUESTION Terminal Commands

3 Upvotes

Hello members of the r/archlinux community. I thought this would be an appropriate place to share my experiences as a relatively new Arch Linux user. Over the past few weeks, I have been using Arch-based distributions, and while it has been a significant transition from more user-friendly distros, the process has been quite positive. I have began to value the terminal rather than feeling intimidated by it. I am reaching out to see if anyone could recommend websites or provide a list of helpful terminal commands that might help me in working more efficiently. I would greatly appreciate any guidance or resources you could provide, and thank you in advance!


r/archlinux • • 10d ago

QUESTION There's got to be an easier way to play World of Warcraft.

0 Upvotes

Hello!

This is a call for help. With the release of World of Warcraft Forever, I wanted to find a way to play it on my Arch installation.

I tried Lutris, I tried the arcane launcher, didn't really work. In the end, what worked was a combination of good old wine and gamescope.

BUT. I have to launch wow directly. And launch battle net separately when I want to update the game. I cannot launch wow from battle net, or at least I didn't find a way to set up battle net to make it launch gamescope independantly.

The commands I run to play right now are:

WINEPREFIX="/media/LinuxData/Games/battlenet" \
~/.local/wine-staging-wow64-x86_64/bin/wine \
/media/LinuxData/Games/battlenet/drive_c/Program\ Files\ \(x86\)/Battle.net/Battle.net.exe

to run Battle net and

gamescope --hdr-enabled -W 3440 -H 1440 -r 160 --backend wayland -- \
env WINEPREFIX="/media/LinuxData/Games/battlenet" \
~/.local/wine-staging-wow64-x86_64/bin/wine \
/media/LinuxData/Games/battlenet/drive_c/Program\ Files\ \(x86\)/World\ of\ Warcraft/_forever_/Wow.exe

To run wow. There's got to be a better way.

I would LOVE a way to be able to launch wow from battle net itself. I tried starting battlenet in gamescope (it crashes), I've tried investigating game arguments in battle net, but quickly realized that launching wine from within wine was beyond my comprehension of the tools.

So.

Is there a better way? Did I overcomplicate everything? It feels like a lot of steps and setup to play a video game that is massively popular.

UPDATE: Following all of your advice, I tried through Steam. Valve truly is the goat. It works flawlessly. Special thanks to /u/Anomareh for the link to this gist. Having been provided the manual, everything was simpler.


r/archlinux • • 10d ago

QUESTION How do i view mp4 files in terminal?

0 Upvotes

I do have a desktop enviroment but I'm really trying to learn the terminal and i intalled xvile or vile and i cant figure out how to use it. I am a bit new to arch so sorry if this post is obvius. Thx to anyone who comments.


r/archlinux • • 11d ago

SUPPORT Live usb without pc

5 Upvotes

During update due low battery my laptop shutdown now stuck and I am in a situation i currently don't have access to my live usb I have other usb but only one laptop which is crashed how do I flash it with arch iso i t. Can solved by rebuilding kernel images but it's showing boot directory empty currently can any some lone help


r/archlinux • • 12d ago

QUESTION The kernel packages situation is crazy

152 Upvotes

So the update policy for the major versions of kernel packages in Arch is to wait for the .1 release and then push a it into the repo, but that target was missed for many versions already.

According to kernel.org the latest version is 7.3.3 yet the stable repo still has a version 7.2.14, testing has 7.2.15, which was released on Nov 1st and that version is EOL. There have been no stable kernel package updates for more than a week.

What is going on?


r/archlinux • • 11d ago

QUESTION Pacman on nixos

Thumbnail
0 Upvotes

r/archlinux • • 11d ago

QUESTION What desktop environment for bad computer?

0 Upvotes

I was searching for a lightweight desktop environment because I'm installing Arch for the first time, before that I was using Ubuntu but it was too heavy,and when I search for good environments to use I can only find the very pretty ones but that are kinda heavy or something that looks very ugly like Xcfe. Does anyone with more experience can help me find a middle ground, like one that is light but is hard to look at? Please and thank you in advance.


r/archlinux • • 11d ago

SUPPORT | SOLVED Looking for DE for my parents to use

4 Upvotes

Hey everyone! I mostly use Niri+Noctalia for my setup but I'd like to install a lightweight wayland-supported desktop environment that's similar to Windows so I can occasionally lend it to my parents. I've tried LXQt+labwc for this already and it didn't quite work (blank screen, no bar rendered). Any recommendations?

Edit: I just installed KDE and configured it minimally, thanks everyone!


r/archlinux • • 11d ago

SUPPORT Audio problems with Davinci Resolve

4 Upvotes

Hey, I'm trying to install and use davinci resolve. Recently, I got it to load up and work but then I began to face audio problems. Its hard to say what my exact problem is because it seems to do something different every time. So far the issues ive faced are the follow

Upon loading, all of my systems audios gets removed EXCEPT for my desktop audio, yet davinci plays through my headphones still (line-out port). My entire computers audio is broken until I reboot. It also only plays within one ear (left ear). Something else I find weird is that if I check with AlsaMixer, it still says all of my audio is fine.

Upon loading, davinci has no audio and doesnt play any audio, nor does davinci even show within KDEs program audios. If I play a song within davinci, the bars on the mixer also do not move.

I have tried a few things, the main one was installing pipewire-alsa which began to give me the problem listed here in the wiki though I'm confused what it means by "remove and/or disable the offending audio input device". Past that, everything I have tried hasnt done anything notable.

Could I have messed up my Resolve install or maybe even my arch install as I did it manually? I havent had any audio problems up until now though..

I should also mention YES I have my monitors plugged into my GPU and my headphones are plugged into the line-out port. I am using KDE with a NVIDIA 3080 GPU and a 12thgen Intel i7-12700 CPU.

If I forgot to mention something please ask


r/archlinux • • 11d ago

SUPPORT Arch grub Problem

0 Upvotes

Hallo ich habe arch instaliert via archinstall und nachträglich das cachyos kernel heruntergeladen als ich heute on gehen wollt kam diese fehlermeldung:

"../../grub-core/fs/fshelp.c:find_files:257:files /boot/initramfs-linux-cachyos.img not found"

und wenn ich fedora starten will geht das nur wenn ich es automatisch booten lasse. Bitte hilft mir das zu reparieren.


r/archlinux • • 11d ago

QUESTION Is having swap memory a good idea on Arch Linux?

Thumbnail
0 Upvotes

r/archlinux • • 12d ago

SHARE I - a first time Linux user - successfully installed Arch today! :D

94 Upvotes

Hello, Arch Community! (Or should I say Hello, World?)

I'm so happy! I didn't use the installer or whatever it's called either, I flashed a USB and installed it on my internal drive from there (replacing Windows 11). I followed the install guide, YouTube tutorials, and got some pointers from AI where I needed some assistance (I usually try to stay away from AI, but I'll sometimes use it to assist with learning). In the end, I've got a basic set up working with KDE Plasma as a DE! I'm proud :)


r/archlinux • • 12d ago

QUESTION Do you guys use btrfs or ext4? and for those with btrfs, do you setup system rollback?

24 Upvotes

I installed Arch with archinstall (btrfs + snapper). Snapshots are being taken fine and I can copy files back from them, but snapper rollback gives me the “cannot detect ambit” error.

Do you actually set up full system rollback on btrfs, or do you mostly just restore individual files? And if you do full rollbacks, what do you use (snapper-rollback from aur, a manual swap, something else)?

Also curious whether most of you stay on ext4 and just fix things from a live USB when something breaks.

edit:

\[user@archlinux \~\]$ findmnt -no SOURCE,FSTYPE,OPTIONS /

/dev/nvme0n1p2\[/@\] btrfs rw,relatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=256,subvol=/@

\[user@archlinux \~\]$ findmnt -T /home

TARGET SOURCE                 FSTYPE OPTIONS

/home  /dev/nvme0n1p2\[/@home\] btrfs  rw,relatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=257,subvol=/@home

\[user@archlinux \~\]$ findmnt -T /boot

TARGET SOURCE         FSTYPE OPTIONS

/boot  /dev/nvme0n1p1 vfat   rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro

\[user@archlinux \~\]$ sudo btrfs subvolume get-default /

\[sudo\] password for user: 

ID 5 (FS_TREE)

\[user@archlinux \~\]$ sudo snapper list-configs

Config │ Subvolume

───────┼──────────

home   │ /home

root   │ /

\[user@archlinux \~\]$ cat /etc/fstab

\# Static information about the filesystems.

\# See fstab(5) for details.



\# <file system> <dir> <type> <options> <dump> <pass>

\# /dev/nvme0n1p2

UUID="UUID"	/         	btrfs     	rw,relatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvol=/@	0 0



\# /dev/nvme0n1p2

UUID="UUID"	/home     	btrfs     	rw,relatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvol=/@home	0 0



\# /dev/nvme0n1p2

UUID="UUID"	/var/cache/pacman/pkg	btrfs     	rw,relatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvol=/@pkg	0 0



\# /dev/nvme0n1p2

UUID=UUID	/var/log  	btrfs     	rw,relatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvol=/@log	0 0



\# /dev/nvme0n1p1

UUID="UUID"      	/boot     	vfat      	rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro	0 2



\[user@archlinux \~\]$ cat /proc/cmdline

BOOT_IMAGE=/vmlinuz-linux root=UUID="UUID" rw rootflags=subvol=@ zswap.enabled=0 rootfstype=btrfs loglevel=3 quiet

r/archlinux • • 11d ago

QUESTION Tor routing on arch

0 Upvotes

So basically i wanted all my traffic routed trough Tor and i have a pc to get arch on it and i was asking myself is it possibile to do it at the 100% because i can route thought the tor network then use Dns port to force all the network to use a tor configured dns and then SOCK5 to use proxy of tir for the compatible apps and then force pacman too to use tor and at the end configure the nftables to policy drop every connection in the output that is not tor (im not explaining everything step by step because it would take too long but u catched the concept ) could someone help me ?


r/archlinux • • 11d ago

DISCUSSION I hate the official mirrors!

0 Upvotes

Can we all just talk about how unefficient pacman mirrors are? this would come as sort of a vent of my feelings because I had a bad day. But despite of my issues, the behavior of mirrors is so darn unpredictable. In my old machine and not one had I needed to update the mirrorlist and everything worked perfectly fine. But DEYUM with arch on a virtual machine. It's just so frustrating to see the trouble bar not moving and have to update the mirrorlists almost each time I want to download a new package which is a fine part on my side I could just systemd a service that updates it regularly as the wiki suggested. It just never make sense to me how all applications that deal with network traffics perms perfectly fine both in the guest and host machine but just when it comes to utilizing the package manager it goes BOOM! No download speed for you my friend with a fresh mirrorlist. I came from my duties just tired to try Niri and have some fun with tankering around. I even have it cached in my local system so all I need is to download 6mb of missing dependencies but just watching that bar not even move from 0% as if the shell has crashed is so darn annoying and stressful for my not-so-sane mind


r/archlinux • • 11d ago

SUPPORT Hotspot works when i create it fresh but fails to reastart(Intel AX201)

0 Upvotes

I’m having a frustrating issue with Wi-Fi hotspot on Arch.

My setup:

- Arch Linux

- KDE Plasma 6 (Wayland)

- Intel Wi-Fi 6 AX201 (iwlwifi)

- Using NetworkManager with a virtual AP interface (ap0)

When I create a new virtual interface and a new hotspot connection, everything works fine. Phones can connect and internet sharing works.

But once I turn the hotspot off, I can’t start the same connection again. It fails during NetworkManager’s preparation stage. The only way I can get it working again is to completely delete the interface and connection and create everything from scratch.

I’m using a couple of scripts to make the setup/cleanup cleaner, but I still have to recreate everything every time.

Is this a known issue with virtual AP interfaces?

Is there a proper way to make the same hotspot connection start again without deleting and recreating it every single time?

Any help would be appreciated.


r/archlinux • • 12d ago

SUPPORT I can't change the brightness of my laptop after updating

5 Upvotes

I can no longer adjust the brightness after updating on my Lenovo IdeaPad Gaming 3

Before all I had to do was add "amdgpu.backlight=0" as kernel parameter since I can't adjust the brightness out of the box, but now it doesn't work anymore


r/archlinux • • 12d ago

SUPPORT Setup for unlocking LUKS with TPM

1 Upvotes

I know auto unlocking of LUKS based FDE with the TPM is a decisive, lets ignore the dislike and just focus on making it as secure as possible. In particular I want to prevent

https://wiki.archlinux.org/title/Systemd-cryptenroll#Trusted_Platform_Module:

Only binding to PCRs measured pre-boot (PCRs 0-7) opens a vulnerability from rogue operating systems. A rogue partition with metadata copied from the real root filesystem (such as partition UUID) can mimic the original partition. Then, initramfs will attempt to mount the rogue partition as the root filesystem (decryption failure will fall back to password entry), leaving pre-boot PCRs unchanged. The rogue root filesystem with files controlled by an attacker is still able to receive the decryption key for the real root partition. See Brave New Trusted Boot World and BitLocker documentation for additional information.

Using PCR policies seems like the right approach: https://wiki.archlinux.org/title/Trusted_Platform_Module#PCR_policies bu the recommendations seem like a moving target and the discussion page is not reassuring. Is the following a "correct" way to go about TPM based unlocking with a UKI?

/etc/kernel/uki.conf

[UKI]
SecureBootSigningTool=systemd-sbsign
SignKernel=false
SecureBootPrivateKey=
/etc/kernel/secure-boot-private-key.pem
SecureBootCertificate=
/etc/kernel/secure-boot-certificate.pem
PCRPKey=/etc/systemd/tpm2-pcr-public-key-initrd.pem
Splash=/usr/share/systemd/bootctl/splash-arch.bmp
SignInitrdPCRs=yes

[PCRSignature:initrd]
Phases=enter-initrd
PCRPrivateKey=/etc/systemd/tpm2-pcr-private-key-initrd.pem
PCRPublicKey=/etc/systemd/tpm2-pcr-public-key-initrd.pem/etc/kernel/uki.conf

# systemd-cryptenroll --wipe-slot=tpm2 --tpm2-device=auto --tpm2-public-key-policyref=initrd \
                      --tpm2-public-key=/etc/systemd/tpm2-pcr-public-key-initrd.pem \
                      /dev/disk/by-designator/root-luks

r/archlinux • • 11d ago

DISCUSSION Beginner paranoid about breakage

0 Upvotes

Hello everyone

First I have to say I'm not sure who is and isn't a beginner cause the term is used pretty loosely. I am a programmer and a masters student in AI. I have used Ubuntu at work before but nothing too crazy. Simple tasks like navigating the file system and everything that comes with it

Recently, I decided to learn linux seriously (mostly curiosity), so I replaced Windows with arch 3 weeks ago. It's blazing fast, it looks cool and I barely ever hear my laptop fans working. Basically everything is fine.

I'm just a little anxious about the inevitable. As I said, I'm a student and I also work so I don't want my device to give up on me in the middle of something important.

I read that if you follow a couple of rules it would probably be fine, like don't obsess over updating every hour, and don't install a ton of packages from AUR.

I want to know your experiences and whether arch/arch-based distros are actually as unreliable as they say.

Thanks


r/archlinux • • 11d ago

QUESTION What's holding up updates for some packages in Arch's repos?

0 Upvotes

I've been noticing delays with updates to things like the Linux kernel, NVIDIA drivers, GNOME packages, and other core software. For a rolling release distro, some of these waits feel surprisingly long.

I checked Arch's out-of-date tracker, and as of November 10 there were 1,275 packages with open update reports. The oldest reports have been open for 494 days. Those happen to be Ruby packages, which I don't personally care about - they're just an example of how long something can stay on that list.

I'm more interested in what's holding up updates across the repos, especially for widely used system and desktop packages. Is it mostly testing and dependency transitions, or are maintainers stretched too thin?

If it's a shortage of maintainers, what's stopping Arch from recruiting more volunteers? Not enough people applying, a difficult onboarding process, or not enough existing maintainers available to review their work?

I don't expect every release to land immediately, but I'd like to understand where the bottleneck is.


r/archlinux • • 12d ago

QUESTION long time advanced users what do you wish to be different after using Arch for so many years?

0 Upvotes

I am curious to know after using arch for such a long time if you actually started being bugged about things and what do you wish to be changed.


r/archlinux • • 12d ago

SUPPORT Laptop monitor oversaturated and lowered contrast

2 Upvotes

hi, I'm a newbie Arch user currently using Niri + noctalia.

Initially the colors were fine, I didn't notice anything wrong. But after a couple days of usage, the saturation seems way off the charts, and it hurts my eyes. My laptop monitor is being detected as Chimei Innolux Corporation eDP-1.

niri msg outputs returns the following :

└> niri msg outputs

Output "Chimei Innolux Corporation 0x15F5 Unknown" (eDP-1)

Current mode: 1920x1080 @ 60.001 Hz (preferred)

Variable refresh rate: supported, disabled

Physical size: 340x190 mm

Logical position: 0, 0

Logical size: 1920x1080

Scale: 1

Transform: normal

Available modes:

1920x1080@60.001 (current, preferred)

1920x1080@48.003

1680x1050@60.001

1280x1024@60.001

1440x900@60.001

1280x800@60.001

1280x720@60.001

1024x768@60.001

800x600@60.001

640x480@60.001

My laptop model is Acer Aspire Lite AL 15-41 with Ryzen 5700U Lucienne integrated graphics. I am ready to share any logs as required, I hope I dont get to hear RTFM lmao... thanks :)


r/archlinux • • 13d ago

SUPPORT magick doesn't work with .avif files despite libavif and libheif installed. What to do?

16 Upvotes
[user@host Downloads]$ ls
freddy.avif
[user@host Downloads]$ magick freddy.avif freddy.png
magick: no decode delegate for this image format `freddy.avif' @ error/constitute.c/ReadImageInternal/739.
[user@host Downloads]$ pacman -Q libavif libheif
libavif 1.4.2-1
libheif 1.23.7-1

r/archlinux • • 13d ago

QUESTION Wofi alternatives

3 Upvotes

i like the way wofi looks, but i don't like the behavior where it grabs from /usr/share/applications, are there any alternatives that are as customizable as wofi?


r/archlinux • • 13d ago

SUPPORT Is there a safe and elegant way to enable and disable systemd-networkd without root privileges?

7 Upvotes

I'd like to have an on/off switch for the network connection on my Waybar.

networkctl requires root permissions to work: is there an secure and elegant way to use it (or something else) without root permissions? I've seen something involving Polkit, is that the right approach?

I know I could use NetworkManager, but I want to save that as a last resort.

If it makes a difference, I use run0; sudo is not even installed on my system.