Giter Club home page Giter Club logo

blueberry's Introduction

linuxmint

Linux Mint issue tracker

This repository is dedicated to tracking general issues in the Linux Mint system itself (not Cinnamon, Xapps, or any projects which have their own repository).

blueberry's People

Contributors

airbusa320 avatar besser82 avatar city-busz avatar clefebvre avatar cptpcrd avatar friedrichfroebel avatar germanfr avatar gsej avatar itzexor avatar jfly avatar josephmcc avatar kstenschke avatar leigh123linux avatar lightmare avatar monokles avatar monsta avatar mtwebster avatar neo2308 avatar nikokrause avatar okaestne avatar samtygier avatar shanmukhateja avatar slokhorst avatar vdmkenny avatar xrevan86 avatar zeripath avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blueberry's Issues

1.1.10 causes crash

Previous version 1.1.9 worked. New version 1.1.10 causes crash.

Terminal output:

$ blueberry
**
ERROR:lib/bluez/adapter.c:165:adapter_get_dbus_object_path: assertion failed: (ADAPTER_IS(self))
Traceback (most recent call last):
  File "/usr/lib/blueberry/blueberry.py", line 35, in on_activate
    self.create_window()
  File "/usr/lib/blueberry/blueberry.py", line 154, in create_window
    self.adapter_name_entry.set_text(self.get_default_adapter_name())
  File "/usr/lib/blueberry/blueberry.py", line 231, in get_default_adapter_name
    output = subprocess.check_output(["bt-adapter", "-i"]).strip()
  File "/usr/lib/python2.7/subprocess.py", line 574, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['bt-adapter', '-i']' returned non-zero exit status -6

on Asus Zenbook Prime UX31A-R4003V

spawns two instances of rfkill event

Originally reported in Fedora.

Version-Release number of selected component (if applicable):

blueberry-1.1.20-1.fc27.noarch
rfkill-0.5-10.fc27.x86_64

How reproducible:
Always.

Steps to Reproduce:

  1. open Bluetooth Device Manager
  2. toggle "Show a tray icon" switch off and on
  3. ps axf

Actual results:

 7165 ?        S      0:00 /usr/bin/python3 /usr/bin/blueberry
 7166 ?        Sl     0:00  \_ /usr/bin/python2 /usr/lib/blueberry/blueberry.py
 7174 ?        S      0:00      \_ python2 /usr/lib/blueberry/safechild /usr/sbin/rfkill event
 7175 ?        S      0:00      |   \_ /usr/sbin/rfkill event
 7224 ?        S      0:00      \_ /usr/bin/python3 /usr/bin/blueberry-tray
 7226 ?        Sl     0:00          \_ /usr/bin/python2 /usr/lib/blueberry/blueberry-tray.py
 7236 ?        S      0:00              \_ python2 /usr/lib/blueberry/safechild /usr/sbin/rfkill event
 7237 ?        S      0:00                  \_ /usr/sbin/rfkill event

Expected results:
Only one instance of rfkill event should be running.

Automatically switch sound output to connected device

I use Bluetooth headphones and have to change sound parameters manually each time I connect then (sometimes several times an hour). It would be great feature to make some white list of trusted A2DP devices to enable them as main output source at the moment of connection. User experience should be equal to wired headphones: you plug them to socket and start listening.

Compiling on ArchLinux

Greetings, I like the work you're doing on this tool so you can bring Bluetooth support on some other OS with gnome-bluetooth >= 3.14.

My question is that if you can give some instructions on how to compile this program on ArchLinux, I was watching this page (http://segfault.linuxmint.com/2013/10/how-to-build-and-install-the-latest-cinnamon-from-git/) but the instructions are for Debian/Ubuntu mainly and I would like to know if there is a generic way to do this. I'm planning on installing Arch at the end of this month (if everything goes ok) and, as you may know, cinnamon-bluetooth no longer works there but I believe that this tool can make a great job

I don't know if this is supposed to be considered an issue but I'll leave it here just in case. Greetings

Unable to receive files

I'm unable to receive files with blueberry. "Receive file" switch doesn't work in cinnamon-settings.
Blueberry command displays in the terminal :

Exception AttributeError: "'Manager' object has no attribute '_Base__signals'" in <bound method Manager.del of <main.Manager object at 0x7f7c944d9dc0 (uninitialized at 0x(nil))>> ignored
blueberry-obex-agent: aucun processus trouvé

Obex is installed and up to date.

Distro info
Cinnamon 3.4.6
Linux mint 18.2
Blueberry 1.1.15
kernel 4.15.0-24

Hardware
Macbook pro 2012

Unable to remove device after.

I had paired my OnePlus X phone a while back, and the application worked like a charm. After that instance however, it has never worked. On clicking 'Connection', the button moves back to OFF every time.
On clicking, 'Remove Device', it gives a confirmation, after clicking yes, the device is still there.

The first time I was able to pair my phone. After it stopped working, I unpaired my PC from the phone, and am unable to initiate a pair from the phone anymore. I think this is due to Blueberry still detecting that I'm paired or something like that.
I am unable to find the version number. Using LMint Serena, kernel 4.4.0-78

1
2

My computer's name is not "Bastien's computer"

There is something that looks like a hardcoded string for "Bastien's computer" as a hostname as visible in bluetooth. That is not the case, and may confuse users. I think this appears after a crash / some issue in bluetooth service.
bluetooth

Devices list never updates

I have a bluetooth speaker which, when set up to be visible, never appears in the Devices list in blueberry, even after power cycling bluetooth, etc. Also, the spinner on the Devices list is frozen (see #40).

This speaker works fine with blueman. So blueberry or one of its dependencies has a bug.

Output of 'lspci -nnk | grep -iA3 net; lsusb; rfkill list; dmesg | egrep -i 'blue|firm'' can be seen at https://gist.github.com/deutrino/30ace66b426261090b78a6588127b558

Frozen spinner next to "Devices"

The spinner icon next to "Devices" is permanently frozen. I have no idea if this is just a display bug or something else, but it certainly gives the impression that something is broken (which it often is).

A real readme

Looks like this could use some more documentation (some screenshots would be nice too!)

For myself, looks like a nice GUI for using bluetooth in a non-gnome, non-kde environment. I'd like to package this for NixOS if it seems worth my while!

Unable to receive files #2

I can send files from my laptop to my smartphone, but I can't send files from my smartphone to my laptop. I am using Manjaro Cinnamon.

On my smartphone, I get the following error message: "he Transfer is Forbidden by the target device", even if the "Receive files from remote devices" option in Blueberry is clearly enabled.

On my laptop, there is no visible symptom at first glance. However, if I do a systemctl status bluetooth.service, I see this error when a file transfer from my smartphone to my laptop fails: bluetoothd[502]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107).

Am I missing something? Is there something misconfigured on my distro?

My workaround is simply to uninstall Blueberry and install Blueman instead, unfortunately. With Blueman, I can transfer files from smartphone to laptop without issue once I accepted to receive files from trusted devices. 🙁

I see that there is a similar issue here, but I did not notice the same kind of symptom though (although I haven't tried to run Blueberry with the terminal, like the guy did in the other issue). That's why I decided to create a new issue despite having a similar problem.
#65

Laptop
Model: Lenovo Ideapad 310
OS: Manjaro (Testing branch)
DE: Cinnamon 4.0.9 (package: cinnamon 4.0.9-1.3)
Kernel: Linux 4.19.26 (package: linux 4.19.26-1)
Bluetooth-related packages:

  • blueberry: 1.2.5-1
  • bluez: 5.50-6

Smartphone
Model: LG G7 ThinQ
OS: Android 8.0.0 (Security patch level: Feb 1 2019)

rfkill event output not parsing correctly

See this comment:

# index of .split() from rfkill event output where lines are:
# 1426095957.906704: idx 0 type 1 op 0 soft 0 hard 0
# 1426095957.906769: idx 1 type 2 op 0 soft 1 hard 0
# 1426096013.465033: idx 1 type 2 op 2 soft 0 hard 0

When I run rfkill on my machine, here's what I see:

> /usr/sbin/rfkill event
2017-12-08 11:31:02,092873-0800: idx 0 type 2 op 0 soft 0 hard 0
2017-12-08 11:31:02,092943-0800: idx 1 type 1 op 0 soft 0 hard 0
2017-12-08 11:31:02,092955-0800: idx 3 type 2 op 0 soft 0 hard 0

Note that there's a space in the time, which is throwing off the implementation which simply splits around spaces:

elements = line.split()
if len(elements) < EVENT_INDEX_HARD_BLOCK:
return
if int(elements[EVENT_INDEX_DEVICE]) == self.adapter_index:

This results in the following Python crash on my system:

Unhandled exception in thread started by <bound method Interface.event_monitor_thread of <rfkillMagic.Interface instance at 0x7fc9c3bfa7a0>>
Traceback (most recent call last):
  File "/usr/lib/blueberry/rfkillMagic.py", line 81, in event_monitor_thread
    self.update_state(l)
  File "/usr/lib/blueberry/rfkillMagic.py", line 95, in update_state
    if int(elements[EVENT_INDEX_DEVICE]) == self.adapter_index:
ValueError: invalid literal for int() with base 10: 'idx'

Bluetooth headphones not in sound output devices

I'm not sure if this is a bluetooth issue, or a sound applet issue, but I'm filing it in bluetooth for mainly one reason:

issue : when I try to connect my linux mint laptop to my soundsport headphones, it used to connect very easily, and be functional, however right now, when I'm trying to do that, even after the bluetooth module shows it as connected, the sound module does not show the new output device.
Moreover, the bluetooth device usually responds saying it connected with "x" device, however in this case, it seems like the laptop name isn't going through to the bluetooth device either, which makes me think there's some issue with the connection.

Willing to give any information you need. Would love it if this can be looked into

I'm using Linux mint 18.3 on an XPS 9350, using Bose soundsport headphones on kernel 4.13.0-45

Service will not start

~ $ service bluetooth restart
~ $ service bluetooth status
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: en
   Active: active (running) since Tue 2017-12-12 01:36:43 GMT; 15s ago
     Docs: man:bluetoothd(8)
 Main PID: 7394 (bluetoothd)
   Status: "Running"
      CPU: 37ms
   CGroup: /system.slice/bluetooth.service
           └─7394 /usr/lib/bluetooth/bluetoothd

Dec 12 01:36:43 Laptop bluetoothd[7394]: Error adding Link Loss service
Dec 12 01:36:43 Laptop bluetoothd[7394]: Not enough free handles to register service
Dec 12 01:36:43 Laptop bluetoothd[7394]: Not enough free handles to register service
Dec 12 01:36:43 Laptop bluetoothd[7394]: Not enough free handles to register service
Dec 12 01:36:43 Laptop bluetoothd[7394]: Current Time Service could not be registere
Dec 12 01:36:43 Laptop bluetoothd[7394]: gatt-time-server: Input/output error (5)
Dec 12 01:36:43 Laptop bluetoothd[7394]: Not enough free handles to register service
Dec 12 01:36:43 Laptop bluetoothd[7394]: Not enough free handles to register service
Dec 12 01:36:43 Laptop bluetoothd[7394]: Sap driver initialization failed.
Dec 12 01:36:43 Laptop bluetoothd[7394]: sap-server: Operation not permitted (1)

I think this is a blueberry error. Given that there is more than one bluetooth backend, and more than one frontend, and the interface seems not to tell you which it is using - see screenshot - it is hard to tell.

image

If this problem does pertain to blueberry then, in addition to fixing it, it would be a good idea to put the word 'blueberry' in the interface somewhere - somewhere prominent.

Here's a screenshot of the packages I have installed.

image

Mint 18.3.

Mouse connected, but cursor doesn't move on Rapoo M100

BlueZ: 5.48.0
Distribution: Linux Mint 19.1
Desktop environment: Cinnamon

Hello.
Bought a mouse, which has several connections ways - via Bluetooth or USB (radio channel).
It's Rapoo M100 Silent.

I connect it through Blueman or standard system Cinnamon's bluetooth applet - all works.
Reboot system - all works.

When mouse goes to power saving mode (disconnects), and after you press something on it - it connects again.
Mint's bluetooth applet shows it's connected again, mouse's indicator shows the same.
But cursor isn't moved, mouse doesn't work.

Same issue for Blueman: blueman-project/blueman#994
(also tried it to work with a mouse)

On Macbook Pro 2017 system it works as expected.

Not sure it's related to Blueman, but I decided to leave issue here anyway, it's an additional info.
Also will create issue on Mint bugtracker, and will provide link to it here and vice versa.

If you'll need any additional info, or you'd like to test something - you can use my machine remotely.
Control laptop via TeamViewer and ask me to move\connect mouse via Telegram, for example.

Thank you.

Visibility?

can not turn off visibility

more of a bluetooth on/off than a configuration tool

Use Case: Connect to speaker and turn on sound

I have one use case for blueberry, and it's probably the main use case for almost every other user.

Connect to a speaker and play sound.

Here's the current steps:

  1. run 'bluetooth'
  2. see speaker in list
  3. open details dialog
  4. click on
  5. Wait for spinny thing
  6. click sound settings
  7. click speaker in list
  8. Close 3 windows

It would be awesome if anyone could:

  1. run bluetooth
  2. see speaker in list
  3. because it's a speaker there's a "Play sound" button. Click and it does 4-8

If it's not a speaker, then a "Connect" button would be apropos.

Anyways, thanks! I use what you made and appreciate it :-)

Cannot set up Triathlon mouse

I cannot manage to make my Logitech Triathlon M720 mouse work. However, that may be because of (i) its poor instructions, (ii) Blueberry's poor interface. On ii, please see #61.

Error when clicking "device settings"

Hey guys once i click device settings nothing happens.
Once I click on it there is an error:

Warning, no configuration tool known for panel sound

System: antergos + i3-gaps
Blueberry version: 1.1.20-1

Turning off Bluetooth also turns off Wifi

Version: Cinnamon 3.6.7
Distribution: Mint 18.3 x64
Kernel: 4.13

Graphics: Card: Advanced Micro Devices [AMD/ATI] Wrestler [Radeon HD 6320]
bus-ID: 00:01.0 chip-ID: 1002:9806
Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa)
Resolution: [email protected]
GLX Renderer: Gallium 0.4 on AMD PALM (DRM 2.46.0 / 4.8.0-53-generic, LLVM 3.8.0)
GLX Version: 3.0 Mesa 12.0.6 Direct Rendering: Yes

Network: Card-1: Broadcom BCM4313 802.11bgn Wireless Network Adapter
driver: wl bus-ID: 03:00.0 chip-ID: 14e4:4727
IF: wlo1 state: up mac:
Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: 2000 bus-ID: 07:00.0 chip-ID: 10ec:8168
IF: eno1 state: down mac:

Network Driver: bcmwl-kernel-source
Version 6.30.223.271+bdcom-Oubuntu1~1.2
Broadcom 802.11 Linux STA wireless driver source

Issue

Turn off bluetooth using either menu-preferences-bluetooth or the bluetooth panel icon also turns off wifi. Wifi will not reconnect even after a reboot.

Steps to reproduce

Turn on bluetooth, then see above under "Issue"

Expected behaviour

Bluetooth turns off normally, wifi continues to work

Other information

I can disable wireless without it disabling bluetooth, i.e. clicking on the wireless panel icon (or menu-preferences-network-wifi) and turning it off does not turn off the bluetooth.

Once the bluetooth (and wireless) are disabled via the bluetooth panel icon or menu-preferences-bluetooth, I cannot use the wireless panel icon (or menu-preferences-network-wifi) to turn wireless back on. It remains stuck in the off position despite clicking the icon to turn it on. The only way to get wireless functionality back is to turn bluetooth back on.

This is not an issue in Windows running the same system.

See also https://forums.linuxmint.com/viewtopic.php?f=49&t=261803
linuxmint/cinnamon#7208

Add support for awesome wm

At the moment I get:

 Warning: DE could not be detected!

Would be good to have some sensible defaults, e.g. pavucontrol for sound (if it exists)

Security issue: No way to turn off visibility w/o turning off blue tooth.

Hi, I upgraded mint 17->18. There was no bluetooth config app, so I installed blueberry (found on a blog).

It says my computer is available for file transfers. I really really don't want that because of security issues.

How can I become invisible, and unavailable for blue tooth file transfers?

I tried this, but blueberry seems to always make my laptop discoverable:

☀  bt-adapter --set Discoverable 0
Discoverable: 1 -> 0
☀  bt-adapter --set Discoverable 0
Discoverable: 0 -> 0
☀  blueberry   && echo "Ok"
Ok
☀  bt-adapter --set Discoverable 0
Discoverable: 1 -> 0

Enabled bluetooth every time I boot

I use Linux Mint 18.2 x64 Mate
I don't want, that the bluetooth is enabled every time I boot the system.
There is no option to set change this behaviour.

I want a "Turn on at startup"-option, which I can disable.

Switch OFF Bluetooth from Bluetooth applet, NOT Saved on Next Reboot !

Hi. I already post this in Redhat bugZilla due to the fact I'm on Fedora 24 Cinnamon edition. Today, just few minutes ago, I received new bluetooth packages update but bug is still without fix. For that I decided to post it here:

Description of problem:
I like to prevent bluetooth from switched ON on reboot from by bluetooth applet (blueman bluetooth manager) but I can not !

Steps to Reproduce:

  1. Click on "Turn Bluetooth OFF" from list menu of bluetooth applet (blueman bluetooth manager) see screenshot 1. This will turn OFF bluetooth O.K during current session.
  2. reboot PC

Actual results:
After reboot laptop, bluetooth reswitched ON automatically

Expected results:
Bluetooth remain switched OFF (Turn Bluetooth OFF of blueman bluetooth manager from previous boot remain effective on new boot)

Additional info:
Before recent updates for blueman which led to appearance of 2 bluetooth icons in panel), I was able to disable bluetooth from switch ON automatically each time launching or reboot my laptop by the following: system setting, Startup Applications, then disable bluetooth start. At that time doing so will prevent bluetooth will never load automatically at start up BUT I WAS STILL BE ABLE TO SWITCH BLUETOOTH ON AGAIN FROM SYSTEM SETTING. Now this is not possible: I should "Turn bluetooth OFF" from list menu of icon of blueman bluetooth manager then disable blueman bluetooth manager from startup application & this will prevent bluetooth from reswitched ON again on next boot BUT I WILL NEVER BE ABLE TO SWITCH ON BLUETOOTH AGAIN UNLESS BY CLICK ON "QUIT" FROM WITHIN ICON OF BLUETOOTH WHICH IS ALREADY SWITCHED OFF THEN ENABLE BLUEMAN ON STARTUP THEN REBOOT LAPTOP AGAIN !!!!

This is regression. Please fix this kindly.
1

Link to this bug on BugZilla is:
https://bugzilla.redhat.com/show_bug.cgi?id=1429473

no way to enter 8 digit pin

Hi,

I have a barcode scanner that has an 8 digit pin when factory defaulted.
I can't seem to enter more than 6 digits in the blueberry pair password dialogue.

I can pair with bluetoothctl and then blueberry and the scanner works fine after.

Blueberry turn on very slow when It can't find Bluetooth adapter.

In my notebook I don't have a Bluetooth adapter (or driver — I don't know).
When I launched Blueberry was turn It on very slow.

I attach screenshot when I start blueberry by terminal.
'Things' which blueberry do above red line take a long while (20-30 seconds).

bluetottd

Blueberry can't find any device, but blueman can

When I start blueberry, I get:

ERROR:lib/bluez/adapter.c:165:adapter_get_dbus_object_path: assertion failed: (ADAPTER_IS(self))
Could not retrieve the BT adapter name with 'bt-adapter -i': Command '['bt-adapter', '-i']' returned non-zero exit status -6
**
ERROR:lib/bluez/adapter.c:165:adapter_get_dbus_object_path: assertion failed: (ADAPTER_IS(self))
Could not retrieve the BT adapter name with 'bt-adapter -i': Command '['bt-adapter', '-i']' returned non-zero exit status -6

And blueberry starts but don't see my bt device.
I tried to start bt-adapter -i and got this:

**
ERROR:lib/bluez/adapter.c:165:adapter_get_dbus_object_path: assertion failed: (ADAPTER_IS(self))
Аварийный останов (стек памяти сброшен на диск)

But blueman works good and see my bt adapter.
btusb module loaded and bluetoothctl recognize my device.
Can anyone help me?

Double bluetooth icons

LM 18.2 MATE beta

Issue after logging into LM 18.2 with Bluetooth disabled which happens every_time on my laptop if I forget to do the keypress [Fn+F12] after a reboot and before logging in. See further details below...

Full description at the beta page (paragraph four):
http://blog.linuxmint.com/?p=3266#comment-135925

and slight elaboration... with reply from 'Clem' which I did not notice until today! (Jun 26)
http://blog.linuxmint.com/?p=3266#comment-135926

Image of double icons here:
https://postimg.org/image/p2864lw5x/
.

Please consider making it more evident when pairing is finished

It seems to me that the following window can easily leave the user wondering whether his/her Bluetooth device can now be used. For the devices spinner is still spinning and aside from the word 'connected' there's no no indication that all is ready to go. Or perhaps I find this unclear only because I've had such a struggle to get things working (which they still aren't, even though 'pairing' does seem to have been established).

image

Blueberry Applet : Please add features

Hello

Blueberry applet features (Cinnamon applet not blueberry-tray) aren't as complete as the old bluetooth applet in linux mint 16 or 17.

Currently the blueberry applet is just a 'link' to the bluetooth settings.

Is it possible to add more features : a switch to quickly connect/disconnect bluetooth, a submenu for the paired devices ... ?

I made this mockup for more precision.
capture d ecran du 2018-12-07 07 17 30

Thank you :)

Blueberry "Visible as 'Bastien's computer' "

Hi there, on Blueberry 1.0.9 in Manjaro (Arch derivative), Blueberry claims that my computer is visible as "Bastien's computer". No idea where it got that name from, and furthermore it's wrong, my computer is visible via bluetooth as "T530".

Configuration wizard window is unclear

(1) Please see the screenshot immediately below. It seems to me unclear what is being shown and what action - if any - is being solicited from the user.

image

I read the word 'connected'; but I see also the 'spinner' . . Also, I was surprised to discover that the horizontal bar is clickable, although I did not understand what action I had initiated when I did click it.

(2) Again please see the screenshot immediately below. Once more, it seems to me unclear what is being shown and what action is being solicited from the user.

image

Is one to understand that the device is paired but - given the greying-out - not connected? If so, what should one do?

Mint 18.3.

Auto Accept files on my personal computer from my own phone

As of now I get a notification for every file I want to send from my phone to my computer.

The notifications are nice and especially if someone other than myself tried to send a file to my computer I would like to know. But for multiple files from a trusted device this becomes a tedious process.

Question: Can I mark my phone as trusted and auto-accept all files sent from it or to it?

Thanks!

OS Linux Mint 18.3
Phone Nexus 5X

"All types" in Bluetooth dialog makes it hard to set up new devices

[Moved here from https://github.com/linuxmint/cinnamon/issues/5620 because the project members there were too lazy to do do, say as a "thanks" for my time to file the bug report]

Is it possible to be more specific about the detected Bluetooth devices? Maybe at least display the manufacturer based on the first three bytes of the MAC address?

Or display the MAC, even if cryptic, because the user might recognize one or two bytes from somewhere else where they might have seen it while pairing (e.g. in a car).

image

Blueberry may be continually scanning for devices causing high CPU usage

This is a copy of the issue from linuxmint/cinnamon as this may be a Blueberry issue and not a Cinnamon issue per se.

 * Cinnamon version (3.6.7)
 * Distribution - (Mint 18.3 Debian)
 * Graphics hardware *and* driver used: Nvidia-390 390.25-0ubuntu0-gpu16.04.1 NVIDIA binary driver version 390.25
 * 64 bit Intel Core i7 - HP Envy laptop

Issue
Anytime the Bluetooth applet is used cinnamon CPU usage skyrockets.

Steps to reproduce

  1. In terminal run top
  2. Note that the CPU % for cinnamon is 10% or less.
  3. Click on the Bluetooth applet and make sure the Devices tab is selected.
  4. Watch the CPU % for cinnamon go up around 80%+.
  5. Using the Bluetooth applet turn Bluetooth off (or if you click on the Settings tab).
  6. Note that CPU % for cinnamon drops down to 10% or less.
  7. Using the Bluetooth applet turn Bluetooth back on (or click back on the Devices tab).
  8. Note that CPU % for cinnamon skyrockets back to around 80%+

image

Expected behaviour

CPU % usage for cinnamon shouldn't be impacted by using Bluetooth

Other information
This is a recent and clean install of Linux Mint 18.3 to my new SSD. My previous install didn't have this issue but I was using Blueman and never used the "blueberry" applet before.
I installed Blueman and using this instead of the applet the CPU usage problem does not occur.

can't close windows by shortcut(?)

Hi, please give us the power to close blueberry using a shortcut.
I just installed it into my AwesomeWM and now i have to checkout the process to kill it by hand?
Thats a bit sad.

rfkill permissions

I'm running blueberry outside of a desktop environment (the Arch Linux wiki describes it as "Linux Mint's spin-off of GNOME Bluetooth, which works in all desktop environments", I don't know how accurate this is but makes me think my use case is not out of question).

There is this toggle for disabling bluetooth, which I normally do using systemctl. It would be nice if it worked but it just fails miserably because it has no permission to run rfkill. Now, I guess I could modify sudoers so that my user can run rfkill without pass, but that's not nice.

Why not calling rfkill using gksudo, pkexec or similar? I mean, something that requests the user to enter his/her pass. How is it that it works under Mint for a unpriviledged user?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.