F5F Stay Refreshed Software Operating Systems Ubuntu Linux - Execute commands at boot while avoiding Spotify mute during system sounds

Ubuntu Linux - Execute commands at boot while avoiding Spotify mute during system sounds

Ubuntu Linux - Execute commands at boot while avoiding Spotify mute during system sounds

F
foz93
Member
136
08-24-2025, 12:00 PM
#1
Hi, I understand your situation. You use Windows frequently but rely on Ubuntu for coding. You want music playing in the background but Spotify gets muted when system sounds play. The workaround you tried with pactl is tedious. Are there options to set this up automatically at startup or adjust the settings? Thanks!
F
foz93
08-24-2025, 12:00 PM #1

Hi, I understand your situation. You use Windows frequently but rely on Ubuntu for coding. You want music playing in the background but Spotify gets muted when system sounds play. The workaround you tried with pactl is tedious. Are there options to set this up automatically at startup or adjust the settings? Thanks!

B
Ben3DHSS
Member
109
08-24-2025, 12:19 PM
#2
Create a systemd service to start the application at boot.
B
Ben3DHSS
08-24-2025, 12:19 PM #2

Create a systemd service to start the application at boot.

Z
ZarkLR
Member
201
08-26-2025, 05:59 AM
#3
Comment out the load-module line for "module-role-cork" in /etc/pulse/default.pa
Z
ZarkLR
08-26-2025, 05:59 AM #3

Comment out the load-module line for "module-role-cork" in /etc/pulse/default.pa

R
Rhuji
Senior Member
437
08-26-2025, 09:05 AM
#4
Let's give them a try
R
Rhuji
08-26-2025, 09:05 AM #4

Let's give them a try