bucklespring icon indicating copy to clipboard operation
bucklespring copied to clipboard

Fedora 36, Wayland, `Failed to open /dev/input/event (Permission denied)`

Open daudix opened this issue 3 years ago • 3 comments

I use Wayland on Fedora Silverblue 36, have compiled bucklespring with make libinput=1, executed sudo usermod -a -G input $(id -un), this shows up while executing ./buckle

Error loading libfluidsynth.so.1: libfluidsynth.so.1: cannot open shared object file: No such file or directory
Error loading libdumb.so: libdumb.so: cannot open shared object file: No such file or directory
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
Failed to open /dev/input/event3 (Permission denied)
Failed to open /dev/input/event8 (Permission denied)
Failed to open /dev/input/event1 (Permission denied)
Failed to open /dev/input/event0 (Permission denied)
Failed to open /dev/input/event2 (Permission denied)
Failed to open /dev/input/event5 (Permission denied)
Failed to open /dev/input/event10 (Permission denied)
Failed to open /dev/input/event6 (Permission denied)
Failed to open /dev/input/event12 (Permission denied)
Failed to open /dev/input/event13 (Permission denied)
Failed to open /dev/input/event14 (Permission denied)
Failed to open /dev/input/event15 (Permission denied)
Failed to open /dev/input/event16 (Permission denied)
Failed to open /dev/input/event4 (Permission denied)
Failed to open /dev/input/event11 (Permission denied)
Failed to open /dev/input/event9 (Permission denied)

daudix avatar Apr 11 '22 19:04 daudix

What was the fix for this? I'm having the same issue.

aarond0623 avatar Aug 09 '22 17:08 aarond0623

I don't know, maybe update solved it

daudix avatar Aug 09 '22 17:08 daudix

I have this issue again, this time we hopefully will find the fix

daudix avatar Sep 18 '22 00:09 daudix

@aarond0623 I have found the solution! here is all the needed steps: (Silverblue specific)

  • Install buckle as system package
cd /etc/yum.repos.d/
sudo wget https://copr.fedorainfracloud.org/coprs/dani/bucklespring/repo/fedora-38/dani-bucklespring-fedora-38.repo
rpm-ostree install bucklespring bucklespring-wayland
  • Add user to input group
grep -E '^input:' /usr/lib/group | sudo tee -a /etc/group
sudo usermod -a -G input $(id -un)
  • Run buckle-wayland
buckle-wayland -f

I have found the fix here: https://github.com/harshadgavali/gnome-x11-gesture-daemon#user-needs-be-in-input-group

daudix avatar Jun 09 '23 13:06 daudix