Bluetui – Linux下管理蓝牙的TUI工具
Bluetui – A TUI for managing Bluetooth on Linux

原始链接: https://github.com/pythops/bluetui

## Bluetui:Linux 的蓝牙管理器 Bluetui 是一个基于终端的蓝牙管理器,适用于安装了 BlueZ 的 Linux 系统。它允许用户直接从命令行与蓝牙设备交互。 安装可以通过发布页面、crates.io 或 Gentoo 的 lamdness overlay 等预构建的二进制文件获得。用户可能需要安装 Nerd Fonts 以正确显示图标。 导航基于按键绑定:使用 Tab 切换部分,箭头键滚动,'s' 扫描。核心功能包括配对 ('p')、连接/断开连接 (Space/Enter)、信任/取消信任 ('t') 以及开启/关闭适配器 ('o')。 Bluetui 高度可定制;可以通过位于 `~/.config/bluetui/` 的 `config.toml` 文件调整按键绑定和布局。它以 GPLv3 许可协议发布。

Hacker News 新闻 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Bluetui – 一个用于在 Linux 上管理蓝牙的 TUI (github.com/pythops) 12 分,birdculture 1 小时前 | 隐藏 | 过去 | 收藏 | 讨论 考虑申请 YC 2026 冬季批次!申请截止日期为 11 月 10 日 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系方式 搜索:
相关文章

原文

A Linux based OS with bluez installed.

Note

You might need to install nerdfonts for the icons to be displayed correctly.

You can download the pre-built binaries from the release page release page

You can install bluetui from crates.io

You can install bluetui from the extra repository:

You can install bluetui from the lamdness Gentoo Overlay:

sudo eselect repository enable lamdness
sudo emaint -r lamdness sync
sudo emerge -av net-wireless/bluetui

If you are a user of x-cmd, you can run:

Run the following command:

git clone https://github.com/pythops/bluetui
cd bluetui
cargo build --release

This will produce an executable file at target/release/bluetui that you can copy to a directory in your $PATH.

Tab: Switch between different sections.

j or Down : Scroll down.

k or Up: Scroll up.

s: Start/Stop scanning.

?: Show help.

esc: Dismiss the help pop-up.

ctrl+c or q: Quit the app.

p: Enable/Disable the pairing.

o: Power on/off the adapter.

d: Enable/Disable the discovery.

u: Unpair the device.

Space or Enter: Connect/Disconnect the device.

t: Trust/Untrust the device.

e: Rename the device.

Space or Enter: Pair the device.

Keybindings can be customized in the default config file location $HOME/.config/bluetui/config.toml or from a custom path with -c

# Possible values: "Legacy", "Start", "End", "Center", "SpaceAround", "SpaceBetween"
layout = "SpaceAround"

# Window width
# Possible values: "auto" or a positive integer
width = "auto"

toggle_scanning = "s"

[adapter]
toggle_pairing = "p"
toggle_power = "o"
toggle_discovery = "d"

[paired_device]
unpair = "u"
toggle_trust = "t"
rename = "e"

GPLv3

Bluetui logo: Marco Bulgarelli

联系我们 contact @ memedata.com