From a155cf8ca520cc2ce6aead8bfe3bbb3caf41ab1b Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 4 Nov 2020 11:11:57 +0100 Subject: [PATCH] daemon: Install start-pulseadio-x11 as a Xwayland-session.d script The scripts in this directory are loaded (in GNOME sessions thus far) at the time of starting Xwayland for X11 clients (may happen on session start, or on demand whenever X11 clients are started). This will ensure the relevant X11 modules are loaded as long as there's a Xwayland instance, thus X11 clients that might make use of them. Part-of: --- src/daemon/meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/daemon/meson.build b/src/daemon/meson.build index 4a57d7baa..2d0154fff 100644 --- a/src/daemon/meson.build +++ b/src/daemon/meson.build @@ -47,6 +47,14 @@ if x11_dep.found() install_dir : bindir, ) + configure_file( + input : 'start-pulseaudio-x11.in', + output : '00-pulseaudio-x11', + configuration : conf, + install : true, + install_dir : join_paths(sysconfdir, 'xdg', 'Xwayland-session.d'), + ) + desktop_file = i18n.merge_file( input : 'pulseaudio.desktop.in', output : 'pulseaudio.desktop',