A program to fix GPU Screen Recorder password prompt spam in flatpak
  • C 95%
  • Makefile 4.7%
  • Shell 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-21 06:43:33 +02:00
depends/libcap Initial commit, done 2024-02-11 02:11:41 +01:00
.gitignore Resolve /proc/self/exe fullpath 2024-04-06 15:08:28 +02:00
build.sh libatomic new gcc flag 2026-10-21 06:43:33 +02:00
LICENSE Initial commit, done 2024-02-11 02:11:41 +01:00
main.c libatomic new gcc flag 2026-10-21 06:43:33 +02:00
README.md Copy gsr-kms-server and gsr-global-hotkeys to ~/.local/share/gpu-screen-recorder before launching them. This fixes the program on opensuse, which doesn't allow pkexec to launch programs in /var 2025-02-22 14:11:28 +01:00
TODO Err if fail to get valid path to use for kms-server-proxy 2025-03-08 17:05:40 +01:00

This program fixes password prompt spam in GPU Screen Recorder when used from flatpak and keep removing the password prompt spam even after updating GPU Screen Recorder flatpak. This program is meant to be ran with flatpak-spawn --host. This program is not meant to be run by the user and is automatically launched from GPU Screen Recorder flatpak.

The reason all of this is needed is because setcap cap_sys_admin+ep gsr-kms-server can't be done in the flatpak because of sandboxing so this is only done when you install GPU Screen Recorder from source/aur to workaround that limitation.

This program also launches gsr-global-hotkeys from the GPU Screen Recorder flatpak with root privileges.

The depends directory contains libcap from the libcap project, available here: https://mirrors.edge.kernel.org/pub/linux/libs/security/linux-privs/libcap2/. The version used is libcap-2.69.