SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
Rep:
Slackware + Android
I was wondering what can I do to get Dolphing to open up directories and files from my android device when I plug it to the laptop. I am in Slackware 14.1 with KDE 4.14.x.
I am aware I can transfer data wirelessly through ssh or SAMBA. But I would like tackle this issue as an average user. Let say my uncle Bob wants to copy couple of mp3s from my music folder into his Galaxy Note while I am mowing outside. Is the gvfs-mtp plugin for dolphin all I need? I will appreciate your suggestions. Thank you.
If you install KDEConnect for Android on that phone, and sshfs-fuse on your Slackware computer, then the kdeconnect-kde package in Slackware will be able to communicate with the phone. IT will be capable of much more than filetransfer. Your phone's notifications will show up in Slackware's KDE notification area, you'll be able to share the clipboard, remotely control your Slackware computer's keyboard & mouse, etcetera.
... and of course, the above works over your local network. If you connect the phone through USB cable, the MTP protocol driver should make your phone's storage available to the computer and as far as I remember, the phone storage should be mountable.
I did test this recently, ideally the phone should ask if storage should be enabled on usb cable connect.
When enabled in the phone, udisks detects the card normally, just like any other partition, and user can mount it through the dolphin side bar.
But to access files on internal storage (not sdcard) one should enable debugging in the phone and build android-tools from sbo.
I was using KDE Connect successfully to transfer files from my Samsung S4 with Dolphin. I don't use it often and I went to transfer some files the other day from my phone to my pc and discovered it no longer works. In Dolphin the are two folders showing for my device, "Camera pictures" and "All files". When selecting the folders I get these errors in Dolphin:
Code:
The file or folder /home/chris/.kde/share/apps/kdeconnect/9359abf8f594255/storage/emulated/0/DCIM/Camera does not exist.
The file or folder /home/chris/.kde/share/apps/kdeconnect/9359abf8f594255/storage/emulated/0 does not exist
They do exist on the phone.
I recompiled sshfs-fuse, no change. This worked before, now is does not. I am guessing it's something in the update from (Thu Oct 29 20:12:14 UTC 2015); but it could be before that; perhaps the openssh update in September. To date I have not be able to pin down the problem.
I can send files from my phone to my pc using the KDE Connect App. That can be a tedious operation since it's one at a time. I can also connect via USB but it's rather convenient to use KDE Connect since the phone is normally in the bed room and my computer is not; which means I have to get up from the computer, go the bed room get my phone. All the other neat stuff with KDE Connect work great (except the App Multimedia control "No players found" which I really don't need).
Quote:
Originally Posted by elcore
I did test this recently, ideally the phone should ask if storage should be enabled on usb cable connect.
When enabled in the phone, udisks detects the card normally, just like any other partition, and user can mount it through the dolphin side bar.
But to access files on internal storage (not sdcard) one should enable debugging in the phone and build android-tools from sbo.
Hmm.. I don't have a sdcard installed. This worked before with out android-tools from SBo. USB debugging was enabled. Perhaps this goes back to the last udisks update in April....
Going to give android-tools a shot and report back the results.
chrisretusn, I had the same problem with kde-connect, apparently due to openssh rejecting legacy algorithms.
the solution was to add to the file ~/.ssh/config the following:
Interestingly, this incompatibility between kdeconnect and openssh was fixed in the kdeconnect repository, but that did not help the version which is contained in Slackware-current because it was fixed afterwards: https://bugs.kde.org/show_bug.cgi?id=351725
chrisretusn, I had the same problem with kde-connect, apparently due to openssh rejecting legacy algorithms.
the solution was to add to the file ~/.ssh/config the following:
Interestingly, this incompatibility between kdeconnect and openssh was fixed in the kdeconnect repository, but that did not help the version which is contained in Slackware-current because it was fixed afterwards: https://bugs.kde.org/show_bug.cgi?id=351725
Well how about that, just got notified my local Slackware mirror has been updated, and guess what is included.
Code:
> kde/kdeconnect-kde-0.8-x86_64-3.txz: Rebuilt.
> Patched to fix problems with OpenSSH 7.x. Thanks to Eric Hameleers.
Thanks Alien Bob.
Guess what I'm going to do in a few minutes.
Last edited by chrisretusn; 11-20-2015 at 02:50 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.