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`