/r/archlinux

Photograph via snooOG

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

/r/archlinux

278,742 Subscribers

1

im trying to get everything running smoothly, but when i try to update the system

this is all i get... please help, ive read the aur, been through the forum, cant even register in the forum because when i attempt to enter the phrase into my command line it says no such file or dir exists error: jdk-openjdk: signature from "Frederik Schwan frederik.schwan@linux.com" is unknown trust

:: File /var/cache/pacman/pkg/jdk-openjdk-23.0.1.u0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).

Do you want to delete it? [Y/n] Y

error: failed to commit transaction (invalid or corrupted package (PGP signature))

Errors occurred, no packages were upgraded.

0 Comments
2024/11/23
04:07 UTC

1

Restoring pam configs

I messed up and now kscreenlock doesn't want the password from me. At first it just unlocked automatically, but after removing fprintd from pam configs (since I no longer have the reader) it now doesn't automatically unlock, but instead of password it has just a button to unlock it. I tried searching on wiki and searching on the internet, but most issues are related to it not unlocking and not not locking. I could try something crazy, but messing with pam may lock me out of my system, so I want to be sure what's the safest way.

At this point I have no clue what to do, if someone knows where kscreenlock pam config is located and know how to reset them by default or can share own, I would appreciate it.

0 Comments
2024/11/23
04:07 UTC

0

qemu guest no internet

i'm fully up to date, but since a week or so ago i've not had internet access on my guests in qemu, neither in win7 nor win10. my qemu line had worked for years without changing anything, it could be a kernel update or qemu update or anything else

has anyone seen this too? how did you solve it?

here's how i run qemu (it's a function in .zshrc)

kw() {
qemu-system-x86_64 -net nic,model=rtl8139 -net user,smb=$HOME -audiodev \
pipewire,id=audio0 -device intel-hda -device hda-output,audiodev=audio0 \
-global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -display sdl -usb \
-device usb-tablet  -drive file=$HOME/vm/"$1",format=qcow2,if=ide -m 8G \
-enable-kvm -machine kernel_irqchip=on,type=pc,accel=kvm \
-cpu host,hv_relaxed,hv_spinlocks=0xffff,hv_vapic,hv_time -smp 8 -M pc \
-vga qxl "${@:2}"

so i run kw win in the terminal

p.s. as for the flair, i can't choose support for some reason, it won't let me?

0 Comments
2024/11/23
01:57 UTC

0

Bugged? Shell refuses to change to Zsh.

I've done this on multiple systems but for some reason it keeps failing now.

Zsh is installed.

sudo chsh  -s /usr/bin/zsh

Changing shell for root.
chsh: Shell not changed. <--- why does it say this but then /etc/passwd changes anyway?

log out, log back in.

echo $SHELL
/usr/bin/bash

cat/etc/passwd

root:/usr/bin/zsh

myusername::/usr/bin/zsh

Expected behavior:

I should have the shell I have set and confirmed is set in etc/passwd and not have /bin/bash/

The shell can be manually changed to Zsh by adjusting settings within Konsole. But that's not the correct method as it doesn't change the DEFAULT shell.

6 Comments
2024/11/23
01:37 UTC

1

Help with btrfs snapshots

Hello, first, sorry for the wall of text,

So, a couple of weeks ago I had an issue after updating (booting time increased dramatically), after testing the system I decided to restore a previous snapshot (#48) through Btrfs Assistant (which i've done a few times before), so I restored the previous snapshot before the update (#49) and rebooted, grub loaded normally and then after selecting the default option it just went to a black screen and the system was frozen (this happened with the 3 kernels I've installed, default, lts and zen), the only way to restart was by pressing the power button for a few seconds, I tried booting from a read-only snapshot from grub but none of them worked (same symptoms), the only one that worked was the last snapshot (#49), but restoring was not possible, Btrf Assistant didn't show anything and console showed the error "IO Error (query default id failed, subvolume is not a btrfs subvolume", so after fiddling with the snapshots (manually set write permissions to snapshot, updated and whatelse) I managed to boot the system again, and everything seems to work, I can update, remove packages and restore snapshots again, BUT, Btrfs Assistant shows @snapshots/61/snapshot (as in image) as the target for restoring snapshots and AFAIK that's the default btrfs system subvolume, so the questions are:

is there a way to set "/" as the default target for restoring snapshots just like it was originally? (tried with "sudo btrfs subvolume set-default /" but didn't changed anything) AND "sudo btrfs subvolume list /" shows the root subvolume (@) as top level 5

or, is there an issue if I keep using that route as default?

thanks in advance

EDIT: some clarifications

6 Comments
2024/11/23
00:44 UTC

0

Is there a way to change window resizing behaviour on KDE?

Simply put, I want to be able to resize windows, kind of how Hyprland does, in KDE. Here is a post I made on another arch subreddit which has a gif on the exact kind of behaviour I want to get.

1 Comment
2024/11/23
00:39 UTC

1

Something went wrong after installing steam (plasma 6, Xorg)

I was following the arch wiki steam installation guide. I have integrated Intel GPU and descrete AMD polaris. I installed steam and the open source drivers for Intel and AMD. I did not install amd-vlk. Everything seemed well but after a reboot, I did the usual which is starting kde plasma 6 from the tty using startx only for plasma to open to a weird display. I have a photo of it but images aren't allowed here I will try to link it.

Any support is appreciated. I can start an Xorg session with DWM and it works well. I was also able to start hyprland. But with plasma 6 It opens to a weird teared out display.

Edit: https://drive.google.com/file/d/1_SIZkUexGqwKJfqI9HN2kYFpSRI0M6CJ/view?usp=sharing

This is what is diplayed when plasma opens. I believe it works (I can blindly open konsole and do stuff) well but the display is messed up.

Edit 2: When I enter another Xorg session with dwm. It works. But when I opened steam, the steam window was the same as how plasma opens in the attached image above.

3 Comments
2024/11/23
00:05 UTC

1

Is this solved yet? "Issue with rtl_pci process being too heavy for one core"

Hi I've been trying to use Arch Linux on a laptop, but there is an issue that I think no one solved for now.

My issue has to do with the rtl_pci process which is running constantly on my laptop and always puts one of the cores of my laptop at 100%, I do have internet and the speed seems to be normal, but as soon as my computer starts using WiFi it'll nuke one of my cores with constant interrupts at speeds of 10k interrupts per second.

I did found some info about this issue, but all I find is old posts about having the issue and the solution being "Just turn off WiFi and use Ethernet" which I am doing, but not having WiFi kinda kills the purpose of my laptop at university where I do need to use WiFi.

Another thing I found is to close the process and to try starting it again, but as soon as I do that, it will go back to sending constant interrupts to my CPU, although it does change the core that will overcharge with interrupts.

I'm running Arch with hyprland. This issue causes my laptop to run way too hot so I'd prefer to fix this issue since it also makes my system slow after the issue is running for more than an hour.

Here are some outputs of my issue, and sorry if this has been solved and I just couldn't find it, it's been annoying me for a few days and I haven't found more info:

Whit it active the interrupts are high (I already restarted it that's why it's on multiple cores)

cat /proc/interrupts

           CPU0       CPU1       CPU2       CPU3       
  0:         14          0          0          0   IO-APIC   2-edge      timer
  1:          0          0          0       8315   IO-APIC   1-edge      i8042
  8:          0          0          0          1   IO-APIC   8-edge      rtc0
  9:          0         65          0          0   IO-APIC   9-fasteoi   acpi
 12:          0          0     335468          0   IO-APIC  12-edge      i8042
 16:          0        556          0          0   IO-APIC  16-fasteoi   ehci_hcd:usb2
 18:          0   15840361    6654921    1087866   IO-APIC  18-fasteoi   rtl_pci
 19:          0          0          0          5   IO-APIC  19-fasteoi   i801_smbus
 23:         49          0          0          0   IO-APIC  23-fasteoi   ehci_hcd:usb1
 24:          0      37730       3277      51473  PCI-MSI-0000:00:1f.2   0-edge      ahci[0000:00:1f.2]
 25:        640        667      84283          0  PCI-MSI-0000:00:14.0   0-edge      xhci_hcd
 26:     689214        168          0          0  PCI-MSI-0000:00:02.0   0-edge      i915
 27:          0          0         23          0  PCI-MSI-0000:00:16.0   0-edge      mei_me
 28:        405          0          0          0  PCI-MSI-0000:00:1b.0   0-edge      snd_hda_intel:card0
 29:          0          0          1          0  PCI-MSI-0000:03:00.0   0-edge      enp3s0
NMI:         77        113         86         69   Non-maskable interrupts
LOC:    1162104     921863     965426     915474   Local timer interrupts
SPU:          0          0          0          0   Spurious interrupts
PMI:         77        113         86         69   Performance monitoring interrupts
IWI:     729152      55334      86169      61360   IRQ work interrupts
RTR:          1          0          0          0   APIC ICR read retries
RES:      99413     108382     106239      90490   Rescheduling interrupts
CAL:     332315     316035     268877     229067   Function call interrupts
TLB:     141559     132513     120066     114628   TLB shootdowns
TRM:          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0   Threshold APIC interrupts
DFR:          0          0          0          0   Deferred Error APIC interrupts
MCE:          0          0          0          0   Machine check exceptions
MCP:         14         15         15         15   Machine check polls
ERR:          0
MIS:          0
PIN:          0          0          0          0   Posted-interrupt notification event
NPI:          0          0          0          0   Nested posted-interrupt event
PIW:          0          0          0          0   Posted-interrupt wakeup event
PMN:          0          0          0          0   Posted MSI notification event

When I disable it and start to use Ethernet cable only:

cat /proc/interrupts

           CPU0       CPU1       CPU2       CPU3       
  0:         14          0          0          0   IO-APIC   2-edge      timer
  1:          0          0          0       7341   IO-APIC   1-edge      i8042
  8:          0          0          0          1   IO-APIC   8-edge      rtc0
  9:          0         65          0          0   IO-APIC   9-fasteoi   acpi
 12:          0          0     311732          0   IO-APIC  12-edge      i8042
 16:          0        556          0          0   IO-APIC  16-fasteoi   ehci_hcd:usb2
 19:          0          0          0          5   IO-APIC  19-fasteoi   i801_smbus
 23:         49          0          0          0   IO-APIC  23-fasteoi   ehci_hcd:usb1
 24:          0      34525       3277      51473  PCI-MSI-0000:00:1f.2   0-edge      ahci[0000:00:1f.2]
 25:        166        667      79872          0  PCI-MSI-0000:00:14.0   0-edge      xhci_hcd
 26:     656748        168          0          0  PCI-MSI-0000:00:02.0   0-edge      i915
 27:          0          0         23          0  PCI-MSI-0000:00:16.0   0-edge      mei_me
 28:        405          0          0          0  PCI-MSI-0000:00:1b.0   0-edge      snd_hda_intel:card0
 29:          0          0          1          0  PCI-MSI-0000:03:00.0   0-edge      enp3s0
NMI:         74        110         84         67   Non-maskable interrupts
LOC:    1103474     874473     915140     870104   Local timer interrupts
SPU:          0          0          0          0   Spurious interrupts
PMI:         74        110         84         67   Performance monitoring interrupts
IWI:     695621      52934      82548      58791   IRQ work interrupts
RTR:          1          0          0          0   APIC ICR read retries
RES:      97934     105237     104653      88753   Rescheduling interrupts
CAL:     319010     303063     257920     219858   Function call interrupts
TLB:     137651     128141     115339     110840   TLB shootdowns
TRM:          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0   Threshold APIC interrupts
DFR:          0          0          0          0   Deferred Error APIC interrupts
MCE:          0          0          0          0   Machine check exceptions
MCP:         13         14         14         14   Machine check polls
ERR:          0
MIS:          0
PIN:          0          0          0          0   Posted-interrupt notification event
NPI:          0          0          0          0   Nested posted-interrupt event
PIW:          0          0          0          0   Posted-interrupt wakeup event
PMN:          0          0          0          0   Posted MSI notification event
0 Comments
2024/11/22
23:51 UTC

1

libvirt: can't set static IP address (NAT networking)

I'm having trouble setting static IP addresses to domains using the default NAT working, was anyone successful? I followed all the instructions here and even dropped the DHCP leases as well as restarted the libvirtd.service.

I'm thinking these need to done in a particular order (restarting the service, dropping the DHCP leases, and virsh net-destroy default then virsh net-start default, which I've also tried).

Some output, any tips are much appreciated.

0 Comments
2024/11/22
23:32 UTC

3

Which Window Manager do you like best & wh?

So I finally installed Arch without archinstall!

Now… I honestly don’t know what WM to use. I was consider desktop environments but eh, no.

I do wanna hear people’s reasons and preferences for WM’s so go crazy. I’m just curious to know more.

34 Comments
2024/11/22
23:15 UTC

0

Hi I’m new btw

Why is arch so notorious? I just read the documents and it worked like magic.

I did f up on WM hopping around so I’m gonna have to install it again. Maybe should install libreboot.

11 Comments
2024/11/22
23:07 UTC

0

Text suggestions package

Hi guys, is there any package that will show some phrases suggestions as we type a word? So e.g. I type "address", and it'll show a suggestion of "XYZ Steet" depending on what phrase I define in my keyboard dictionary ...

It's like text suggestions / dictionary in Android

I tried using Autokey for a text auto-replacement, and set it to show the prompt first before finally replacing it, but it's not really what I am looking for

Thanks!

0 Comments
2024/11/22
22:26 UTC

0

Signal is finally in the official extra Arch repo.

We finally have Signal desktop officially in Arch :D

12 Comments
2024/11/22
21:22 UTC

1

Getting image path from notification

Am trying to get the image notification to display correctly on ags notifications.

When I listen for notifications with dbus-monitor "interface='org.freedesktop.Notifications'" this is what I get

method call time=1732305663.555855 sender=:1.768 -> destination=org.freedesktop.Notifications serial=31 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
   string "Chromium"
   uint32 0
   string "file:///tmp/.org.chromium.Chromium.GDeh6N"
   string "+254 700 681577"
   string "<a href="https://web.whatsapp.com/">web.whatsapp.com</a>

ksldcd"
   array [
      string "default"
      string "Activate"
      string "settings"
      string "Settings"
   ]
   array [
      dict entry(
         string "urgency"
         variant             uint32 1
      )
      dict entry(
         string "suppress-sound"
         variant             boolean true
      )
      dict entry(
         string "desktop-entry"
         variant             string "chromium-browser"
      )
      dict entry(
         string "image_path"
         variant             string "/tmp/.org.chromium.Chromium.GLC4iW"
      )
      dict entry(
         string "image-path"
         variant             string "/tmp/.org.chromium.Chromium.GLC4iW"
      )
   ]
   int32 -1

This is what am using to get the icon

// If the notification comes from Chrome/Chromium, try to get the local image path
    if (notifObject.appEntry?.toLowerCase().includes('chrom')) {
        // Try to find the 'image_path' or 'image-path' entry
        const imagePathEntry = notifObject.entries?.find(entry => 
            entry?.string === 'image_path' || entry?.string === 'image-path'
        );
    
        if (imagePathEntry && imagePathEntry.variant) {
            // Prepend 'file://' to the image path
            const fileUrl = `file://${imagePathEntry.variant}`;
        
            return Box({
                valign: Gtk.Align.CENTER,
                hexpand: false,
                className: 'notif-icon',
                css: `
                    background-image: url("${fileUrl}");
                    background-size: auto 100%;
                    background-repeat: no-repeat;
                    background-position: center;
                `,
            });
        }
   

When I extract the url from the notification body and use it as the image url it works but i cant seem to correctly fetch the url provided by the notification body

0 Comments
2024/11/22
21:16 UTC

0

What do I need to do to get LXQt working with Wayland on Arch?

I have a working version of LXQt on Arch and I would like to configure it for Wayland. What do I need to do?

4 Comments
2024/11/22
20:06 UTC

3

Problems with suspend KDE/Arch

Hey guys, I have a problem with my system. Everything worked fine for months but I had the great idea (actually a bad idea) to test out Hyprland instead of KDE. After the dual setup with KDE and Hyprland everything began to break. My suspend doesn’t work anymore and before it suspends it takes quite a while, you can see it in the video. Sorry for filming with thr phone but I don‘t know how I should film it otherwise. My system is up to date with pacman and aur/yay.

Cpu: R7 7800x3d Gpu: rx7800xt Ram: 32 gigabytes ddr5 Mb: Gigabyte X670 AX Kernel: 6.11.X (newest)

Sorry if any crucial informations are missing. I‘m still new and try to learn. Please tell me and I will try my best to update you with any information. If your tips don‘t work I have to reinstall Arch but this would be a chance to test the new archinstall 3.0.

Thank you very much in advance. Please don‘t insult me.

EDIT: It seems like I can‘t upload the video. Is there a way to show it to you?

11 Comments
2024/11/22
20:02 UTC

1

Switching to ly login manager causes weirdness with kde wallet service

Yesterday I switched from sddm to using ly because of the sddm hanging on reboot when using Wayland issue. Today I tried to open signal and it requested access to KDE wallet service. I know that this is so that it can manage encryption keys, but how can I get past this manual password entry for signal? (and presumably other apps)

2 Comments
2024/11/22
19:13 UTC

1

CPU Throttling Issues While Gaming on Linux (Dell Latitude 7420, Arch GNOME 47)

Hi everyone,

I'm encountering a frustrating issue with my Dell Latitude 7420 while gaming on Linux (Arch, GNOME 47). Here's the problem:

Whenever I play a game, my CPU temperature hits around 65°C, and then the CPU starts throttling aggressively. Its frequency drops to 400 MHz and then ramps back up in a continuous loop. This ruins the gaming experience.

Here are my specs:

  • Laptop: Dell Latitude 7420
  • CPU: Intel Core i7-1185G7
  • RAM: 32 GB
  • SSD: 1 TB NVMe

I'm using Power Profile Daemon (PPD) and even when I set the profile to "performance," the issue persists. I've also tried disabling Intel SpeedStep and Intel C-states in the BIOS, but it didn’t help.

What’s odd is that this problem doesn’t happen on Windows. Everything runs smoothly there, even under heavy gaming loads.

If anyone has suggestions or has experienced similar issues, I'd really appreciate your input. Thanks!

1 Comment
2024/11/22
17:57 UTC

0

Arch Linux displays nothing when pressed "install medium"

I tried to install arch but somehow after pressing install, no display comes out but the power is still on. Any help? (i sadly cant post videos but i mainly use my Nvidia gpu)

13 Comments
2024/11/22
17:38 UTC

5

[MBP 2015, latest arch-iso + i3wm + pipewire] My brightness + volume up keys are not detected, but I have their scan code, how can i map it to a shellcommand?

So, clean install of arch:

→ sudo pacman -Q linux

linux 6.11.9.arch1-1

Using xbindkeys --key for multiple media keys yields:

"(Scheme function)"

m:0x0 + c:122

XF86AudioLowerVolume

"(Scheme function)"

m:0x0 + c:237

XF86KbdBrightnessDown

etc...

But, they do not detect the brightness up & down, and volume keys.

But using showkey --scancodes yields:

0xe0 0x4c 0xe0 0xcc # brightness down

0xe0 0x54 0xe0 0xd4 # brightness up

0xe0 0x20 0xe0 0xa0 # mute

0xe0 0x2e 0xe0 0xae # volume down

0xe0 0x30 0xe0 0xb0 #volume up.

How can I use these scan codes to map them to commands to make them do what they are supposed to do. Thanks in advance.

4 Comments
2024/11/22
17:18 UTC

1

Excessive fan on Ideapad Slim 5 16AHP9

Good day,

I've installed Arch on a new-ish Ideapad laptop and noticed its fans seem to run at an excessive speed regardless of actual load. Running stress tests vs idle causes no real change to the temperature, which makes me believe it is using a fan speed appropriate for high load even at idle. I don't see the Ideapad Slim 5 16AHP9 mentioned on the Arch wiki, so I'm suspecting it's simply too new to have gotten much attention.

The BIOS does have some power and fan controls, but they don't seem to do much. Setting the "ultra quiet mode" to enabled does not reduce fan speed. Changing the performance setting in BIOS to "battery saving" did reduce the noise to nearly silent, but it also cut my performance by a decent margin. I am relatively confident this isn't a hardware problem because I didn't hear the same idle fan noise while in Windows, and because I see that Lenovo's website mentions drivers for the cooling system.

I've also tried the Thinkfan and auto-cpufreq tools, they didn't seem to do anything for this hardware. Guidance would be much appreciated.

Specs:
OS: Arch Linux x86_64
Kernel: Linux 6.11.9-arch1-1
DE: KDE Plasma 6.2.3 Wayland
CPU: Ryzen 7 8845HS
GPU: Radeon 780M
Memory: 16GB
SSD: 512GB

2 Comments
2024/11/22
17:02 UTC

1

I can't find any updated and clear documentation about text2speech on Arch. How can I speak through terminal prompt ?

0 Comments
2024/11/22
16:05 UTC

6

Can't write to Windows partition

# cat /etc/fstab
# /dev/sda3
UUID=66ccebf0-456c-450c-a95f-beb1ae11b1c5       /               ext4            rw,relatime     0 1

# /dev/nvme0n1p1
UUID=7017-DD54          /windows-boot   vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro   0 2

# /dev/sda1
UUID=FE9A-E7DA          /boot           vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro   0 2

# /dev/sda2
UUID=031B33D1339A0BBF   /ntfs-shared    ntfs            rw,nosuid,nodev,user_id=0,group_id=0,allow_other,blksize=4096   0 0

# /dev/nvme0n1p3
UUID=84D21D2DD21D24C8   /windows        ntfs            rw,nosuid,nodev,user_id=0,group_id=0,allow_other,blksize=4096   0 0

# /dev/sda4
UUID=fdcb42c7-cecf-4d6f-9a9a-6eb242b56cc7       none            swap            defaults        0 0

# pwd
/ntfs-shared
# touch abc.txt
touch: cannot touch 'abc.txt': Read-only file system

rw option set in fstab, why am I getting this error?

EDIT: This is shown only for /ntfs-shared, but stands for /windows too.

16 Comments
2024/11/22
16:09 UTC

1

Resize root

So, I am planning to resize my root folder.
My Partition looks like this:
nvme0n1 259:0 0 1,8T 0 disk
├─nvme0n1p1 259:1 0 1G 0 part /boot
├─nvme0n1p2 259:2 0 126G 0 part [SWAP]
├─nvme0n1p3 259:3 0 126G 0 part /
└─nvme0n1p4 259:4 0 1,6T 0 part /home
i.e. the home folder is on another partition.

My plan is to boot into a live os like 'kde neon' and resize/extend the root partition with the 'kde partitioning manager'. I basically did this once a while back on my laptop and I got systemd error as far as I remember.

So my Question is, should this resizing work? without errors?
And do I have to input a command in the terminal that linux "reloads" the size of the root partition and recognises that it now has a different size?
(of course I have backups of everything)

Thanks for helping

4 Comments
2024/11/22
13:13 UTC

25

Is Archlinux good for rural internet?

Hello, I wish to get a good thorough crash course in learning linux and I've heard using Archlinux is one of the better ways to do so. Thing is, I read about it needing frequent updates and I live in the countryside where I can't update frequently. Is Archlinux recommended despite that?

52 Comments
2024/11/22
15:54 UTC

7

Only hdmi sound output is detected

I have tried installing pipewire alsa wireplumber,
i am a complete beginner pls help

https://ibb.co/h2FqCtx

4 Comments
2024/11/22
11:11 UTC

0

dunst-timer - a simple stay-on-top timer

0 Comments
2024/11/22
11:04 UTC

3

Using fprint with a fingerprint FPC 10a5:9800 on Arch

After a lot of research, I've been able to use the fingerprint on my Lenovo Ideapad 3 Slim, and I will explain how to do it to you:

IMPORTANT: you'll need the following packages:

  • glib-devel (sudo pacman -S glib-devel),
  • fprint (yay -S fprint),
  • usbutils (yay -S usbutils)
  • imagemagick (yay -S imagemagick)
  1. Verify if lsusb command sees your sensor: Bus 003 Device 002: ID 10a5:9800 FPC FPC Sensor Controller L:0002 FW:27.26.23.18
  2. Copy the libfprint-fpcmoh-git repository using the following command: git clone --depth=1 https://aur.archlinux.org/libfprint-fpcmoh-git.git ~/Clone/libfprint-fpcmoh-git
  3. Go into the copied repository and type makepkg -si
  4. Configure the fingerprint reader by creating a file /etc/udev/rules.d/10-fingerprint.rules with the following contents: ACTION=="add", RUN+="/usr/bin/fprint_setup %k"
  5. Reload the udev rules with sudo udevadm control --reload-rules
  6. Verify the fingerprint reader is recognized by running lsusb | grep FPC
  7. Configure the fingerprint reader using the fprintd-enroll user
  8. Verify the fingerprint using fprintd-verify
  9. Now, in order to set your fingerprint at the login an lock page, you have to modify the /etc/pam.d/system-local-loginand /etc/pam.d/sddm files (THE SDDM FILE ONLY FOR THOSE WHO USE SDDM), setting it like:

sddm:

auth        sufficient  pam_fprintd.so 
auth        include     system-login 
-auth       optional    pam_gnome_keyring.so 
-auth       optional    pam_kwallet5.so

account     include     system-login

password    include     system-login 
-password   optional    pam_gnome_keyring.so    use_authtok

session     optional    pam_keyinit.so          force revoke 
session     include     system-login 
-session    optional    pam_gnome_keyring.so    auto_start 
-session    optional    pam_kwallet5.so         auto_start

system-local-login:

auth        sufficient  pam_fprintd.so 
auth        include     system-login 
account     include     system-login 
password    include     system-login 
session     include     system-login 

And it's done! Hope that this will help you ;)

3 Comments
2024/11/22
09:54 UTC

0

"KDE Plasma" or just "Plasma"?

Hey, Arch wiki contributor here. Another stupid question:) I see that "KDE Plasma" and just "Plasma" terms are used more or less interchangeable, and I would like to understand the audience. So, what do you feel – is "Plasma" the name by itself? I.e. what should I use when I'm editing?

(Fully disclosure: I called this desktop environment "KDE" when I used it. And I'm on window manager these days.)

View Poll

22 Comments
2024/11/22
08:06 UTC

Back To Top