r/archlinux
•
u/Foxboron
•
Jul 04 '18
FAQ - Read before posting
First read the Arch Linux FAQ from the wiki
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
•
u/Foxboron
•
Apr 27 '21
Got an easy question or new to Arch? Use this thread! 2nd Edition
The intention of this thread is to aid people that are beginners or new to Arch to get some support. Easy/newbie questions, questions regarding the installation guide, screenshots, "Hey I installed Arch :O!" are all appropriate posts for this thread.
Rules:
If you have no intentions of helping beginners, hit the hide button. This thread is not for you.
If your question has 2 paragraphs of text and 3 links with sources, then this is probably not the correct thread!
The reason for this post is the previous discussions along with people suggesting it in the mod mail.
Happy hacking!
r/archlinux • u/sourcerner44 • 4h ago
Need help on fix
Enable HLS to view with audio, or disable this notification
hi everyone, ive been an arch linux user for quite some time, but this is my first time trying to game on it so I have no idea where to start fixing this problem. I have read the arch wiki / tried doing some searching, but it wouldnt get fixed.
Basically from time to time when I play csgo, the screen would flash green & white. Im on a UM690 mini computer (amd chip). Any guidance would be appreciated, thank you!
r/archlinux • u/theCube__ • 15h ago
SUPPORT What's the best (preferably lightweight) network manager in 2023?
I've used networkmanager for a while but it's kinda buggy sometimes and it just seems overcomplicated especially considering I'm only on a wired connection.
Wicd's development seems to be kinda all over the place at the moment, can't find any solid information about netctl.
Any suggestions?
r/archlinux • u/tjcim_ • 13h ago
How do I compile an ARM Assembly Source file on ArchLinux?
I have the following ARM Assembly Source file:
.section .text
.global _start
_start:
MOV R1, #0x42
SUB SP, SP, #4
STR R1, [SP]
LDR R0, [SP]
I would like to compile and run it on my Arch x64 machine (uname -r
output): 6.2.7-arch1-1
I have https://aur.archlinux.org/packages/arm-linux-gnueabihf-gcc installed.
My goal is to compile it and then run it with qemu
and debug with gdb
to better understand what the instructions do.
Any help would be appreciated.
EDIT: Putting some of the pieces together from the comments here I can do the following - this works:
arm-linux-gnueabihf-as -o example1.o example1.s
arm-linux-gnueabihf-ld -o example1 example1.o
qemu-arm -g 1234 ./example1
gdb-multiarch -q -nx -ex "set architecture arm" -ex "file example1" -ex "target remote 127.0.0.1:1234"
EDIT2:
Got it working. I can compile and link in one step using gcc
. This allows me to run it with qemu-arm
and debug remotely:
arm-linux-gnueabihf-gcc -Wl,-dynamic-linker,/usr/arm-linux-gnueabihf/usr/lib/ld-linux-armhf.so.3 -o example1 example.s
r/archlinux • u/TheEpicZeninator • 6h ago
"PRIME Profiles" section missing from nvidia-settings
Hello everyone,
I want to use Optimus in hybrid-graphics mode (on demand switching) and I have installed all necessary packages (nvidia
, nvidia-prime
, nvidia-utils
, and of course, nvidia-settings
).
I only see this (not my image but similar).
The PRIME Profiles tab is supposed to look like this.
Am I missing something? Some package or configuration?
r/archlinux • u/Zakiyo • 5h ago
Firmware update?
I cant get xorg working and when i do journalctl -b 0 i see a red line : amdgpu: failed to load gpu_info firmware "amdgpu/vega10_gpu_info.bin
It looks like im missing some amd firmware. How can i add that ? And once added do i need to do mkinitcpio -p linux to regenerate initramfs?
r/archlinux • u/catlover107 • 1d ago
SUPPORT My PC crashes shortly after booting.
Enable HLS to view with audio, or disable this notification
Hello, linux noobie here. Recently I have started to receive this sort of thing shortly after booting up. The PC is completely unresponsive.
I dual boot Arch and Windows and the latter one is working just fine.
Any help appreciated.
(I'll provide specs if needed)
r/archlinux • u/MarceltheKnight • 3h ago
Pocket PC
So I want to get a Pocket PC that runs Arch as close to perfect as possible. Something modern if possible. Something that fits in my pant pocket. Any suggestions?
r/archlinux • u/NefariousnessFuzzy14 • 3h ago
SUPPORT Systemd hook to launch gtklock/swaylock
I am using Hyprland And all the systemd hooks I found in the web are for xorg screen lockers And I guess the problem is with the Envirements So yeah I need some exemples Btw what I want is basically to run gtklock wait 1 second maybe even 0.5s And then just systemctl hibernate or suspend I can do that with gtklock & sleep 1 && systemctl hibernate
Basically I want to do the same exact thing automatically with a systemd hook
r/archlinux • u/StPapaNoel • 1d ago
FLUFF What makes Arch a "Game changer"?
So recently I posted this in the Ubuntu sub:
https://old.reddit.com/r/Ubuntu/comments/1265vbz/what_do_you_think_ubuntu_needs_to_focus_on_next/
And one of the top comments was about how if you are looking for a game changer type deal you look to Arch.
Has me curious why Arch would stand out so much in this regard?
r/archlinux • u/JOTA_Satellite • 21h ago
FLUFF Appreciation Post, Mountain Peak Moment
I just wanted to say thank you to all the amazing Arch community helpers, and other distro members along the way, everywhere I have interacted with. I was all alone in my rush of excitement, and wasn't sure where best to post. I hope this sub is appropriate.
I started my Linux journey back in 2015 on Ubuntu, and it was always my dream to eventually make an Arch Linux build without the pre-configured ISOs in other distros. I used Mint, POPos, Manjaro, Endeavour, and Arco along the way before making the final push. While I have always disliked the stereotype attitude "btw I use arch", wearing the badge of achieving the distro with a functional desktop environment feels amazing!
Thank you for letting me share the moment of excitement with you!
r/archlinux • u/AnySomebody1 • 3h ago
SUPPORT 4K@60Hz via DP on Intel HD 520 (Thinkpad X260)
Hi,
for some time 4K@60Hz via DP worked flawless on my machine. But for some unknown reason it doesn't anymore since some time. Is it due to a regression caused by a change in the intel driver or does it still work for someone else?
Of course I tried the usual stuff like setting a custom modeline to no avail already.
Thanks
r/archlinux • u/Granat1 • 17h ago
SUPPORT Grub disappeared from boot selection?
Hi, a really weird thing happened today. Yesterday I've installed and configured a new Arch system on my new dell xps 13 9350. Everything was great and I started to configure a minimal gnome setup and zsh to my liking.
This was followed by some reboots just to be sure everything works and to check what else needs to be done (like enabling gdm). After all that I've decided to go to sleep because it's been 2am at this point. Today I wanted to boot the system up and there's no grub entry at all… I'm not even sure I did anything remotely related to grub after it's initial configuration.
Do any of you have any idea what to do at this point?
I've tried regenerating initramfs and installing grub again the same way I did it yesterday. I even tried changing between AHCI and RAIDon but still nothing.
r/archlinux • u/c-of-tranquillity • 1d ago
SUPPORT | SOLVED plymouth and dm-crypt
After updating my arch installation, I stumbled uppon an issue with plymouth. When trying to create the initramfs, I got the error message Hook plymouth-encrypt not found
. So I got on the wiki and checked the AUR comments to find out if there were any changes but all I could find is, that the mention of this hook got removed here.
After that, I thought... maybe the hook was no longer required so I just removed it and rerun mkinitcpio which resulted in dropping into the emergency shell after reboot.
Does anyone else have this issue? Is there some other link in the wiki that contains more info about plymouth + dm-crypt? why did it just get removed?
r/archlinux • u/Phydoux • 8h ago
SUPPORT Software updates but not ready for Arch?
I use Discord version 0.0.25-1. Yesterday, I tried to open it and it said there was an update for it (0.0.26-1). I have only 2 options from the Discord software to update it. Debian (.deb) and Linux (had a .tar.gz file). Is there a way to update it to the newer version using the tar.gz file in Arch or do I just need for the Arch version to be released? It will not run with 0.0.25-1 anymore. It always tells me to update it.
This has happened before with Discord in the past (I believe it was the 0.0.24-1 update to 0.0.25-1). I just waited a couple of days or I used the browser edition (probably the better way to go anyway).
EDIT: Okay, well, it's now updated for Arch so I guess I just needed to wait a few hours for Arch to catch up. :)
r/archlinux • u/Landomix • 15h ago
Change permissions of only one folder of a disk mounted at boot
Hi to everyone, I apologize for the question that may be dumb, but I am encountering a problem and I don't know how to solve it:
Since the cache folder of pacman is becoming huge on my laptop, I wanted to move it to another drive in the laptop (auto mounted at boot, of 1TB with a lot of free space), and use a dynamic link in /var
.
Yes, I know that sometimes I could simply delete the folder, but I am a quite lazy person, and often I forgot to do it ahahah So, if this thing is possible, would make me happier (because it will reduce a lot the number of deletions)
The problem is: the folder in /var
has drwxr-xr-x
permissions. Being mounted at boot with fstab
(or better, I think that this is the problem), the owner is (id and group) root:root
. I already tried to set the permissions of that specific folder to 755
, but did not work (chmod, even with root permissions did not change the rights). I also already tried to add in the fstab
as option to the mount "umask=022
", but this gave to every folder in the the permissions drwxr-xr-x
, which does not work for me, since in that folder I have also other folder which I want to be able to access / modify as standard username.
If can be helpful, I'll leave here the entry in fstab
:
/dev/disk/by-uuid/<uuid> /mnt/<uuid> auto nosuid,nodev,nofail,x-gvfs-show 0 0
Thanks in advance to everyone!
r/archlinux • u/GameC9547 • 16h ago
Plymouth-encrypt hook no longer found after update
Yesterday, I updated my packages, including the plymouth-git package from the AUR, and today I can't get past the plymouth splash screen. Normally, after choosing my Linux image in Grub, I should get a prompt to enter my luks key to decrypt my SSD, but instead it goes directly to the splash screen and loads indefinitely. So I tried booting from my ArchISO USB and getting access to my computer using chroot, and upon running mkinitcpio, it returns an error that the hook "plymouth-encrypt" is no longer found. I am not entirely sure how this happened, all I did was update the package, I didn't mess around with any configs or anything.
Has anyone else encountered this issue after the update? Shall I just install the plymouth package from the official repos instead? Only used the git package per recommendation from the ArchWiki, as it receives updates more frequently and is apparently less prone to breaking (haha)
Edit: Just installed the plymouth package from the official repos and uninstalled the git package. Upon running mkinitcpio -P, it still returns this:
==> ERROR: Hook 'plymouth-encrypt' cannot be found
Guess I need to disable it completely until I find a solution for this. Not sure whether the official package received an update as well? Was there maybe a name change for the hook I am not aware of? The normal plymouth hook entry gets recognized without any issues. Really strange.
r/archlinux • u/ghi7211 • 20h ago
Budgie-Desktop blank
Hello.
After installing budgie-desktop environment I am getting a blank screen. Installed packages and .config looks great. Any suggestions how I could debug this problem?
r/archlinux • u/conan--cimmerian • 21h ago
SUPPORT Plasma 5.27.3 has problems rendering the screen
KDE seems to cause issues rendering my screen. I get slight black bars around the corners of some apps, and on native kde applications i get little "ears" sticking out the sides. Pictures below
How do I fix this?
I tried building the app below but it doesn't build either (though it used to work back in plasma 5.23.
https://github.com/Alban-Boissard/kwin-effects-blur-respect-rounded-decorations
r/archlinux • u/JaysRandomChannel • 14h ago
SUPPORT Arch Linux not installing packages.
Trying to install xorg and pulse audio and this is the error I get:
error: no servers configured for repository: extra error: failed to commit transaction (no servers configured for repository) Errors occurred, no packages were upgraded.
r/archlinux • u/_alg • 1d ago
SUPPORT Borked my machine today! Wanted to see if you guys could help!
Hey guys! Quick question! I was trying to flash a thumb drive and left it plugged in after not successfully flashing it. And now my computer says no bootable devices found… which lead me to the assumption that I accidentally formatted my boot drive on my machine. After some investigation I saw that on gparted there was an error message on /dev/nvme0nlpl (my boot drive) …. I read online that I can fix this but everywhere I do read, there aren’t a-lot of specifics. I was wondering if any soul could help me!
I was trying to follow this article until I got stuck…
Im on the mounting my boot partition portion, but I am unclear on which to mount.
This is the output of fdisk -l
Device / Start / End /Sectors / size / type /dev/nume0n1p1 / 2048 / 1026047 /1024000 / 500M Microsoft basic data /deu/nume0n1p2 1026048 / 299450367 / 298424320 142.3G Linux / filesystem /dev/nume0n1p3 / 299452416 / 976773119 677320704 / 323G / Linux / filesystem
Disk /deu/sda: 57.3 GiB, 61530439680 bytes, 120176640 sectors Disk model: SanDisk 3.2Gen1 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes 1/0 size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x0000000
Devices boot start end sectors size id type /dev/sda1 * 32 120176608 57.3 G c W95 FAT32 LBA
Disk dev/ loopO: 668.47 MIB, 721911808 bytes, 1409901 sectars Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes 1/0 size (minimum/optimal): 512 bytes / 512 bytes
r/archlinux • u/lukeseizmore • 1d ago
FLUFF confession: I've never used AUR
Not because I don't want to, but because I've never had to. Everything I need is in the main/community/extra/multilib repo already. I say this because time and time again (on popular YT videos, popular reddit posts) I have heard this said: "the main reason people use Arch is access to the AUR."
Here are the reasons I use Arch and have been here for many years.
- Bus factor. I know Arch will never die out, and is among the most popular open-source community projects of all time. If I have a problem I can rest assured I'm not the first to experience it, and someone's already working on it.
- Vanilla. The idea that I don't have to add a distro asterisk when reading Archwiki. Keep It Simple Stupid, basically.
- Reliability of the upgrades and the modularity of the system. It has never failed me through upgrades, not even once (unless you count the few manual interventions required as noted on the front page). According to my pacman log my current main installation is all the way from 2014, and I have not once had a system breakage or package issue that didn't take a second to resolve. That is not something I can say for the other distros/partitions on my drive, even the "stable" ones.
- Performance, resource usage and boot time are fantastic on Arch out the box. I need to tweak distros like Fedora & OpenSUSE & Ubuntu to get them to boot this fast.
- The rewarding lessons you learn & inevitable Linux knowledge you gain overtime.
And of course, it is lean & clean in terms of package count. My 9 year old system only has 1022 packages from a barebones GNOME desktop and basic browings/gaming applications. I didn't bullet this because it's more of a personal/arbitrary thing, but I prefer the way Arch groups packages rather than disperses them into split ones resulting in a larger package count, ie Fedora. Not really something that matters, just sort of OCD triggering I guess, I like it to group them to appear less. Also of course, the logo's awesome lol
I'd like to hear opinions from those who see AUR as Arch's flagship feature. Personally it is actually the last reason I use Arch due to my lack of necessity for it. I think the other parts of what make Arch great often get overshadowed by AUR.
r/archlinux • u/jchanth2 • 1d ago
Display Manager for Hyprland
I am currently trying to get hyprland up and running (in parallel to my X11 i3/polybar setup).
So far, I always used LightDM with light-locker for login and session locking.
However, with LigthDM Hyprland seems not to be able to start so I was looking for another Display Manager to venture into the wayland world.
I have tried SDDM (which starts hyprland just fine), however, SDDM has the issue that you need a seperate session-locking application and can not use your SDDM theme for that.
Are there any alternatives to SDDM that can launch Hyprland that can also be used as a lock-screen? How do you guys handle that?
r/archlinux • u/Vihangbodh • 1d ago
SUPPORT Arch stuck on boot
I updated my [encrypted] arch system this morning, and now I'm unable to boot it up. It just stays stuck at the plymouth animation, without asking for a password prompt. On pressing escape, I get:
ERROR: resume: hibernation device '/dev/mapper/vg0-swap' not found
ERROR: device '/dev/mapper/vg0-root' not found. Skipping fsck.
mount: /new_root: special device /dev/mapper/vg0-root does not exist.
dmesg(1) may have more information after failed mount system call.
Your are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
[rootfs ]#
Checking dmesg, I only found one line (the last one in the log) that looks interesting:
[xyz] /dev/mapper/vg0-root: Can't open blockdev
(everything above this line was hardware information). Apparently I can't run lsblk in this shell since there's no such command, no fdisk either. Viewing /etc/fstab gives me an empty file (and /dev/mapper really doesn't have vg0-root and vg0-swap in it). I haven't changed any system setting in months, and I'm pretty sure the last update I ran didn't involve a kernel update (or, more precisely, a mkinitcpio rebuild). The only thing I can think of here is hardware failure, so is there a way I can at least salvage my data out of this system before I try to go for a fresh install?
Thanks in advance
EDIT: I chroot-ed into my system to try out a few things, but none of them work. What I've tried so far:
- updating the system (quite a few packages, including systemd, got updated though)
- changing mkinitcpio hook
plymouth-encrypt
toencrypt
- reinstalling linux kernel and rerunning mkinitcpio
- added
systemd
hook and replacedencrypt
withsd-encrypt
(just in case)
What I find weird is that the emergency shell I get dropped into doesn't have either lsblk or cryptsetup commands available, so I can't even try decrypting the system or checking the encryption status through the emergency shell :/
r/archlinux • u/Ubermensch85 • 1d ago
SUPPORT Chrome 113 ozone not working.
With the latest version of chrome the unstable option --ozone-platform=wayland
no longer works. I saw that they have introduced scaling with fractional-scale-v1 protocol but then with which new parameter should chome be launched on hyprland?
r/archlinux • u/Pipenguim • 1d ago
SUPPORT Intel I225-V R3/AQC113cs Not Working
Edit: The problem was that my ethernet cable just decided to spontanously break for absolutely no reason. I replaced it and it seems to be working fine now? I'm very confused, but this also works.
I installed arch on my main computer and found it weird that I couldn't use my Ethernet, but just used Wi-Fi. A few days later I am realizing that it just does not work at all. I have it connected and everything but it just will not work. The drivers they are using are igc and atlantic. I was trying to install kernel modules for it but I just got extremely confused and have no idea what to do.
I have a 700mb driver file from the Intel website with a bunch of drivers but I have absolutely no clue which one I should use.
What should I do? The device is detected, but just refuses to work. I would like to have this solved so I can actually use high speed internet and not depend on Wi-Fi. Any help is appreciated.