From e320348e1e8f4dfde1691e075e37cf99850d6609 Mon Sep 17 00:00:00 2001 From: phga Date: Tue, 11 Jan 2022 02:10:17 +0100 Subject: [PATCH] pack: realtime-privileges, docker. add user to necessary groups --- fresh.sh | 8 ++++++++ pack.csv | 6 +++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/fresh.sh b/fresh.sh index e30652f..5d6c61e 100755 --- a/fresh.sh +++ b/fresh.sh @@ -249,6 +249,13 @@ set_system_stuff() { echo "Leave system stuff\n\n" >> $logfile } +add_user_to_groups() { + dialog --infobox "Adding $uname to necessary groups" 0 0 + ugroups="audio realtime docker" + usermod -a -G "$ugroups" "$uname" + echo "Added user $uname to groups: $ugroups\n\n" >> $logfile +} + set_root_bashrc() { echo ". /root/.bashrc" > /root/.bash_profile cat < /root/.bashrc @@ -300,6 +307,7 @@ case $todo in fi enable_service "systemd-timesyncd" "atd" set_root_bashrc + add_user_to_groups ready_steady_go clear ;; diff --git a/pack.csv b/pack.csv index aa137da..7329b1b 100644 --- a/pack.csv +++ b/pack.csv @@ -92,7 +92,6 @@ A,P,alsa-plugins,Extra alsa plugins A,P,alsa-utils,An alternative implementation of Linux sound support # A,A,apulse,Compatibility layer for applications that rely on pulseaudio - A,P,pulseaudio,Sound server A,P,pulseaudio-alsa,ALSA Configuration for PulseAudio A,P,pulseaudio-jack,Jack support for PulseAudio @@ -101,6 +100,7 @@ A,P,jack2-dbus,The JACK low-latency audio server (dbus integration) A,P,a2jmidid,Dbus midi jack thingy A,P,qjackctl,A Qt front-end for the JACK low-latency audio server A,P,python-dbus,Python bindings for DBUS +A,P,realtime-privileges,Required for realtime applications # Text editing @@ -195,6 +195,10 @@ A,P,avr-libc A,P,teensy-loader-cli A,A,bootloadhid +# Docker +A,P,docker,Pack ship and run any application as a lightweight container +A,P,docker-compose,Yee container Yee + # Gaming D,P,steam,play play have fun D,A,legendary,epic but better