From 15f260e1527e01cf22e10b16ca280e89df3e6b21 Mon Sep 17 00:00:00 2001 From: tactonbishop Date: Tue, 24 May 2022 19:00:04 +0100 Subject: [PATCH] Last Sync: 2022-05-24 19:00:04 --- Linux/Bluetooth.md | 29 +++++++++++++++++++++++++++++ Linux/Compile_from_source.md | 6 ++++-- 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 Linux/Bluetooth.md diff --git a/Linux/Bluetooth.md b/Linux/Bluetooth.md new file mode 100644 index 0000000..5d599b2 --- /dev/null +++ b/Linux/Bluetooth.md @@ -0,0 +1,29 @@ +--- +tags: + - Linux + - networking +--- + +# Bluetooth + +## Connect to devices with `bluetoothctl` + +```bash +# Start bluetooth first +bluetoothctl power on +``` +Then: + +```bash +# Launch bluetoothctl +bluetoothctl +``` +This initiates `[bluetooth] #` prompt. Then follow this sequence: + +```bash +[bluetooth]# agent on +[bluetooth]# default-agent +[bluetooth]# scan on +pair [device_code] +connect [device_code] +``` diff --git a/Linux/Compile_from_source.md b/Linux/Compile_from_source.md index c97520d..bac4c58 100644 --- a/Linux/Compile_from_source.md +++ b/Linux/Compile_from_source.md @@ -3,6 +3,8 @@ tags: - Linux --- +# Compile package from source + 1. Clone the repo from GitHub -1. `cd` into the repo -1. Run `makepkg -c` +2. `cd` into the repo +3. Run `makepkg -c`