-
 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:  2022
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:  1  2  3 

-

 Thanks for this

 
 by bigbrovar on: Jul 22 2009
 
Score 50%

Bluetooth is completely broken on kubuntu 9.04 and i had to use blueman which always worked for me when i was a gnomey :) .. your guide provided the missing link stoping me from using blueman to its potential on kde.. however i didnt everything you said and came with this error

root@g33k-puN:/usr/bin# tail -f /var/log/messages
Jul 22 20:23:16 g33k-puN bluemankde4_open[480]: Mount phone 00:25:CF:57:9A:B5 to /tmp/00:25:CF:57:9A:B5 using obexfs
Jul 22 20:23:16 g33k-puN bluemankde4_open[483]: /usr/bin/bluemankde4_open: line 9: obexfs: command not found
Jul 22 20:23:16 g33k-puN bluemankde4_open[488]: Found 0 mounted /tmp/00:25:CF:57:9A:B5 inside /proc/mounts
Jul 22 20:23:35 g33k-puN bluemankde4_open[509]: Create directory /tmp/00:25:CF:57:9A:B5 to mount the phone by bluetooth
Jul 22 20:23:35 g33k-puN bluemankde4_open[513]: Mount phone 00:25:CF:57:9A:B5 to /tmp/00:25:CF:57:9A:B5 using obexfs
Jul 22 20:23:35 g33k-puN bluemankde4_open[516]: /usr/bin/bluemankde4_open: line 9: obexfs: command not found
Jul 22 20:23:35 g33k-puN bluemankde4_open[521]: Found 0 mounted /tmp/00:25:CF:57:9A:B5 inside /proc/mounts
Jul 22 20:25:33 g33k-puN bluemankde4_open[1058]: Create directory /tmp/00:25:CF:57:9A:B5 to mount the phone by bluetooth
Jul 22 20:25:33 g33k-puN bluemankde4_open[1062]: Mount phone 00:25:CF:57:9A:B5 to /tmp/00:25:CF:57:9A:B5 using obexfs
Jul 22 20:25:36 g33k-puN bluemankde4_open[1074]: Found 0 mounted /tmp/00:25:CF:57:9A:B5 inside /proc/mounts

what gives


Reply to this

-

 Re: Thanks for this

 
 by rayunix on: Jul 23 2009
 
Score 50%

have you already installed obexfs ?
#apt-get install obexfs


Reply to this

-

 Re: Re: Thanks for this

 
 by bigbrovar on: Jul 23 2009
 
Score 50%

yeah i have obexfs installed already


Reply to this

-

 Re: Re: Re: Thanks for this

 
 by sergeidanilov on: Jul 23 2009
 
Score 50%

It seems that something wrong with obexfs installation, because log you send states that obexfs is not found

"/usr/bin/bluemankde4_open: line 9: obexfs: command not found"

could you try run in the console:
1. which obexfs
2. and if command is found
obexfs -b 00:25:CF:57:9A:B5 /tmp/00:25:CF:57:9A:B5


Reply to this

-

 for me not works

 
 by rayunix on: Jul 22 2009
 
Score 50%

var/log/messages

Jul 22 22:04:03 rayunix bluemankde4_open[4247]: Create directory /tmp/00:21:36:62:F7:28 to mount the phone by bluetooth
Jul 22 22:04:03 rayunix bluemankde4_open[4251]: Mount phone 00:21:36:62:F7:28 to /tmp/00:21:36:62:F7:28 using obexfs
Jul 22 22:04:09 rayunix bluemankde4_open[4262]: Found 0 mounted /tmp/00:21:36:62:F7:28 inside /proc/mounts
Jul 22 22:04:20 rayunix bluemankde4_open[4275]: Create directory /tmp/00:21:36:62:F7:28 to mount the phone by bluetooth
Jul 22 22:04:20 rayunix bluemankde4_open[4279]: Mount phone 00:21:36:62:F7:28 to /tmp/00:21:36:62:F7:28 using obexfs
Jul 22 22:04:26 rayunix bluemankde4_open[4290]: Found 0 mounted /tmp/00:21:36:62:F7:28 inside /proc/mounts
Jul 22 22:04:35 rayunix bluemankde4_open[4303]: Create directory /tmp/00:21:36:62:F7:28 to mount the phone by bluetooth
Jul 22 22:04:35 rayunix bluemankde4_open[4307]: Mount phone 00:21:36:62:F7:28 to /tmp/00:21:36:62:F7:28 using obexfs
Jul 22 22:04:41 rayunix bluemankde4_open[4318]: Found 0 mounted /tmp/00:21:36:62:F7:28 inside /proc/mounts
Jul 22 22:05:05 rayunix kernel: [ 311.932081] usb 4-2: new full speed USB device using ohci_hcd and address 2
Jul 22 22:05:05 rayunix kernel: [ 312.101334] usb 4-2: configuration #1 chosen from 1 choice
Jul 22 22:05:05 rayunix kernel: [ 312.120565] scsi7 : SCSI emulation for USB Mass Storage devices
Jul 22 22:05:06 rayunix pppd[2382]: Timeout waiting for PADO packets
Jul 22 22:05:10 rayunix kernel: [ 317.590264] scsi 7:0:0:0: Direct-Access Motorola RAZRV3xx 2.31 PQ: 0 ANSI: 2
Jul 22 22:05:10 rayunix kernel: [ 317.604244] sd 7:0:0:0: [sdc] 1967104 512-byte hardware sectors: (1.00 GB/960 MiB)
Jul 22 22:05:10 rayunix kernel: [ 317.610187] sd 7:0:0:0: [sdc] Write Protect is off
Jul 22 22:05:10 rayunix kernel: [ 317.629191] sd 7:0:0:0: [sdc] 1967104 512-byte hardware sectors: (1.00 GB/960 MiB)
Jul 22 22:05:10 rayunix kernel: [ 317.635215] sd 7:0:0:0: [sdc] Write Protect is off
Jul 22 22:05:10 rayunix kernel: [ 317.635247] sdc: sdc1
Jul 22 22:05:10 rayunix kernel: [ 317.650538] sd 7:0:0:0: [sdc] Attached SCSI removable disk
Jul 22 22:05:10 rayunix kernel: [ 317.650712] sd 7:0:0:0: Attached scsi generic sg3 type 0
Jul 22 22:05:14 rayunix kernel: [ 321.600351] usb 4-2: USB disconnect, address 2
Jul 22 22:05:33 rayunix kernel: [ 340.520078] usb 4-2: new full speed USB device using ohci_hcd and address 3
Jul 22 22:05:33 rayunix kernel: [ 340.692237] usb 4-2: configuration #1 chosen from 1 choice
Jul 22 22:05:33 rayunix kernel: [ 340.764319] cdc_acm 4-2:1.0: ttyACM0: USB ACM device
Jul 22 22:05:33 rayunix kernel: [ 340.767347] usbcore: registered new interface driver cdc_acm
Jul 22 22:05:33 rayunix kernel: [ 340.767358] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Jul 22 22:06:09 rayunix kernel: [ 375.877922] usb 4-2: USB disconnect, address 3
Jul 22 22:06:11 rayunix pppd[2382]: Timeout waiting for PADO packets
Jul 22 22:06:12 rayunix kernel: [ 379.316079] usb 4-2: new full speed USB device using ohci_hcd and address 4
Jul 22 22:06:12 rayunix kernel: [ 379.485319] usb 4-2: configuration #1 chosen from 1 choice
Jul 22 22:06:12 rayunix kernel: [ 379.489292] cdc_acm 4-2:1.0: ttyACM0: USB ACM device
Jul 22 22:06:26 rayunix pppd[4483]: pppd 2.4.5 started by root, uid 0
Jul 22 22:06:26 rayunix pppd[4483]: Using interface ppp0
Jul 22 22:06:26 rayunix pppd[4483]: Connect: ppp0 <--> /dev/ttyACM0
Jul 22 22:06:26 rayunix pppd[4483]: PAP authentication succeeded
Jul 22 22:06:26 rayunix kernel: [ 393.520168] PPP BSD Compression module registered
Jul 22 22:06:26 rayunix kernel: [ 393.550148] PPP Deflate Compression module registered
Jul 22 22:06:29 rayunix pppd[4483]: local IP address 151.82.5.176
Jul 22 22:06:29 rayunix pppd[4483]: remote IP address 192.168.100.101
Jul 22 22:06:29 rayunix pppd[4483]: primary DNS address 193.70.152.25
Jul 22 22:06:29 rayunix pppd[4483]: secondary DNS address 193.70.192.25
Jul 22 22:06:29 rayunix kernel: [ 396.756215] ip_tables: (C) 2000-2006 Netfilter Core Team
Jul 22 22:07:16 rayunix pppd[2382]: Timeout waiting for PADO packets
Jul 22 22:08:21 rayunix pppd[2382]: Timeout waiting for PADO packets
Jul 22 22:09:26 rayunix pppd[2382]: Timeout waiting for PADO packets
Jul 22 22:10:32 rayunix pppd[2382]: Timeout waiting for PADO packets
Jul 22 22:10:32 rayunix pppd[2382]: Exit.


Reply to this

-

 Re: for me not works

 
 by sergeidanilov on: Jul 23 2009
 
Score 50%

ok, you log states that obexfs command was completed , but device was not mounted.
could you try to run by hand
obexfs -b 00:21:36:62:F7:28 /tmp/00:21:36:62:F7:28
and could you also tell , if it you was successfull earlier to mount this device in linux? (may be some extra drivers needed)


Reply to this

-

 Re: Re: for me not works

 
 by rayunix on: Jul 23 2009
 
Score 50%

enrico@rayunix:~$ sudo obexfs -b 00:21:36:62:F7:28 /tmp/00:21:36:62:F7:28
[sudo] password for enrico:
enrico@rayunix:~$

but when I open the directory /tmp/00:21:36:62:F7:28 with konqueror
it says that not exists.
I cannot mount my phone.
May I forgot anything ?
My distro is kubuntu jaunty
My phone is motorola v3xx
Thanks ..


Reply to this

-

 Re: Re: Re: for me not works

 
 by sergeidanilov on: Jul 23 2009
 
Score 50%

don't use sudo , run obexfs as user.
and then open then try to open this dir as a user.
Otherwise using sudo you will be able to open this dir only as s root


Reply to this

-

 Re: Re: Re: Re: for me not works

 
 by sergeidanilov on: Jul 23 2009
 
Score 50%

ok ,
I just read from there
http://dev.zuckschwerdt.org/openobex/wiki/ObexFs
that your user should be in fuse group.
It might be the case ;)


Reply to this

-

 Re: Re: Re: Re: for me not works

 
 by rayunix on: Jul 23 2009
 
Score 50%

the risults are the same


Reply to this

-

 Re: Re: Re: Re: Re: for me not works

 
 by rayunix on: Jul 23 2009
 
Score 50%

ok,now if I do obexfs -b 00:21:36:62:F7:28 /tmp/00:21:36:62:F7:28
,the directory will be created and I can open it with konqueror,but it's empty


Reply to this

-

 Re: Re: Re: Re: Re: Re: for me not works

 
 by sergeidanilov on: Jul 23 2009
 
Score 50%

let's try to make obexfs more verbose , because problem belongs to it
try to
create under user dir /tmp/00:21:36:62:F7:28 , if it does not exist
And execute obexfs -b 00:21:36:62:F7:28 -B 10 /tmp/00:21:36:62:F7:28

it should generate more output to console ot to /var/log/messages.
Will see what it states



-

 obexfs more verbose

 
 by rayunix on: Jul 23 2009
 
Score 50%

how can I make obexfs more verbose ?


Reply to this

-

 Re: obexfs more verbose

 
 by sergeidanilov on: Jul 24 2009
 
Score 50%

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


Reply to this

-

 Re: Re: obexfs more verbose

 
 by rayunix on: Jul 24 2009
 
Score 50%

yes,I already did it ,but there are no messages about obexfs in terminal or in var/log/messages
I compiled obexfs from sources,I try with another phone,but there are no results.


Reply to this

-

 SOLVED

 
 by rayunix on: Jul 24 2009
 
Score 50%

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


Reply to this

-

 Re: SOLVED

 
 by sergeidanilov on: Jul 24 2009
 
Score 50%

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


Reply to this

-

 Problem

 
 by pejakm on: Aug 9 2009
 
Score 50%

On Arch Linux I had a problem with bluemankde4_open:

I had to replace "/usr/bin/cat" with "cat", otherwise, it failed to open the mounted directory.


Reply to this

-

 Re: Problem

 
 by sergeidanilov on: Aug 10 2009
 
Score 50%

Thanks for your report.
I fixed the problem in version 0.2 :)


Reply to this

-

 Dolphin

 
 by modstrcil on: Aug 10 2009
 
Score 50%

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.


Reply to this

-

 Re: Dolphin

 
 by sergeidanilov on: Aug 10 2009
 
Score 50%

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


Reply to this

-

 Re: Dolphin

 
 by sergeidanilov on: Aug 10 2009
 
Score 50%

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


Reply to this

goto page:  1  2  3 

Add commentBack






-

-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

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.