![]() |
Error message when launching volume control - no volume
I'm on Mandriva 2007.0 ('2007 Free'). There are several user accounts, and on one of them we get no sound. When I open the volume control, I get an error message (in French), here it is:
Quote:
Quote:
Quote:
The sound works fine on other user accounts. Any idea why I'm getting these messages and why there is no sound on the one user account? Many thanks. |
I'm guessing something went wrong with that user's config file. Maybe the rights were reset or something like that?
those personal config files are usually located in /home/{username}/.{program_name} . this is a hidden directory, you can list them with Code:
ls -al ~/.*If you find something that looks relevant you could try to remove it, and probably a new configuration will be made automatically next time you log on. Actually, best to move it to a backup location. Something like this: Code:
mv ~/.gnome ~/.gnomebackupEDIT: Please be aware that that last command will remove ALL of the user's gnome settings. you will have a backup though. Another thing you can check is the gnome-command-center. Type this in or find the corresponding icon in your gnome menu. |
I'm not using GNOME, I'm using KDE, which is the default in Mandriva.
Here's what's in my home directory (and the .kde directory at the end): Code:
[linux@localhost ~]$ ls -aAh! Strange... I just realized that the error message I get talks about the GNOME sound manager and not the KDE one! Why might that be? When I try and launch AuMix, it tries and then times out. I get no sound whatsoever. I've tried with other links and programs like VLC... |
It's a long time ago that I used Mandriva (Mandrake at the time), so I don't really know how it's set up. You do have a .gnome2 directory in your home directory though, so I suspect it's possible they use gnome parts for their sound. I think there should be a file ~/.gnome2/gnome-volume-control. Maybe you could try to copy one from another user (overwriting the one you have). Just make sure that you reset the rights for the copied file. ("chmod 770 ~/.gnome2/gnome-volume-control" should work).
If that doesn't work, you could still try you deleting (moving) the whole directory. Now that I think about it; you could check Code:
ls -al ~/.gnome2 |
Here's the contents of my /home/linux/.gnome2/gnome-volume-control file:
Code:
[Placement]Code:
[root@localhost linux]# cd /home/linuxCode:
; gnome-volume-control GtkAccelMap rc-file -*- scheme -*- |
In the event the cart has been put before the horse, it may help to check some basic things. You say you are using the KDE desktop. It may help to confirm that sound is enabled in KDE:
Open the KDE Control Center (System > Configuration > Control Center in the Mandriva menu system). Navigate to Sound and Multimedia > Sound System in the Category tree (left). Enable the Sound System should have a check mark in the check box (top). Other settings are optional. In the Skip Prevention section, Run with the highest possible priority (realtime priority) is enabled on my system as is Auto-Suspend if idle (set to 60 seconds). In the Hardware tab, Select the audio device is set to auto-detect Another thing you may want to try is to run the KDE volume control (Multimedia > Sound > Kmix in the menu system). If either the pcm or master volume are set to zero, you will hear no sound. When you start Kmix, you may get a speaker icon in kickker near the system clock. If you do, when you click on the speaker, you should get a simple volume control with a Mixer button. Clicking the Mixer button opens the KDE sound mixer applet. I am not sure if any of this will prove useful, but it will not hurt to check. HTH, |
Thank you so much ernie! Not everything is fixed, but I was able to get sound, and that's the important thing.
It was simply ticking the 'Enable the Sound System' button that made everything work. However, I still have a problem, I cannot control the volume level of the computer and I still get the same error messages posted in Post #1. It's not a problem when I'm using VLC or RealPlayer because I can adjust the volume using their interfaces, however, when the computer makes sounds (that accompany error messages or what have you...) I cannot control the volume, which seems to be at maximum level and quite distorted. I tried "urpmi gnome-volume-manager," but all I get is "packages already installed"... My kernel is acting strangely too. When I boot, it asks me whether I want to use 'default' or 'default.backup' configuration files and when in verbose mode (during boot, in French), none of the accents work and I get strange series of characters... That in itself is not a problem, however it isn't very reassuring either. Not only would I like to get everything working, however, 'form' is important to me too. I'm trying to learn good system administration practices... Do you or does anybody else have any ideas on how I could fix all of this up? Thanks for the solution to the volume problem. By the way, was there a way of activating the sound by modifying some code in a configuration file? If so, do you know where that file might be? Many thanks once again. |
Quote:
You can control the system sound with the KDE volume control (Multimedia > Sound > Kmix in the menu system). Kmix may put an icon near the system clock. To get the volume control click the icon. Then you can adjust the main volume level. Click the Mixer button in the volume control to access the KDE sound mixer. To configure all aspects of the system sounds: Open the KDE Control Center (System > Configuration > Control Center in the Mandriva menu system). Navigate to Sound and Multimedia > System Notifications in the Category tree (left). I am using KDE 3.5.7 from sos, so my set up may vary from yours, but I have a Player Settings button (bottom right). Click it to set the system sounds volume. Most of KDE can be configured from the Control Center. Take a little time to look around and become familiar with what is there. If you become familiar with KCC (the KDE Control Center) and MCC (the Mandriva Control Center aka Configure your computer), you will have access to most (if not all) of your systems configuration. I think one of the greatest things about Linux is that the configuration is not hidden from you. There are no intentionally undocumented features or secrets. Open Source Software is about freedom unlike proprietary software. Enjoy your use of Mandriva, and welcome aboard. If there is any thing else I can help with, I will be happy to try. HTH, |
Many thanks for the prompt reply ernie...
Yeah, I'd forgotten to mention that I had already tried the kmix thing. Strangely enough, I tried it again just now and it worked this time round!! I have had a look at all of the system menus and windows and I must admit, Mandriva is pretty d*mn user friendly! I'd recommend it to people who aren't really into computers but would like to try an alternative OS... - definitely - however, I'm also very interested in configuration files and learning more about commands, scripts, etc... and that's why I'd asked all of those questions. I was able to set the default volume to 50%, thanks for that piece of info too! I still don't understand why I'm getting those error messages when trying to use the volume control and volume monitor. Oh well! Many thanks for your good, simple advice! |
Quote:
Specifically what are the errors you get? If you post the errors, maybe we can work out why you get them. The majority of your system configuration files reside in the /etc directory or one of its sub-directories. On my system there is a file named /etc/asound.state that appears to store the various volume settings here. It may not be the same on your system, but perhaps it will provide a starting place. HTH, |
| All times are GMT -5. The time now is 08:13 AM. |