thinkpadfreak wrote: Mon Feb 13, 2023 3:16 am
Hello.
1. The volume of sound is not saved. /etc/asound.state is not updated when the OS shuts down. It does not seem that the setting of alsa is restored when the OS boots.
---
@thinkpadfreak
Pulseaudio is relatively new for Puppy Linux and the setup options are primarily by command line (no GUI).
To set your audio output device and hopefully retain those settings after rebooting, you could try the following:
1 - To test the following, first disable any ALSA control scripts you may have created.
2 - Right-click the tray volume control applet and select Preferences -> Output Devices
3 - Select your preferred audio output device and click the 'Set as fallback' icon to set this as your default (and preferred) output device
4 - Enter the following in a terminal:
Code: Select all
pactl info | grep -i 'default sink'
For my system, this returns the following:
Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
5 - To save your preferred (default) audio output device, add the 'sink name' directive to /root/.config/pulse/default.pa. This file does not exist in F96, so you must create it and add the appropriate 'include' call to the system-wide pulseaudio config file: /etc/pulse/default.pa (note the period symbol preceding the 'include' statement in the example below).
6 - To save your preferred audio volume for the selected output device (for example, 70% of maximum), you could add the 'sink volume' directive to /root/.config/pulse/default.pa.
For my system, /root/.config/pulse/default.pa would be something like this:
Code: Select all
.include /etc/pulse/default.pa
pactl set-default-sink alsa_output.pci-0000_00_1b.0.analog-stereo
pactl set-sink-volume 0 70%
7 - Reboot