pulseaudio fix for artix
This commit is contained in:
parent
941b14bfe7
commit
fbc42104c0
2 changed files with 9 additions and 0 deletions
4
.config/pulse/daemon.conf
Normal file
4
.config/pulse/daemon.conf
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# Never exit pulseaudio if idle. This is to deal with an issue of Chromium
|
||||||
|
# browsers not properly starting Pulseaudio by themselves. When the underlying
|
||||||
|
# issue is solved, this file/directory should be removed.
|
||||||
|
exit-idle-time = -1
|
|
@ -11,3 +11,8 @@ xcompmgr & # xcompmgr for transparency
|
||||||
dunst & # dunst for notifications
|
dunst & # dunst for notifications
|
||||||
xset r rate 300 50 & # Speed xrate up
|
xset r rate 300 50 & # Speed xrate up
|
||||||
unclutter & # Remove mouse when idle
|
unclutter & # Remove mouse when idle
|
||||||
|
|
||||||
|
# This line autostarts an instance of Pulseaudio that does not exit on idle.
|
||||||
|
# This is "necessary" on Artix due to a current bug between PA and
|
||||||
|
# Chromium-based browsers where they fail to start PA and use dummy output.
|
||||||
|
! pidof -s pulseaudio >/dev/null 2>&1 && setsid -f pulseaudio --start --exit-idle-time=-1 >/dev/null 2>&1
|
||||||
|
|
Loading…
Reference in a new issue