From 0e40de0ddbcf63580592c9a5c4bf8c6c3954b18f Mon Sep 17 00:00:00 2001 From: night0721 Date: Thu, 9 Nov 2023 23:44:29 +0000 Subject: [PATCH] bluetooth --- content/posts/bluetooth/index.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 content/posts/bluetooth/index.md diff --git a/content/posts/bluetooth/index.md b/content/posts/bluetooth/index.md new file mode 100644 index 0000000..0560dcd --- /dev/null +++ b/content/posts/bluetooth/index.md @@ -0,0 +1,17 @@ +--- +title: "How to solve bluetooth issues in Arch Linux" +date: 2023-11-09T22:30:00+00:00 +description: "How I solved my bluetooth issues by using pipewire" +--- + +Recently I wanted to connect my earphones via bluetooth to my Arch Linux but I found out it just either could not connect or repeating connect and disconnect. Not many solutions from the internet solve my issue, though. But this one worked, so to share the solution to you guys. Note: It is for someone who has been using pulseaudio. + +So this is basically the script that you need to run. It removes pulseaudio and replace it with pipewire, which is aimed to replace pulseaudio. Then enabling systemd services for current user. +```sh +sudo pacman -Rdd pulseaudio +yay -S pipewire-{jack,alsa,pulse} bluez-git wireplumber +sudo rm -rf /var/lib/bluetooth # remove configuration +systemctl --user enable --now pipewire.service pipewire.socket pipewire-pulse.service pipewire-pulse.socket wireplumber.service +sudo systemctl restart bluetooth + +```