Instructions

Edit /etc/bluetooth/main.conf (sudo required), go to the line that says #FastConnectable = false and replace it with FastConnectable = true.

Rant

My distro: Fedora 42

If this was common knowledge then I guess I’m just an idiot but I recently found out about this after years of trying to fix it on and off across multiple devices and complaining the whole time that “linux bluetooth sucks” and it has fixed 99% of my problems. My biggest issue was my keyboard refusing to reconnect after it goes to sleep when the same behavior works fine on spyware windows. Quick change, restart the bluetooth service, and it works exactly like you’d expect now. Why it’s off by default on a relatively modern wireless chip is beyond me (I suspect power saving on older chips but idk).

  • hallettj@leminal.space
    link
    fedilink
    English
    arrow-up
    13
    ·
    5 days ago

    Nice, thanks for the tip!

    I haven’t had a problem with devices not reconnecting after sleep. But I have had a problem where every once in a while my computer will toggle bluetooth off on resuming from sleep. Probably a different issue.

    • whats_all_this_then@programming.devOP
      link
      fedilink
      arrow-up
      4
      ·
      5 days ago

      That’s weird, I’ve never had that happen before but threads about that specifically were all I could find when researching my particular issue. I think it ended up being a power saving issue, I’ll link if I can find it. Hopefully it helps

      • GreenCrunch@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 days ago

        I’m sure there’s power saving Bluetooth weirdness. I was on Ubuntu, and my laptop would boot half the time with no BT card recognized. I had to hold down the power button for 15 sec or something to reset it. Since switching to Bazzite I haven’t had as many issues. Maybe it just comes with the driver or something? I don’t know, since I don’t care that much until it breaks…

        • whats_all_this_then@programming.devOP
          link
          fedilink
          arrow-up
          2
          ·
          4 days ago

          Huh, now that you mention it, I think I’ve had that happen a couple of times with my old laptop running fedora (Atheros chip). A simple restart would sort it out and it didn’t happen often enough that it was front of mind but it was definitely a thing. I haven’t had any issues with my current laptop (Intel chip) so it may well be a driver issue.

  • TerHu@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    5
    ·
    4 days ago

    i’ve had xbox controllers disconnect randomly in games on fedora 42 (kde) and i’ll try this to see whether it helps. thank you very much!

  • luciole (he/him)@beehaw.org
    link
    fedilink
    arrow-up
    5
    ·
    5 days ago

    Thanks! I’ve had to fiddle a bit with my Bluetooth transmitter on every boot, but with FastConnectable = true there’s a notable improvement. (I’m on Mint.)

  • Captain_Faraday@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 days ago

    Super helpful, thanks! I run Fedora 42 KDE and have had my Bluetooth randomly be disabled when booting, hopefully this will help some.

  • Norah (pup/it/she)@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 days ago

    Bazzite has this on by default, and is based on Fedora 42. Definitely one of the little fixes it does that makes it just work so much better out of the box.