Tiny Core Extensions > TCE Q&A Forum

Retaining alsamixer settings between boots

<< < (5/6) > >>

neonix:
Could you set, that in fresh installation Master vol will be on 75% by default?

The idea is that I don't have to run alsamixer every time I boot TCL. I don't want to use asound.state.

Rich:
Hi neonix
These are the instructions from alsa.tcz.info:

--- Code: ---                ----------
If you want your alsa settings to persist across reboots, use the
command "sudo alsactl store" after alsa has been set up and
                add /usr/local/etc/alsa/asound.state to your backup
                if alsa is loaded onboot you may need "sudo alsactl restore"
                ----------
--- End code ---
Similar instructions have been posted on this forum.

I doubt the extension will be customized to meet your needs
just so you don't have to follow the recommended instructions.

neonix:
Then could you put "xterm alsamixer" to menu list?  (alsa.tcz)
That I don't  have to type alsamixer eveytime I boot puter.

Rich:
Hi neonix

--- Quote from: neonix on January 16, 2025, 07:24:50 PM ---Then could you put "xterm alsamixer" to menu list? ...
--- End quote ---
No, but you can.

Download the attachment, then:

--- Code: ---tce-load -wil squashfs-tools
mkdir -p pkg/usr/local/share/applications
cp alsamixer.desktop pkg/usr/local/share/applications
mksquashfs pkg alsamixer.tcz
cp alsamixer.tcz /etc/sysconfig/tcedir/optional
tce-load -i alsamixer
--- End code ---

neonix:
And then, could you put alsamixer.tcz (alsamixer-set.tcz) to the repo?

It will contains:
unmute Master
75% Master vol
xterm alsamixer

Automatisation can save my precious time, especially if I have many computers with TCL installed.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version