public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] slow MTP in Thunar, was fine in Gnome
@ 2019-09-11  6:16 Raffaele Belardi
  2019-09-11 14:33 ` [gentoo-user] " Grant Edwards
  0 siblings, 1 reply; 9+ messages in thread
From: Raffaele Belardi @ 2019-09-11  6:16 UTC (permalink / raw
  To: gentoo-user

After my recent switch from Gnome to XFCE (both ~amd64) transferring 
files from the smartphone to the desktop via USB/MTP has become 
unbearably slow. From my understanding both Gnome (Nautilus?) and Thunar 
use gnome-base/gvfs which with mtp USE flag pulls in media-libs/libmtp 
so I don't understand why this big change in behavior. Any hints?

This desktop is shared with my youngsters so proposing a switch to ssh 
or adb is not a viable solution, they are more accustomed to pinching 
the screen rather than punching the keyboard...

thanks,

raffaele



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: slow MTP in Thunar, was fine in Gnome
  2019-09-11  6:16 [gentoo-user] slow MTP in Thunar, was fine in Gnome Raffaele Belardi
@ 2019-09-11 14:33 ` Grant Edwards
  2019-09-11 15:05   ` Raffaele Belardi
  0 siblings, 1 reply; 9+ messages in thread
From: Grant Edwards @ 2019-09-11 14:33 UTC (permalink / raw
  To: gentoo-user

On 2019-09-11, Raffaele Belardi <raffaele.belardi@st.com> wrote:
> After my recent switch from Gnome to XFCE (both ~amd64) transferring 
> files from the smartphone to the desktop via USB/MTP has become 
> unbearably slow. From my understanding both Gnome (Nautilus?) and Thunar 
> use gnome-base/gvfs which with mtp USE flag pulls in media-libs/libmtp 
> so I don't understand why this big change in behavior. Any hints?

I've tried a number of MTP implementations on Linux, and none of them
have proven stable and reliable.  IMO, you're better off installing an
ssh/scp server and using sftp or sshfs.

IIRC, there's a farily extensive recent thread on this.

-- 
Grant Edwards               grant.b.edwards        Yow! Are we live or on
                                  at               tape?
                              gmail.com            



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: slow MTP in Thunar, was fine in Gnome
  2019-09-11 14:33 ` [gentoo-user] " Grant Edwards
@ 2019-09-11 15:05   ` Raffaele Belardi
  2019-09-11 15:17     ` Grant Edwards
  0 siblings, 1 reply; 9+ messages in thread
From: Raffaele Belardi @ 2019-09-11 15:05 UTC (permalink / raw
  To: gentoo-user

On 9/11/19 4:33 PM, Grant Edwards wrote:
> On 2019-09-11, Raffaele Belardi <raffaele.belardi@st.com> wrote:
>> After my recent switch from Gnome to XFCE (both ~amd64) transferring
>> files from the smartphone to the desktop via USB/MTP has become
>> unbearably slow. From my understanding both Gnome (Nautilus?) and Thunar
>> use gnome-base/gvfs which with mtp USE flag pulls in media-libs/libmtp
>> so I don't understand why this big change in behavior. Any hints?
> I've tried a number of MTP implementations on Linux, and none of them
> have proven stable and reliable.  IMO, you're better off installing an
> ssh/scp server and using sftp or sshfs.
>
> IIRC, there's a farily extensive recent thread on this.
>
What disturbs me is that the same hardware combo worked fine with Gnome 
till one month ago, it broke only when I switched to XFCE so it must be 
a software configuration issue.

Command line would be fine for me but not for the kids.

raffaele



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: slow MTP in Thunar, was fine in Gnome
  2019-09-11 15:05   ` Raffaele Belardi
@ 2019-09-11 15:17     ` Grant Edwards
  2019-09-11 15:49       ` Raffaele Belardi
  0 siblings, 1 reply; 9+ messages in thread
From: Grant Edwards @ 2019-09-11 15:17 UTC (permalink / raw
  To: gentoo-user

On 2019-09-11, Raffaele Belardi <raffaele.belardi@st.com> wrote:
> On 9/11/19 4:33 PM, Grant Edwards wrote:
>> On 2019-09-11, Raffaele Belardi <raffaele.belardi@st.com> wrote:
>>> After my recent switch from Gnome to XFCE (both ~amd64) transferring
>>> files from the smartphone to the desktop via USB/MTP has become
>>> unbearably slow. From my understanding both Gnome (Nautilus?) and Thunar
>>> use gnome-base/gvfs which with mtp USE flag pulls in media-libs/libmtp
>>> so I don't understand why this big change in behavior. Any hints?
>> I've tried a number of MTP implementations on Linux, and none of them
>> have proven stable and reliable.  IMO, you're better off installing an
>> ssh/scp server and using sftp or sshfs.
>>
>> IIRC, there's a farily extensive recent thread on this.
>
> What disturbs me is that the same hardware combo worked fine with Gnome 
> till one month ago, it broke only when I switched to XFCE so it must be 
> a software configuration issue.

I saw similar behavior with MTP from one day to the next with no
changes in anything.

> Command line would be fine for me but not for the kids.

You can mount sftp and ssh as filesystems just like you do with MTP.

-- 
Grant Edwards               grant.b.edwards        Yow! PEGGY FLEMMING is
                                  at               stealing BASKET BALLS to
                              gmail.com            feed the babies in VERMONT.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: slow MTP in Thunar, was fine in Gnome
  2019-09-11 15:17     ` Grant Edwards
@ 2019-09-11 15:49       ` Raffaele Belardi
  2019-09-11 17:26         ` Grant Edwards
  0 siblings, 1 reply; 9+ messages in thread
From: Raffaele Belardi @ 2019-09-11 15:49 UTC (permalink / raw
  To: gentoo-user

On 9/11/19 5:17 PM, Grant Edwards wrote:
> On 2019-09-11, Raffaele Belardi <raffaele.belardi@st.com> wrote:
>
> You can mount sftp and ssh as filesystems just like you do with MTP.
>
Good observation, I'll try that route.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: slow MTP in Thunar, was fine in Gnome
  2019-09-11 15:49       ` Raffaele Belardi
@ 2019-09-11 17:26         ` Grant Edwards
  2019-09-11 17:44           ` Neil Bothwick
  0 siblings, 1 reply; 9+ messages in thread
From: Grant Edwards @ 2019-09-11 17:26 UTC (permalink / raw
  To: gentoo-user

On 2019-09-11, Raffaele Belardi <raffaele.belardi@st.com> wrote:
> On 9/11/19 5:17 PM, Grant Edwards wrote:
>> On 2019-09-11, Raffaele Belardi <raffaele.belardi@st.com> wrote:
>>
>> You can mount sftp and ssh as filesystems just like you do with MTP.
>
> Good observation, I'll try that route.

Though it might be tricky to get the mount to happen automagically
when the phone's USB cable is plugged in...


-- 
Grant Edwards               grant.b.edwards        Yow! What UNIVERSE is this,
                                  at               please??
                              gmail.com            



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: slow MTP in Thunar, was fine in Gnome
  2019-09-11 17:26         ` Grant Edwards
@ 2019-09-11 17:44           ` Neil Bothwick
  2019-09-11 18:08             ` Grant Edwards
  0 siblings, 1 reply; 9+ messages in thread
From: Neil Bothwick @ 2019-09-11 17:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

On Wed, 11 Sep 2019 17:26:20 -0000 (UTC), Grant Edwards wrote:

> >> You can mount sftp and ssh as filesystems just like you do with MTP.
> >>  
> >
> > Good observation, I'll try that route.  
> 
> Though it might be tricky to get the mount to happen automagically
> when the phone's USB cable is plugged in...

It should be possible with a udev rule.


-- 
Neil Bothwick

She's fine, upstanding, and wonderful laying down.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: slow MTP in Thunar, was fine in Gnome
  2019-09-11 17:44           ` Neil Bothwick
@ 2019-09-11 18:08             ` Grant Edwards
  2019-09-12 21:28               ` Neil Bothwick
  0 siblings, 1 reply; 9+ messages in thread
From: Grant Edwards @ 2019-09-11 18:08 UTC (permalink / raw
  To: gentoo-user

On 2019-09-11, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Wed, 11 Sep 2019 17:26:20 -0000 (UTC), Grant Edwards wrote:
>
>> Though it might be tricky to get the mount to happen automagically
>> when the phone's USB cable is plugged in...
>
> It should be possible with a udev rule.

Yes, I would think so. At least for me, writing udev rules is about as
tricky as it gets in Linux.  I've done it many times, but there's
still always a fair bit of trial and error involved.

-- 
Grant Edwards               grant.b.edwards        Yow! RELATIVES!!
                                  at               
                              gmail.com            



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: slow MTP in Thunar, was fine in Gnome
  2019-09-11 18:08             ` Grant Edwards
@ 2019-09-12 21:28               ` Neil Bothwick
  0 siblings, 0 replies; 9+ messages in thread
From: Neil Bothwick @ 2019-09-12 21:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 549 bytes --]

On Wed, 11 Sep 2019 18:08:23 -0000 (UTC), Grant Edwards wrote:

> >> Though it might be tricky to get the mount to happen automagically
> >> when the phone's USB cable is plugged in...  
> >
> > It should be possible with a udev rule.  
> 
> Yes, I would think so. At least for me, writing udev rules is about as
> tricky as it gets in Linux.  I've done it many times, but there's
> still always a fair bit of trial and error involved.

Sacrificing a chicken can help!


-- 
Neil Bothwick

Top Oxymorons Number 40: Same difference

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-09-12 21:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-11  6:16 [gentoo-user] slow MTP in Thunar, was fine in Gnome Raffaele Belardi
2019-09-11 14:33 ` [gentoo-user] " Grant Edwards
2019-09-11 15:05   ` Raffaele Belardi
2019-09-11 15:17     ` Grant Edwards
2019-09-11 15:49       ` Raffaele Belardi
2019-09-11 17:26         ` Grant Edwards
2019-09-11 17:44           ` Neil Bothwick
2019-09-11 18:08             ` Grant Edwards
2019-09-12 21:28               ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox