aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-02-10 19:05:02 +0100
committerdec05eba <dec05eba@protonmail.com>2024-02-11 02:11:41 +0100
commit667a6b3b1bc20516d1bf7d8a4611cd3a4d3f3bc6 (patch)
tree2770b29323939cec51670dd0d1aebd39a8041914 /README.md
Initial commit, done
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..a3eb77e
--- /dev/null
+++ b/README.md
@@ -0,0 +1,8 @@
+This program fixes password prompt spam in GPU Screen Recorder when used from flatpak.
+This program is meant to be ran with flatpak-spawn --host.
+When this program is first run, it executes itself with pkexec and in that case it sets CAP_SYS_ADMIN capability on itself
+after copying self to ~/.local/bin and launches gsr-kms-server (in flatpak location).
+When this program is run after that it will check if its run from ~/.local/bin or launch that and it will see that the program has CAP_SYS_ADMIN capability
+and will launch gsr-kms-server (in flatpak location).
+
+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. \ No newline at end of file