Tux

...making Linux just a little more fun!

Disabling Gnome application sounds in KDE4

Suramya Tomar [security at suramya.com]


Sun, 25 Oct 2009 01:39:59 +0530

Hey,

I recently installed Ubuntu 9.04 on my system and then installed KDE 4.2.2 on the system using apt-get.

I don't like any system sounds (beeps when opening windows/ on popups etc etc) so I went to the KDE control panel and disabled all the system sounds over there. In KDE 3.5 this used to disable all sounds in Gnome applications as well but in 4.2.2 this doesn't seem to be the case.

So I ran the gnome Control panel and disabled all system sounds over there. Now the problem is that this setting doesn't seem to be saved. Thus when I restart the system all the system sounds on gnome apps (Nautilus/Firefox/gedit/X-Chat etc) are back.

So how do I set it so that the sounds are disabled and stay that way over reboots?

Also the same issue is there with the fonts in the Gnome applications. The fonts in gnome applications (Size mainly) doesn't match the ones in KDE applications. I have to change them using the Gnome control panel and the changes don't stay saved.

Any idea's/Suggestions? I did try searching for solutions but none of the solutions suggested by google worked.

Let me know if you need any additional details.

- Suramya

-- 
-------------------------------------------------
Name : Suramya Tomar
Homepage URL: http://www.suramya.com
-------------------------------------------------
************************************************************


Top    Back


Anderson Silva [afsilva at gmail.com]


Sat, 24 Oct 2009 16:49:17 -0400

On Sat, Oct 24, 2009 at 4:09 PM, Suramya Tomar <security@suramya.com> wrote:

> Hey,
>
> I recently installed Ubuntu 9.04 on my system and then installed KDE 4.2.2
> on the system using apt-get.
>
> I don't like any system sounds (beeps when opening windows/ on popups etc
> etc) so I went to the KDE control panel and disabled all the system sounds
> over there. In KDE 3.5 this used to disable all sounds in Gnome applications
> as well but in 4.2.2 this doesn't seem to be the case.
>
> So I ran the gnome Control panel and disabled all system sounds over there.
> Now the problem is that this setting doesn't seem to be saved. Thus when I
> restart the system all the system sounds on gnome apps
> (Nautilus/Firefox/gedit/X-Chat etc) are back.
>
> So how do I set it so that the sounds are disabled and stay that way over
> reboots?
>
> Also the same issue is there with the fonts in the Gnome applications. The
> fonts in gnome applications (Size mainly) doesn't match the ones in KDE
> applications. I have to change them using the Gnome control panel and the
> changes don't stay saved.
>
> Any idea's/Suggestions? I did try searching for solutions but none of the
> solutions suggested by google worked.

Try this:

The "Enable system sounds" for Gnome2 is stored in ~/.gconf/desktop/gnome/sound/%gconf.xml. You can change the "event_sounds" from true to false to disable if need be. Source: http://www.linuxquestions.org/questions/[...]nome-sound-lockup-cant-log-into-x-66713/

I did verify at least on Fedora 11, and the file does exist on my system, and is set to true.

AS

-- 
http://www.the-silvas.com


Top    Back


Suramya Tomar [security at suramya.com]


Sun, 25 Oct 2009 06:13:16 +0530

Hi Anderson,

> The "Enable system sounds" for Gnome2 is stored in
> ~/.gconf/desktop/gnome/sound/%gconf.xml. You can change the
> "event_sounds" from true to false to disable if need be. Source:
> http://www.linuxquestions.org/questions/[...]nome-sound-lockup-cant-log-into-x-66713/
> 
> I did verify at least on Fedora 11, and the file does exist on my
> system, and is set to true.

I took a look at the file and event_sounds is set to false on my system and this is what the file looks like:

<?xml version="1.0"?>
<gconf>
         <entry name="event_sounds" mtime="1256114050" type="bool" 
value="false"/>
         <entry name="default_mixer_device" mtime="1256114045" 
type="string">
 
<stringvalue>pulsemixer:alsa_input.pci_10de_3f0_sound_card_0_alsa_capture_0</stringvalue>
         </entry>
</gconf>

If I open the gnome control panel and check then uncheck the System Sounds checkbox the sound gets disabled for that session. (Till I reboot)

- Suramya

-- 
-------------------------------------------------
Name : Suramya Tomar
Homepage URL: http://www.suramya.com
-------------------------------------------------
************************************************************


Top    Back


Thomas Adam [thomas.adam22 at gmail.com]


Sun, 25 Oct 2009 01:54:17 +0100

2009/10/25 Suramya Tomar <security@suramya.com>:

> If I open the gnome control panel and check then uncheck the System Sounds
> checkbox the sound gets disabled for that session. (Till I reboot)

So dbus is doing something odd -- have you checked gconf-editor?

-- Thomas Adam


Top    Back


Anderson Silva [afsilva at gmail.com]


Sat, 24 Oct 2009 21:00:30 -0400

On Sat, Oct 24, 2009 at 8:54 PM, Thomas Adam <thomas.adam22@gmail.com> wrote:

> 2009/10/25 Suramya Tomar <security@suramya.com>:
>
>> If I open the gnome control panel and check then uncheck the System Sounds
>> checkbox the sound gets disabled for that session. (Till I reboot)
>
> So dbus is doing something odd -- have you checked gconf-editor?

Check out the last post on this link: http://ubuntuforums.org/showthread.php?t=1262052

AS

-- 
http://www.the-silvas.com


Top    Back


Suramya Tomar [security at suramya.com]


Mon, 26 Oct 2009 16:29:20 +0530

Hi Anderson,

> Check out the last post on this link:
> http://ubuntuforums.org/showthread.php?t=1262052
> 
> AS

That fixed the sound issue. Thanks a lot for the help.

- Suramya

-- 
-------------------------------------------------
Name : Suramya Tomar
Homepage URL: http://www.suramya.com
-------------------------------------------------
 
                                                          
Disclaimer:
Any errors in spelling, tact, or fact are transmission errors.


Top    Back