Category: Ubuntu

Added: 11th of November 2020

Viewed: 3752 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

How do I upgrade a single package in Ubuntu and Ubuntu based distributions

Posted: 12th of September 2021

Views: 248

Ubuntu

Create a multiboot USB for your .iso images, using Ventoy on Linux

Posted: 25th of August 2021

Views: 340

Ubuntu

How to find out what date you installed Linux on your machine

Posted: 13th of April 2021

Views: 476

Ubuntu

Install bashtop in Ubuntu and Ubuntu based distributions. Monitor your cpu, memory, disks, network and other processes

Posted: 21st of February 2021

Views: 587

Ubuntu

Ubuntu 20.10 Groovy Gorilla installation error, installer crashed

Posted: 3rd of February 2021

Views: 972

Ubuntu

Find out what version of Ubuntu you are running, using the terminal

Posted: 29th of January 2021

Views: 483

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: 1078

Ubuntu

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

Posted: 11th of November 2020

Views: 3752

Ubuntu

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

Posted: 9th of November 2020

Views: 585

Ubuntu

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

Posted: 30th of October 2020

Views: 671