Hi to everyone. Been a while. Question - how do I remove the Bluetooth option in the system tray menu? (I'm talking about what comes up when you click on the WiFi, sound, and power icons in the taskbar.) I recently bought an internal WiFi card for my desktop, and it has built-in Bluetooth. How do I remove the option for Bluetooth so that only four options show: WiFi, power options, night light, and dark mode? I have tried disabling Bluetooth via the terminal (using the "systemctl" command), then rebooting. Nothing. I consulted with Google's Gemini AI to find an answer. It did have a few suggestions about checking an "autostart" file in the "usr" folder, etc., but there wasn't anything like that. Can someone please help? I don't want to have to return this card. Thank you very much.
If you're looking to remove the toggle from your quick settings, you could install an extension such as this:
https://extensions.gnome.org/extension/5446/quick-settings-tweaker/
This would allow you to remove whichever quick toggles you like, and make some changes that might make the quick settings even better.
I didn't know about this extension until literally this morning ready @Ponce-De-Leon responding to another thread, but it should do exactly what you want. I tested it as well
Thank you so much! Wow. This works. Thank you again! And I honestly wasn't expecting a response from anyone until later today. It's an "almost-Christmas" miracle. Haha. But even though I've marked your response as the "solution," I'd still like to know if there's some other way to accomplish the same thing without having to resort to an extension. Anyone? Thank you! EDIT: If there's anyone who's gonna know on these forums, it's gotta be @Aravisian. Any thoughts?
Gnome is limit by default, which are the Gnome devs intention. That's why I and I know a lot of others have moved to other DE which doesn't put limitation on the user(s).
Be glad that other users built extensions, because without them Gnome is rubbish.
I think that this could be maybe a Problem depending how Your Wifi Card is built-up and combines Wifi and Bluetooth. There You should take care if the whole Wifi-Card will be turned off when You try to completely disable the Bluetooth. I write that only for Just-in-Case.
I would have some Ideas. The first one would be to take a Look in Your BIOS if there is the Possibility to disable Bluetooth.
In Zorin I would suggest the Following:
First go to Settings>Bluetooth and turn Bluetooth off. Then open the Terminal and type:
sudo systemctl stop bluetooth.service
sudo systemctl disable bluetooth.service
The first command should stop Bluetooth and when it is stopped, the second command should completely disable the Bluetooth Function. But here I will remember for that what I wrote above.
After this, You should take a Look to /etc/bluetooth/main.conf
and there in the last Row. There stands AutoEnable=
and you should check if it is set to true
or false
. If it is set to true
change it to false
.
I already tried the "systemctl" route. Nothing. Tried editing the "AutoEnable" row, too. Nothing. That was earlier before I saw your response. I didn't do them together, though. Will it truly make a difference if I do both at the same time?
I agree about the extensions part. That is why I have been vocal in the past about the Zorin Group adding at least a few more crucial extensions of their own and building them into Zorin OS, like better power management for games specifically (like what the Espresso extension does for fullscreen games).
If the Zorin Group can strike an even better balance than what they have done so far with Zorin OS (with regard to extensions), then great. That'd personally eliminate the need for additional extensions for me. I hope they listen to my feedback for Zorin OS 18. That'd be awesome not just for us, but them also.
Well, I think it could be worth a Try. It doesn't need too much time to do it. I would do first the 2 Commands (really both not only one) and then change the main.conf File.
I will give this a try later. Thanks.
Update: It didn't work. I'm gonna try tagging @AZorin for help. Artyom, I realize it's a bit unorthodox for forum members to tag you or Kyrill (and I apologize), but maybe you could help here? I've tried different things (apart from using that extension mentioned elsewhere here), but nothing. Any advice? Thanks.
Final update:
So on a hunch (and after doing further investigation online which led me to an obscure post on the Ubuntu forums that involved a similar situation), I decided to unplug the USB cable from the internal USB header on my motherboard. I booted up the computer, and lo and behold, the Bluetooth toggle was GONE. So I will consider this matter "closed," and we can move on, but I will say here (since I've already tagged Artyom and all), I hope improvements will be made to Zorin OS that enhances the user experience (power management, Bluetooth settings, and the GNOME system menu with quick settings and toggles) and makes these kind of things more accessible. I'm not sure why the "systemctl" command didn't work here. Should've completely disabled Bluetooth and have had the same effect that unplugging the USB cable did. Interesting. Anyway, the problem is solved (to me, anyway), and we can all move on to face another day in this earthly realm. Cheers.
Possibilities without unplugging hardware might be to Mask the Bluetooth process:
sudo systemctl mask bluetooth.service
sudo systemctl mask bluetooth.target
Storm addressed this pretty reasonably. I could be wrong but, the tray files are managed by the shell and changing this would require changing the gnome shell files in Gnome. I do not use gnome, it may be located at /usr/share/gnome-shell/js/ui/
but you can see that using a Shell Extension becomes your first best course of action if systemctl or masking the process do not work.
Thanks for replying. It's too late, though. I've unplugged the USB header and now Bluetooth isn't detected. I will keep in mind the "mask" command if I ever feel like trying that one. I am still investigating buying an Intel Arc video card to try and eliminate the pesky X11 issues present in Zorin (flickering windows that go to the upper left corner when minimizing/raising windows, et cetera), so if I do get one, I'll probably plug in the USB again when I open up the case to install the Arc card. Will try the "mask" command then (if I plug the USB back in).
...Yeah...