3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Manjaro で HHKB Professional HYBRID Type-S を Bluetooth 接続で使う

Last updated at Posted at 2020-12-18

背景

もともとは Ubuntu を愛用していたのだが、思うところがあり Manjaro へ乗り換える。

その際にキーボード (HHKB)の Bluetooth 接続が Xfce の GUI アプリからでは何故かうまくいかなかったのでメモ。

CLI で Bluetooth キーボードをペアリングする

bluez-utils をインストールする

$ sudo pacman -S bluez-utils

HHKB をペアリングモードにする

Fn + q を押したあとに
Fn + Ctrl + 1 〜 4 の登録したい数字を押す

bluetoothctl で設定する

bluetoothctl を使用し、キーボードとのペアリングを行う。

$ bluetoothctl 

bluetoothctl のプロンプトに入ったら、ペアリングコードの送受信のためにデフォルトエージェントを設定する。

# default-agent 

次にスキャンを行い、キーボードを見つける。

# scan on

キーボードを見つけたら、ペアリングを行う

# pair [MAC アドレス]

pass key が表示されているので、それをペアリングしたいキーボードで入力し、Enter を押す。

以上で設定が終わったので、bluetoothctl を終了する。

# exit

ログイン画面での Bluetooth 接続を有効にする

このままでは、Xfce のログイン画面では Bluetooth が接続されないので、設定を変更する。

sudo nano /etc/bluetooth/main.conf 

設定ファイルの最終行にある設定を以下のように変更する。

AutoEnable=true

以上

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?