Hi!

I wanted to make this work so I have applied this patch to the
pulseaudio package and rebuilt it. After installing the new version I
could not notice any changes in KDE. Took me some time to realize that
I need to explicitly load the plugin because it is not loaded
automatically from /etc/pulse/default.pa.

First I have considered to just add the command there, then decided to
change the package to enable this in the default configuration. But
after checking out the package it turned out that Colin Guthrie (who
created the module) also added some KDE specific startup scripts.

I'm attaching patches to install these scripts with the module and to
also fix the autostart desktop file currently used to be ignored in
KDE. This way the module is automatically loaded but only in KDE.

only-start-from-kde-specific.patch - this disables
/etc/xdg/autostart/pulseaudio.desktop in KDE (this should probably go
upstream)
enable-module-device-manager.patch - install the module and the
startup script & desktop file

(There are two patches because one should go in the patches branch and
the other in the master branch.)

I would like to see these patches in the next version. And I guess
most KDE & pulseaudio users would like to see this as soon as possible
:)

Regards,
Zsolt
commit 90956c6d9f829e5c61298effccfa1a72e1513043
Author: Zsolt Rizsanyi <rizsa...@users.sourceforge.net>
Date:   Tue Apr 13 20:12:48 2010 +0200

    In KDE only start pulseaudio from the KDE specific desktop file

diff --git a/src/daemon/pulseaudio.desktop.in b/src/daemon/pulseaudio.desktop.in
index 99bdbd0..47b2eb4 100644
--- a/src/daemon/pulseaudio.desktop.in
+++ b/src/daemon/pulseaudio.desktop.in
@@ -6,5 +6,6 @@ _Comment=Start the PulseAudio Sound System
 Exec=start-pulseaudio-x11
 Terminal=false
 Type=Application
+NotShowIn=KDE;
 Categories=
 GenericName=
commit 847c3fd34c75a333f26203d3e34133e2ea24b45c
Author: Zsolt Rizsanyi <rizsa...@users.sourceforge.net>
Date:   Tue Apr 13 22:45:06 2010 +0200

    Install module-device-manager and KDE specific startup files to load the
    module automatically

diff --git a/debian/pulseaudio.install b/debian/pulseaudio.install
index b925148..e954ce5 100644
--- a/debian/pulseaudio.install
+++ b/debian/pulseaudio.install
@@ -3,8 +3,10 @@ etc/pulse/system.pa
 etc/pulse/daemon.conf
 etc/dbus-1/system.d/pulseaudio-system.conf
 etc/xdg/autostart/pulseaudio.desktop
+etc/xdg/autostart/pulseaudio-kde.desktop
 usr/bin/pulseaudio
 usr/bin/start-pulseaudio-x11
+usr/bin/start-pulseaudio-kde
 usr/lib/pulse-*/modules/libalsa-util.so
 usr/lib/pulse-*/modules/libcli.so
 usr/lib/pulse-*/modules/libprotocol-cli.so
@@ -16,6 +18,7 @@ usr/lib/pulse-*/modules/module-alsa-sink.so
 usr/lib/pulse-*/modules/module-alsa-source.so
 usr/lib/pulse-*/modules/module-always-sink.so
 usr/lib/pulse-*/modules/module-console-kit.so
+usr/lib/pulse-*/modules/module-device-manager.so
 usr/lib/pulse-*/modules/module-device-restore.so
 usr/lib/pulse-*/modules/module-stream-restore.so
 usr/lib/pulse-*/modules/module-cli-protocol-tcp.so

Reply via email to