Arch Linux
- libz.so1 cannot open
I want to run Undertale via Heroics Games Launcher but I get the error: ./runner: error while loading shared libraries: libz.so.1: cannot open shared objects file: No such file or directory.
I tried reinstalling zlib, pacman -Syu and reinstalling the Game.
- The "Arch Linux Ports" RFC has been accepted and merged
https://gitlab.archlinux.org/archlinux/rfcs/-/merge_requests/32
- Choosing Next OS
I was Nobara user, then I am using Fedora right now. I want to use things like Hyprland etc. and ya know, Its damn cool to say I am using arch btw. So I've decided to use Arch Linux. But everyone says its always breaking and gives problems. That's because of users, not OS.. right? I love to deal with problems but I don't want to waste my time. Is Arch really problemful OS? Should I use it? I know what to do with setup/ usage, the hardness of Arch is not problem for me but I am just concerned about the mindset "Arch always gets broken".
- Help required, Certain VPN does not connect and times out
Can someone help, i have been having trouble connected with my home universities vpn, for past 15-20days, it is an openvpn connection, so i have been using networkmanager-openvpn to import my config files, and they have worked previously, but for last 15-20 days i get connection timed out, all certificates used are correct, i have tried to connect on cli,
Connection activation failed: The connection attempt timed out
and it suggests to check journalctl logs (nothing erroneous i could find) i am also able to connect with this vpn with my phone (with openvpn official app with same files), and also i am able to connect to proton's vpns with my laptop, so i guess my device is not completely broken, i have tried to redownload my certificate files, recreating vpn profile, reinstalling networkmanager, nothing worked
- Things I want to be functional in Linux
I've been trying various Linux flavours every year for 10 years or so. The last year I tried Arch, then EndeavourOS, which has been my most successful Linux exploration I've ever had, and given me huge hope. However, there are still a few things preventing me switching it to my default OS.
I'll put aside Games that need Anti Cheat, as I doubt that will ever be fully fixed, unless Governments force game devs to support more than just Windows.
Here is what doesn't work for me:
- Streaming services like NowTV. (Works in Windows in browser only)
- DRM proected VST's for use with Reaper (not via Wine)
- Roblox (Using Waydroid was not very successful)
- Office 365 (I like Libreoffice and OnlyOffice but fact is Word and Excel are just required for some stuff)
- Helper script to remove packages.
I created this small script and thought it might be useful to someone else. Any feedback is welcome!
- What happened to glibc-widevine ?
I watch the F1 on NowTV. In windows this works fine in Firefox but not in Linux. My research turned up various posts linking to the "widevine" package that depends on "glibc-widevine" but that seems to have disappeared. What happened to it? did it work? where can I get it? is there an alternative?
- Is it possible to add a disk to a LVM on LUKS setup?
As title says.
I've followed this guide, everything is working as desired but I got myself thinking if it'd be possible in the future to add a second nvme (I have a 1 TB nvme now). I've googled a little but all that I found so far apparently was about expanding the very same drive used in the installation, not adding a second one.
Could anyone more experienced tell me if that's is possible in this context and, if so, point me in the right direction?
- newbie needs help installing things SOLVED
Okay so I just finished struggling through my archlinux install. I have arch Linux with hyprland now.
But I cannot figure out how to download anything.
At minimum i need a browser, and git. But I cannot figure out web downloads in kitty.
Edit: nmtui to connect to WiFi, and then a reboot solved it.
- Question on updating dependencies in Arch from a newbie
How do non explicitly installed package dependencies get updated in Arch? Do they update independently of the package that is dependent on them, or do they get updated when the parent package updates? Or is it some secret third thing?
Thanks!
- hello! i made a versatile file syncing tool in C++ it's called lunas
cross-posted from: https://programming.dev/post/13156830
> https://codeberg.org/cyber-luna/lunas > > Archlinux: yay -S lunas > > i made a versatile syncing cli program, lunas, that's capable of syncing local to local, local to remote, remote to local and remote to remote at the same time with many input directories, with their file attributes if enabled and more. It syncs both ways but it has src/dest options that can be assigned to individual input directories > > it runs locally, unless remote syncing is used then it runs peer-to-peer using libssh/sftp > > It can do sync removal between different input directories, meaning if u want to remove a file/directory that you don't want to sync back to other directories, you can "lunas -rm file" for local or "lunas -rrm user@ip:/path/to/dir" for remote and then use the option "-cr Y" while syncing to remove it from every other directories, or simply don't use this option and it should be ignored without removal, or "-cr S" and it should be synced back to the directory it was removed from, IF it was found in one of the other directories > > it has an optional config file for defining presets for easier syncing instead of writing them each time in the cli > > there are more options to it which can be found in the --help or in the man page for more details > > a simple usage of lunas can be like this > > lunas -p dir1 -p dir2 --dry-run > > lunas -s dir1 -d dir2 -d dir3 -rd user@ip:dir4 > > lunas -r user@ip:dir1 -d dir2 -dr > > lunas -rs user@ip:dir1 -d dir2 -cr Y > > lunas -rd user@ip:dir1 -s dir2 > > lunas -p dir1 -p dir2 -p dir3 -p user@ip:dir4 -p user@ip:dir5 > > p: local path r: remote path , both of them are source and destination > > s: source local path d: destination local path > > rs: source remote path rd: destination remote path > > -dr/--dry-run: outputs what would be synced without actually syncing them > > -cr/--confirm-remove Y: confirms the sync removal as explained previously >
- Can't invoke file picker in riverwm?
Hey everyone, I'm currently trying out river wm. For some reason, actions that should invoke the file picker dialog (like uploading a file to a webpage) fail to bring up the dialog and just do nothing.
I've tried this in firefox and chromium to no avail in river, though they both work as expected in other window managers (I've tested sway and labwc). Anyone run into this issue before?
- [Resolved] Saving x11 configs?
I'm running an nvidia card on X11 Plasma 6, with a 4K monitor alongside a QHD monitor. Both monitors are the same physical size, despite being different resolutions, so in the nvidia settings app, I've got the second X screen setup to generate 4K but downscale it to QHD in the output. It makes the second screen slightly blurry, but it's worth it for the ability to move windows back and forth without dealing with different resolutions.
The problem is, no matter what I do, I can't make the changes "stick". The nvidia applet has an option to save it to the x.conf file, and I've verified that it has done so in a text editor. But every time I boot, I have to change it in the nvidia settings applet again.
Is there something I'm missing with the way arch/kde handles x conf files? How do I make it stick between reboots?
- [SOLVED] Cannot create local repository .db file with repo-add
Hello! I've got a new Arch install that I'm in the process of setting up, however I wanted to do things differently this time around for the goal of getting this system as stable as possible without sacrificing features. So, the AUR...
I've used
yay
extensively andparu
briefly before, but this time to achieve that goal I wanted to tryaurutils
with a local repository. I'm in the process of setting that up and using the command:repo-add aur-local.db.tar
which gives the output:==> No changes made to package database.
In all the guides I've gotten open in all these tabs, the output I should be getting starts with this:
==> Creating updated database file...
When I run the command, for a microsecond I get a file appear in Thunar but then disappears. Running
pacman -Syy
fails as the repo's database file obviously doesn't exist. No matter what I search I can't find anyone else with this problem nor a solution.My system is a manual Arch installation, no
archinstall
, using the XFCE desktop. My shell isfish
and, I can't see this having any influence whatsoever but my DM isly
.My
pacman.conf
: GiteaMy
pacman.d/aur-local.conf
: Gitea - My GPU is gone
I have an optimus laptop, and after the update to KDE6 optimus-manager stopped working. I needed a second display, and all my display outputs are on the Nvdia GPU, so I needed to switch. I tried many different X11 configs, envycontrol then more X11 configs, but I couldn't get it working right, it would only be the internal display or the external one, not both. after a few hours I gave up and tried optimus-manager again. This time I checked the error log and it was failing to load the nvidia module, I tried loading it manually but I got a "No such device" error, which is where the title of the post comes in. My GPU has disappeared from linux, it won't show up in lspci, lshw, nvidia-smi, or anything else it should. The only reference to the thing in dmesg I can find are :
[ 0.216410] pci 0000:01:00.0: [10de:1ba1] type 00 class 0x030000 [ 0.216419] pci 0000:01:00.0: reg 0x10: [mem 0xde000000-0xdeffffff] [ 0.216427] pci 0000:01:00.0: reg 0x14: [mem 0xc0000000-0xcfffffff 64bit pref] [ 0.216435] pci 0000:01:00.0: reg 0x1c: [mem 0xd0000000-0xd1ffffff 64bit pref] [ 0.216440] pci 0000:01:00.0: reg 0x24: [io 0xe000-0xe07f] [ 0.216445] pci 0000:01:00.0: reg 0x30: [mem 0xdf000000-0xdf07ffff pref] [ 0.216460] pci 0000:01:00.0: Enabling HDA controller [ 0.257300] pci 0000:01:00.0: vgaarb: bridge control possible [ 0.257300] pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none [ 0.270521] pci 0000:01:00.1: D0 power state depends on 0000:01:00.0
and then nothing, it doesn't even seem to try to load the nvidia module. I tried booting into windows and it shows up there fine, so the GPU didn't randomly die. As far as I can tell I've rolled back everything I did in my histfile until it stopped working, The only thing I could think is I upgraded my kernel to (6.7.9) from (6.6.10), could that have caused it? I also tried addingpcie_port_pm=off
to the kernel params from the archwiki, but still nothing. I'm just at a loss here, anyone have any ideas?EDIT: I'm using the nvidia-dkms package EDIT2: one kernel downgrade later and it's still not appearing, so thats not it. EDIT3: fixed, see comments
- Cannot run Wayland on nVidia at all
Hello, I'm facing some rather annoying issues with running KDE6 on Wayland. Despite consulting the Arch Wiki and various online resources, I haven't been able to get it working. X11 works fine, so I've been sticking with X exclusively due to my limited experience with desktop Linux and troubleshooting.
For context, my setup includes an AMD 7950x with Unraid as the main OS. My daily desktop runs on a mainline Arch VM with an RTX 3070ti and a dedicated USB controller card passed through. This setup has been stable for months, serving my gaming and media needs.
When attempting a Wayland session, I select it, observe a brief black screen flash, and then return to the login prompt. This issue persisted through upgrades and tests on different distributions like Manjaro and Endeavor. I've also tried multiple Wayland compositors, all with the same outcome.
The only success I've had with Wayland was on Garuda, which defaults to Wayland. I'm keen on using Wayland due to its evolving features, especially since it's essential for running Waydroid.
Any assistance would be greatly appreciated. While my use case may be unique, Waydroid is crucial for specific Android apps vital to my workflow.
Thanks in advance!
- No audio played on speakers of Asus zenbook UX582L
Hi,
I am setting up archlinux on a zenbook pro duo UX582L, everything has been setup and is functional, minus audio.
I am running plasma 6, the latest kernel, and have tried about everything I can find online to get this working.
things I've tried:
Pulseaudio
Pipewire
https://www.reddit.com/r/ASUS/comments/o1k04p/ubuntu_linux_on_ux582_zenbook_duo/
everything relevant at https://wiki.archlinux.org/title/PulseAudio/Troubleshooting
https://www.linux.org/threads/no-sound-on-asus-zenbook-oled-ux3402za.45822/
https://github.com/thor2002ro/asus_zenbook_ux3402za
The speakers are un-muted. They show properly in the volume mixer both in plasma GUI and alsamixer UI, when adjusting audio through the plasma GUI it shows the test tone is being played through the speakers but nothing is played.
any help is appreciated. Thanks-
- Random GPG key in my Laptop???
I was creating a new key for pass when I noticed a random expired GPG key assigned to a certain "Roderick van Domburg" in my list of keys. I don't know any Rodericks, and this laptop has been whipped clean.
Should I be concerned? How could this even happen???
- Laptop won't shut down on any kernel version above 6.7
I've been trying to install Arch on an old laptop for the past few days but for some reason it will not shut down if I'm using any kernel above version 6.7. It goes all the way through and gets to Reached target: System Power Off but then just sits there and never actually powers down. I waited 30 minutes in case it did something and it never did. I don't believe there is anything useful in the journalctl output as there's nothing after Reached target System Power Off but I'll paste it here in case: https://text.is/4KNL
I tried the shutdown troubleshooting steps from here: https://freedesktop.org/wiki/Software/systemd/Debugging/
The debug shell is no help as I can't access it once it hangs, and since it never finishes shutting down the logging script won't help. reboot -f and poweroff -f both work which made me think it wasn't a kernel issue, however it works fine using the linux-lts kernel. Because of this I tried manually downgrading to a few standard kernel versions from 6.6, 6.7 and 6.8 and only the ones above 6.7 had this issue. Specifically the latest lts version (6.6.23 at the time I tested) worked fine, 6.6.9 (the last 6.6 version in the main branch) worked fine, 6.7.arch1-1 and above didn't.
Weirdly I don't have any issues with the installation media (currently using the ones from 29th March and 1st April). I also tried Opensuse Tumbleweed which I believe is on the same kernel version and had no issues so it seems to be Arch specific. I also tried linux-zen in case that had any difference but it didn't help.
I have tried several re-installs with both legacy and UEFI boot, mostly minimal installs (base, linux, linux-firmware, linux-headers and nano). Since the live iso works I also tried installing all the packages from that but it still didn't work.
I'm completely out of ideas at this point. I can't see anything obvious in the kernel 6.7 changelog, but then I don't really know enough to know what to look for there. I know for now I can keep using the lts kernel but presumably at some point that will be upgraded to a version above 6.7 so that doesn't seem like a good long term solution, I'd also really like to know the root cause behind this as its been bugging me for days! The laptop is an Acer aspire E15 with an Intel 6500U (I have tried with the Intel-ucode package installed) and an Nvidia Geforce 920M.
Edit: somehow installing kde plasma has fixed the issue
- Need help campaigning
I am going to request arch and the greater linux community replace xz with winrar.exe
This is a community effort.
- mkinitcpio failing on Btrfs
I'm trying to install Arch on Btrfs but every time mkinitcpio runs it fails as shown in the attached screenshot. I've tried on the actual laptop which I'm trying to set up, and also on a couple of Hyper-V VMs set up as I usually do and I've never had this issue before. This happens when its run automatically after installing linux via pacstrap, and if I run it again while chrooted into the new system. If I format as ext4 instead I don't have any problems.
I have a single subvolume called root mounted at / and a fat32 volume mounted at /boot, and I'm using the latest arch install iso (2024.03.29). Any idea why this is happening? The Btrfs volume is on a single device so as far as I'm aware I don't need to add the btrfs module to mkinitcpio.conf
- How often do you update your system?
I find that I habitually open a terminal and run an update on every boot of my system (which gets rebooted once a day). I'm curious what other people do.
- Yay orphaned packages
The past few times I’ve run yay I’ve got these warnings about packages that are orphaned/not in the AUR. Based on the names I’m assuming these are leftover from the upgrade from kde plasma 5 to 6, are these safe to remove now? And secondly how would I find orphaned packages like that if I wasn’t using yay since I never installed these from the AUR?
- Hi all, my computer keeps locking up when updating.
So I was wondering, is there a place you can make the
--debug
flag output to or if there was a default location besides the terminal itself?Like the title says
pacman -Syu
is occasionally hard locking the computer forcing a power cycle. After restarting the computer the update will go fine after deleting the archives that are corrupted from the failed update.It always hangs in the
:: Running post-transaction hooks...
part of the update. This time it hung specifically on the( 3/19) Reloading system manager configuration...
I have tried to redirect the debug output like:
pacman -Syu --debug >> ~/Desktop/pacdebug.txt
but it seems that I only get the standard upgrade output.Is there some other tool or steps I can use to investigate this?
This has been happening since I upgraded to KDE 6 but I don't think it's directly related to KDE it's just when it started.
Thanks!
Update for future peoples:At this point I'm relatively sure that I had broken my kernel. I switched to a different kernel and thepacman
freezing has stopped. Still testing but so far I'm pretty confident that was the issue as it has been several days without issue.To future peoples that might be having a similar issue try a different kernel and if the issue is resolved, remove the broken kernel + kernel headers and reinstall it. - I need help troubleshooting a display.
I'm running Garuda. My laptop screen is on its very last legs. I have an external monitor that connects via USB-C. It has a Display Port connection, but the laptop itself does not. I'm using HDMI to connect to a larger display, but not having two monitors available is driving me insane. I know that the firmware supports display over USB-C, since it has worked before on previous distros and on Windows. My issue is that I can't get the system to recognize the display, and I'm not sure where to start troubleshooting.
I can post whatever dumps etc. if asked, but here's a neofetch screenshot screenshot for starters:
Are there packages I need to install? Drivers? I'm clueless and would really appreciate a starting point at the least. The last thing I need is a broken system because I'd have to use the (almost) entirely broken laptop screen to attempt a reinstall/change the BIOS.
- waiting for gnome 46 to drop in the repos be like
while true; do; sudo pacman -Syu --noconfirm; done
- Archlinux base packages are now reproduciblefosstodon.org Arch Linux :archlinux: (@archlinux@fosstodon.org)
Arch Linux minimal container userland 100% reproducible - now what? https://lists.archlinux.org/hyperkitty/list/arch-dev-public@lists.archlinux.org/thread/AWJ6QUUTE4M27QMH5GSWVDPPMNJEFNEG/ #ArchLinux #Linux #ReproducibleBuilds
in last week's email to the reproducible-builds email list[1] about reproducible Arch Linux I mentioned there's only one unreproducible package left in docker.io/library/archlinux.
[1]: https://lists.reproducible-builds.org/pipermail/rb-general/2024-March/003291...
Due to amazing work by dvzrv and Foxboron this package is now also reproducible!
>INFO arch_repro_status > All packages are reproducible! > >INFO arch_repro_status > Your system is 100.00% reproducible.
To try for yourself use:
podman run --rm -t archlinux sh -c 'pacman -Suy arch-repro-status --noconfirm && arch-repro-status'
- Anyone else uninstall ncurses and realise how important of a package it is...
Well I did, wanted the git version so uninstalled ncurses to then blissfully install ncurses-git and low and behold my system shat.
Pacstraps my hero
- TIL: There's an ASCII Art wikipage
txt -` .o+` `ooo/ `+oooo: `+oooooo: -+oooooo+: `/:-:++oooo+: `/++++/+++++++: `/++++++++++++++: `/+++ooooooooooooo/` ./ooosssso++osssssso+` .oossssso-````/ossssss+` -osssssso. :ssssssso. :osssssss/ osssso+++. /ossssssss/ +ssssooo/- `/ossssso+/:- -:/+osssso+- `+sso+:-` `.-/+oso: `++:. `-/+/ .` `
Full of totally useful stuff. I recommend checking it out.
- [PSA] Arch Linux News: mkinitcpio hook migration and early microcode
> With the release of mkinitcpio v38, several hooks previously provided by Arch packages have been moved to the mkinitcpio upstream project. The hooks are: systemd, udev, encrypt, sd-encrypt, lvm2 and mdadm_udev. > > To ensure no breakage of users' setup occurs, temporary conflicts have been introduced into the respective packages to prevent installing packages that are no longer compatible. > > The following packages needs to be upgraded together: > > - mkinitcpio 38-3 > - systemd 255.4-2 > - lvm2 2.03.23-3 > - mdadm 4.3-2 > - cryptsetup 2.7.0-3 > > Please note that the mkinitcpio flag --microcode, and the microcode option in the preset files, has been deprecated in favour of a new microcode hook. This also allows you to drop the microcode initrd lines from your boot configuration as they are now packed together with the main initramfs image.
- Making a "snapshot" of a fresh install so i know what to remove yrs later?
Instead of nuking a partition and starting from scratch, is there a saner way to clean the system and slim it down?
Im resorting to listing explicitly installed packages and trying to write down what catches my eye that i dont use, or i wanted to try then forgot.
- paketkoll - Check installed distro files for changes (much faster than paccheck)github.com GitHub - VorpalBlade/paketkoll: Check installed distro files for changes
Check installed distro files for changes. Contribute to VorpalBlade/paketkoll development by creating an account on GitHub.
cross-posted from: https://programming.dev/post/10657765
I made a replacement for the venerable paccheck. It checks if files managed by the package manger have changed and if so reports that back to the user. Unlike paccheck it is cross distro (supports Debian too and could be further extended), and it uses all your CPU cores to be as fast as possible.
Oh and it is written in Rust (that may be a plus or minus depending on your opinion, but it wouldn't have happened at all in any language except Rust, and Rust makes it very easy to add this sort of parallelism).
There are more details (including benchmarks) in the readme on github. Maybe it is useful to some of you.
(The main goal of this project is not actually the program produced so far, but to continue building this into a library. I have a larger project in the planning phase that needs this (in library form) as part of it.)
- 7.1 Sound Through HDMI
Hi,
I'm trying to use my 7.1 surround system on Arch Linux PC with pipewire. Currently 1 DP connected to the main monitor and 1 HDMI connected to the 7.1 sound system. Sound system has 4 HDMI IN and 1 HDMI OUT to the TV. First issue is without activating second monitor I can't output any sound. Second issue is sound is always 2 channel. There are no other options on pavucontrol app. What i'm trying to achieve is
- Using only main monitor and outputting sound through HDMI to sound system
2. Outputting both video and sound through HDMI, which is working but only on 2 channels.Thanks in advance
EDIT:
silly me, I changed HDMI cable and it detected all possible audio outputs including PCM 7.1
- Shift+Space Hotkey Changing Keyboard Layout (kind-of?)
Hi, I've been having a bizarre issue with my keyboard input recently and I can't seem to find a lead on what might be causing it.
Basically what's happening is I press Shift+Space, then in some programs, my keyboard layout is slightly changed. This happens in Firefox, Discord, and other electron apps as well. This did not happen in any system interface (KDE) or in Steam. It is also exclusive to the window that I pressed Shift+Space in.
On top of changing my layout, Shift+Space on its own no longer produces a space as I'd expect. Some key changes:
- n > $
- b > @
- y > #
- t > &
- , > n
- . > y
Holding shift on these gives new characters too, as if it were a different keyboard layout.
In the KDE settings, I don't see anything indicating that I have multiple keyboard layouts, and from what I could find, I don't have Shift+Space mapped to anything in any program, but this keyboard shortcut with this weird behavior still appeared from seemingly nowhere.
I have also tried using xmodmap per this forum post, but didn't seem to change anything. https://forum.manjaro.org/t/shift-space-doesnt-work/103703/10
I've had a hard time finding anything on this since searching this key combo gives a ton of garbage results. The closest thing I could find to what I'm experiencing was some issue people were having with Samsung DeX.
Does anyone have any ideas on where this unexpected keyboard shortcut could have come from?
Edit: I tried changing my keyboard layout to dvorak just for the hell of it, and it still behaves in the same way, when I press n, which is b on the dvorak layout, I get an @. So it isn't my keyboard either.
I also noticed that it only appears to happen when I am editing text, since the shift+space combo to page up in Firefox still works when I'm not editing text.