Systemctl status bluetooth service

How to restart Bluetooth in Manjaro Linux

Have you ever found yourself stuck in a situation when the Bluetooth in your Manjaro Linux fails to connect to a pair of headphones? In such a case, you may think that restarting the system is the only solution. Similar to other wireless technologies, Bluetooth can encounter problems related to connection and pairing to any device. However, resetting the Bluetooth service can fix these kinds of issues.

There exist two different methods for restarting Bluetooth in Linux-based systems. You can utilize either the Manjaro Linux terminal or its Graphical User Interface for this purpose. This post will demonstrate both methods for restarting the Bluetooth service. So, let’s start!

How to restart Bluetooth in Manjaro Linux using terminal

Before using Bluetooth on your Manjaro Linux system, you have to start and enable the “Bluetooth” service. For this purpose, press “CTRL+ALT+T” to open up your system terminal and then execute the below-given commands:

After starting and enabling the “Bluetooth” service, check out its status on your Manjaro Linux:

The below-given output declares that the “bluetooth” service is still “inactive” on our system:

To resolve the encountered issue, we will restart “Bluetooth” by utilizing the following command:

Now, again check out your system’s Bluetooth service status:

Finally, the Bluetooth service is restarted and is now working on Manjaro:

To make your Manjaro system Bluetooth discoverable for other devices, execute this command:

You can also scan for the Bluetooth devices by utilizing the below-given command:

How to restart Bluetooth in Manjaro Linux using GUI

Restarting Bluetooth using the Graphical User Interface or GUI of Manjaro Linux comprises two simple steps: turning Bluetooth off and on. In the first step, right-click on the “Bluetooth” icon, which is present at your Manjaro dock panel, and then from the pop-up menu, select the “Turn Bluetooth Off” option:

The Bluetooth icon on your system panel will now indicate that it is disabled:

Again, click on the Bluetooth Icon, and from its pop-up menu, select the “Turn Bluetooth On” option:

Читайте также:  Драйвер bluetooth asus n550jk

Congratulations! on your Manjaro Linux, the Bluetooth service is restarted:

Conclusion

Manjaro Linux supports many Bluetooth devices, permitting users to configure and operate them via its operating system. However, you may face some Bluetooth connectivity problems. Thus, the Bluetooth service in charge of this interoperability may need to be restarted to regain its functionality. This write-up provided you with the procedure of restarting Bluetooth in Manjaro Linux using its terminal and GUI. You can utilize any of the given methods as both of them are straightforward.

About the author

Sharqa Hameed

I am a Linux enthusiast, I love to read Every Linux blog on the internet. I hold masters degree in computer science and am passionate about learning and teaching.

Источник

Linux Bluetooth Not Working Troubleshooting

Issues with Bluetooth connectivity in Linux go way back in time. Many users have experienced issues sharing their documents. Others have had issues connecting their PCs to their handhelds or headphones to enjoy their desired playlists or bingeing on videos. This issue still pertains to the recently released Ubuntu LTS versions. The Linux forums are full of user complaints regarding this matter. So, in this article, we provide the solution to this issue and resolve it once and for all.

Determine If Bluetooth Is Working

First and foremost, check if our Bluetooth service is up and running. Despite being a flexible and powerful operating system, Ubuntu has its contretemps with Bluetooth connectivity. One of the common ones is the need to reconnect our Bluetooth when our computer wakes up from sleep. This can disturb the flow of data transfer on whatever task we were performing.

So, we check if the Bluetooth service at the backend is running properly. For that, we type in the following command:

As the status of connectivity suggests, our Bluetooth tethering is inactive. Hence, we should enable it so that it automatically starts when we boot up using the command:

After that, start the session again by using systemctl command as shown below:

And to ensure that it starts automatically upon boot, we type:

If you still have a problem connecting, it is always a good idea to check if your device is in the “trusted devices” list on your system. Also, re-pairing the Bluetooth device resolves the issue sometimes, so be sure to try these options to be on the safe side.

If the procedure demonstrated above did not work, that means our Bluetooth connection is probably being interrupted, and it needs to restart. Then, we continue in the sequential method demonstrated below.

Читайте также:  Наушники audeze lcdi4 bluetooth lightning cable

First, we restart Bluetooth using the following command:

Having done that, we load the modules from the kernel using the command:

If the module is not loaded, you can use this link to find the command that enables it. Now, we enable Bluetooth by using the same command:

This should enable your Bluetooth device.

Using Bluez

The standard procedure to enable Bluetooth on your device is to install “Bluez”. Bluez is the official Bluetooth protocol software for Ubuntu and the other Linux distributions, such as Kali and Debian. If you happen to have Bluetooth connectivity issues on those distros, using Bluez will resolve your issue for those systems.

If your Bluetooth is not working, it is likely that Bluez is not properly responding or is simply outdated. In any case, we can uninstall Bluez by using the command:

And once it is uninstalled, we reinstall the package by using the command:

The primary purpose of this approach was so we can troubleshoot the prevalent problem in our Bluetooth software protocol. It may have some missing or corrupted packages which could be the root of the issue. In any case, once we have reinstalled the Bluez package, we have the verified files and an updated version on our system.

As we can see, the latest version of Bluez is installed in our system.

Finally, we use the enable command to activate the Bluetooth tethering feature:

Now, start Bluetooth on your system:

And finally, check the activity status using:

Using Update

We can enable our Bluetooth feature using the same old update option traditional to Linux users. Try this method in case the Bluez reinstallation method did not work, though it’s most likely it will work.

First, type in the following command to update your system:

Having done that, run the upgrade command to install the required packages and repositories:

Next, start the Bluetooth by typing in the following command:

Finally, we check the status of our Bluetooth connectivity by typing in the following instruction:

Now, we can see that our Bluetooth service is up and running.

Finally, to keep our Bluetooth connectivity smooth, we use the “rfkill” command which will unblock the feature of Bluetooth:

Other Reasons for Connectivity Issues

There can be several reasons why you cannot connect a Bluetooth device to your system such as:

“Unrecognized hardware”

The Dongle or device may not be recognized by the system. This issue usually arises because the drivers for the respective adapter are not installed. Some adapters are also not recognized by Linux. In that case, you should find a compatible adapter.

Читайте также:  Bolero mib1 bluetooth адаптер

“The computer does not have a Bluetooth adapter”

Some computers do not come with a Bluetooth adapter. In that case, you can purchase an adapter and use it for Bluetooth.

“Untrusted or blocked connection”

There are some Bluetooth devices that block the connections by default. Or they may require you to change certain settings for connections to be made available. So ensure your system is set to allow conditions. This is a frequent case in Linux. You can check up those settings manually or using the terminal.

Conclusion

Whether enjoying your favorite playlist, bingeing on Netflix shows and movies, or straight up transferring documents and media, an issue in Bluetooth connectivity can impede our data transfer or bar us from that refreshing break we were looking forward to. Therefore, it is desirable to troubleshoot all connectivity issues so you can have a peaceful and trouble-free interaction with your system. An option is the use of the Bluez software to enable your Bluetooth connectivity. We hope your issue was resolved, and there are no further connectivity issues.

Источник

Best way to deactivate Bluetooth on system startup? (with systemd and not upstart)

What is the best way to deactivate Bluetooth for every startup with systemd? There are a lot of examples, but all of them work with upstart and rc.local. With Ubuntu 15.10 rc.local is disabled by default. I think it’s for a reason, or isn’t it? So how can I deactivate the Bluetooth target/service correctly without the rc.local script? Maybe reactivate rc.local an add the line «rfkill block bluetooth» is the proper way?

4 Answers 4

sudo systemctl stop bluetooth.service 
sudo systemctl disable bluetooth.service 
systemctl status bluetooth.service 

@IvanTemchenko great answer. I think you should write it also on this question. It collects already a lot of old and new procedures, and this is missing.

Thank you, I’ve been looking for this solution for a few weeks, this is the way to do it on ubuntu 16.10 (systemd)

Most of the methods above totally disable bluetooth, while probably many users just want their OS to remember their preference. The problem is that blueman-applet has an auto-power-on setting that automatically enables bluetooth each time the indicator starts. So if you you want Ubuntu to remember your preference open a terminal and type this:

$ gsettings set org.blueman.plugins.powermanager auto-power-on false 

This way you can just disable bluetooth and the OS will remember it and won’t automatically re-enable it next time you turn on or reboot your PC.

Источник

Оцените статью
Adblock
detector