mirror of
https://github.com/gustavosett/Windows-11-Clipboard-History-For-Linux
synced 2026-04-26 01:25:11 +02:00
chore: update docs and scripts
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# udev rules for Windows 11 Clipboard History
|
||||
# Allows non-root users in the 'input' group to access input devices for global hotkeys
|
||||
|
||||
# Input devices (keyboards, mice) - needed for rdev global hotkeys
|
||||
# Input devices (keyboards) - needed for evdev global hotkey detection
|
||||
KERNEL=="event*", SUBSYSTEM=="input", MODE="0660", GROUP="input"
|
||||
|
||||
# uinput device - needed for enigo keyboard simulation (paste injection)
|
||||
# uinput device - needed for kernel-level keyboard simulation (paste injection)
|
||||
KERNEL=="uinput", SUBSYSTEM=="misc", MODE="0660", GROUP="input", OPTIONS+="static_node=uinput"
|
||||
|
||||
@@ -65,9 +65,9 @@ fi
|
||||
UDEV_RULE="/etc/udev/rules.d/99-win11-clipboard-input.rules"
|
||||
cat > "$UDEV_RULE" << 'EOF'
|
||||
# udev rules for Windows 11 Clipboard History
|
||||
# Input devices (keyboards, mice) - needed for rdev global hotkeys
|
||||
# Input devices (keyboards) - needed for evdev global hotkey detection
|
||||
KERNEL=="event*", SUBSYSTEM=="input", MODE="0660", GROUP="input"
|
||||
# uinput device - needed for enigo keyboard simulation (paste injection)
|
||||
# uinput device - needed for kernel-level keyboard simulation (paste injection)
|
||||
KERNEL=="uinput", SUBSYSTEM=="misc", MODE="0660", GROUP="input", OPTIONS+="static_node=uinput"
|
||||
EOF
|
||||
echo -e "${GREEN}✓${NC} Created udev rules for input devices"
|
||||
|
||||
Reference in New Issue
Block a user