Open
Description
Version Information:
- Distribution Information ( run
uname -a
)
Linux arch 6.6.67-1-lts #1 SMP PREEMPT_DYNAMIC Thu, 19 Dec 2024 20:39:01 +0000 x86_64 GNU/Linux
- swhkd version (
swhkd -V
)
Simple-Wayland-HotKey-Daemon 1.3.0-dev
Describe the bug:
I was able to install it finally (#281). And following next steps in the readme, trying to start it manually:
Running swhks &
works fine, or at least no errors,
but running swhkd
, I get:
$ swhkd
[2025-01-07T07:02:36Z ERROR swhkd::perms] Failed to set EGID: EPERM
Expected behavior:
Not to error and run.
Actual behavior:
Errors out.
To Reproduce:
Install from AUR, and then run swhkd
.
Additional information:
If I try to run via systemd service with pexec swhkd
I get sudo request, and then bunch of errors as well:
$ pkexec swhkd -d
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ====
Authentication is needed to run `/usr/bin/swhkd -d' as the super user
Authenticating as: alex
Password:
==== AUTHENTICATION COMPLETE ====
[2025-01-07T06:53:47Z TRACE swhkd] Logger initialized.
[2025-01-07T06:53:47Z DEBUG swhkd::perms] Setting EGID...
[2025-01-07T06:53:47Z DEBUG swhkd::perms] Setting EUID...
[2025-01-07T06:53:47Z DEBUG swhkd::perms] Setting initgroups...
[2025-01-07T06:53:47Z DEBUG swhkd] Wating for server to start...
[2025-01-07T06:53:47Z INFO swhkd] Env refreshed
[2025-01-07T06:53:47Z TRACE swhkd] Environment Aquired
[2025-01-07T06:53:47Z TRACE swhkd] Setting process umask.
[2025-01-07T06:53:47Z TRACE swhkd] Reading /run/user/1000/swhkd_1000.pid file and checking for running instances.
[2025-01-07T06:53:47Z DEBUG swhkd] Previous PID: 775931
[2025-01-07T06:53:47Z DEBUG swhkd] Using config file path: "/home/alex/.config/swhkd/swhkdrc"
[2025-01-07T06:53:47Z TRACE swhkd] Attempting to find all keyboard file descriptors.
[2025-01-07T06:53:47Z TRACE swhkd] Other: Lid Switch
[2025-01-07T06:53:47Z TRACE swhkd] Other: Power Button
[2025-01-07T06:53:47Z DEBUG swhkd] Keyboard: AT Translated Set 2 keyboard
[2025-01-07T06:53:47Z TRACE swhkd] Other: PC Speaker
[2025-01-07T06:53:47Z TRACE swhkd] Other: FRMW0004:00 32AC:0006 Wireless Radio Control
[2025-01-07T06:53:47Z DEBUG swhkd] Keyboard: FRMW0004:00 32AC:0006 Consumer Control
[2025-01-07T06:53:47Z TRACE swhkd] Other: PIXA3854:00 093A:0274 Mouse
[2025-01-07T06:53:47Z TRACE swhkd] Other: PIXA3854:00 093A:0274 Touchpad
[2025-01-07T06:53:47Z TRACE swhkd] Other: ImExPS/2 Generic Explorer Mouse
[2025-01-07T06:53:47Z TRACE swhkd] Other: Video Bus
[2025-01-07T06:53:47Z TRACE swhkd] Other: HDA Intel PCH Headphone
[2025-01-07T06:53:47Z TRACE swhkd] Other: HDA Intel PCH HDMI/DP,pcm=3
[2025-01-07T06:53:47Z TRACE swhkd] Other: HDA Intel PCH HDMI/DP,pcm=7
[2025-01-07T06:53:47Z TRACE swhkd] Other: HDA Intel PCH HDMI/DP,pcm=8
[2025-01-07T06:53:47Z TRACE swhkd] Other: HDA Intel PCH HDMI/DP,pcm=9
[2025-01-07T06:53:47Z DEBUG swhkd] 2 Keyboard device(s) detected.
[2025-01-07T06:53:47Z ERROR swhkd] Err: Os {
code: 19,
kind: Uncategorized,
message: "No such device",
}
Metadata
Metadata
Assignees
Labels
No labels