mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
## Description **What(what issue does this code solve/what feature does it add):** **How(how does it solve it):** ## Required Checklist: - [ ] I have added any necessary documentation and comments in my code (where appropriate) - [ ] I have added tests to make sure my code runs in all contexts ## Further comments
9 lines
356 B
Bash
9 lines
356 B
Bash
#!/bin/bash
|
|
|
|
#Start pulseaudio
|
|
/usr/bin/pulseaudio --system --verbose --log-target=stderr --realtime=true --disallow-exit -F /etc/pulse/default.pa
|
|
|
|
# Attempt to set capabilities
|
|
# Gotten from https://git.dec05eba.com/gpu-screen-recorder/tree/install.sh
|
|
setcap 'cap_sys_admin+ep' /usr/bin/gsr-kms-server
|
|
setcap 'cap_sys_nice+ep' /usr/bin/gpu-screen-recorder |