On Wed, 2002-07-10 at 22:54, Stephen Gran wrote: > > On Tue, Jul 09, 2002 at 08:34:21PM -0400, Stephen Gran wrote: > > > Hello all, > > > I've encountered an error when trying to run gnome-volume-control. I > > > get an error window that says: > > > > > > An error occurred while loading or saving configuration information for > > > gnome-volume-control. Some of your configuration settings may not work > > > properly. > > > > > > Clicking on 'details', I get: > > > > > > Bad key or directory name: > > > "/apps/gnome-volume-control/OSS-Crystal_audio_controller_(CS423-1/vol": `(' is an invalid character in key/directory names > > > Bad key or directory name: > > > "/apps/gnome-volume-control/OSS-Crystal_audio_controller_(CS423-1/pcm": `(' is an invalid character in key/directory names > > > Bad key or directory name: > > > "/apps/gnome-volume-control/OSS-Crystal_audio_controller_(CS423-1/speaker": `(' is an invalid character in key/directory names > > > Bad key or directory name: > > > "/apps/gnome-volume-control/OSS-Crystal_audio_controller_(CS423-1/mic": `(' is an invalid character in key/directory names > > > Bad key or directory name: > > > "/apps/gnome-volume-control/OSS-Crystal_audio_controller_(CS423-1/mix": `(' is an invalid character in key/directory names > > > Bad key or directory name: > > > "/apps/gnome-volume-control/OSS-Crystal_audio_controller_(CS423-1/igain": `(' is an invalid character in key/directory names > > > Bad key or directory name: > > > "/apps/gnome-volume-control/OSS-Crystal_audio_controller_(CS423-1/line1": `(' is an invalid character in key/directory names > > > Bad key or directory name: > > > "/apps/gnome-volume-control/OSS-Crystal_audio_controller_(CS423-1/line2": `(' is an invalid character in key/directory names > > > Bad key or directory name: > > > "/apps/gnome-volume-control/OSS-Crystal_audio_controller_(CS423-1/line3": `(' is an invalid character in key/directory names > > > > > > grep -ri CS4232-1 .* gives me no results (meaning I can't find a user > > > configuration file that has this erroneous setting. I have no audio > > > from GNOME itself, although other apps use ESD and OSS just fine. I'm > > > assuming this is a remnant from GNOME1, but I have no idea where to > > > look. > > This one time, at band camp, Ryan Lovett said: > > The /apps/gnome-volume-control/... notation looks like a gconf key. E.g. in > > /etc/gconf/schemas/gnome-volume-control-schemas there are: > > > > /schemas/apps/gnome-volume-control/init-on-start > > /schemas/apps/gnome-volume-control/show-icons > > ... > > > > Also > > spacecoaster:~/.gconf/apps> find gnome-volume-control/ > > gnome-volume-control/ > > gnome-volume-control/%gconf.xml > > gnome-volume-control/OSS-mixer00-1 > > gnome-volume-control/OSS-mixer00-1/%gconf.xml > > gnome-volume-control/OSS-mixer00-1/vol > > gnome-volume-control/OSS-mixer00-1/vol/%gconf.xml > > gnome-volume-control/OSS-mixer00-1/pcm > > gnome-volume-control/OSS-mixer00-1/pcm/%gconf.xml > > gnome-volume-control/OSS-mixer00-1/speaker > > gnome-volume-control/OSS-mixer00-1/speaker/%gconf.xml > > gnome-volume-control/OSS-mixer00-1/line > > gnome-volume-control/OSS-mixer00-1/line/%gconf.xml > > gnome-volume-control/OSS-mixer00-1/mic > > gnome-volume-control/OSS-mixer00-1/mic/%gconf.xml > > gnome-volume-control/OSS-mixer00-1/cd > > gnome-volume-control/OSS-mixer00-1/cd/%gconf.xml > > gnome-volume-control/OSS-mixer00-1/igain > > gnome-volume-control/OSS-mixer00-1/igain/%gconf.xml > > gnome-volume-control/OSS-mixer00-1/line1 > > gnome-volume-control/OSS-mixer00-1/line1/%gconf.xml > > gnome-volume-control/OSS-mixer00-1/phin > > gnome-volume-control/OSS-mixer00-1/phin/%gconf.xml > > gnome-volume-control/OSS-mixer00-1/video > > gnome-volume-control/OSS-mixer00-1/video/%gconf.xml > > Unfortunately, > steve:~/.gconf/apps$ find gnome-volume-control > find: gnome-volume-control: No such file or directory > > I agree that it looks like a gconf key, but I can't find where it might > be to edit it. > > /etc/gconf/gconf.xml.defaults/apps/gnome-volume-control > /etc/gconf/gconf.xml.defaults/apps/gnome-volume-control/%gconf.xml > /etc/gconf/gconf.xml.defaults/schemas/apps/gnome-volume-control > /etc/gconf/gconf.xml.defaults/schemas/apps/gnome-volume-control/%gconf.xml > /etc/gconf/schemas/gnome-volume-control.schemas > /home/steve/.gnome2/gnome-volume-control > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > This is where I would expect it, but there's nothing under it. It's > just a file with dockbar positions. The file in /etc/ all say > init-on-start, etc. but I have nothing that mentions the actual sound > card. Everything after this is /usr/share & /usr/bin, so I'm snipping > the list. Huh, dudes, I can't believe you haven't figured it out. The volume control is trying to save its volume in the gconf key. Problem is that the gconf key contains invalid characters because it's generated part from fixed ("/apps/gnome-volume-control/"), and part from variable ("...OSS..."). The variable part (from what I can see) is generated from the name of the soundcard which contains a parenthesis. File a bug against gnome-volume-control saying it doesn't parse the sound card name correctly, Iain should be able to fix it. Cheers -- /Bastien Nocera http://hadess.net
Attachment:
signature.asc
Description: This is a digitally signed message part