Knowing our system: Where is the bluetooth configuration saved?

I have always liked to know how my system works, to know what happens after that click that I make on the desktop or on a button, Linux has captivated me among so many things precisely because of that, because it allows me to know what really happens.

This is a small tip for those who like me want to know how the system works, specifically where our bluetooth data is stored 😉

The answer is simple ...: / var / lib / bluetooth / * / config

The asterisk (*) can be changed by the MAC of the bluetooth device they have, that is, inside / var / lib / bluetooth / there is a folder whose name is the MAC of their bluetooth, in my case it is: 00:1A:6B:22:9D:E7

If in a terminal they put the following and press [enter] Your bluetooth data will be shown, that is, the name, if it is visible, etc:

cat /var/lib/bluetooth/*/config

As well as if they want to know the devices to which they have been connected, that is, the history:

cat /var/lib/bluetooth/*/names

The names will appear but not only that, but also the MAC of each one 😉

Obviously you can open these text files (yes, they are plain text files) with your preferred editor, I will tell you how to do it by terminal but ...

If you use KDE:

Press [Alt] + [F2], type the following and press [enter]: dolphin /var/lib/bluetooth/*/

If you use Unity (Ubuntu):

Press [Alt] + [F2], type the following and press [enter]: nautilus /var/lib/bluetooth/*/

If you use Gnome3:

Press [Alt] + [F2], type the following and press [enter]: file /var/lib/bluetooth/*/

If you use Cinnamon:

Press [Alt] + [F2], type the following and press [enter]: nemo /var/lib/bluetooth/*/

If you use Mate:

Press [Alt] + [F2], type the following and press [enter]: caja /var/lib/bluetooth/*/

... ¬_¬ ... god, I hate that now everyone calls basically the same program (nautilus) in another way, way to complicate things ... ¬_¬

Well, there you will have the files related to your bluetooth, files that before modifying, I recommend saving 😉

Nothing more to add.

regards


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Luis said

    I never knew how to configure the Bluetooth in XFCE4 under Arch, it is one of the few things that I have pending so that my equipment is 100%.

    Does anyone have a tutorial for clumsy?

    I already know that there is a Wiki and it is not that it is comfortable, it is that work barely leaves me free time and when I work in an office when I get home the thing I least want is to sit in front of the computer again and start researching configurations ...

    Be understandable.

    1.    elav said

      In Xfce I just installed blueman and that's it. I didn't have to set anything weird.

  2.   Nonamed said

    interesting the whole bluetooth topic, thanks

    in my case the * does not work when doing it with alt + f2 but if from terminal

  3.   Germaine said

    I comment that I came from using Kubuntu 12.04 without problems with Bluetooth, when installing 12.10 it takes the BT hardware, I configure my 2 cell phones and so far everything is fine but after a few reboots the BT is no longer working and no matter how much I tick Off, it doesn't It does, I put the Kernel 3.5.5 and it corrected but the next day it presented the fault again, I installed the Bluetooth Manager from Muon and fixed it, but after a few hours it stopped working, it seems to be a bug because I found that they already have it reported, but I would like to know if you know of any way so that it is not intermittent but works whenever it is needed.

    1.    KZKG ^ Gaara said

      Could you install rcconf and run it with sudo in terminal, this will help you choose which services or daemons you want to start automatically on the computer, deactivate bluetooth and voila, it will not start automatically.

      Then when you want to use it, in a terminal you put:

      sudo /etc/init.d/bluetoothd start

      And it should start, and then see if it gives you problems.

  4.   Victor said

    Hello
    I am on xubuntu 14.04, I have turned the web trying to get bluetooth to work for me and I have not succeeded in any of the ways that are there.
    When I go / var / lib / bluetooth / I see that there is nothing, 0 files, is it normal?
    What can I do to be able to use it?
    Thank you very much in advance