Jump to: navigation, search

Difference between revisions of "Pulseaudio"

Difference between revisions of "Pulseaudio"

(Created page with "== Make pulseaudio discover zeroconf devices for all users == <nowiki> $ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type string --set...")
 
Line 1: Line 1:
== Make pulseaudio discover zeroconf devices for all users ==
+
== Enable remote device discovery ==
 +
 
 +
<nowiki>
 +
$ aptitude install pulseaudio-module-zeroconf</nowiki>
 +
 
 +
After that, as a user, you can use the paprefs utility to enable remote device discovery.
 +
 
 +
== Make pulseaudio discover zeroconf devices for all users by default ==
  
 
  <nowiki>
 
  <nowiki>
Line 6: Line 13:
 
$ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type bool --set /system/pulseaudio/modules/zeroconf-discover/enabled true
 
$ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type bool --set /system/pulseaudio/modules/zeroconf-discover/enabled true
 
$ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type bool --set /system/pulseaudio/modules/zeroconf-discover/locked false</nowiki>
 
$ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type bool --set /system/pulseaudio/modules/zeroconf-discover/locked false</nowiki>
 +
 +
This eliminates the need for every user to enable this option in paprefs.

Revision as of 15:02, 10 October 2012

Enable remote device discovery

$ aptitude install pulseaudio-module-zeroconf

After that, as a user, you can use the paprefs utility to enable remote device discovery.

Make pulseaudio discover zeroconf devices for all users by default

$ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type string --set /system/pulseaudio/modules/zeroconf-discover/name0 module-zeroconf-discover
$ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type string --set /system/pulseaudio/modules/zeroconf-discover/args0 ""
$ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type bool --set /system/pulseaudio/modules/zeroconf-discover/enabled true
$ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type bool --set /system/pulseaudio/modules/zeroconf-discover/locked false

This eliminates the need for every user to enable this option in paprefs.