How to actually share a file via Bluetooth?

I discovered bluetooth is disabled on EOS by default and does not let one enable it.
After some trials, I found that I can enable it using systemctl enable --now bluetooth

After said, I can enable Bluettot and connect to another device, even I can tether to a mobile.

Yet, by the life of mine I cannot find how to actually use bluetooth, as in sharing a file from my machine to another device using Bluetooth, possibly the most common usecase for bluetooth at large.

I tried nautilus-bluetooth, which appears plain broken (it adds a context menu in nautilus/files but clicking said does just nothing), so I uninstalled this again as it appears broken.

… I cannot fathom why a core component of about every electornic device in the modern world is disabled by default… but more importantly, how to actually use it for filesharing, or headset connections? :smiley:

Thank you!

(I use Gnome on xOrg, and everything is up-to-date as of today)

right clicking the bluetooth icon doesn’t give you an option to send files?

This is a feature of EOS and for security reasons its not turned on by default.

https://duckduckgo.com/?q=bluetooth+vulnerabilities&iar=news&ia=news

Bluetooth for audio devices I can understand, but sending files?

Which icon do you refer to?
The only bluetooth icon I have is in the top right menu (where you connect to devices) and right clicking on that icon does nothing.

For referece a screenshot attached

yes, best thing ever to share not only files, but entire (huge) zips, amongst local machines (for example, movies from computer a to b, or else stuff)
Better than spanning a 10 meter cable from one room to another, or relying on Internet to upload > share > download.

Actually… I am rather “files yes, audio no”, as I prefer a cable bound headset in the audio case. But I use(d) the file share a lot, when using macOS prior to EOS. The “airdrop” lets you share about anything at pretty impressive speeds and generally no quality loss. And that is bluetooth based. So this why I am used to it.

Settings >> Bluetooth >> click on the paired device that you want to send the file to >> Send Files… >> choose the file you want to send in the file picker

No luck

Are you using some specific package to enable the feature you mention?
Perhaps that is missing in my install (although I do have buez packages and also gnome-bluetooth-3.0)

BTW, yes bluetooth itself does work - just I have no file sharing options.
With “works” I mean for example audio connection.

No.

Try removing the connected device and pair it again and see if the option “Send Files …” shows up.

I tried that several times already (as well prior, during and after trying out several AUR packages that did actually add the context menu on files, yet also did not actually allow to share a thing)

I also have tried to reboot, before and after re-connecting the devices. As a matter of facts I always disable bluetooth after using it, and have to reconnect to the devices

I also tried “forgetting” the device(s), and fully re-establishing the connection, at the same result, that menu only shows bluetooth settings but no sharing options.

If you are up for it, you could install another bluetooth manager like blueman (desktop agnostic) and see if you get better luck with it.

https://wiki.archlinux.org/title/Blueman
https://archlinux.org/packages/extra/x86_64/blueman/

Thanks, tried!
That does indeed at least show a “send files” button… but it is greyed out :smiley:

I did mark the device as trusted and to allow files to/from the trusted devices.

The blueman has an option to send a “note” to the device, which seemed interesting to test - yet it also fails with error:

blueman-manager
blueman-sendto 13.15.04 ERROR    Client:26 on_session_failed: 30:57:14:C3:BF:58 3C:22:FB:98:FE:14 opp org.bluez.obex.Error.Failed Unable to find service record

(does not seem related to the device, rather to something in blueman not functioning).

So all that given it seems to me something is making file sharing impossible, and Blueman just only checks after adding the button, thus why grayed out, while Gnome bluetooth checks that before adding the button thus why no button at all?

At this point, I am afraid I am in lack of any explanation or ideas on how to resolve this issue. Hopefully other members will chime in.

Anyways the followings are the packages I have on this system that are related to Bluetooth:

$ pacman -Ss bluetooth | grep installed
extra/bluez 5.70-2 [installed]
extra/bluez-libs 5.70-2 [installed]
extra/bluez-utils 5.70-2 [installed]
extra/gnome-bluetooth-3.0 42.7-2 [installed]
extra/hidapi 0.14.0-2 [installed]
extra/libldac 2.0.2.3-1 [installed]
extra/pipewire-pulse 1:1.0.0-2 [installed]
extra/sbc 2.0-1 [installed]
1 Like

Just as an idea, if all of the devices are on the same network, you could use GSconnect (KDEconnect), which is an extension for GNOME. Makes easy to send files from computer to phone, or the other way around. Would need to set up KDEconnect on phone.

Usually after setting this up, and logging out and in (need that to have the extension appearing in extension app) I need to allow the app to connect to Wi-Fi https://userbase.kde.org/KDEConnect#I_have_two_devices_running_KDE_Connect_on_the_same_network.2C_but_they_can.27t_see_each_other

After paring, you should have icon like this (see picture), selecting share should give you drag and drop files to phone.
mynd

This is just an alternative solution. It might not work for your usecase.

2 Likes

Yes, I do have the connect - mainly because I wanted clipboard share
It’s a viable alternative indeed.

At this point I start to think this is due to T2

pacman -Qs bluetooth
local/apple-bcm-firmware 14.0-1
    Wi-Fi and Bluetooth Firmware from macOS Big Sur for T2 and M1 Macs
local/bluez 5.70-2
    Daemons for the bluetooth protocol stack
local/bluez-libs 5.70-2
    Deprecated libraries for the bluetooth protocol stack
local/bluez-utils 5.70-2
    Development and debugging utilities for the bluetooth protocol stack
local/gnome-bluetooth-3.0 42.7-2
    GNOME Bluetooth Subsystem
local/hidapi 0.14.0-2
    Simple library for communicating with USB and Bluetooth HID devices
local/libldac 2.0.2.3-1
    LDAC Bluetooth encoder library
local/pipewire-pulse 1:1.0.0-2
    Low-latency audio/video router and processor - PulseAudio replacement
local/sbc 2.0-1
    Bluetooth Subband Codec (SBC) library

That appears to be the only difference at hand here, and it would not be the first not-working feature when using a linuxed mac.

I will check in the T2 community if anyone has actually successfully used Bluetooth for filesharing so far.

Just realised this does not work either.

I can receive from iPhone to computer using the Gconnect/KDEConnect, not so send from computer to iPhone.
It says “Sending to device XXX” as a notification, but on iPhone side nothing ever prompts, arrives, or else.

Rather weird. However this might be due to the iPhone side in this case, it is not the only feature not working on iPhones when it comes to KDEConnect.

1 Like

A member of T2 EOS (the dev, I believe) kindly pointed me to google which illustrates how iPhones do not accept nor support Bluetooth filesharing.

The excercise was to dig out an older mac, connect, and look there, fileshare button appears in the settings > Bluetooth for that connection.

I guess iPhones suck :rofl: (or not, hey, maybe it is actually safer!)
I’ll try to fix kde/gconnect in regard since that uses WiFi and already works on one direction, just need to fix the other direction (possibly some firewall setting, will see in the respective comunity)

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.