Im trying to add this commandTo a shutdown and reboot sequences, I tried a few things but it didn't really work. Anyone know how to?Code:aumix -S
Im trying to add this commandTo a shutdown and reboot sequences, I tried a few things but it didn't really work. Anyone know how to?Code:aumix -S
Greetings jvfc678,
As one suggestion, read up on /etc/rc.local. Then ..
you can probably add aumix setting just before exit 0 to the /etc/rc.local
you already have.
First, cp /etc/rc.local /etc/rc.local.orig , in case you need it sometime later,
then use sudo laumeafpad /etc/rc.local to do the editing,
and save the edited /etc/rc.local, of course.
You may probably also edit .aumixrc directly.
See man aumix.
Last edited by utu; 10-19-2014 at 03:07 PM.
There is a simpler way.
Call up aumix from the Main Menu;
Make a few changes (or not) using the GUI;
Save.
This automatically creates & saves .aumixrc.
Otherwise, there is no .aumixrc unless this has been done.
I actually tried the gui approach but... It didn't work it dosent load the sound volume, i think theres somthing wrong with my .aumixrc file when i have time i take a look at this thanks everyone. Also i liked the Reply where utu said about the rc.local thing thank you man. But you guys did understand where im going with this right? Im trying to save the sound volume everytime i reboot or shutdown the computer
If you did a save with the gui, and if your persistence is working,
Then that approach should work ok.
For the /etc/rc.local approach, FWIW, Here's the tail end of my /etc/rc.local:
Code:amixer sset 'PCM' 100%; amixer sset 'Speaker' 100%; amixer sset 'Master' 80% # Leave with "OK" status exit 0
Isnt that just setting the volume to 100%? Thats not what i want. The things is: lets say i set the volume to 36, then i turn off my computer, next time i turn it back on I want it to be the same volume. Not having to go to aumix and clicking save
But thanks for the replies utu, it really helped me to find the file i wanted![]()
Do you have a persistence file?
Is it working?
i actually installed it on my pen-drive(no persistence i really installed it) and it saves my files and changes on exit
.
Greetings again, jvfc678.
It's not clear to me what you have for a system.
From another thread it seems you didn't set up via a flash-knoppix approach,
and beyond that it's not clear just how you set up Knoppix.
Whatever your system is, it does appear NOT to save changed audio settings.
This is hard to understand if indeed other changes are saved.
I think the experts (I'm not one) might start with asking you to tell us
what you get with the command
so the main elements of your install become apparent.Code:df -kTh
If your 'install' is one like a poor-man's install, these begin with a
wholesale resurrection of the LiveDVD image, which will overwrite anything
in its memory space. It takes a persistence file to re-create any changes
in this instance. This case would behave exactly the same as operating with
a LivedVD; that is, no changes get saved (or they are wiped out on re-boot).
My system is a LiveUSB on an SDHC card, set up with reiserfs persistence
using flash Knoppix. I don't have your problem. I can't help thinking you
might find it easier just to go back and make a flash-knoppix LiveUSB with
persistence rather than try to get to the bottom of the current symptoms you describe.
CISCO MERAKI MS120-24P-HW 24-PORT GIGABIT CLOUD MANAGED PoE SWITCH - UNCLAIMED
$98.55
TP-Link 24-Port Gigabit Ethernet Unmanaged Switch Desktop/Rackmount TL-SG1024D
$69.99
Dell X1018 X-Series Smart Managed Switches 16-Port Gigabit 2-Port SFP Switch
$42.00
Loocam Gigabit PoE Switch 8 Port 96W 2 Uplink Port Unmanaged Ethernet Switch
$49.99
Dell X1026P E11W 24-Port PoE Smart Managed Gigabit Ethernet Switch 2X SFP
$25.00
NETGEAR GS108 ProSafe 8-Port GbE Unmanaged Switch w/ Power Adapter
$14.99
Dell X1052P Series 52-Port Gigabit Rack Mountable Managed Network Switch
$30.00
New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub
$11.49
Cisco SG300-52 52-Port Gigabit Managed Switch *Tested For Power & Factory Reset*
$69.99
Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED
$99.97