tactical vim

nerdy bits & pieces

disable PulseAudio and sound in GDM (GNOME login) on Fedora 12

with one comment

This builds upon my previous post about disabling PulseAudio in your login in Fedora 12, it is recommended that you read that article first to understand in depth what’s going on in a general sense. GDM in Fedora 12 is built to run PulseAudio (hereafter “PA”) which causes popping on my system, and more importantly makes noise in certain situations that I don’t want; for instance if you backspace over a typed password to the beginning it dongs at you. You cannot uninstall PA, you have to just disable it.

FIRST, using a little knowledge from a previous post about Ubuntu 9.10 Karmic having the same annoyance (sound in GDM) we’ll perform some similar steps. Install gconf-editor if you have not already, and run it as root:

$ su -
# yum install gconf-editor
# gconf-editor &

Inside the tool, navigate to the same key as the Ubuntu post:


…untick the active key in order to disable the sound and exit the editor; this places a config file in the /root/ directory which I’m not entirely sure is needed, but can’t hurt. Now run the below command to place the exact same entry into your systemwide /etc/ configs:

# gconftool-2 –direct –config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory –type Boolean –set /apps/gdm/simple-greeter/settings-manager-plugins/sound/active False

That’s one big long line in case it’s cut off in the blog; it basically just writes the same setting to a file, nothing more. For the curious that is exactly /etc/gconf/gconf.xml.mandatory/apps/gdm/simple-greeter/settings-manager-plugins/sound/%gconf.xml – feel free to poke around.

NEXT, we disable PA from autospawning in the exact same way we did for the user login, GDM runs as a user ‘gdm’ group ‘gdm’ and has a home directory of /var/lib/gdm/ on your system. You’ll need to become root to add the file, then change owership to gdm:gdm when done:

$ su -
# vi /var/lib/gdm/.pulse/client.conf

  autospawn = no
  daemon-binary = /bin/true

# chown gdm:gdm /var/lib/gdm/.pulse/client.conf

…and presto, all sound is gone and PA never fires up for GDM; it seems on my system to also be faster now to load GDM during a log out/log in and initial startup session but I don’t have concrete evidence of that… yet. Once again, you may need to fully reboot depending on your particular machine’s setup.

About these ads

Written by troyengel

2009-12-13 at 11:54

One Response

Subscribe to comments with RSS.

  1. Thanks for the article Troy. Fixed my sound in Fedora 13 (between this and https://tacticalvim.wordpress.com/2009/12/13/disable-the-pulseaudio-sound-system-in-your-fedora-12-login/, but since I don’t require bluetooth, I just completely removed pulseaudio. Why bluetooth is a dependency baffles me).

    In addition to the steps you have listed, I also found it useful to remove the pulseaudio settings in /etc/asound.rc. Now when I load alsamixer, I’m taken to my sound card configuration and don’t receive a pulseaudio unable to connect error.


    2010-10-01 at 22:11

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 65 other followers

%d bloggers like this: