Elim Jorge
(usa Ubuntu)
Enviado em 30/04/2017 - 17:04h
Levenci,
Boa tarde!
A solução para o seu problema está nesse endereço:
https://forums.linuxmint.com/viewtopic.php?t=193921
Também tinha esse problema ( usando o Mint ) e acabei de resolver usando essa solução. Para mim deu certo, espero que dê para você também.
###################################################################
$ mkdir ~/.config/alsa
$ sudo gedit /etc/init.d/alsa-store
###################################################################
#!/bin/sh
### BEGIN INIT INFO
# Provides: alsa-store
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Store Alsa settings
# Description: The purpose of this script is to stores the last Alsa volume
#settings to a file in the home directory at shutdown time.
### END INIT INFO
alsactl store -f /home/<your_username>/.config/alsa/asound.state
###################################################################
sudo update-rc.d alsa-store defaults
###################################################################
mkdir ~/scripts
###################################################################
gedit ~/scripts/alsa-restore.sh
###################################################################
#! /bin/sh
#Start PulseAudio daemon:
pulseaudio -D
#Restore ALSA volume settings:
alsactl restore -f /home/<your_username>/.config/alsa/asound.state
###################################################################
chmod +x ~/scripts/alsa-restore.sh
###################################################################
Settings → Session and Startup. In the Application Autostart tab click on the add button and enter a new name, say alsa-volume-restore,n
Menu => Configurações => Seção de Inicialização => add
sh /home/<user_name>/scripts/alsa-restore.sh
###################################################################
Observações:
<user_name> => levenci
<your_username> => levenci
Boa Sorte!