blueman-project / blueman

Blueman is a GTK+ Bluetooth Manager
GNU General Public License v3.0
1.26k stars 192 forks source link

Two icons in the dash board #396

Closed MS893 closed 8 years ago

MS893 commented 8 years ago

In the dash board, when adding the greffon (indicator), I have two icons for bluetooth, 1 for switching ON or OFF the bluetooth and the devices, 1 for general menu managing bluetooth.

Is it possible to group these two icons in only one ?

Thanks.

cschramm commented 8 years ago

What dashboard? Are you talking about tray icons? I doubt that they are both blueman's.

MS893 commented 8 years ago

Yes tray icons... (in the bar on top screen or bottom)

I will sens a screen capture when back home (sunday).

One icon with BT configuration menu (with enable/disable option) and one with switches to change between ON and OFF and list of paires devices in which you have also switches to connecter device.

yars068 commented 8 years ago

Which distribution you are running on?

MS893 commented 8 years ago

I tell you when back home.

This problem is for long time and several xubuntu updates.

MS893 commented 8 years ago

xubuntu...

yars068 commented 8 years ago

Possible it is, because blueman uses libappindicator3, which is part of ubuntu-based distributions. Xfce have a system tray, which have a similar functionality as libappindicator. I use Slackware with Xfce and that does not use libappindicator anymore, so I have no problem with that. To check it, you can build bliueman with passing --disable-appindicator to configure.

MS893 commented 8 years ago

Here are the screen captures...

capture d ecran_2015-11-29_14-04-15 capture d ecran_2015-11-29_14-06-03 img_20151129_140135 img_20151129_140238

infirit commented 8 years ago

The first one is not blueman and from the looks of it it most likely is gnome-bluetooth. Do you have gnome-bluetooth installed and is it running?

MS893 commented 8 years ago

I don't know. Here is the blueman-applet informations : capture d ecran_2015-11-29_14-49-35 capture d ecran_2015-11-29_14-50-16

infirit commented 8 years ago

I just checked my vm and the first one is definitely gnome-bluetooth. You will need to prevent gnome-bluetooth from loading or remove gnome-bluetooth with the ubuntu package manager of choice.

MS893 commented 8 years ago

I've removed gnome-bluetooth (gnome-bluetooth 3.16.1-1ubuntu2), but I still have 2 icons in the top bar.

Anyway, if I cannot remove one (or in fact merge the 2 icons), I give up I have this for a long time, and I'm not dead :-)

Thanks for trying to help

infirit commented 8 years ago

but I still have 2 icons in the top bar

Just removing will not stop the still running process. Run the following command to kill it. killpgrep gnome-bluetooth

MS893 commented 8 years ago

Yes I know, I have rebooted my computer after uninstalling gnome-bluetooth and there is no more process.

The 2 icons are not due to gnome_bluetooth, but the xfce4-indicator-plugin which display 2 icons. The problem is not from Blueman...

I don't know which alternative I have for the greffon (indicator plugin)...

Anyway, it's not a big problem, just not logical to have 2 icons for the same function. Thanks

cschramm commented 8 years ago

The gnome-bluetooth version shipped with wily should not have bluetooth-applet anymore, so basically it makes sense that removing that package does not have the expected effect. The applet is now provided by gnome-shell. I guess it uses the package libgnome-bluetooth13. Can you check if it's installed and if removing it (is possible and) removes the icon?

MS893 commented 8 years ago

Yes libgnome-bluetooth13 is installed, but how can I uninstall it ?

MS893 commented 8 years ago

I have done this : sudo apt-get remove libgnome-bluetooth13 to remove it, and now I have 1 icon, but "no indicator" displayed also !!! capture d ecran_2015-11-29_20-10-39

cschramm commented 8 years ago

I guess that removed the only libindicator icon from xfce4-indicator-plugin so that it now displays a placeholder. You can get rid of it by removing it from the panel or uninstalling it completely.

MS893 commented 8 years ago

Thanks, that's all good now !

I have reinstalled the libgnome-bluetooth13, than I removed the indicator greffon from the tab, and I added other elements and now I have only one bluetooth icon in the notification element.

So my problem is solved, thank you very much for your patience !

capture d ecran_2015-11-29_20-43-25