On Mon, Sep 21, 2020 at 05:27:58PM +0100, Peter Humphrey wrote:
> > I'm sure you've already seen this, but you might derive value from the 
> > "Device Pairing" section of the Bluetooth Gentoo Wiki page with
> > `bluetoothctl` [4].
> 
> I have, yes. I followed that method to get the devices paired. 
> 
> I was hoping to integrate the phone with my desktop. I had a vague idea of 
> using the multimedia somehow. (I did say it was vague.) KDE Connect sounded 
> like the bee's knees, but as Andrew said, it operates over WiFi, which is a 
> problem for me.

KDE Connect does look fantastic, although I'm not sure  the  client  application
could work with my Nokia 6310i.  Texting is terribly tedious using the  in-built
keyboard; Gnokii works well over Bluetooth, though. ;-)

As for a Bluetooth back-end for KDE Connect, it _does_ seem  like  there's  been
some work done towards such a goal, although it also seems to be  abandoned  and
opaque. There's an unanswered comment on a blog post which goes into some detail
[1], and then there's a package entry in the Arch User repository  (AUR)  called
`kdeconnect-bluetooth` [2].

Cloning the AUR git repository, it seems like the build script (`PKGBUILD`) just
downloads KDE Connect and passes a flag to the configure script:
        
        build() {
          cd build
          cmake ../$_name-kde-$pkgver \
            -DBUILD_TESTING=OFF \
            -DCMAKE_INSTALL_LIBEXECDIR=lib\
            -DBLUETOOTH_ENABLED=ON
          make
        }

Gentoo does something similar [3]:

        src_configure() {
                local mycmakeargs=(
                        -DBLUETOOTH_ENABLED=$(usex bluetooth)
                        $(cmake_use_find_package pulseaudio KF5PulseAudioQt)
                        $(cmake_use_find_package wayland KF5Wayland)
                        $(cmake_use_find_package X LibFakeKey)
                )

                ecm_src_configure
        }

Unfortunately, getting the Android APK companion application to use Bluetooth as
a back-end is slightly more difficult.  More information, if you really want  to
use KDE Connect: [4], [5], [6], [7], [8]. The developers made it painfully clear
that this is not on their immediate TODO list, as neither  of  the  two  primary
developers are Bluetooth users [9], so I wouldn't  expect  anything  marvellous.

        Keep us updated,
        Ashley.

[1] 
https://albertvaka.wordpress.com/2019/09/29/kde-connect-sprint-2019/#comment-21243
[2] https://aur.archlinux.org/packages/kdeconnect-bluetooth/
[3] 
https://gitweb.gentoo.org/repo/gentoo.git/tree/kde-misc/kdeconnect/kdeconnect-20.08.1.ebuild#n67
[4] https://bugs.kde.org/show_bug.cgi?id=330536
[5] https://www.reddit.com/r/linux/comments/6ggb36/
[6] https://phabricator.kde.org/T7447
[7] https://nicolasfella.wordpress.com/2018/07/31/kde-connect-new-stuff-ii/
[8] 
https://www.omgubuntu.co.uk/2017/06/kde-connect-bluetooth-backend-development
[9] https://bugs.kde.org/show_bug.cgi?id=330536#c8

-- 

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA

Attachment: signature.asc
Description: PGP signature

Reply via email to