Page 1 of 2

PupMTP 1.2 - Mount MTP devices

Posted: Wed 29 May 2019, 09:58
by mistfire
This tool will mount mtp devices. The mounted mtp devices will also show in Thunar and PCManFM (if pup-volume-monitor is supported). It uses simple-mtpfs to mount MTP. It supports multiple mtp devices

Requirements:
* fuse
* libusb
* libmtp
32-bit: http://distro.ibiblio.org/puppylinux/pe ... mmon32.pet
64-bit: http://distro.ibiblio.org/puppylinux/pe ... mmon64.pet

* simple-mtpfs
32-bit: http://distro.ibiblio.org/puppylinux/pe ... mmon32.pet
64-bit: http://distro.ibiblio.org/puppylinux/pe ... mmon64.pet

Posted: Wed 29 May 2019, 10:09
by peebee
Hi mistfire

32-bit only.........?

Will it run on any pup with the dependencies?

Will you do a 64-bit version? Would then be a candidate for common32 & 64 on ibiblio..... a petbuild and source would be nice.

Posted: Wed 29 May 2019, 10:36
by mistfire
@peebee as long the pups has simple-mtpfs, fuse, libmtp, and libusb that supposed to be work.
I cant compile 64-bit version of simple-mtpfs because my system was 32-bit but you can compile it. The source code is here
https://github.com/phatina/simple-mtpfs

Posted: Wed 29 May 2019, 11:54
by OscarTalks
Hello mistfire,
The simple-mtpfs executable is not stripped in the .pet package, is this intentional? Stripping greatly reduces the size of it.

Posted: Wed 29 May 2019, 12:19
by mistfire
OscarTalks wrote:Hello mistfire,
The simple-mtpfs executable is not stripped in the .pet package, is this intentional? Stripping greatly reduces the size of it.
I dont know how to strip executables manually.

Posted: Wed 29 May 2019, 12:34
by mistfire
Okay I figured out now how to strip. I can now upload this package in this forum

UPDATE: The package is now uploaded on this thread located at the first post of this thread

Posted: Wed 29 May 2019, 16:48
by greengeek
Getting some error messages on Slacko 5.6 regarding gtkdialog. Does this require GTK3? cheers!

Posted: Wed 29 May 2019, 19:11
by bigpup
Thanks for this program!

Just a suggestion.

The menu entry would be better placed in menu>Filesystem

menu>Multimedia just seems to be the wrong place for the menu entry.

Posted: Wed 29 May 2019, 20:43
by OscarTalks
Testing in my Dpup Stretch remaster.
Your script does not like gtkdialog3
Works OK with latest gtkdialog
I had 3 executable versions:-
gtkdialog (latest)
gtkdialog4 (older)
gtkdialog3 (oldest)

Some puppies have different combinations, some being symlinks and some being the builds of older versions of gtkdialog.
I have now modified my remaster to have only the latest gtkdialog with gtkdialog3 and gtkdialog4 being symlinks to gtkdialog
(The script is calling gtkdialog3 and if this is a symlink to a later gtkdialog it may be OK)
These are all in /usr/sbin
Note that some Puppies have these (or some of them) in /usr/bin

@greengeek - I don't think GTK3 is required
@bigpup - I changed my Categories to X-Filesystem-mount

Posted: Thu 30 May 2019, 00:59
by mistfire
greengeek wrote:Getting some error messages on Slacko 5.6 regarding gtkdialog. Does this require GTK3? cheers!
Nope it does not need GTK3

Posted: Thu 30 May 2019, 03:15
by mistfire
@OscarTalks

The menu category and gtkdialog command is now corrected. Also I separated the simple-mtpfs from pupmtp package to make pupmtp distro independent

Posted: Thu 30 May 2019, 04:58
by greengeek
On my Slacko 5.6 derivative i see the following response:

Code: Select all

# pupmtp
/usr/sbin/pupmtp: line 17: /usr/lib/gtkdialog/box_splash: No such file or directory
/usr/sbin/pupmtp: line 20: kill: (30251) - No such process
/usr/sbin/pupmtp: line 25: /usr/lib/gtkdialog/box_ok: No such file or directory
# 
I have only loaded the pupmtp-1.2 pet so maybe this is a result of other dependencies missing but i thought i would post it in case someone is able to suggest a solution or troubleshooting step.
cheers!

EDIT : i should also mention this is before plugging in any mtp capable android device.

Posted: Thu 30 May 2019, 05:16
by mistfire
@greengeek I think you might need these

[gtkdialog-template-file-1.0.pet moved to first post of this thread]

Posted: Thu 30 May 2019, 05:38
by greengeek
Awesome! Thank you!!!

I loaded all of the pets you posted above, and this latest GTK one.

For the first time ever my Samsung has connected and given me full access to the directories I want to see. (Took a while and I thought it had hung - but it did work)

I will do more testing over the next few days and post back if issues arise.

Thanks!!

Posted: Wed 05 Jun 2019, 00:10
by mistfire
I wonder if someone compiled a 64-bit version of simple-mtpfs and libmtp?

Posted: Wed 05 Jun 2019, 12:29
by watchdog
I have a pupmtp-1.0-x86_64.pet:

https://drive.google.com/file/d/1aq6eZD ... sp=sharing

libmtp can be installed by PPM in recent puppies.

Posted: Wed 05 Jun 2019, 13:17
by gychang
watchdog wrote:I have a pupmtp-1.0-x86_64.pet:

https://drive.google.com/file/d/1aq6eZD ... sp=sharing

libmtp can be installed by PPM in recent puppies.
can't d/l with palemoon nor firefox...

Posted: Wed 05 Jun 2019, 13:35
by watchdog
Are you accepting cookies from Google? Have you an hosts file blocking Google? Can you use Gmail or other Google services? The link works for me.

Posted: Wed 05 Jun 2019, 13:42
by gychang
watchdog wrote:Are you accepting cookies from Google? Have you an hosts file blocking Google? Can you use Gmail or other Google services? The link works for me.
I can use gmail/gphoto etc...

Posted: Wed 05 Jun 2019, 13:51
by gychang
watchdog wrote:Are you accepting cookies from Google? Have you an hosts file blocking Google? Can you use Gmail or other Google services? The link works for me.
I can d/l to my gdrive (bottom of the list) but still same error when I try to d/l...