Arch Linux

7739 readers
1 users here now

The beloved lightweight distro

founded 5 years ago
MODERATORS
151
 
 

Hi, i have a very old asus laptop, some years ago i installed arch with xfce. I leaved this laptop untouched for some months, then 2 days ago I rebooted the sistem and did the classic sudo pacman -Syu after a lot of downloading i got an error about gpt keys, searching obline it was something like this:

`> error: celt: signature from "Jan Alexander Steffens (heftig) " is unknown trust

:: File /var/cache/pacman/pkg/celt-0.11.3-3-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] `

The only issue i noticed after is that even if im connected to internet (wifi or lan) from midori It wont be able to load anything. How can i fix this? Thnx in advance for the help guys!

152
12
submitted 2 years ago* (last edited 2 years ago) by archy@lemmy.world to c/archlinux@lemmy.ml
 
 

Does anyone have any issues with 6.5.7? I updated yesterday and could not boot. (1 of 2) A start job is running for /dev/mapper/root (30s / no limit) (2 of 2) A start job is running for /dev/disk/by-uuid/MY-UUID (30s / no limit)

Also during update my display resolution was set to 640x480 and I could not change it, so decided to reboot. I use a popular nowadays setup with LUKS encryption + unlock on TPM2, secure boot. I thought I messed with configs somewhere so started chasing that: changing configs and rebooting with no luck. The solution was to restore kernel 6.5.5 and everything booted back up without a hiccup. I am dreaded to see what happens during next kernel upgrade.

This is not asking for hep, more like a PSA if you have setup similar to mine, be aware


To those who stumble on this post in the future, I have found a solution that was in my case not knowing my system well enough. Since I decided to use Unified kernel images, I used mkinitcpio to compile those, but for some reason I used sbctl-bundle on top of that, which in itself is not any harm, just extra unnecessary work, and every single time I referenced an initramfs image from /boot which was an old one and was installed prior to me switching to UKI. When I read on Arch Wiki that I can delete those initramfs images from /boot - I deleted them, then had problems with sbctl bundle, and ONLY THEN it clicked - any new kernel install/upgrade doesn't generate initramfs in /boot but instead directly in UKI.

This is also good news because sbctl author announced deprecation of the bundle feature in the future.

153
 
 

Hey everyone.

Basically I need to do what the title says. I did have xfce4-power-manager installed and had it set there (had the setting disabled so that it wouldn't suspend after inactive), but xfce4-notifyd was creating problems with dunst which I installed and setup last night, so I removed xfce4-power-manager and xfce4-logind.

However now after a few minutes of not doing anything my PC sleeps. There must be a setting somewhere I can edit which is the same thing xfce4 uses to implement this, no? Either a file or another power manager software which will not cause problems with my dunst.

Thanks in advance for all your help and suggestions!

154
 
 

So I can copy folders just fine, but when I copy a file, Dolphin freezes. When launched from a terminal I get the following error:


kf.coreaddons: Some files could not be exported.
QDBusError("org.freedesktop.DBus.Error.NoReply", "Did not receive a reply.
Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.")

I have been searching around for any solution, but haven´t found any yet. Does anyone know what I should look for?

I'm running Arch Linux on my Surface Go 2 with the linux-surface kernel.

155
46
Gnome 45 is here (archlinux.org)
submitted 2 years ago* (last edited 2 years ago) by infeeeee@lemm.ee to c/archlinux@lemmy.ml
 
 

Can you count your broken extensions?

Official guide for extension maintainers: https://gjs.guide/extensions/upgrading/gnome-shell-45.html

156
 
 

I've just installed Arch Linux with the Zen kernel, some basic packages, and Blender. However, upon opening Blender, I encountered severe lag when moving objects. Moreover, I faced an issue where I couldn't select a video card in the preferences. It was Blender from Steam. Later, I decided to install Blender using Pacman, but I encountered the same problem, now with the error message: "Installation validation failed: No module named 'aiohttp' [dependencies.py:113]. I'm not sure what steps to take to resolve this issue.. Also, everything was okay on the previous rig(GTX 1050Ti and AMD Ryzen 7 1700x) and standard kernel(not zen)

My nvidia packages: lib32-nvidia-utils 535.113.01-1 nvidia 535.113.01-4 nvidia-settings 535.113.01-1 nvidia-utils 535.113.01-2 opencl-nvidia 535.113.01-2 Specs: Nvidia RTX 3080ti Amd Ryzen 7 5800x

157
 
 

In qv2ray when I set the core path in the settings and click on Check v2ray core settings, I get this message:

Core control file is lacking executable permission for the current user.Qv2ray tried to set, but failed because permission denied.

I have installed qv2ray from flatpak. The permissions of the core file is:

-rwxrwxrwx

What is the problem?

158
159
 
 

I am troubleshooting slow boot times with KDE, and it seems that NetworkManager is taking a few seconds to boot. I found these warnings from kernelring buffer's journal:

Oct 06 22:08:59 archlinux kernel: r8169 0000:08:00.0: Direct firmware load for rtl_nic/rtl8168h-2.fw failed with error -2
Oct 06 22:08:59 archlinux kernel: r8169 0000:08:00.0: Unable to load firmware rtl_nic/rtl8168h-2.fw (-2)
Oct 06 22:08:59 archlinux kernel: Generic FE-GE Realtek PHY r8169-0-800:00: attached PHY driver (mii_bus:phy_addr=r8169-0-800:00, irq=MAC)
Oct 06 22:09:00 archlinux kernel: r8169 0000:08:00.0 enp8s0: Link is Down
Oct 06 22:09:03 archlinux kernel: r8169 0000:08:00.0 enp8s0: Link is Up - 1Gbps/Full - flow control rx/tx

lspci | grep Ethernet
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

Ultimately the card works, but the kernel spends some seconds trying to get it working, and it my be delaying the boot. I've tried using the 8168 module and adding iommu=soft to kernel parameters, neither worked. Does anyone else here has had this problem ?

160
 
 

Hey,

After an update just now (was about 20 days since the previous update) the speaker volume has been drastically reduced on my laptop. Although I do not know they make sense when running pipewire-pulse, I tried the steps described in https://wiki.archlinux.org/title/Advanced_Linux_Sound_Architecture/Troubleshooting, except the softvol preamp thing.

I did not find any obviously sound related packages in this last update. My kernel did update to 6.5.5 (from 6.5.3).

Anyone else experiencing volume issues? Or any hints maybe on where or what to look for?

161
 
 

A rather venerable desktop died with a seagate hard-drive going ticka ticka ticka (bad sectors hitting a /var partition), so a new drive is acquired and perhaps due to the age of the motherboard (>10 year old intel) no partition pattern this old nerd tried would get a new install to boot. So, what the hell, try the 'new' archinstall script. Not only did it get it booting (still not sure how) but hours of patiently re-following arch install was turned into minutes. Thank you to Anton Hvornum the maintainer of archinstall , i owe you a beer and then-some.

162
22
submitted 2 years ago* (last edited 2 years ago) by xhenon@lemmy.world to c/archlinux@lemmy.ml
 
 

Hello mates,

As you know, in arch Linux the kernel is updated frequently but, is mandatory or good practice reboot any time the kernel is updated?

Edit: Thank you guys for your replies

163
 
 

I recently moved to Arch (EndeavourOS) from Mint. Arch doesn't have cron installed as it uses systemd timers instead, and while I could have just installed cron that felt like a lazy answer.

Systemd timers are easy enough to use and I got it working straight away, but I bumped into a comment in the Arch wiki about using a template for the timer so it can be re-used. I'm a bit slow, so I spent a hours trying to work this out, but I couldn't find a good example. Anyway, I now have it working so I thought it would be useful for someone in the future for easy reference .

This is how you create a timer template that can be reused to run a oneshot service under a specific user. In this example it will run on the hour every hour.

Create the timer file.

sudo nano /etc/systemd/system/everyhour@.timer

Paste the following into that file, save and close.

[Unit]
Description=Run %i every hour

[Timer]
OnCalendar=*-*-* *:00:00
Persistent=true
Unit=%i.service

[Install]
WantedBy=timers.target

Create the service file for the script or command you want to run. (using "myscript" in this example)

sudo nano /etc/systemd/system/myscript.service

Paste the following into that file, save and close.

[Unit]
Description=My Script

[Service]
User=username
group=username
Type=oneshot
ExecStart=/usr/local/bin/command -parameters

Now enable and start the timer

sudo systemctl enable everyhour@myscript.timer
sudo systemctl start everyhour@myscript.timer
164
 
 

Today usual updating replaced probably all K apps with extra/K. It didn't break anything but it was weird and scary when it's 100s of apps

165
 
 

Hello! EOS user here. I upgrade my system with topgrade, and sometimes it tells me about some pacnew files, asking if merging, replacing or removing the original ones. I snapshotted my system and tried replacing my original files (an eos-something file, where the new file changed a bunch of mirrors, and /etc/shells, where it replaced sh and bash with git-shell and zsh. After the reboot, I was unable to boot into my user account ("wrong password" but it was the correct password). I had to boot as root and restore the snapshot. I then removed that evil pacnew file.

Now my question is, how should I deal with these pacnew files? should I always remove them, always replace them, always read them and decide? I'd rather not read these things everyday, it's a bit boring, so I hope there's a better solution. How do you deal with these?

166
8
submitted 2 years ago* (last edited 2 years ago) by 0WN3D@lemmy.cafe to c/archlinux@lemmy.ml
 
 

So I know my setup is really niche, but here goes nothing

  • I am using Arch Pi on Pi 4
  • Installed cage as a lightweight Wayland compositor
  • Installed mpv + wireplumber + pipewire

I am not quite sure how to use cage to launch a simple "Wayland session (if it even makes sense)", so that I can send MPV to that display. So I tried cage -s alacritty :1, and it does launch alacritty with it detecting that it is on wayland.

But when I do DISPLAY=:1 mpv ...., the video runs, but there's no audio. Also there's no errors shown on mpv either.

The other thing of note is that I tried cage -s Xwayland :1 and the audio+video works perfectly.

So in all:

  1. How do I launch cage to spawn a simple Wayland session? Is this even possible?
  2. How do I solve the audio issue on Wayland?

EDIT: Thanks all for the help. After some investigation, I found out the pipewire somehow is not ran on startup of alacritty, but it did for Xwayland. I noticed that the first play of the video would be audio-less on alacritty, and subsequent ones are fine. It seems like the first run causes pipewire to be started and thus I wrongfully assumed that the daemon was running.

Still strange nonetheless...

167
6
submitted 2 years ago* (last edited 2 years ago) by sandayle@iusearchlinux.fyi to c/archlinux@lemmy.ml
 
 

When I run paru -Sua it result like this.

:: Looking for AUR upgrades...
:: Looking for devel upgrades...
:: packages not in the AUR: env  lib32-brotli  lib32-dbus  lib32-e2fsprogs  lib32-flac  lib32-gmp  lib32-keyutils
    lib32-krb5  lib32-libasyncns  lib32-libcap  lib32-libffi  lib32-libgcrypt  lib32-libgpg-error  lib32-libidn2
    lib32-libjpeg-turbo  lib32-libldap  lib32-libogg  lib32-libsndfile  lib32-libtasn1  lib32-libtirpc  
    lib32-libunistring  lib32-libvorbis  lib32-libx11  lib32-libxau  lib32-libxcb  lib32-libxcrypt  lib32-libxdmcp
    lib32-libxext  lib32-libxfixes  lib32-libxi  lib32-libxtst  lib32-nettle  lib32-openssl  lib32-opus  
    lib32-p11-kit  lib32-pam  lib32-systemd  lib32-xz  lib32-zstd
 there is nothing to do

Why I see this warning and how to solve it? Did I do something wrong or something change?

168
 
 

Hi, I have currently arch installed with power-profiles-daemon, pipewire and wireplumber on my laptop.

If I have the power profile set to balanced or power saver, everything is fine.

However, when I set it to performance, the audio starts having very bad cracks and pops.

Has anyone experienced something similar with their setup?

Thanks.

169
 
 

When I install something from yay, I get following options: Packages to cleanBuild? [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)

Does anyone has an explanation about the options or could share a link?

Besides some people asking the same question, I couldn't find any documentation about what each of these options do and which ones are recommended.

170
171
 
 

Every other resolution except the highest one ends up being garbled and glitched, and i have to wait for it to reverts back. I tried gnome last evening, i thought i could have better time setting up a drawing display tablet, and i liked it, just eberything is so tiny i cant read.

So where do i start to poke to see whats wrong? Can gnome be "zoomed" or elements doubled in size so i can see better?

172
 
 

I guys, how can I reproduce the exact system configuration of my PC on another PC? Just copy the home folder on an external drive and then past it on the other machine?

173
 
 

Sure Windows is the most used operating system, but its error codes and fixes are so obfuscated it's nearly impossible to drill down to find the root cause.

It basically the opposite with Arch. You take a system designed to show what breaks, well maintained documentation, and an interested community, and you get an easy fix for most annoyances.

I'm still new to the point of "it's probably something I don't know how to ask", but if your GoogleFu is well exercised, a fix is typically a search away

174
175
 
 

Hey guys, I have a RTX3060Ti and I am using hyprland with dkms driver.I want to adjust my monitor backlight.However, when I execute ls /sys/class/backlight/ nothing returns.I have added options nvidia NVreg_RegistryDwords=RMUseSwI2c=0x01;RMI2cSpeed=1001 to /etc/modprobe/conf.d/nvidia.conf and when I run grep RegistryDwords /proc/driver/nvidia/params,the values are empty and /sys/class/backlight is still empty.

view more: ‹ prev next ›