kde4 bluetooth files open

Various KDE 1.-4. Improvements

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Available as/for:
Description:
kde4 currently does not support directly open bluetooth devices in konqueror or dolphin , like it was in kde3.
There is a smal script for very powerfull gtk2 application blueman (let's not discuss here that kdebluetooth4 is far away from something working at a moment) , which allows you open bluetooth device in konqueror after you click "Browse Files on device" .See the screenshot

Dependencies:
1.blueman (which is gtk2 application , but can handle everything you need with bluetooth devices)
2.obexfs (fuse virtual file system for bluetooth devices) .It's VERY recomended to have latest version - at least obexfs-0.11 or better obexfs-0.12
3. konqueror (dolphin does not handle these shares yet.Sorry)

How to setup:
1.Copy attached script to /usr/local/bin and make it executable
2.In blueman options "Local Services->Advanced" point the command to open the files to the one provided by me on second screenshot:
/usr/local/bin/bluemankde4_open %d
3 Add user you are logged in kde to the group "fuse" .It's required to run obexfs as user

If all Ok You will see the same screen in konqueror as mine.And from that moment you are able to read and write to bluetooth device
If you have any problems , please send me the output of /var/log/messages .I will take a look and will help
Last changelog:

0.1
Initial version
0.2
changed path to cat : from /usr/bin/cat to cat
0.3
now script first checks and unmounts phone if it's already mounted.It's fix error when empty dir opens when phone was mounted first time long quite some time ago
improve code structure.Logical parts of code moved to functions
improved popup messages notifications


Ratings & Comments

38 Comments

newbember

Work perfect for me. Thx.

sergeidanilov

you are welcome ;)

tonyv78

Hi, to everyone, i try to let work on my system the bluemankde4_open script but nothing don't work, the blueman installed is the version 1.21 the version of obexfs is 0.11-1.When i try to browse files on device i always get the same message: "impossible lauch /usr/local/bin/bluemankde4_open [err N.2] no file or directory"in the log file not message, only if a lauch manualy the script than i get some message in the log file as follow: Dec 27 20:53:03 tonyv78-laptop kernel: [ 60.041663] generic-bluetooth 0005:046D:B008.0001: input,hidraw0: BLUETOOTH HID v3.13 Mouse [Bluetooth Laser Travel Mouse] on 00:16:41:75:8B:4D Dec 27 20:56:06 tonyv78-laptop kernel: [ 242.540691] CE: hpet increasing min_delta_ns to 15000 nsec Dec 27 21:05:17 tonyv78-laptop bluemankde4_open.sh[2480]: Create directory /tmp/ to mount the phone by bluetooth Dec 27 21:05:17 tonyv78-laptop bluemankde4_open.sh[2488]: /tmp/ is not mounted.No need to perform umount Dec 27 21:05:17 tonyv78-laptop bluemankde4_open.sh[2489]: Perform 0 try to mount phone to /tmp/ using obexfs Dec 27 21:05:17 tonyv78-laptop bluemankde4_open.sh[2490]: Execute: obexfs -b -B 10 /tmp/ Dec 27 21:05:20 tonyv78-laptop bluemankde4_open.sh[2498]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 21:05:20 tonyv78-laptop bluemankde4_open.sh[2499]: Failed to mount to /tmp/ from the 0 try Dec 27 21:05:20 tonyv78-laptop bluemankde4_open.sh[2501]: Perform 1 try to mount phone to /tmp/ using obexfs Dec 27 21:05:20 tonyv78-laptop bluemankde4_open.sh[2502]: Execute: obexfs -b -B 10 /tmp/ Dec 27 21:05:23 tonyv78-laptop bluemankde4_open.sh[2513]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 21:05:23 tonyv78-laptop bluemankde4_open.sh[2514]: Failed to mount to /tmp/ from the 1 try Dec 27 21:05:23 tonyv78-laptop bluemankde4_open.sh[2516]: Perform 2 try to mount phone to /tmp/ using obexfs Dec 27 21:05:23 tonyv78-laptop bluemankde4_open.sh[2517]: Execute: obexfs -b -B 10 /tmp/ Dec 27 21:05:26 tonyv78-laptop bluemankde4_open.sh[2525]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 21:05:26 tonyv78-laptop bluemankde4_open.sh[2526]: Failed to mount to /tmp/ from the 2 try Dec 27 21:05:26 tonyv78-laptop bluemankde4_open.sh[2528]: Perform 3 try to mount phone to /tmp/ using obexfs Dec 27 21:05:26 tonyv78-laptop bluemankde4_open.sh[2529]: Execute: obexfs -b -B 10 /tmp/ Dec 27 21:05:29 tonyv78-laptop bluemankde4_open.sh[2540]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 21:05:29 tonyv78-laptop bluemankde4_open.sh[2541]: Failed to mount to /tmp/ from the 3 try Dec 27 21:05:29 tonyv78-laptop bluemankde4_open.sh[2543]: Perform 4 try to mount phone to /tmp/ using obexfs Dec 27 21:05:29 tonyv78-laptop bluemankde4_open.sh[2544]: Execute: obexfs -b -B 10 /tmp/ Dec 27 21:05:32 tonyv78-laptop bluemankde4_open.sh[2555]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 21:05:32 tonyv78-laptop bluemankde4_open.sh[2556]: Failed to mount to /tmp/ from the 4 try Dec 27 21:38:12 tonyv78-laptop kernel: [ 2769.089092] CE: hpet increasing min_delta_ns to 22500 nsec Dec 27 22:31:03 tonyv78-laptop bluemankde4_open.sh[6279]: Create directory /tmp/ to mount the phone by bluetooth Dec 27 22:31:03 tonyv78-laptop bluemankde4_open.sh[6287]: /tmp/ is not mounted.No need to perform umount Dec 27 22:31:03 tonyv78-laptop bluemankde4_open.sh[6288]: Perform 0 try to mount phone to /tmp/ using obexfs Dec 27 22:31:03 tonyv78-laptop bluemankde4_open.sh[6289]: Execute: obexfs -b -B 10 /tmp/ Dec 27 22:31:06 tonyv78-laptop bluemankde4_open.sh[6297]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 22:31:06 tonyv78-laptop bluemankde4_open.sh[6298]: Failed to mount to /tmp/ from the 0 try Dec 27 22:31:06 tonyv78-laptop bluemankde4_open.sh[6300]: Perform 1 try to mount phone to /tmp/ using obexfs Dec 27 22:31:06 tonyv78-laptop bluemankde4_open.sh[6301]: Execute: obexfs -b -B 10 /tmp/ Dec 27 22:31:09 tonyv78-laptop bluemankde4_open.sh[6312]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 22:31:09 tonyv78-laptop bluemankde4_open.sh[6313]: Failed to mount to /tmp/ from the 1 try Dec 27 22:31:09 tonyv78-laptop bluemankde4_open.sh[6315]: Perform 2 try to mount phone to /tmp/ using obexfs Dec 27 22:31:09 tonyv78-laptop bluemankde4_open.sh[6316]: Execute: obexfs -b -B 10 /tmp/ Dec 27 22:31:12 tonyv78-laptop bluemankde4_open.sh[6327]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 22:31:12 tonyv78-laptop bluemankde4_open.sh[6328]: Failed to mount to /tmp/ from the 2 try Dec 27 22:31:12 tonyv78-laptop bluemankde4_open.sh[6330]: Perform 3 try to mount phone to /tmp/ using obexfs Dec 27 22:31:12 tonyv78-laptop bluemankde4_open.sh[6331]: Execute: obexfs -b -B 10 /tmp/ Dec 27 22:31:15 tonyv78-laptop bluemankde4_open.sh[6339]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 22:31:15 tonyv78-laptop bluemankde4_open.sh[6340]: Failed to mount to /tmp/ from the 3 try Dec 27 22:31:15 tonyv78-laptop bluemankde4_open.sh[6342]: Perform 4 try to mount phone to /tmp/ using obexfs Dec 27 22:31:15 tonyv78-laptop bluemankde4_open.sh[6343]: Execute: obexfs -b -B 10 /tmp/ Dec 27 22:31:18 tonyv78-laptop bluemankde4_open.sh[6367]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 22:31:18 tonyv78-laptop bluemankde4_open.sh[6368]: Failed to mount to /tmp/ from the 4 try Thanks in advance.

tonyv78

Hi, to everyone, i try to let work on my system the bluemankde4_open script but nothing don't work, the blueman installed is the version 1.21 the version of obexfs is 0.11-1.When i try to browse files on device i always get the same message: "impossible lauch /usr/local/bin/bluemankde4_open [err N.2] no file or directory"in the log file not message, only if a lauch manualy the script than i get some message in the log file as follow: Dec 27 20:53:03 tonyv78-laptop kernel: [ 60.041663] generic-bluetooth 0005:046D:B008.0001: input,hidraw0: BLUETOOTH HID v3.13 Mouse [Bluetooth Laser Travel Mouse] on 00:16:41:75:8B:4D Dec 27 20:56:06 tonyv78-laptop kernel: [ 242.540691] CE: hpet increasing min_delta_ns to 15000 nsec Dec 27 21:05:17 tonyv78-laptop bluemankde4_open.sh[2480]: Create directory /tmp/ to mount the phone by bluetooth Dec 27 21:05:17 tonyv78-laptop bluemankde4_open.sh[2488]: /tmp/ is not mounted.No need to perform umount Dec 27 21:05:17 tonyv78-laptop bluemankde4_open.sh[2489]: Perform 0 try to mount phone to /tmp/ using obexfs Dec 27 21:05:17 tonyv78-laptop bluemankde4_open.sh[2490]: Execute: obexfs -b -B 10 /tmp/ Dec 27 21:05:20 tonyv78-laptop bluemankde4_open.sh[2498]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 21:05:20 tonyv78-laptop bluemankde4_open.sh[2499]: Failed to mount to /tmp/ from the 0 try Dec 27 21:05:20 tonyv78-laptop bluemankde4_open.sh[2501]: Perform 1 try to mount phone to /tmp/ using obexfs Dec 27 21:05:20 tonyv78-laptop bluemankde4_open.sh[2502]: Execute: obexfs -b -B 10 /tmp/ Dec 27 21:05:23 tonyv78-laptop bluemankde4_open.sh[2513]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 21:05:23 tonyv78-laptop bluemankde4_open.sh[2514]: Failed to mount to /tmp/ from the 1 try Dec 27 21:05:23 tonyv78-laptop bluemankde4_open.sh[2516]: Perform 2 try to mount phone to /tmp/ using obexfs Dec 27 21:05:23 tonyv78-laptop bluemankde4_open.sh[2517]: Execute: obexfs -b -B 10 /tmp/ Dec 27 21:05:26 tonyv78-laptop bluemankde4_open.sh[2525]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 21:05:26 tonyv78-laptop bluemankde4_open.sh[2526]: Failed to mount to /tmp/ from the 2 try Dec 27 21:05:26 tonyv78-laptop bluemankde4_open.sh[2528]: Perform 3 try to mount phone to /tmp/ using obexfs Dec 27 21:05:26 tonyv78-laptop bluemankde4_open.sh[2529]: Execute: obexfs -b -B 10 /tmp/ Dec 27 21:05:29 tonyv78-laptop bluemankde4_open.sh[2540]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 21:05:29 tonyv78-laptop bluemankde4_open.sh[2541]: Failed to mount to /tmp/ from the 3 try Dec 27 21:05:29 tonyv78-laptop bluemankde4_open.sh[2543]: Perform 4 try to mount phone to /tmp/ using obexfs Dec 27 21:05:29 tonyv78-laptop bluemankde4_open.sh[2544]: Execute: obexfs -b -B 10 /tmp/ Dec 27 21:05:32 tonyv78-laptop bluemankde4_open.sh[2555]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 21:05:32 tonyv78-laptop bluemankde4_open.sh[2556]: Failed to mount to /tmp/ from the 4 try Dec 27 21:38:12 tonyv78-laptop kernel: [ 2769.089092] CE: hpet increasing min_delta_ns to 22500 nsec Dec 27 22:31:03 tonyv78-laptop bluemankde4_open.sh[6279]: Create directory /tmp/ to mount the phone by bluetooth Dec 27 22:31:03 tonyv78-laptop bluemankde4_open.sh[6287]: /tmp/ is not mounted.No need to perform umount Dec 27 22:31:03 tonyv78-laptop bluemankde4_open.sh[6288]: Perform 0 try to mount phone to /tmp/ using obexfs Dec 27 22:31:03 tonyv78-laptop bluemankde4_open.sh[6289]: Execute: obexfs -b -B 10 /tmp/ Dec 27 22:31:06 tonyv78-laptop bluemankde4_open.sh[6297]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 22:31:06 tonyv78-laptop bluemankde4_open.sh[6298]: Failed to mount to /tmp/ from the 0 try Dec 27 22:31:06 tonyv78-laptop bluemankde4_open.sh[6300]: Perform 1 try to mount phone to /tmp/ using obexfs Dec 27 22:31:06 tonyv78-laptop bluemankde4_open.sh[6301]: Execute: obexfs -b -B 10 /tmp/ Dec 27 22:31:09 tonyv78-laptop bluemankde4_open.sh[6312]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 22:31:09 tonyv78-laptop bluemankde4_open.sh[6313]: Failed to mount to /tmp/ from the 1 try Dec 27 22:31:09 tonyv78-laptop bluemankde4_open.sh[6315]: Perform 2 try to mount phone to /tmp/ using obexfs Dec 27 22:31:09 tonyv78-laptop bluemankde4_open.sh[6316]: Execute: obexfs -b -B 10 /tmp/ Dec 27 22:31:12 tonyv78-laptop bluemankde4_open.sh[6327]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 22:31:12 tonyv78-laptop bluemankde4_open.sh[6328]: Failed to mount to /tmp/ from the 2 try Dec 27 22:31:12 tonyv78-laptop bluemankde4_open.sh[6330]: Perform 3 try to mount phone to /tmp/ using obexfs Dec 27 22:31:12 tonyv78-laptop bluemankde4_open.sh[6331]: Execute: obexfs -b -B 10 /tmp/ Dec 27 22:31:15 tonyv78-laptop bluemankde4_open.sh[6339]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 22:31:15 tonyv78-laptop bluemankde4_open.sh[6340]: Failed to mount to /tmp/ from the 3 try Dec 27 22:31:15 tonyv78-laptop bluemankde4_open.sh[6342]: Perform 4 try to mount phone to /tmp/ using obexfs Dec 27 22:31:15 tonyv78-laptop bluemankde4_open.sh[6343]: Execute: obexfs -b -B 10 /tmp/ Dec 27 22:31:18 tonyv78-laptop bluemankde4_open.sh[6367]: Found 0 mounted /tmp/ inside /proc/mounts Dec 27 22:31:18 tonyv78-laptop bluemankde4_open.sh[6368]: Failed to mount to /tmp/ from the 4 try Thanks in advance.

Coolmax

I hope that I won't have to use nautilus or console :). Your script is great, but I have some issues with. Mounting is ok, but when I launch dolphin or konqueror with this folder both freezes. A few seconds later is ok until I open subfolder or simply move cursor over folder icon. So browsing isn't completely usable. Is there any solutions or I have to use terminal? :) KDE 4.3.1 "release 6" on openSUSE 11.2

sergeidanilov

Hi, I had the similar problem with dolphin.By default dolphin creates hidden file in the every directory to store directory properties.It's takes some time.This might be the cause.You could switch this off via the dolphin settings and try one more time But with konqeror all was ok for me. I didn't use the suse , but it might enable file/directory preview for both browsers.So when you see the directory icon file manager might try to draw the preview of the pictures inside this icon.Via bluetooth this operation is extremely slow So also try to disable draw of pictures preview in file manager.

idioot

To make it work, change out=`obexfs -b $phone_addr $dir 2>&1` to out=`obexfs -b $phone_addr -B 10 $dir 2>&1` It is on line 16, in case you were wondering.

idioot

To make it work, change out=`obexfs -b $phone_addr $dir 2>&1` to out=`obexfs -b $phone_addr -B 10 $dir 2>&1` It is on line 16, in case you were wondering.

MatthewBrian

I have installed it, but I cannot get it work. (note: I have the latest blueman & obexfs) Here is the /var/log/messages: Sep 24 17:39:39 brian-desktop bluemankde4_open[6799]: Create directory /tmp/00:18:A4:40:D2:39 to mount the phone by bluetooth Sep 24 17:39:39 brian-desktop bluemankde4_open[6807]: /tmp/00:18:A4:40:D2:39 is not mounted.No need to perform umount Sep 24 17:39:39 brian-desktop bluemankde4_open[6808]: Perform 0 try to mount phone 00:18:A4:40:D2:39 to /tmp/00:18:A4:40:D2:39 using obexfs Sep 24 17:39:39 brian-desktop bluemankde4_open[6809]: Execute: obexfs -b 00:18:A4:40:D2:39 -B 10 /tmp/00:18:A4:40:D2:39 Sep 24 17:39:46 brian-desktop bluemankde4_open[6818]: Found 0 mounted /tmp/00:18:A4:40:D2:39 inside /proc/mounts Sep 24 17:39:46 brian-desktop bluemankde4_open[6819]: Failed to mount 00:18:A4:40:D2:39 to /tmp/00:18:A4:40:D2:39 from the 0 try Sep 24 17:39:46 brian-desktop bluemankde4_open[6821]: Perform 1 try to mount phone 00:18:A4:40:D2:39 to /tmp/00:18:A4:40:D2:39 using obexfs Sep 24 17:39:46 brian-desktop bluemankde4_open[6822]: Execute: obexfs -b 00:18:A4:40:D2:39 -B 10 /tmp/00:18:A4:40:D2:39 Sep 24 17:39:50 brian-desktop bluemankde4_open[6830]: Found 0 mounted /tmp/00:18:A4:40:D2:39 inside /proc/mounts Sep 24 17:39:50 brian-desktop bluemankde4_open[6831]: Failed to mount 00:18:A4:40:D2:39 to /tmp/00:18:A4:40:D2:39 from the 1 try Sep 24 17:39:50 brian-desktop bluemankde4_open[6833]: Perform 2 try to mount phone 00:18:A4:40:D2:39 to /tmp/00:18:A4:40:D2:39 using obexfs Sep 24 17:39:50 brian-desktop bluemankde4_open[6834]: Execute: obexfs -b 00:18:A4:40:D2:39 -B 10 /tmp/00:18:A4:40:D2:39 Sep 24 17:39:53 brian-desktop bluemankde4_open[6842]: Found 0 mounted /tmp/00:18:A4:40:D2:39 inside /proc/mounts Sep 24 17:39:53 brian-desktop bluemankde4_open[6843]: Failed to mount 00:18:A4:40:D2:39 to /tmp/00:18:A4:40:D2:39 from the 2 try Sep 24 17:39:53 brian-desktop bluemankde4_open[6845]: Perform 3 try to mount phone 00:18:A4:40:D2:39 to /tmp/00:18:A4:40:D2:39 using obexfs Sep 24 17:39:53 brian-desktop bluemankde4_open[6846]: Execute: obexfs -b 00:18:A4:40:D2:39 -B 10 /tmp/00:18:A4:40:D2:39 Sep 24 17:39:56 brian-desktop bluemankde4_open[6854]: Found 0 mounted /tmp/00:18:A4:40:D2:39 inside /proc/mounts Sep 24 17:39:56 brian-desktop bluemankde4_open[6855]: Failed to mount 00:18:A4:40:D2:39 to /tmp/00:18:A4:40:D2:39 from the 3 try Sep 24 17:39:56 brian-desktop bluemankde4_open[6857]: Perform 4 try to mount phone 00:18:A4:40:D2:39 to /tmp/00:18:A4:40:D2:39 using obexfs Sep 24 17:39:56 brian-desktop bluemankde4_open[6858]: Execute: obexfs -b 00:18:A4:40:D2:39 -B 10 /tmp/00:18:A4:40:D2:39 Sep 24 17:40:00 brian-desktop bluemankde4_open[6866]: Found 0 mounted /tmp/00:18:A4:40:D2:39 inside /proc/mounts Sep 24 17:40:00 brian-desktop bluemankde4_open[6867]: Failed to mount 00:18:A4:40:D2:39 to /tmp/00:18:A4:40:D2:39 from the 4 try

sergeidanilov

Don't looks good, because there are no any error messages. Could you try to execute the command under root? execute: obexfs -b 00:18:A4:40:D2:39 -B 10 /tmp/00:18:A4:40:D2:39 and then try to open this directory under root. Also , which phone model do you have? We could try to find some info whether your device supported by obexfs.Did you have successfull cases of mounting it under linux?

nor

*************************** same prob it tries to mount but can't mount.. :: I have tried to before pairing and also after pairing :: please suggest an remedy !! *************************** Oct 12 17:34:45 noren-desktop 108869-bluemankde4_open.[5123]: Found 0 mounted /tmp/00:1C:43:34:F1:73 inside /proc/mounts Oct 12 17:34:45 noren-desktop 108869-bluemankde4_open.[5124]: Failed to mount 00:1C:43:34:F1:73 to /tmp/00:1C:43:34:F1:73 from the 0 try Oct 12 17:34:45 noren-desktop 108869-bluemankde4_open.[5126]: Perform 1 try to mount phone 00:1C:43:34:F1:73 to /tmp/00:1C:43:34:F1:73 using obexfs Oct 12 17:34:45 noren-desktop 108869-bluemankde4_open.[5127]: Execute: obexfs -b 00:1C:43:34:F1:73 -B 10 /tmp/00:1C:43:34:F1:73 Oct 12 17:34:48 noren-desktop 108869-bluemankde4_open.[5135]: Found 0 mounted /tmp/00:1C:43:34:F1:73 inside /proc/mounts Oct 12 17:34:48 noren-desktop 108869-bluemankde4_open.[5136]: Failed to mount 00:1C:43:34:F1:73 to /tmp/00:1C:43:34:F1:73 from the 1 try Oct 12 17:34:48 noren-desktop 108869-bluemankde4_open.[5138]: Perform 2 try to mount phone 00:1C:43:34:F1:73 to /tmp/00:1C:43:34:F1:73 using obexfs Oct 12 17:34:48 noren-desktop 108869-bluemankde4_open.[5139]: Execute: obexfs -b 00:1C:43:34:F1:73 -B 10 /tmp/00:1C:43:34:F1:73 Oct 12 17:34:52 noren-desktop 108869-bluemankde4_open.[5147]: Found 0 mounted /tmp/00:1C:43:34:F1:73 inside /proc/mounts Oct 12 17:34:52 noren-desktop 108869-bluemankde4_open.[5148]: Failed to mount 00:1C:43:34:F1:73 to /tmp/00:1C:43:34:F1:73 from the 2 try Oct 12 17:34:52 noren-desktop 108869-bluemankde4_open.[5150]: Perform 3 try to mount phone 00:1C:43:34:F1:73 to /tmp/00:1C:43:34:F1:73 using obexfs Oct 12 17:34:52 noren-desktop 108869-bluemankde4_open.[5151]: Execute: obexfs -b 00:1C:43:34:F1:73 -B 10 /tmp/00:1C:43:34:F1:73 Oct 12 17:34:56 noren-desktop 108869-bluemankde4_open.[5159]: Found 0 mounted /tmp/00:1C:43:34:F1:73 inside /proc/mounts Oct 12 17:34:56 noren-desktop 108869-bluemankde4_open.[5160]: Failed to mount 00:1C:43:34:F1:73 to /tmp/00:1C:43:34:F1:73 from the 3 try Oct 12 17:34:56 noren-desktop 108869-bluemankde4_open.[5162]: Perform 4 try to mount phone 00:1C:43:34:F1:73 to /tmp/00:1C:43:34:F1:73 using obexfs Oct 12 17:34:56 noren-desktop 108869-bluemankde4_open.[5163]: Execute: obexfs -b 00:1C:43:34:F1:73 -B 10 /tmp/00:1C:43:34:F1:73 Oct 12 17:34:59 noren-desktop 108869-bluemankde4_open.[5171]: Found 0 mounted /tmp/00:1C:43:34:F1:73 inside /proc/mounts Oct 12 17:34:59 noren-desktop 108869-bluemankde4_open.[5172]: Failed to mount 00:1C :43:34:F1:73 to /tmp/00:1C:43:34:F1:73 from the 4 try ********************************** i have also tried mount it from onsole it creats an empty directory only ******************************

sergeidanilov

Which phone model do you have?most probably your phone does not supported by obexfs.Because according to logs obexfs does all that it can. Could you try to google if that possible to connect your device in Linux? may be it can be done with some trick..

hifi25nl

When I have finished browsing the phone, the directory is not unmounted. A disconnecting of the phone with blueman leaves the directory visible (and its contents) at /temp/<address of the phone>. I must fusermount -u /temp/<address of the phone> manually. Is there a way to fix this?

sergeidanilov

Hi, unfortunately there is no such possibility to embedge umount command in the blueman without changing it code. I think right way will be to extend the existing Kde mount/umount utilites to support obexfs (I even think that one of current plasmoids might support such feature) .I think I will be able to adjust current utilites, if it will look smart. What do you think ?

hifi25nl

I think the best option is suggesting to blueman developer that, if the device is disconnected, the directory is umounted first, but...other options could be better if easier!

gravy

When I try to open mobile what was connected long time ago the folders are empty. You should add fusermount -u $dir to the script to unmount the directory before connecting it again

sergeidanilov

Thanks for your report. I fixed this error in the new version - 0.3. I'm using lazy umount to prevent "busy device error" Please check it out :)

gravy

The script should try to unmount before mounting fusermount -u $dir because when the phone was connected long time ago but it is still mounted to the dir it doesn't work.

modstrcil

You should replace /usr/bin/cat to only cat. And why you wrote that it is not working with dolphin? I changed konqueror to dolphin and it works. But nice work I didn't know that exists something like obexfs and I hope that they will add something like this to kbluetooth4.

sergeidanilov

By default dolphin in my Gentoo automatically creates .directory file in every directory I'am open. And from other side phone (SE W300i) does not give permissions to write this file , but everytime asks me if I want to do it. And this paranoic behavior could not be turned off. As a result Dolphin just hangs while open every directory on my phone and waits until I will accept the the incoming .directory file on the phone. So due to these reasons i decided to use konqueror , which does not created these files by default. Don't know how to trigger dolphin/konqueror choose in the single script, because it's highly depends on phone model

sergeidanilov

by default in my Gentoo dolphin creates .directory files every time I open the directory. And from other side my phone (SE W300i) does not allow to create any file silently and everytime asks whether i want to do this on it's screen. And it's not possible to turn off such paranoic behavior. As a result dolphin just hangs while I'am trying to open by phone through it and wait until I will open phone and permit to create .directory file.And this repeats with every subdir I follow. I know at least several other phones with same behavior of asking permissions. So it's becomes quite hard to use dolphin with such phone. Currently i do not know nice way how to overcome this , w/o change default dolphin behavior

rayunix

I finally solved installing the LATEST obexfs version from sourceforge it really works !! good job

sergeidanilov

good to hear :) thank you for collaboration I will add the recomentdation to use latest version of obexfs if something goes wrong

rayunix

how can I make obexfs more verbose ?

sergeidanilov

create in advance /tmp/00:21:36:62:F7:28 and execute obexfs -b 00:21:36:62:F7:28 -B 10 /tmp/00:21:36:62:F7:28 or obexfs -b 00:21:36:62:F7:28 -B 5 -- -d -f /tmp/00:21:36:62:F7:28

Pling
0 Affiliates
Details
license
version 0.3
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 2

Other Various KDE 1.-4. Improvements:

Slicker Debian Package for Woody
cirrusgr
last update date: 22 years ago

Score 5.0

Konqueror/kdesktop suggestion
PovMan
last update date: 22 years ago

Score 5.0

Biiig buttons
dbojan
last update date: 20 years ago

Score 5.0

Yet Another KControl
Frans
last update date: 21 years ago

Score 5.0

Next window and next/previos window
dbojan
last update date: 20 years ago

Score 5.0

Fantasie Toolbar
katoe
last update date: 19 years ago

Score 5.0