蓝牙 - 无法在 ubuntu 12.10 中浏览文件

Sta*_*ond 4 bluetooth 12.10

我可以将文件发送到我的手机,但我无法浏览文件...

我的蓝牙信息:

~$ lsusb | grep Bluetooth 
Bus 002 Device 003: ID 0a5c:21b4 Broadcom Corp. BCM2070 Bluetooth 2.1 + EDR
Run Code Online (Sandbox Code Playgroud)

这是 ubuntu 12.10 中的错误吗?

mar*_*ene 5

https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1057546有一个已知的错误。

user26381 建议的解决方案工作正常,如果您不想每次都使用图形界面,则可以制作如下所示的脚本(对于诺基亚 e72)并将其添加到您的路径中。由于您手机的MAC地址不会改变,您只需要设置一次脚本即可。

设置

sudo apt-get install obexfs #install obexfs tool as recommended above
mkdir ~.e72       #make a directory, the name could be anything.  The dot "hides" it from normal file browsing

hcitool scan      #detect the MAC address for your phone assuming that it has been previously paired via the Bluetooth tray icon.
Run Code Online (Sandbox Code Playgroud)

现在使用您的 MAC 地址和文件夹名称创建一个包含以下内容的脚本。在此示例中,脚本位于我的主目录中的 Gnome 脚本文件夹中,但它可以位于任何位置。Gnome 脚本文件夹的优点是您可以通过 nautilus GUI 执行它。

vim ~/.gnome2/nautilus-scripts/e72    #insert the following two lines in the script...
obexfs -b AC:93:2F:29:75:90 ~/.e72
nautilus ~/.e72 &
Run Code Online (Sandbox Code Playgroud)

您必须使用以下命令使脚本可执行:chmod u+x ~/.gnome2/nautilus-scripts/e72

用法

每当您需要浏览手机上的文件时,只需执行以下操作:

  1. 通过托盘图标和手机激活蓝牙(即使没有脚本,您也必须这样做;-))
  2. 右键单击 Nautilus 右侧窗格中的任何文件或文件夹并执行 Scripts -> e72
  3. 应打开一个新的 nautilus 文件资源管理器窗口,指向您的手机。