You are not logged in.
Sound output device always changed to the one not "default" after reboot?
Is there another way to let xfce always choose the output device I selected as default?
as you can see, I've set the HDMI Audio as default, boot after reboot the sound goes to the usb3.0 dual video dock instead
OS: Artix Linux x86_64 with dinit
DE: Xfce4 4.18
WM: Xfwm4 (X11)
64GB RAM running with a rescued broken Ryzen 5800X (half memory channel)
Offline
What does the following return?
pactl list sinks | grep Name
Assuming you can see the HDMI sink listed, you should be able to make it default via:
pactl set-default-sink SINK_NAME
...where SINK_NAME is the appropriate output from the command above.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Hi,
Thanks for the tip, let me try:
pactl list sinks | grep Name
Name: alsa_output.usb-DisplayLink_USB3.0_Dual_Video_Dock_000800110041907-02.analog-stereo
Name: alsa_output.pci-0000_08_00.1.hdmi-stereo-extra3
Name: alsa_output.pci-0000_0a_00.4.iec958-stereo
pactl set-default-sink alsa_output.pci-0000_08_00.1.hdmi-stereo-extra3
rebooted computer and it still has the first one choosen as output:
Name: alsa_output.usb-DisplayLink_USB3.0_Dual_Video_Dock_000800110041907-02.analog-stereo
The fact that in volume control I've already choose hdmi as default but it doesn't work, this gives me feeling that maybe the 'set default' action gets done before the hdmi output populated to the system?
also I think even the set default click doesn't work, at the view of the end user, the sysytem should remember the choosen output device
Last edited by betw023 (2024-10-11 23:52:05)
64GB RAM running with a rescued broken Ryzen 5800X (half memory channel)
Offline
Create an autostart entry that runs the following command:
bash -c "sleep 10 && pactl set-default-sink alsa_output.pci-0000_08_00.1.hdmi-stereo-extra3"
This will execute on login, wait 10 seconds then set the default sink.
There might also be a way to edit a configuration file. Are you using pulseaudio or pipewire?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
[ Generated in 0.009 seconds, 8 queries executed - Memory usage: 535.5 KiB (Peak: 536.34 KiB) ]