After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 649446 - Can't start gnome-bluetooth applet in Gnome 3
Can't start gnome-bluetooth applet in Gnome 3
Status: RESOLVED NOTABUG
Product: gnome-bluetooth
Classification: Core
Component: applet
unspecified
Other Linux
: Normal blocker
: ---
Assigned To: gnome-bluetooth-general-maint@gnome.bugs
gnome-bluetooth-general-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2011-05-05 10:05 UTC by Rick Dearman
Modified: 2011-05-07 07:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rick Dearman 2011-05-05 10:05:22 UTC
How do I get this working in Gnome 3. It is one of my most used applets. I can see it in the settings, and it is turned on. But there is no icon to click in the shell to transfer files or connect to devices.

I put this as blocker since it doesn't seem to exist, and it keeps me from doing blue-tooth transfers
Comment 1 Bastien Nocera 2011-05-05 10:46:27 UTC
(In reply to comment #0)
> How do I get this working in Gnome 3.

Install gnome-bluetooth before compiling gnome-shell (if you're building this yourself). And you'll get a properly integrated Bluetooth menu in GNOME 3.

Something similar to that:
http://www.hadess.net/2010/11/bluetooth-in-gnome-shell.html

If you're not building gnome-shell yourself, ask your distribution to ship a gnome-shell with Bluetooth support builtin.

> It is one of my most used applets. I can
> see it in the settings, and it is turned on. But there is no icon to click in
> the shell to transfer files or connect to devices.
> 
> I put this as blocker since it doesn't seem to exist, and it keeps me from
> doing blue-tooth transfers

You're trying to run the bluetooth-applet by hand, which is only used for the fallback session. You don't need to run it by hand in any case.
Comment 2 Rick Dearman 2011-05-05 12:28:10 UTC
Ubuntu IRC suppport say that the gnome shell in the repositories has bluetooth support enabled. But I still don't have an icon. I don't want to build it myself, since then I lose all the advantages of using a package management tool. 

I will have a go at building form source with apt-get.
Comment 3 Bastien Nocera 2011-05-05 12:51:14 UTC
(In reply to comment #2)
> Ubuntu IRC suppport say that the gnome shell in the repositories has bluetooth
> support enabled. But I still don't have an icon. I don't want to build it
> myself, since then I lose all the advantages of using a package management
> tool. 

You'll want to check that the Bluetooth dongle is working by running: "hciconfig hci0". If the output says "DOWN", then bluetoothd isn't running (that would be a distribution bug).

Which versions of gnome-bluetooth and gnome-shell are installed?

> I will have a go at building form source with apt-get.
Comment 4 Rick Dearman 2011-05-05 13:09:10 UTC
hciconfig hci0
hci0:	Type: BR/EDR  Bus: USB
	BD Address: 00:24:7E:3F:02:32  ACL MTU: 1017:8  SCO MTU: 64:8
	UP RUNNING PSCAN ISCAN 
	RX bytes:687 acl:0 sco:0 events:26 errors:0
	TX bytes:370 acl:0 sco:0 commands:26 errors:0

gnome-shell --version
GNOME Shell 3.0.0.2

dpkg -s gnome-bluetooth
Package: gnome-bluetooth
Status: install ok installed
Priority: optional
Section: gnome
Installed-Size: 3376
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: i386
Version: 3.0.0-0ubuntu1~build1

I have also emailed the package management team for gnome3 (at ubuntu) just to double check the package is built with bluetooth installed. 

My android phone can see my Laptop, but can't pair. I have a blackberry that can also see the Laptop. When I tried to pair, got the following in the syslogs.

May  5 14:07:50 rick-HP-Compaq-6730s bluetoothd[4154]: No agent available for request type 0
May  5 14:07:50 rick-HP-Compaq-6730s bluetoothd[4154]: PIN code negative reply: Operation not permitted
May  5 14:07:50 rick-HP-Compaq-6730s NetworkManager[961]: <info> BT device XX:XX:XX:XX:XX:XX removed
Comment 5 Bastien Nocera 2011-05-05 13:17:02 UTC
(In reply to comment #4)
<snip>

The adapter is working properly.

> I have also emailed the package management team for gnome3 (at ubuntu) just to
> double check the package is built with bluetooth installed. 

Where's the build logs for it? I'm pretty certain they haven't got it built with Bluetooth support (or /dev/rfkill has the wrong permissions).

> My android phone can see my Laptop, but can't pair. I have a blackberry that
> can also see the Laptop. When I tried to pair, got the following in the
> syslogs.
> 
> May  5 14:07:50 rick-HP-Compaq-6730s bluetoothd[4154]: No agent available for
> request type 0
> May  5 14:07:50 rick-HP-Compaq-6730s bluetoothd[4154]: PIN code negative reply:
> Operation not permitted
> May  5 14:07:50 rick-HP-Compaq-6730s NetworkManager[961]: <info> BT device
> XX:XX:XX:XX:XX:XX removed

That means that the Bluetooth code in gnome-shell isn't running.
Comment 6 Rick Dearman 2011-05-05 13:59:02 UTC
>> Where's the build logs for it? I'm pretty certain they haven't got it built
>> with Bluetooth support (or /dev/rfkill has the wrong permissions).

Zooming past my expertise now. If you can tell me how to get the build logs, then I will get them for you. Otherwise I will have to defer to the Ubuntu/Debian package maintainers.

I filled a request with their mailing list, asking for confirmation that bluetooth was in the build but can't find the link. Argggh

Reporting a bug to Debian/Ubuntu package maintainers seems to be some kind of black art, because I couldn't find anything other than a mailing list address.
Comment 7 Rick Dearman 2011-05-05 14:00:32 UTC
This is the mailing-list I used to ask for confirmation of blue-tooth in the build.

gnome3-team@lists.launchpad.net
Comment 8 Bastien Nocera 2011-05-05 15:03:16 UTC
(In reply to comment #6)
> >> Where's the build logs for it? I'm pretty certain they haven't got it built
> >> with Bluetooth support (or /dev/rfkill has the wrong permissions).
> 
> Zooming past my expertise now. If you can tell me how to get the build logs,
> then I will get them for you. Otherwise I will have to defer to the
> Ubuntu/Debian package maintainers.

I don't know how to get the build logs for Ubuntu, otherwise I wouldn't have asked :)
Comment 9 Rick Dearman 2011-05-06 15:56:54 UTC
You asked for the permissions on /dev/rfkill, here they are. I have reported a bug to the distributor. 

crw-rw-r--+ 1 root root 10, 62 2011-05-06 00:47 /dev/rfkill

Ubuntu bug report:

https://bugs.launchpad.net/ubuntu/+bug/778592
Comment 10 Bastien Nocera 2011-05-06 16:20:43 UTC
Try getfacl on /dev/rfkill instead. It's likely you have rights on it even if the Unix rights aren't the right ones.
Comment 11 Rick Dearman 2011-05-06 17:48:46 UTC
getfacl: Removing leading '/' from absolute path names
# file: dev/rfkill
# owner: root
# group: root
user::rw-
user:rick:rw-
group::r--
mask::rw-
other::r--
Comment 12 Bastien Nocera 2011-05-06 17:55:27 UTC
You have access to it then. I'll leave this closed until the Ubuntu maintainers can show me the build logs that say that gnome-shell has been built with Bluetooth support.
Comment 13 Rick Dearman 2011-05-07 00:02:23 UTC
I got a response which I didn't understand (I think he thought I was a fellow packager) but it seems that bluetooth support failed to build. I have cut the message below in case you don't have access to the system. However I looked quickly at the links they gave and the build logs were listed on the page. Hopefully that will help someone determine where it has gone wrong.

I appears that your original assumption is correct and the problem is with the distribution. 

I REALLY appreciate all the time you have spent on this with me.


8< --------------------------------------------------


https://launchpad.net/~gnome3-team

If you are still learning, the best thing is to propose merges into the
package branches (lp:~gnome3-team/package-name/ubuntu) and ask for help
in #ubuntu-desktop.

I'm not saying for certain but looking at the mailing list:

https://lists.launchpad.net/gnome3-team/msg00070.html
https://lists.launchpad.net/gnome3-team/msg00072.html

2 builds for gnome-bluetooth which fail might suggest something, you
mentioned sending an email to the list but I can't see you as a member
or even a proposed member of that team and I can't see your email to the
list, which might be because you're not a member of the team thus can't
send any emails to the list.

>From what I can see you're installing Gnome 3 from a PPA, which is not
supported by ubuntu or even anything in launchpad so I suggest finding
out the information you require in the right channel.
Comment 14 Bastien Nocera 2011-05-07 07:03:02 UTC
"checking for bluetooth support... no"
in:
https://launchpadlibrarian.net/71224485/buildlog_ubuntu-natty-amd64.gnome-shell_3.0.1-0ubuntu1~build1_BUILDING.txt.gz

Their PPA doesn't have Bluetooth support.