コンテンツにスキップ

DietPi(bookworm)にてbluetoothを使うために.

Raspberry Pi(DietPi環境)でBluetoothを利用し、YouTubeやTVerなどの音声を無線イヤホンで聞くには、GUIで簡単にBluetooth機器を管理できる「Blueman(Bluetooth Manager)」を利用するのが便利である。

Bluemanインストール前の事前準備

Section titled “Bluemanインストール前の事前準備”
  1. dietpi-config を起動し、BluetoothをOnにする。 「Advanced Options」>「Bluetooth」の項目が「On」であることを確認する。Onに変更した場合はOSを再起動する。 (※ /etc/modprobe.d/dietpi-disable_bluetooth.conf の削除や /boot/config.txt の編集などが自動で行われるため、必ずツールから有効化する。)

  2. 起動後にBluetoothを自動有効化する設定を行う。 BluetoothをOnにする際に「Bluetoothは自動的に有効にしますか?」というポップアップが表示されたら「はい」を選択する。

  1. 推奨パッケージである pulseaudio-module-bluetooth も含めてBluemanをインストールする。

    Terminal window
    sudo apt install blueman --install-suggests
  2. インストール後、以下のコマンドでBluemanを起動する。

    Terminal window
    blueman-manager

    ※デスクトップ環境の「メニュー」>「設定」>「Bluemanマネージャー」からも起動可能である。

  • DietPi環境でのBluetooth有効化は dietpi-config から行う。
  • GUIで機器接続を管理するにはBluemanが便利である。
  • 音声出力には pulseaudio-module-bluetooth のインストールが不可欠である。

他の記事を探す