Files
wayland_key_mapper/usev_device_access_permissions.sh

8 lines
367 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
sudo tee /etc/udev/rules.d/99-volume-key.rules > /dev/null <<'EOF'
# Grant read permission for the VolumeUp key device
SUBSYSTEM=="input", ATTRS{name}=="*volume*", MODE="0660", GROUP="input"
EOF
# Replace *volume* with a substring that matches your devices name (e.g. “Logitech”) if the rule above doesnt apply.
sudo udevadm control --reload