-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans  . 

kde4 bluetooth files open

   0.3  

KDE Improvement

Score 79%
kde4 bluetooth files open
zoom


kde4 bluetooth files open
zoom


Downloads:  2021
Submitted:  Jul 22 2009
Updated:  Aug 16 2009

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




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




LicenseLGPL
(bluemankde4_open script)
Send to a friend
Subscribe
Other  Artwork  from sergeidanilov
Report inappropriate content



goto page: prev   1  2  3 

-

 Small improvement

 
 by gravy on: Aug 14 2009
 
Score 50%

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.


Reply to this

-

 Small improvement

 
 by gravy on: Aug 14 2009
 
Score 50%

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


Reply to this

-

 Re: Small improvement

 
 by sergeidanilov on: Aug 16 2009
 
Score 50%

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 :)


Reply to this

-

 Umount

 
 by hifi25nl on: Sep 21 2009
 
Score 50%

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?


Reply to this

-

 Re: Umount

 
 by sergeidanilov on: Sep 25 2009
 
Score 50%

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 ?


Reply to this

-

 Re: Re: Umount

 
 by hifi25nl on: Sep 26 2009
 
Score 50%

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!


Reply to this

-

 Cannot mount?

 
 by MatthewBrian on: Sep 24 2009
 
Score 50%

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


Reply to this

-

 Re: Cannot mount?

 
 by sergeidanilov on: Sep 25 2009
 
Score 50%

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?


Reply to this

-
.

 Re: Re: Cannot mount?

 
 by nor on: Oct 12 2009
 
Score 50%

***************************
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
******************************


nor
Reply to this

-

 Re: Re: Re: Cannot mount?

 
 by sergeidanilov on: Oct 12 2009
 
Score 50%

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..


Reply to this

-
.

 The problem is with the script

 
 by idioot on: Oct 19 2009
 
Score 50%

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.


Reply to this

-
.

 The problem is with the script

 
 by idioot on: Oct 19 2009
 
Score 50%

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.


Reply to this

goto page: prev   1  2  3 

Add commentBack






-

-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.