Gnome bluetooth pairing
Keywords: gnome bluetooth pairing
Description: Bluetooth is a standard for the short-range wireless interconnection of cellular phones, computers, and other electronic devices. In Linux, the canonical implementation of the Bluetooth protocol
Bluetooth is a standard for the short-range wireless interconnection of cellular phones, computers, and other electronic devices. In Linux, the canonical implementation of the Bluetooth protocol stack is BlueZ.
Install the bluez and bluez-utils packages. The bluez package provides the Bluetooth protocol stack, and the bluez-utils package provides the bluetoothctl utility.
Then start the bluetooth.service systemd unit. You can enable it to start automatically at boot time.Note:
- By default the bluetooth daemon will only give out bnep0 devices to users that are a member of the lp group. Make sure to add your user to that group if you intend to connect to a bluetooth tether. You can change the group that is required in the file /etc/dbus-1/system.d/bluetooth.conf .
- Some Bluetooth adapters are bundled with a Wi-Fi card (e.g. Intel Centrino ). These require that the Wi-Fi card is first enabled (typically a keyboard shortcut on a laptop) in order to make the Bluetooth adapter visible to the kernel.
- Some Bluetooth cards (e.g. Broadcom) conflict with the network adapter. Thus, you need to make sure that your Bluetooth device get connected before the network service boot.
Pairing a device from the shell is one of the simplest and most reliable options. The exact procedure depends on the devices involved and their input functionality. What follows is a general outline of pairing a device using /usr/bin/bluetoothctl.
Start the bluetoothctl interactive command. There one can input help to get a list of available commands.
- Turn the power to the controller on by entering power on. It is off by default.
- Enter devices to get the MAC Address of the device with which to pair.
- Enter device discovery mode with scan on command if device is not yet on the list.
- Turn the agent on with agent on .
- Enter pair MAC Address to do the pairing (tab completion works).
- If using a device without a PIN, one may need to manually trust the device before it can reconnect successfully. Enter trust MAC Address to do so.
- Finally, use connect MAC_address to establish a connection.
After a suspend/resume-cycle, the device can be powered on automatically using something like this systemd service:
GNOME Bluetooth is GNOME 's Bluetooth tool. The gnome-bluetooth package provides the back-end, gnome-shell provides the status monitor applet, and gnome-control-center provides the configuration front-end GUI that can be accessed by typing Bluetooth on the Activities overview, or with the gnome-control-center bluetooth command. You can also launch the bluetooth-sendto command directly to send files to a remote device.
To receive files, you must install the gnome-user-share package. You can then go to Settings -> Sharing to authorize receiving files from paired devices over Bluetooth.
Tip: To add a Bluetooth entry to the Send To menu in Thunar's file properties menu, see instructions here. (The command that needs to be configured is bluetooth-sendto %F ).
If there is no Bluetooth icon visible in Dolphin and in the system tray, enable it in the system tray options or add a widget. You can configure Bluedevil and detect Bluetooth devices by clicking the icon. An interface is also available from the KDE System Settings.