DebianThis forum is for the discussion of Debian Linux.
Notices
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.
I use sqeeze and a little bit of sid. I also use evolution and gnome. I was going through different preferences and I found that if you go to "System->Preferences->Sound" there is a tab that has options for different alerts and sound effects that you can have your system play when certain actions take place. I want to make it so that a sound plays whenever I receive a new email, BUT on my system everything in this tab of the "Sounds Preferences" dialog box is grayed out. I cannot figure out how to get those options un-grayed.
I can clearly see (in the grayed out material) that there is an option for getting notification when mail is received. How do I do this?
When I click the "help" button on the dialog I get a help window that tells me, among other things, that:
Quote:
You must select the Enable sound server startup option, and the Sounds for events option before you can access the Sound Events tabbed section.
How do I do that? They also mention a "General" tab, which I cannot even find. The only tabs I have are "Devices" and "Sounds". Has anyone else had this experience or anything like it? Thanks.
*Select "Enable sound server startup" of the control board "Sound Preference" of Gnome. Applications ––> Systeme ––> Configuration ––> Gnome ––> Sound Preference
Unfortunately this didn't work, especially the part later in the post where it says "Applications ––> Systeme ––> Configuration ––> Gnome ––> Sound Preference". This just doesn't seem to exist on my system.
I googled a little and found someone tried to use gconf to change the keys directly. I went to the key at "/apps/evolution/eplugin/mail-notification" and entered a value in the spot marked "sound-file". I used "/usr/share/sounds/email.wav" but no sound played when I received an email. I find navigating around gconf to be difficult and so I might have missed something. Maybe my sound setup has the volume too low or something dumb like that. I'll try more stuff and post back later, but if anybody has any more suggestions I'd be pleased to hear them. Thanks anyway farslayer.
The only difference is that on my computer, under "Sound Theme", where it should say "default", there is nothing. Also, as I said before, the entire contents of that tab (the "Sounds" tab) is grayed out. This leads me to believe I don't have a sound theme installed, but I do have installed the packages gnome-audio and esound, and unfortunately I can't see any packages in the debian archives that have in them sound themes. I'm sort of stuck. If anyone has any ideas I'd love to hear them.
I got it to work. I installed pulseaudio-esound-compat, as I use pulseaudio (I guess I didn't even know) and restarted and it worked. The sound plays that I specified in gconf. The "Sounds" tab of "System->Preferences->Sound" is still grayed out.
It's testing, and I'm not sure that it's part of the "official" testing at all. I may have installed pulseaudio somewhere along the way for some reason or another that I cannot remember.
I revisited this thing with the sounds because I wanted to remove pulseaudio and have it still work. I removed all pulseaudio packages and the email notification sounds stopped. I was back where I started, so I googled more and found this on a Ubuntu launchpad site:
Quote:
Gnome 2.24 uses a different framework for playing sound events called libcanberra. Libcanberra will not play any sound themes unless it can find the freedesktop sound theme to fall back on, in the event that a sound for a particular event cannot be found.
Ubuntu currently doesn't have this theme in a stand-alone package in the archive. It has been packaged for Debian, however it has been rejected for licensing reasons.
This explains why the "sounds" tab on the gnome-sound-properties dialog box is greyed out. Reading further, someone explains how to get the sounds to work using a 'freedesktop.org' theme. First download the file from here:
extract to /usr/share/sounds and then could get some of the sounds working.
I tried this and it worked for me. Now my sound notification works under alsa, and the "sounds" tab is no longer grayed out. This is the page that has all the original info on it:
EDIT: I'm wrong again. In fact installing those files un-grays the "sounds" dialog, but it doesn't make the sounds audible. I'm gonna have to do more messing with these sounds.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.