Category: Ubuntu

Added: 11th of November 2020

Viewed: 438 times

PulseAudio, Pavucontrol not saving settings after reboot on Ubuntu and Ubuntu based distributions

Whenever I install a new Linux distribution on my laptop, one issue that has kept popping up is no sound.
My onboard sound card / chip is correctly detected, and I usually solve this by installing pavucontrol and then selecting the correct device under configuration, however if I reboot pavucontrol does not save my settings.

Another thing I tried in the past was removing PulseAudio completely and reverting back to Alsa.
This worked for system notification sounds, and playing media through Rhytmbox, however when viewing videos on YouTube I had no sound using Firefox or Chromium.

After much searching, the solution below resolves my problem, and hopefully will resolve yours.

Open your terminal and enter the following command.

pacmd list-cards


Look through the default.pa configuration file and search for active profile.

Mine is listed as
active profile: <output:analog-stereo>

Also make a note of the index number, in my case 1



Now open the PulseAudio configuration file by entering the following command
sudo nano /etc/pulse/default.pa


Scroll to the bottom of the configuration file and below the following comments
### Make some devices default
#set-default-sink output
#set-default-source input

Enter the following.
set-card-profile 1 output:analog-stereo


Replace analog-stereo with the one in your pacmd list



Save the file in nano by Pressing CTRL + o and hitting enter
Then CTRL + x to exit nano

Next reboot your system
sudo shutdown -r now


Once you have logged back you should no longer have to access pavucontrol and set the device in configuration, your sound should now work.

Other Tips & Tutorials

Ubuntu

Install Redshift to automatically adjust the colour of your screen depending on time of day on Ubuntu and Ubuntu based distributions

Posted: 26th of November 2020

Views: 160

Ubuntu

PulseAudio, Pavucontrol not saving settings after reboot on Ubuntu and Ubuntu based distributions

Posted: 11th of November 2020

Views: 438

Ubuntu

No sound after installation of Ubuntu or Ubuntu based distribution, install pavucontrol

Posted: 9th of November 2020

Views: 140

Ubuntu

Shutdown Ubuntu and Ubuntu based distributions at a specific time or within (x) minutes

Posted: 30th of October 2020

Views: 155

Ubuntu

Open and edit files using Visual Studio Code from FIlezilla FTP Client on Linux

Posted: 27th of October 2020

Views: 292

Ubuntu

Download Microsoft Edge preview version for Ubuntu and Ubuntu based distributions

Posted: 22nd of October 2020

Views: 206

Ubuntu

Create a really simple banner using GIMP (GNU Image Manipulation Program) in Linux

Posted: 7th of August 2020

Views: 317

Ubuntu

Install the tree package to list folders and files in a tree like format inside the terminal on Linux

Posted: 22nd of July 2020

Views: 299

Ubuntu

Ubuntu 4.10, Warty Warthog. The first Ubuntu Linux Distribution

Posted: 6th of October 2019

Views: 1241

Ubuntu

Sim City 4 Deluxe Edition Install Wine Linux. Trouble installing from CD/Disk 2

Posted: 19th of May 2019

Views: 1427