PupMTP 1.2 - Mount MTP devices

Filemanagers, partitioning tools, etc.
Message
Author
mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

PupMTP 1.2 - Mount MTP devices

#1 Post 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
Attachments
gtkdialog-template-file-1.0.pet
For puppy 5.x below only
(12.62 KiB) Downloaded 433 times
pupmtp-screenshot.png
(24.65 KiB) Downloaded 850 times
pupmtp-1.2.pet
gtkdialog fix
simple-mtpfs is now a seperate package to make it distro independent

NOTE: arch-independent
(1.88 KiB) Downloaded 485 times
Last edited by mistfire on Tue 17 Sep 2019, 00:53, edited 15 times in total.

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#2 Post 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.
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#3 Post 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
Last edited by mistfire on Wed 29 May 2019, 12:18, edited 1 time in total.

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#4 Post 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.
Oscar in England
Image

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#5 Post 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.

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#6 Post 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

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#7 Post by greengeek »

Getting some error messages on Slacko 5.6 regarding gtkdialog. Does this require GTK3? cheers!

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#8 Post 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.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#9 Post 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
Oscar in England
Image

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#10 Post 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

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#11 Post 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

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#12 Post 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.

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#13 Post by mistfire »

@greengeek I think you might need these

[gtkdialog-template-file-1.0.pet moved to first post of this thread]
Last edited by mistfire on Thu 30 May 2019, 06:53, edited 1 time in total.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#14 Post 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!!

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#15 Post by mistfire »

I wonder if someone compiled a 64-bit version of simple-mtpfs and libmtp?

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#16 Post 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.

User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

#17 Post 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...
Attachments
redirect.png
(33.75 KiB) Downloaded 291 times
---
trying to learn puppylinux... :D
---

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#18 Post 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.

User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

#19 Post 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...
---
trying to learn puppylinux... :D
---

User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

#20 Post 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...
Attachments
gdrive.png
(56.38 KiB) Downloaded 330 times
---
trying to learn puppylinux... :D
---

Post Reply