/r/archlinux

Photograph via snooOG

A subreddit for the Arch Linux user community for support and useful news.

Locked in protest at the 3rd party apps situation.

Please do NOT send join requests or message the mods to join, they will be ignored and archived.

/r/archlinux

239,712 Subscribers

2

Should I use aurutils or rua and what is the benefit of the local repo method?

I've looked into both aurutils and rua quite a bit, or at least as much as you can without using them myself, as I want to get more info on each before using - just to keep my package management as clean as possible. Right now the big decider for me is whether the local repo of aurutils is worth it, and what exactly the pros/cons are for someone who has history with it. I'm not the most experienced user, though I understand how it works, I just don't have the foresight as to whether it's a good option or not. So, any feedback on how it feels to use?

Side note - it almost absolutely has to be between these two because as far as I can tell they are the most talked about install helpers that aren't just pacman wrappers, which I want to avoid in an effort to do it "the arch way." Also, mkpkg -si is a little clunky still. One command + the ability to search and review pkgbuild in the terminal is nice and I want it.

0 Comments
2023/09/22
01:45 UTC

0

What happened to archinstall's disk layout option and how to install a specific version of it?

I was just coming back from being an arch user again.

as usual i followed a good 'ol indian yt vid on how to dual boot arch and win10 like a real noob ( https://youtu.be/2SnjJEuaMH8?si=pGEwO3abOtX-_hGe)

After doing the EFI, Swap, and Linux filesystem partitions, I proceeded with going to archinstall, i came to the disklayout part but all i could find was that disk config option which i couldnt even search for a proper documentation nor tut vid

is there anyway to use the older version of archinstall where disk layout option still exists?

i tried using this command

[pacman -U https://archive.archlinux.org/packages/a/archinstall/archinstall-2.5.3-1-any.pkg.tar.zst]

it downloaded succesfully but when i ran archinstall again it said module not found

0 Comments
2023/09/21
12:39 UTC

0

Wi-Fi radar could not get up

I just downloaded the Blackarch full iso and booted it onto an Acer chromebook 14, I tried to install black arch using sudo pacman-Sy blackarch-install and I can’t download the packages without WiFi so I went to connect to the WiFi using WiFi radar which came in my iso and keep getting “could not get ip address

1 Comment
2023/09/22
01:23 UTC

0

I updated Arch and now there is a black screen

Hi! I'm a newbie with arch. Recently I typed pacman -Syu, which caused the screen to be completely dark after rebooting. GRUB works fine, but when i select Arch Linux it happens what I told. I tried to boot from a Live USB in order to downgrade the kernel (packages: linux linux-firmware). I made it, but nothing changed. Any solutions? it didn't have too many things installed

8GB of ram Nvidia GT610 Intel Core i5-3330

PS i'm argentinan🤠 sorry for the english

4 Comments
2023/09/22
00:46 UTC

2

Use docker with existing postgres data

Unfortunately archlinux doesn't support installing multiple versions of postgres. I want to access postgres 13 data files but current version is 15. The recommendation is to use something like docker.

I tried docker run -v /var/lib/postgres13/data:/var/lib/postgresql/data -p 5432:5432 postgres:13 to start a postgres 13 container and access postgres 13 files at /var/lib/postgres13/data. But it fails:

initdb: error: directory "/var/lib/postgresql/data" exists but is not empty If you want to create a new database system, either remove or empty the directory "/var/lib/postgresql/data" or run initdb with an argument other than "/var/lib/postgresql/data".

How can I start the container with existing database files?

0 Comments
2023/09/22
00:11 UTC

1

Persistent Boot Issues After Arch Install Attempt and NVMe Format

Hey guys, I'm relatively new to Arch and found myself in a predicament. I ventured into an Arch installation but encountered some challenges. In the midst of addressing these, I made the decision to format my NVMe drive from within the Arch installation environment. Now, I'm grappling with a recurring boot issue that I can't seem to shake.

Here's a brief rundown of my attempts:

I've formatted my SSD multiple times, hoping for a clean slate.

Made a brief detour to try a Windows installation (See if it would fix stuff).

Gave Arch another shot, aiming for a smoother experience.

However, every time, I'm met with the boot issue: "A start job is running for Wait for Network to be Configured," and a similar message related to udev.

To add to the conundrum, I also came across this overtime I reboot it gets stuck:

"watchdog: watchdog®: watchdog did not stop!

systemd-shutdown[1]: Using hardware watchdog 'SP5100 TCO timer', version D, device /dev/watchdog

systemd-shutdown[1]: Watchdog running with a timeout of 10min.

systemd-shutdown[1]: Syncing filesystems and block devices.

systemd-shutdown[1]: Sending SIGTERM to remaining processes...

systemd-journaldE3811: Received SIGTERM from PID 1 (systemd-shutdow).

systemd-shutdown[1]: Waiting for process: 429 (systemd-udevd), 460 ((udev-worker))"

I'm genuinely puzzled about how this issue persists through multiple formats. If anyone has insights or recommendations on how to address this, I'd greatly appreciate the assistance.

Thanks in advance.

0 Comments
2023/09/21
22:54 UTC

3

'adwaita-color-schemes 'package gone from the repos

I use this package to setup qt5ct to follow the system theme right, now it is missing, what can I do to replace it?

6 Comments
2023/09/21
21:54 UTC

2

Adjusting font size on qt-applications in non-Qt based desktop/wm

Qt applications tend to have small fonts for my eyes and most Qt applications don't offer to resize gui fonts or colors and themes. LXQT Plasma, etc, have utilities to do this across the platform for Qt applications.

Anyone knows a tool to do this that affects only Qt based sw.?

2 Comments
2023/09/21
21:16 UTC

1

Failing to set up microphone in alsa

I'm trying to use alsa on my Dell Inspiron 3583 however only the speakers work, I've tried various model options for snd-hda-intel but none have solved it

output of arecord -l:

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3204 Analog [ALC3204 Analog]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
0 Comments
2023/09/21
21:05 UTC

0

Arch Linux - NVIDIA Problem with CS2 and Discord Screen Share - Wiki useless

Installed with archinstall. Profile: desktop>kde>Nvidia (open-source nouveau driver)>sddm. But after I installed Arch, I got some fundamental packages like yay, git, htop, neofetch, gnome, vim, base-devel and of course, nvidia. I have a GTX 1650. Something in me says I should reinstall Arch with the open source or the proprietary driver. I don't know, I just have a lot of graphic problems (AND NO, FOR ME, IS IT NOT CLEARLY INSTRUCTED OR GIVEN IN THE WIKI). I already red the wiki, looked it up on reddit (people say it's just arch with the graphic problems and u can't really fix it but their posts were old and now the new nvidia open source is out) I even watched a lot of youtube videos. My arch was on a really low resolution like 1024x768 or smth but after watching that guys video it fixed it. He did it with lightdm but I selected sddm at the beginning but it worked for me and I finally got my full HD back, but still had to disable that small monitor which was showing in my display configuration (that 1024x768 thing, after I did sudo pacman -S nvidia, before I watched that guys video). So I thought maybe it's like another GPU the system just made up (like the microsoft basic display adapter or something from windows [so basically my gpu without driver]). Oh btw, I dont understand why I freshly started into Arch with full hd and after nvidia install it got worse. I ignored it, downloaded discord and enjoyed arch on full hd. But STILL I can't share my screen on discord and the program is flickering some times. It's a blackscreen. programs/single windows are working perfectly fine (but without sound) maybe I have a pipewire/pulseaudio issue too, eventhough I didn't select anything @ archinstall, or maybe exactly because of that. I installed wine and proton (for the steam deck) and tried to run cs2 (freaking downloaded 60 gb, like, what the flip). not even a logo appreaing. Other games like CSGO or Minecraft are working just fine (with the same fps as on windows). Now I'm downloading Lutris. Heard should be nice. I have to download it all again... is it even worth trying? how did you fix your discord blackscreen problem? or which kernel/driver did u select for your gtx 1650? how did you run cs2? a lot of questions but no answers... and yes, I'm a beginner. sue me. installed it yesterday and already losing hair.

lspci -k | grep -A 2 -E "(VGA|3D)" output:

01:00.0 VGA compatible controller: NVIDIA Corporation TU117 [GeForce GTX 1650] (rev a1)
    Subsystem: Micro-Star International Co., Ltd. [MSI] TU117 [GeForce GTX 1650]
    Kernel driver in use: nvidia

glxinfo -B output:

name of display: :1
display: :1  screen: 0 direct rendering: Yes Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 4096 MB Total available memory: 4096 MB Currently available dedicated video memory: 3418 MB OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: NVIDIA GeForce GTX 1650/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 535.104.05 OpenGL core profile shading language version string: 4.60 NVIDIA OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile
OpenGL version string: 4.6.0 NVIDIA 535.104.05 OpenGL shading language version string: 4.60 NVIDIA OpenGL context flags: (none) OpenGL profile mask: (none)
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 535.104.05 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

neofetch output:

                   -`                    xenonix@archlinux 
              .o+`                   ----------------- 
             `ooo/                   OS: Arch Linux x86_64 
            `+oooo:                  Kernel: 6.5.3-arch1-1 
           `+oooooo:                 Uptime: 1 hour, 36 mins 
           -+oooooo+:                Packages: 1002 (pacman) 
         `/:-:++oooo+:               Shell: bash 5.1.16 
        `/++++/+++++++:              Resolution: 1024x768 
       `/++++++++++++++:             DE: Plasma 5.27.8 
      `/+++ooooooooooooo/`           WM: kwin 
     ./ooosssso++osssssso+`          Theme: [Plasma], Breeze [GTK2/3] 
    .oossssso-````/ossssss+`         Icons: [Plasma], breeze-dark [GTK2/3] 
   -osssssso.      :ssssssso.        Terminal: konsole 
  :osssssss/        osssso+++.       CPU: Intel i5-10400F (12) @ 4.300GHz 
 /ossssssss/        +ssssooo/-       GPU: NVIDIA GeForce GTX 1650 

`/ossssso+/:- -:/+osssso+- Memory: 4161MiB / 15903MiB

1 Comment
2023/09/21
20:23 UTC

0

Screen blanking/DPMS issue

Just completed the switch from DWM to Hyprland and everything is working great. Except for a little bug that, try as I might, I just can't get figured out.

If I leave the screen on or locked (doesn't matter which) after a set amount of time passes (seems to be about an hour or 2) my display turns off and cannot be turned back on via the keyboard or mouse. During this time I can ctrl+alt+Funtion to other TTYs which tells me the system is not suspended, but I can't bring back the Hyprland session I was using previously.

I know in Wayland the DPMS settings are controlled by the DE itself rather than the display server like in X11, but I haven't configured any DPMS settings in Hyprland to cause the display to turn off in the first place.

I've added these lines in my hyprland.conf to no avail:

misc {
mouse_move_enables_dpms = true
key_press_enables_dpms = true

}

I think it may be an Arch/Kernel issue because I had this same problem in DWM, and as a work around I added these two lines to my start up which worked great:

xset dpms 0 0 0

xset s 1800 1800

This stopped dpms from actually stopping the display output and instead would send a black screen to the display after 1800 seconds, which my monitor is set to go to sleep after a period of time on an all black screen anyway, so it worked great. But I can't find any equivalent command/work around for a Wayland based WM.

Any help is greatly appreciated, thanks for looking!

0 Comments
2023/09/21
16:51 UTC

2

Screen turns black even when not idle

I just installed arch today and my screen seems to turn black randomly, like sometimes i have the time to enter my password and do stuff and sometimes not even. Also i can't make it turn back on i have to manually turn off my computer in order to see something again. Anf finally i don't have to be idle it turns off while i'm typing sometimes

7 Comments
2023/09/21
16:45 UTC

1

Dark backgrounds around corners of GTK apps

I use picom-git as compositor and have set corner-radius to 7. I have installed 'Catppuccin' gtk theme which has quite large border radius than what I have defined in picom. I think, for this reason the dark borders around the gtk apps show up. I have tried to disable them by setting rounded-corners-exclude rule but this also makes the main window's border radius to 0. How can I make the gtk apps to match my picom border radius? Thanks in advance!

Image: https://imgbox.com/HPjnPO5m

0 Comments
2023/09/21
16:39 UTC

1

Some keys stop working sometimes

Just installed arch on my laptop and noticed a weird keyboard issue.

Randomly, though most often after prolonged inactivity, some keys will stop working.

It is always the same very inconvenient keys: Z, X C, V, ",", M and Enter. When the keys stop working they do not show up in xev, yet, I am not able to replicate this problem when live booting and did not run into it when using mint or other distros.

The keys will start working again after a random short interval and will sometimes go a few days without issues.

It feels --though I cant verify-- that pressing them repeatedly or harder helps get them working again but this could just be placebo.

I am using a Thinkpad T14s Gen 2 Intel and Arch with the Zen kernel, I did also have the issue during my first two installs with the regular Linux kernel.

4 Comments
2023/09/21
15:07 UTC

1

mouse constantly getting stuck

my mouse keeps getting stuck, It happens randomly when scrolling or moving my cursor around.

I've had this issue across window managers, openbox with picom, i3 with picom, now cinnamon without picom.. all have this same issue and it's quite frustrating.

I've checked journalctl -b and xorg logs etc right as the freezing happens and nothing is logged as being an issue.

my CPU is an i7 1260p and I'm wondering if this issue is because my CPU is too new? I had to install sof-firmware just to get sound working and also had to create a custom arch iso with my wifi driver so I can get internet when doing an arch install.

everything works great now except this mouse freezing issue which is very annoying.

is there some method of troubleshooting this? I'm not sure what else to check or what packages to install and test.

EDIT: this is a laptop, not a desktop.

13 Comments
2023/09/21
12:52 UTC

0

How to multiboot with archinstall

I have fedora , endeavouros . I want to install arch using archinstall ( I'm noob) and I'm ready to install it without using script but can anyone tell me how to partition disks ? how to make sure it installs only on those without affecting others. And my EndeavoursOs uses efi , if I install arch in efi do I have create another efi partition.

PS I don't know how to dual boot . endeavouros had an option to install it on a specific partition.

below is the output of parted - l

Number Start End Size File system Name Flags

1 1049kB 630MB 629MB fat32 EFI System Partition boot, esp
2 630MB 1704MB 1074MB ext4
3 1704MB 73.6GB 71.9GB btrfs
5 73.6GB 501GB 427GB ext4
4 501GB 1000GB 499GB ext4 endeavouros

below is the output of fdisk -l

Device Start End Sectors Size Type

/dev/sda1 2048 1230847 1228800 600M EFI System
/dev/sda2 1230848 3327999 2097152 1G Linux filesystem
/dev/sda3 3328000 143742975 140414976 67G Linux filesystem
/dev/sda4 978425858 1953523711 975097854 465G Linux filesystem
/dev/sda5 143742976 978425855 834682880 398G Linux filesystem

I want to install on /dev/sda5

11 Comments
2023/09/21
12:19 UTC

4

pacman download speed issue

Initially, download speed peaks and then drop to about 1/5th of original speed.

Network settings: wired ethernet; 1.1.1.1; mtu 1500; mirrorlist: got from https://archlinux.org/mirrorlist/

##
## Arch Linux repository mirrorlist
## Generated on 2023-08-20
##
Server = http://mirrors.nxtgen.com/archlinux-mirror/$repo/os/$arch
Server = http://mirror.sahil.world/archlinux/$repo/os/$arch
Server = http://in-mirror.garudalinux.org/archlinux/$repo/os/$arch
Server = http://archlinux.mirror.net.in/archlinux/$repo/os/$arch
Server = https://mirror.sahil.world/archlinux/$repo/os/$arch
Server = https://mirror.4v1.in/archlinux/$repo/os/$arch
Server = http://mirrors.piconets.webwerks.in/archlinux-mirror/$repo/os/$arch
Server = http://mirror.4v1.in/archlinux/$repo/os/$arch
Server = https://mirror.albony.xyz/archlinux/$repo/os/$arch
Server = https://mirrors.piconets.webwerks.in/archlinux-mirror/$repo/os/$arch
Server = https://mirrors.nxtgen.com/archlinux-mirror/$repo/os/$arch

But when I connect to wireguard cloudflare.conf, I get full speed. While it fixes download speed, I was wondering if there's a better solution.

Thank you for reading!

10 Comments
2023/09/21
10:41 UTC

0

gnome 45 release

i saw that gnome 45 was released

1 - when can i expect then arch repos to have gnome 45

2 - which package is the one getting updated?

31 Comments
2023/09/21
03:46 UTC

0

Trying to install arch on a surface pro 3: Cannot connect to arch repos.

Hey all, I have been trying since yesterday to get this laptop working with arch. I've gotten the internet working, and can successfully ping archlinux.org. However, running pacstrap and pacman -Syy leads to pacman getting stuck on synchronizing package databases. Is there any solution to this?

2 Comments
2023/09/21
03:40 UTC

1

is the repo gnome-unstable still a thing?

is there some packages in it at all? some time ago ive seen a link that showed all packages in it but i lost it

2 Comments
2023/09/21
00:48 UTC

1

pcieport dmesg

I keep getting these messages in dmesg

https://pastebin.com/0DujcSdr

system info

https://pastebin.com/wQzmdaFm

1 Comment
2023/09/20
21:18 UTC

2

What commands to see if pipewire or pulseaudio is installed?

So I recently installed Arch Linux using archinstall and chose not to install either pipewire or pulseaudio as it was giving me error and not completing installation.

However once installed, I loaded up Firefox and got sound viewing youtube videos. So not complaining that I got sound lol.

Just wondering if there is a command or way to see if it is pipewire or pulseaudio that is allowing the sound. Thanks.

8 Comments
2023/09/20
20:28 UTC

0

Messed up shortcut configuration

I have set up arch linux and I installed latte dock. I use different desktops for multitasking. I set meta A,meta S,meta Z,meta X for my four desktops. These were already used by latte dock soni deleted all latte dock shortcut keys and even after saving the changes the shortcuts i deleted gets recovered and I can't switch my desktops,latte dock keeps interrupting. I exported my main laptop shortcut config and imported it into the laptop I am talking about.But still these problems arise.

Is there anyway to set my shortcuts to the normal ones.

0 Comments
2023/09/20
19:49 UTC

86

GNOME 45 released and still not in Arch repos smh

It has been almost 2 hours since GNOME 45 released and it is nowhere to be found in Arch repos. WTF is this? This is not what I signed up for when I installed Arch Linux. Shame on you Arch. >!/s!<

64 Comments
2023/09/20
18:49 UTC

1

How to resize sxiv in tiling window managers

I'm using Qtile on Arch and use sxiv as my image viewer. I have set it to be floating window by default but it opens on a smaller sized window. How can I resize sxiv so that it is bigger by default? Thanks in advance.

2 Comments
2023/09/20
18:41 UTC

2

linux security, passwords, keyrings, gpg, ssh-agent

Is there any tutorial for arch or linux in general that explains these concepts? I have setup Arch to use "pass" and "kwallet" (?) and I do:

> eval $(keychain --eval --quiet ~/.ssh/my_pubkey)

my passphrase is requested, and after input, then when I use `pass` it works out of the box. I am trying to replicate this in another system (ubuntu it does not work) and I realise I don't understand what I am doing in Arch, I would like to understand why/how it is working in Arch. I went through the wiki but it seems there is no consolidated page about all these (i can see one for pass, one for gnupg, one for gnome-keyring, etc.)...

tldr: any tutorial about the concepts in the title?

2 Comments
2023/09/20
18:18 UTC

2

Lemurs v0.3.2: Now with ratatui, musl support and precompiled binaries

1 Comment
2023/09/20
18:11 UTC

1

IOMMU and network start job issue (systemd-boot). Need help/clarification please!

Hi!

Trying to set up virtualization, but when i put amd_iommu=on in systemd-boot arch.config file, upon reboot, i get this:

https://imgur.com/a/26gJ1vj

Used to run grub, worked there fine, should i switch back to grub? What did i mess up? Cause i'll be passing a GPU to the VM, maybe i should replace systemd-boot with grub? Can you replace bootloaders like that, or do i need to reinstall everything?

Also, why is this happening?

https://imgur.com/a/EXmlUyG

Network start job for the device. This can take from 10 seconds up to full timeout. Yet, when i boot, internet works. Is this also systemd-boot related? Cause if it is, i'm not married to it, i'll go back to grub.

2 Comments
2023/09/20
17:22 UTC

0

Replace Ubuntu with Arch without reinstalling grub?

Hey all, I had a one drive windows and Ubuntu dual boot uefi. It worked fine, but I wanted better so I replaced it with Arch. Being an idiot when it comes to uefi, I thought grub would just work with the new os but it won't load the config and I was hoping there was an easy fix for this.

9 Comments
2023/09/20
17:04 UTC

Back To Top