Linux Input Device Permissions
In some configurations, SyncClipboard needs input device permissions to listen for global hotkeys and simulate key presses for actions such as copying and pasting.
When permissions are required
The desktop session (X11 or Wayland) and the selected backend determine whether input device permissions are required. By default, SyncClipboard needs input device permissions on Wayland to listen for global hotkeys and simulate key presses.
If global hotkeys do not respond or SyncClipboard cannot simulate key presses to copy or paste, try switching the backend under System settings → General → Global hotkey backend.
| Desktop session | Global hotkey backend option | Input mechanism | Device permissions required? |
|---|---|---|---|
| X11 | Automatic (default) | XRecord/XTest | No |
| X11 | x11 | XRecord/XTest | No |
| X11 | libinput/uinput | libinput/uinput | Yes |
| Wayland | Automatic (default) | libinput/uinput | Yes |
| Wayland | x11 | XRecord/XTest through XWayland | No, but functionality may not work |
| Wayland | libinput/uinput | libinput/uinput | Yes |
For combinations requiring device permissions, global hotkeys need read/write access to /dev/input/event*; copy/paste operations indirectly triggered through SyncClipboard (implemented by simulating keyboard input) only need write access to /dev/uinput.
Grant input device access
On desktops with udev and active local session ACL support, use uaccess to automatically grant access to the active user, without joining the input group.
Not every Linux system provides udevadm; check with command -v udevadm. Minimal systems or alternative device managers may omit it. Having the command alone does not guarantee uaccess support: the corresponding rules and session management must also be available.
Create a rule with prefix 70 so it runs before 73-seat-late.rules:
sudo tee /etc/udev/rules.d/70-syncclipboard.rules >/dev/null <<'EOF'
ACTION=="remove", GOTO="syncclipboard_end"
SUBSYSTEM=="input", KERNEL=="event*", TAG+="uaccess"
SUBSYSTEM=="misc", KERNEL=="uinput", TAG+="uaccess"
LABEL="syncclipboard_end"
EOFFor simulated input only, keep just the uinput device rule. If /dev/uinput is missing, run sudo modprobe uinput first. Reload the rules:
sudo udevadm control --reload-rules
sudo udevadm trigger
sudo udevadm settleCheck getfacl /dev/uinput and getfacl /dev/input/event0 for a named user entry with rw- access. Restart SyncClipboard and refresh its permission status in System settings.
WARNING
ACL permissions apply to the current user, not exclusively to SyncClipboard.
For temporary testing, use setfacl without udev. Run these from the regular user's terminal; only the second command is needed for simulated input:
sudo setfacl -m "u:$(id -un):rw" /dev/input/event*
sudo setfacl -m "u:$(id -un):w" /dev/uinputManual ACLs may be lost when devices are recreated or sessions change. If getfacl or setfacl is missing, install your distribution's acl package (sudo apt install acl on Ubuntu/Debian).
Revoke access
Fully exit SyncClipboard first, then run the following from the regular user's terminal used to run the app.
If you configured the udev rule above, remove it and reload the rules. Skip this step if you only granted access manually with setfacl:
sudo rm /etc/udev/rules.d/70-syncclipboard.rules
sudo udevadm control --reload-rules
sudo udevadm trigger
sudo udevadm settleRemove the current user's ACL entries from existing devices. Only run the commands for devices you previously granted access to:
sudo setfacl -x "u:$(id -un)" /dev/input/event*
sudo setfacl -x "u:$(id -un)" /dev/uinput-x removes the specified user's entries without clearing other users' ACL entries. Check the result:
getfacl /dev/uinput
getfacl /dev/input/event0The corresponding user:your-username:... entries should be gone. Access granted through groups or other system rules is not revoked by removing these ACL entries.