I swear I asked this question before today, but I vaguely remember losing it when I needed to continue the post from my Xfce laptop. I needed to include some screen captures from there. Since it's now about 45 minutes until my bedtime, and I've now been up nearly 24 hours, I'm not going to go into a lot of detail this time, but I'll be glad to answer any questions tomorrow.
Briefly, then, I'm still trying to figure out how to get my Xfce laptop to work with a Bluetooth keyboard. In fact, with any Bluetooth keyboard - I've tried three of them. They appear to pair and connect, but I can't type a single character. I know Solus uses Blueman as the Bluetooth manager for Xfce, and my question is: "Is there any other BT manager that I could try, to see whether it will work"?
I've searched though eopkg, and although there were a lot of results, I couldn't find anything there that I thought might help. So I joined the Xfce forum, and found a post about a bluetoothctrl utility, which seems to be a relative of blueman. The article explains how enable autoconnect for a keyboard, and I thought there's a chance that it might work. It's a brief article, so I'll copy it here, then I'm off to bed. Is anyone here familiar with the utilities and service that are mentioned here? If so, is there a chance it might work with Solus Xfce?
Here we go:
Automatically enabling a Bluetooth Keyboard
Remember that you have to pair and trust your device in bluetoothctl to cause autoconnect. Then you can power up your adapter automatically in several ways:
Custom systemd service file:
Create a config file /etc/btkbd.conf
Config file for btkbd.service
change when required (e.g. keyboard hardware changes, more hci devices are connected)
BTKBDMAC = ''mac_address_of_your_device''
HCIDEVICE = ''hci_device_identifier''
mac_address_of_your_device can be found with the scan on command of the bluetoothctl utility.
hci_device_identifier can be found with:
hcitool dev
Devices:
hci0 06:05:04:03:02:01
We are looking for the identifier hci0 in this case. The MAC address shown here is the address of the controller, not the address of the keyboard itself.
Next, create a new service file at /etc/systemd/system/btkbd.service.
[Unit]
Description=systemd Unit to automatically start a Bluetooth keyboard
Documentation=https://wiki.archlinux.org/index.php/Bluetooth_Keyboard
ConditionPathExists=/etc/btkbd.conf
ConditionPathExists=/usr/local/bin/hcitool
ConditionPathExists=/usr/local/sbin/hciconfig
[Service]
Type=oneshot
EnvironmentFile=/etc/btkbd.conf
ExecStart=
ExecStart=/usr/local/sbin/hciconfig ${HCIDEVICE} up
ignore errors on connect, spurious problems with bt? so start next command with -
ExecStart=-/usr/local/bin/hcitool cc ${BTKBDMAC}
[Install]
WantedBy=bluetooth.target
And then enable this service with systemd's tools.
Or udev rule:
Create new file /etc/udev/rules.d/10-local.rules
Set bluetooth power up
ACTION=="add", KERNEL=="hci0", RUN+="/usr/bin/hciconfig hci0 up"
(The Xfce forum uses software that's nothing at all like Flarum. Sorry for the poor translation. I tried to paste that as plain text, but apparently some of it was meaningful as formatting to our forum software.)