Alsamixer wont save settings anymore

Hello everyone.

I love CachyOS , but after a recent update, there is one bug that is driving me a bit crazy: Alsamixer forgets its settings after every reboot. This problem affects the playback on all my devices. My main card is a Creative AE5.
I have already tried the usual remedies that one finds on the web such as

sudo alsactl store

or placing a startup script in the ~/.config/autostart/restore-aufio.sh containing:
alsactl --file ~/.config/asound.state restore

Here the content of the startup script:
sleep 3
alsactl --file ~/.config/asound.state restore Creative 2>/dev/null

If I manually execute the script, it will restore the audio just fine. However not on startup.

All the script does is re-enable my front Audio output. That’s it. Seriously.

Do you happen to have any idea.

Thanks in advance.

Cheers

maybe because only .desktop files is starting from that directory?
Try this desktop file:
restore-audio.desktop (for KDE Plasma - Wayland)

[Desktop Entry]
Type=Application
Name=Restore front audio output of Creative AE5
Exec=sh -c '$HOME/.config/autostart/restore-audio.sh'
Terminal=false
OnlyShowIn=KDE;
X-KDE-Autostart-after=panel
X-KDE-StartupNotify=false

PS: I personally would move script to ~/.bin/

Thank you, I will try and report back.