The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 2,857β€…    Votes:  6β€…    βœ… Solution
Tags: gnome   sound   pulseaudio   gnome-control-center   19.10  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—

URL: https://askubuntu.com/q/1183074
Title: Selected Sound Output Device Not Persisting Between Reboots in gnome-control-center
ID: /2019/10/22/Selected-Sound-Output-Device-Not-Persisting-Between-Reboots-in-gnome-control-center
Created: October 22, 2019
Upload: September 15, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


I have had the bug report suggestions setup this way for along time as sound is always routed to TV and I don’t want it to switch to tinny laptop speakers.

Use sudo -H gedit /etc/pulse/default.pa and find the lines:

load-module module-switch-on-port-available
load-module module-switch-on-connect

Change them to:

#load-module module-switch-on-port-available
#load-module module-switch-on-connect

Save the file and use: pulseaudio -k

Note 1: It’s been reported that plain sudo now performs like sudo -H in 19.04 but caution dictates using later method.

Note 2: Earlier versions of Ubuntu will only have the first configuration line.

⇧ Turn off primary screen, Ubuntu 19.10 Why combine commands on a single line in a Bash script?  β‡©