|
| 1 | +GPU Screen Recorder UI (MGL++) - Void Linux Notes |
| 2 | +==================================== |
| 3 | +1: High-performance (KMS) recording: |
| 4 | + KMS recording may require additional privileges. |
| 5 | + See /usr/share/doc/gpu-screen-recorder/README.voidlinux for details. |
| 6 | + |
| 7 | +2. Global Hotkeys and Virtual Input: |
| 8 | + To use global hotkeys and virtual keyboard features, your user must |
| 9 | + have permission to access input devices and uinput. |
| 10 | + |
| 11 | + Step A: Add your user to the 'input' group: |
| 12 | + # usermod -aG input <your_username> |
| 13 | + |
| 14 | + Step B: |
| 15 | + (Recommended) Create a udev rule for uinput: |
| 16 | + Create a file /etc/udev/rules.d/99-uinput.rules with: |
| 17 | + KERNEL=="uinput", GROUP="input", MODE="0660", OPTIONS+="static_node=uinput" |
| 18 | + |
| 19 | + After these steps, REBOOT or reload rules and re-login: |
| 20 | + # udevadm control --reload-rules && udevadm trigger |
| 21 | + NOTE: Adding a user to the 'input' group allows any application running under that user |
| 22 | + to read all keystrokes. This is a trade-off for global hotkey support. |
| 23 | + |
| 24 | + or |
| 25 | + |
| 26 | + Set SUID bit to gsr-global-hotkeys library: |
| 27 | + # chmod 4755 /usr/bin/gsr-global-hotkeys |
| 28 | + WARNING: This allows the binary to run with full root privileges. |
| 29 | + This approach significantly increases the attack surface and |
| 30 | + should only be used if you fully understand the risks. |
| 31 | + |
| 32 | +No privilege escalation is performed automatically by the package. |
| 33 | +It is up to the system administrator to choose the appropriate |
| 34 | +configuration. |
| 35 | + |
| 36 | +3. Wayland Support: |
| 37 | + - For Hyprland: Ensure 'gsr-hyprland-helper' is in your PATH. |
| 38 | + - For KDE Plasma: Ensure 'gsr-kwin-helper' is in your PATH. |
| 39 | + |
| 40 | +4. Autostart: |
| 41 | + - The "Autostart" button in the UI is hardcoded for systemd and will not work. |
| 42 | + To enable daemon on startup, manually add "gsr-ui launch-daemon" |
| 43 | + to your desktop environment's autostart settings or copy the provided |
| 44 | + desktop file: |
| 45 | + # cp /usr/share/applications/gsr-ui-daemon.desktop ~/.config/autostart/ |
| 46 | + or |
| 47 | + # cp /usr/share/applications/gsr-ui-daemon.desktop /etc/xdg/autostart/ |
| 48 | + |
0 commit comments