fix(dm): keep the greeter user from starting PipeWire and WirePlumber

main
reionwong 4 weeks ago
parent bc47c50d21
commit cb8b120a2b

@ -56,6 +56,12 @@ install(FILES data/cutefish-dm-greeter.pam DESTINATION ${CMAKE_INSTALL_FULL_SYSC
RENAME cutefish-dm-greeter)
install(FILES data/com.cutefish.DisplayManager.conf
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/dbus-1/system.d)
foreach(unit pipewire.socket pipewire.service pipewire-pulse.socket pipewire-pulse.service
wireplumber.service filter-chain.service)
install(FILES data/no-greeter-audio.conf
DESTINATION /usr/lib/systemd/user/${unit}.d
RENAME cutefish-dm.conf)
endforeach()
if(BUILD_TESTING)
add_subdirectory(tests)

@ -0,0 +1,4 @@
[Unit]
# The login screen plays no sound. Its own WirePlumber would set the shared
# ALSA mixer to its default volume, which the user's session then adopts.
ConditionUser=!cutefish-greeter
Loading…
Cancel
Save