Last active
January 21, 2026 10:25
-
-
Save sergioPerez-e/5b64d67b22185ae00568fc9f27ddad4b to your computer and use it in GitHub Desktop.
Disable_Bluettoth_auto-and-trackpad.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Disable auto start Bluetooth adapter and disable the in-built trackpad when a mouse is connected | |
| # 1. Disable auto-turn on Blueoorh on Debian with Gnome | |
| ## Edit main.conf | |
| 1. nano /etc/bluetooth/main.conf | |
| 2. replace true by false in the label AutoEable | |
| 3. save, exit, reboot | |
| # Use a command to make changes on main.conf | |
| `sudo sed -i 's/AutoEnable=true/AutoEnable=false/g' /etc/bluetooth/main.conf` | |
| # 2. Disable the in-built trackpad when a mouse is connected | |
| ## Run or make a script. Works on Fedora 43 with Gnome | |
| # Only one excecution is needted to keep the confinguration | |
| gsettings set org.gnome.desktop.peripherals.touchpad send-events disabled-on-external-mouse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment