Skip to content

Instantly share code, notes, and snippets.

@Laffs2k5
Created August 6, 2024 09:45
Show Gist options
  • Select an option

  • Save Laffs2k5/098894e6f007cc76afdf0068c61c62e3 to your computer and use it in GitHub Desktop.

Select an option

Save Laffs2k5/098894e6f007cc76afdf0068c61c62e3 to your computer and use it in GitHub Desktop.
Config for WirePlumber 4.x (and older) for disabling automatic switching to a bluetooth headset profile with microphone.
-- NOTE: this is for WirePlumber <0.5
--
-- This will be merged with /usr/share/wireplumber and /etc/wireplumber
-- ref. https://pipewire.pages.freedesktop.org/wireplumber/configuration/config_lua.html#multi-path-merging
--
-- BT profile auto switch is default on by /usr/share/wireplumber/policy.lua.d/10-default-policy.lua
--
-- We don't want bluetooth profile auto switch because we have a separate mic
--
-- Save this file as ~/.config/wireplumber/policy.lua.d/11-policy-extras.lua
--
-- Apply changes with:
-- systemctl --user restart wireplumber.service
bluetooth_policy.policy = {
-- Whether to use headset profile in the presence of an input stream.
["media-role.use-headset-profile"] = false,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment