Re: [gentoo-user] Re: slow MTP in Thunar, was fine in Gnome

2019-09-12 Thread Neil Bothwick
On Wed, 11 Sep 2019 18:08:23 - (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


pgpZ2l5SLxsO_.pgp
Description: OpenPGP digital signature


[gentoo-user] Re: slow MTP in Thunar, was fine in Gnome

2019-09-11 Thread Grant Edwards
On 2019-09-11, Neil Bothwick  wrote:
> On Wed, 11 Sep 2019 17:26:20 - (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.edwardsYow! RELATIVES!!
  at   
  gmail.com




Re: [gentoo-user] Re: slow MTP in Thunar, was fine in Gnome

2019-09-11 Thread Neil Bothwick
On Wed, 11 Sep 2019 17:26:20 - (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.


pgpKmr3PK7XkG.pgp
Description: OpenPGP digital signature


[gentoo-user] Re: slow MTP in Thunar, was fine in Gnome

2019-09-11 Thread Grant Edwards
On 2019-09-11, Raffaele Belardi  wrote:
> On 9/11/19 5:17 PM, Grant Edwards wrote:
>> On 2019-09-11, Raffaele Belardi  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.edwardsYow! What UNIVERSE is this,
  at   please??
  gmail.com




Re: [gentoo-user] Re: slow MTP in Thunar, was fine in Gnome

2019-09-11 Thread Raffaele Belardi

On 9/11/19 5:17 PM, Grant Edwards wrote:

On 2019-09-11, Raffaele Belardi  wrote:

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


Good observation, I'll try that route.



[gentoo-user] Re: slow MTP in Thunar, was fine in Gnome

2019-09-11 Thread Grant Edwards
On 2019-09-11, Raffaele Belardi  wrote:
> On 9/11/19 4:33 PM, Grant Edwards wrote:
>> On 2019-09-11, Raffaele Belardi  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.edwardsYow! PEGGY FLEMMING is
  at   stealing BASKET BALLS to
  gmail.comfeed the babies in VERMONT.




Re: [gentoo-user] Re: slow MTP in Thunar, was fine in Gnome

2019-09-11 Thread Raffaele Belardi

On 9/11/19 4:33 PM, Grant Edwards wrote:

On 2019-09-11, Raffaele Belardi  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




[gentoo-user] Re: slow MTP in Thunar, was fine in Gnome

2019-09-11 Thread Grant Edwards
On 2019-09-11, Raffaele Belardi  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.edwardsYow! Are we live or on
  at   tape?
  gmail.com