Skip to content

Instantly share code, notes, and snippets.

@cmd-save
Created July 3, 2020 16:31
Show Gist options
  • Select an option

  • Save cmd-save/88bc157fbd1e1e5759124c6fcd271294 to your computer and use it in GitHub Desktop.

Select an option

Save cmd-save/88bc157fbd1e1e5759124c6fcd271294 to your computer and use it in GitHub Desktop.
Bluetooth issue with Linux

If you have a problem with your bluetooth connectivity on linux. Below is the solution that worked for me. So I have a logitech Triathlon mouse that connects via bluetooth. This is an on-board bluetooth module. The problem started when I updated to version 20.04 of linux. After few seconds of inactivity, the bluetooth seems to sleep or suspend until you move your mouse again. This is very annoying in my case. So I find some solutions on the web, I've tried bunch of them But this one fixed it.

So just run this on your terminal.

btnum=`rfkill list|grep hci0| cut -f 1 -d ':'` rfkill block $btnum rfkill unblock $btnum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment