Skip to content

Instantly share code, notes, and snippets.

View FelipeLorenzoni's full-sized avatar
:octocat:

Felipe Lorenzoni FelipeLorenzoni

:octocat:
View GitHub Profile
@FelipeLorenzoni
FelipeLorenzoni / fix-bluetooth-autosuspend.md
Created April 24, 2025 22:46
This script automatically disables USB autosuspend for your Bluetooth dongle on Ubuntu and other Debian-based distributions. It resolves a common issue where Bluetooth peripherals (such as keyboard or mouse) stop working after being idle for a while — requiring you to replug the USB dongle to make them work again.

📄 Gist Description:

This script automatically disables USB autosuspend for your Bluetooth dongle on Ubuntu and other Debian-based distributions. It resolves a common issue where Bluetooth peripherals (such as keyboard or mouse) stop working after being idle for a while — requiring you to replug the USB dongle to make them work again.


🔧 What this script does:

@FelipeLorenzoni
FelipeLorenzoni / cedillafixubuntu.md
Last active February 2, 2025 21:15
cedilla ubuntu

Editing the /etc/environment File

Use one of the following commands to open the /etc/environment file in a text editor:

$ sudo gnome-text-editor /etc/environment

or