Add realtime priorities in desktop
parent
9194648e9a
commit
f126572738
|
@ -4,7 +4,7 @@ JACK settings, as persisted by D-Bus object.
|
||||||
You probably don't want to edit this because
|
You probably don't want to edit this because
|
||||||
it will be overwritten next time jackdbus saves.
|
it will be overwritten next time jackdbus saves.
|
||||||
-->
|
-->
|
||||||
<!-- Thu Apr 20 18:56:48 2023 -->
|
<!-- Thu Feb 1 16:21:48 2024 -->
|
||||||
<jack>
|
<jack>
|
||||||
<engine>
|
<engine>
|
||||||
<option name="driver">alsa</option>
|
<option name="driver">alsa</option>
|
||||||
|
@ -12,11 +12,11 @@ it will be overwritten next time jackdbus saves.
|
||||||
</engine>
|
</engine>
|
||||||
<drivers>
|
<drivers>
|
||||||
<driver name="alsa">
|
<driver name="alsa">
|
||||||
<option name="capture">hw:PCH,0</option>
|
<option name="capture">hw:iD14,0</option>
|
||||||
<option name="playback">hw:PCH,0</option>
|
<option name="playback">hw:PCH,0</option>
|
||||||
<option name="rate">44100</option>
|
<option name="rate">44100</option>
|
||||||
<option name="period">2048</option>
|
<option name="period">2048</option>
|
||||||
<option name="inchannels">0</option>
|
<option name="inchannels">2</option>
|
||||||
<option name="outchannels">2</option>
|
<option name="outchannels">2</option>
|
||||||
<option name="midi-driver">seq</option>
|
<option name="midi-driver">seq</option>
|
||||||
</driver>
|
</driver>
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
@realtime - rtprio 99
|
||||||
|
@realtime - memlock unlimited
|
||||||
|
@realtime - nice unlimited
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/security/limits.d
|
|
@ -100,6 +100,10 @@ if [ ! -z "$INIT" ]; then
|
||||||
yay -Syu --needed --noconfirm - < ${CONFIG}/${ARCH_PACKAGES}/${FINAL_CONFIG}
|
yay -Syu --needed --noconfirm - < ${CONFIG}/${ARCH_PACKAGES}/${FINAL_CONFIG}
|
||||||
echo -e "* Changing shell to ZSH..."
|
echo -e "* Changing shell to ZSH..."
|
||||||
sudo chsh -s $(which zsh)
|
sudo chsh -s $(which zsh)
|
||||||
|
if [ "$ENV" = "desk" ]; then
|
||||||
|
echo -e "* Add user to realtime group..."
|
||||||
|
sudo usermod -aG realtime $(whoami)
|
||||||
|
fi
|
||||||
# https://man.archlinux.org/man/rofi-dmenu.5
|
# https://man.archlinux.org/man/rofi-dmenu.5
|
||||||
echo -e "* Symlink dmenu → rofi..."
|
echo -e "* Symlink dmenu → rofi..."
|
||||||
sudo ln -sf /usr/bin/rofi /usr/bin/dmenu
|
sudo ln -sf /usr/bin/rofi /usr/bin/dmenu
|
||||||
|
|
Loading…
Reference in New Issue