Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hello.....This is another small issue that I'd like to get resolved with the help of u all guys...
Whenever I log-in to linux as root or a normal user, the volume control settings go back to the default system settings...
I tried to save my new volume settings, but on the next login, it again reverts back to the original system settings. I also tried and running aumix and kmix from the console and saving settings from there, but it dosent help either..
How do i save my own settings? I have RH 9 with GNOME...
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
You could try adding the Kmix applet to the taskbar so you can change the volume just by clicking on the Kmix taskbar icon. I'm not sure but once you have the Kmix applet on your taskbar you may be able to right-click it and open up the properties for Kmix that should have an option of loading current settings at startup.
I have the applet on my panel.....but the problem is that once i reboot, my own settings are not saved. This happens only in GNOME and not KDE as far as I remember...although i can't say surely because I switched to GNOME as KDE was hell of a slow to load....
But one thing is confirmed, my own settings last only till the machine is up. Once I reboot, it reverts back to the default system settings....
Well, so far I havent got a proper solution for a small issue like this one.....I request the moderators to take a look at my question and provide me some solution in case none of my other forum friends are able to help....
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Hmmm, I used to have this problem before as well (I'm afraid that I've only just returned to these forums after a stint away with all things mac).
Basically it goes like this. Volume settings don't really get saved, or they never have for me. As far as I can tell this can be for one of several reasons (which I'm not entirely certain of so could be very wrong).
1.) Alsa usually has this problem since when it is initially loaded at boot time the volume is often down all the way. This has caught many a n00b out and still gets me.
2.) When sound drivers (either alsa or the built in ones [OSS]) are loaded as modules I think that the volumes may get reset when they are reloaded. I'm not certain on this since I try to have as few modules as possible and usually just live XMMS running so the modules are always in use.
Anyway, my way of fixing it is to use a small script in the boot sequence. Its not a perfect way to do things but hey. You'll need a program called aumix (which you may already have). Then place the following commands into a file in boot up scriptes (you'll have to look for help on this since I use slackware as my distro which does this differently from most other distros).
/usr/bin/aumix -v100 -w90
This sets the main volume to 100% and then the PCM volume to 90%. I actually haven't done this command in a while since I'm lazy and just manually use the mixer each time but it does work. Adjust the numbers to your liking. I just got looked all the settings up again on the net so you can too if you need it
I use Mandrake 9.1 and I've found that if I choose the default KDE the it's like you say, the sound defaults to mute the next time you log in, even if you change to gnome. But I find that if I reinstall Mandrake and choose Gnome as the default desktop environment so that it boots into Gnome the first time you log in, the sound is set to mute but if you change it it then remembers the new setting the next time you reboot. Good luck.
Ok Alex......Your suggestion has helped me...but only 50%......(although I didnt know that I would need to put 'aumix' in my startup script to get those volume settings to 100% level.....I have already used this script to load my sound modules and bttv modules previously though)
Lets see what ideas I can get from everyone out here....
I have the Yamaha OPL3 SA3 soundboard....and I use OSS drivers in XMMS....
However, the volume control in (both GNOME and KDE), has 2 tabs:
1. MS_SOUND_SYSTEM_CS4231 and
2. Yamaha OPL3 SA3
Now using your suggestion alex, I set the volume, synth, cd, speaker and line-in settings to maximum .....However this is the 1st tab , that is, MS_Sound_System......My Master Volume, bass and treble settings are in the other tab, that is, Yamaha OPL3 SA3 tab.....
Now I dont know how do I set their settings to 100% from command line?
Ok Alex, your suggestions have done the job for me....However, there's still a small issue....
Due to the volume setttings being initialized at boot time, 'kmix' is loaded at startup...However, a nagging kmix window pops up too.....Is there any way, I can stop that window from appearing on my desktopn and at the same time allow kmix to keep working in background?
Firstly, a big thanks to Alex for helping me get my issue resolved.
However, just for the benefit of those, who are quite new to Linux or those who aren't able to resolve the Volume issue....I'd like to restate the problem and the solution...
The Volume Settings in RH 9( GNOME ) are automatically reset to the defaults every time the system starts up.
1. I checked up my audio devices. Noticed that there are 2 tabs for sound boards namely -
which is /dev/mixer
(b) Yamaha OPL3 SA3 sound board
which is /dev/mixer1
2. I already have a script load_sound_tv_radio.sh that loads during system startup. It basically loads the bttv tv tuner and sound modules in memory at the time system starts up. This script is placed in /usr/local/bin.
The above script is called from the file /etc/rc.d/rc.local which is pasted below for reference....
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
#Executes the script that loads sound,tv, radio modules and sets the volume settings at startup
3. In this script, I also add lines that inititalize the new values for the Volume Settings...
Below is the complete script load_sound_tv_radio.sh for reference.
#Initialize the sound module
#Initialize the settings for Tv Tuner Modules
modprobe tuner type=5 debug=1
modprobe bttv card=2 radio=1 pll=1
#Initialize the default Volume settings for MS_SOUND_SYSTEM_CS4231
/usr/bin/aumix -d /dev/mixer -v100 -w100 -s100 -p100 -l100 -c100
#Initialize the Volume default settings for Yamaha OPL3 SA3 sound
/usr/bin/aumix -d /dev/mixer1 -v90 -b75 -t75
I hope this post will be of help to my friends at LQ. At the end, a big thanks to everyone who has taken the effort to solve this small but extremely vital issue.
umm, i have been fighting with this issue a bit, and i (gasp) opened teh helpfile on the gnome volume applet. it shows a "save settings" window in the volume preferences, but i don't have the screen they show, when i go to preferences its just which settings will be shown (ie: cd, pcm, etc)
im running slack 9.1, so its gnome 2.4, and totally clean. quite wierd, and i really wish i could get to that setting.