Re: [Dorset] Kubuntu accessing Google drive files

2020-04-27 Thread Terry Coles
On Monday, 27 April 2020 20:08:30 BST PeterMerchant wrote:
> So it's not working now. Terry is lucky.

Hmmm.  So why is it working for me?  I wasn't even aware of the increased 
security demanded by Google.  Perhaps it's because I set up the credentials 
before this limitation was applied?

-- 



Terry Coles



-- 
  Next meeting: Online, Jitsi, Tuesday, 2020-05-05 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Kubuntu accessing Google drive files

2020-04-27 Thread PeterMerchant

On 28/04/2020 06:46, Ralph Corderoy wrote:

Hi Peter,


Google have recently increased the security on Google Accounts by
denying access to many apps and services that previously had access to
google accounts.

IIRC they want OAuth2 authentication done in a browser.
https://bugs.kde.org/show_bug.cgi?id=415089 is tracking Kio-gdrive.

I've found https://rclone.org very good when force to access Dropbox,
which otherwise has a very clunky UI.  It gives a mounted filesystem,
unlike Kio.  It also has Google Drive support and I get the impression
they handle the OAuth2 requirement.  https://rclone.org/drive/
rclone's mounted filesystem should be available in whatever GUI file
browser is endured.  :-)


I have never had any problem with Dropbox in Dolphin. It is just another folder 
on my system, and whatever I do there is automatically uploaded to the cloud so 
that it can be accessed from anywhere. Actually we have a dropbox folder called 
'sharing' that we use to pass stuff back and forth between users.



--
 Next meeting: Online, Jitsi, Tuesday, 2020-05-05 20:00
 Check to whom you are replying
 Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
 New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Kubuntu accessing Google drive files

2020-04-27 Thread Ralph Corderoy
Hi Peter,

> Google have recently increased the security on Google Accounts by
> denying access to many apps and services that previously had access to
> google accounts.

IIRC they want OAuth2 authentication done in a browser.
https://bugs.kde.org/show_bug.cgi?id=415089 is tracking Kio-gdrive.

I've found https://rclone.org very good when force to access Dropbox,
which otherwise has a very clunky UI.  It gives a mounted filesystem,
unlike Kio.  It also has Google Drive support and I get the impression
they handle the OAuth2 requirement.  https://rclone.org/drive/
rclone's mounted filesystem should be available in whatever GUI file
browser is endured.  :-)

-- 
Cheers, Ralph.

-- 
  Next meeting: Online, Jitsi, Tuesday, 2020-05-05 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Kubuntu accessing Google drive files

2020-04-27 Thread PeterMerchant

It looks like I had it half there without knowing it, but things have changed 
since December '19
"
Google have recently increased the security on Google Accounts by denying 
access to many apps and services that previously had access to google accounts. 
Google announced forthcoming changes to how apps sign in and gain access to 
your Google account several months ago, to give app developers plenty of time 
to conform to googles requirements regarding account access.
If an app/service is showing the 'temporarily disabled' then the app developers 
need to work on getting their app verified by google in order to use Google 
Sign In.

More info on the security implications of allowing third-party apps and 
services to sign into your account and why these changes were considered 
necessary are provided here:
https://security.googleblog.com/2019/04/better-protection-against-man-in-middle.html 
"

So it's not working now. Terry is lucky.
Peter

On 27/04/2020 09:46, Ralph Corderoy wrote:

Hi Peter,


I have seen stuff recently about an addition that allows Kubuntu
things like Dolphin to access Google drive. It is called KIO Gdrive

https://community.kde.org/KIO_GDrive


and looks to have been available since at least 2017. Has anyone tried
it and had success installing it?

I don't see why it shouldn't work.
https://blog.michael.franzl.name/2018/09/02/how-to-mount-google-drive-in-kdes-dolphin-file-manager/
is an example.

Note, it isn't mounting the GDrive as a filesystem so you can't use all
your favourite shell commands on it.  :-)



--
 Next meeting: Online, Jitsi, Tuesday, 2020-05-05 20:00
 Check to whom you are replying
 Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
 New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Updating Applications Installed by Snap

2020-04-27 Thread Ralph Corderoy
Hi Terry,

> My wife switched the laptop on at around 0850 this morning

‘who -b’ will show boot time.

> used it for about five or ten minutes and then left it.  When I picked
> it up just now it had shut the screen down, but was till running.  I
> logged in and got:
>
> terry@XPS-13:~$ snap refresh --time
> timer: 00:00~24:00/4
> last: today at 08:54 BST
> next: today at 12:51 BST
>
> I then did a manual refresh:
>
> terry@XPS-13:~$ snap refresh
> 2020-04-27T10:33:06+01:00 INFO Waiting for restart...
> core18 20200311 from Canonical✓ refreshed
> gtk-common-themes 0.1-36-gc75f853 from Canonical✓ refreshed
> snapd 2.44.3 from Canonical✓ refreshed
>
> So in theory, had those updated Apps been available at 0854 she would
> have got them.  I'm assuming that they weren't then and they've only
> been applied now  because I did a manual refresh.

A reasonable assumption, though it seems quite a few updates became
available in that ninety minutes.

> The chances of the machine being alive at 1251 are low, so at the next
> scheduled refresh time the machine would have been asleep or shut down
> completely.

Yes, but the previous one happened within ten minutes of booting after
it had been off for longer than six hours and missed a scheduled update.
When it's turned on having missed 12:51, the same will presumably occur.

> Even so, the chances are that those Apps would have been caught the
> next time the machine was used, so this begs the question; why were
> able to use the machine for nearly five months without snap refreshing
> Chromium?

I don't know.  I'd suggest learning a bit more about snap to see what it
can tell you.  (I haven't used it.)

There's ‘snap changes --abs-time’ and for a listed change ID, e.g. 42,
one can do ‘snap change 42’ for more detail.  And then I'd expect ‘snap
info --verbose core18’ might give some detail, hopefully including what
versions became available when.

Finally, a log file or journal entry might show when snap checked for
updates and what decisions it made, and they might mention Chromium.

-- 
Cheers, Ralph.

-- 
  Next meeting: Online, Jitsi, Tuesday, 2020-05-05 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Updating Applications Installed by Snap

2020-04-27 Thread Terry Coles
On Sunday, 26 April 2020 14:21:49 BST Terry Coles wrote:
> I'll check first thing tomorrow.  The laptop is off now.

This is interesting.  My wife switched the laptop on at around 0850 this 
morning, used it for about five or ten minutes and then left it.  When I picked 
it up just now it had shut the screen down, but was till running.  I logged in 
and got:

terry@XPS-13:~$ snap refresh --time
timer: 00:00~24:00/4
last: today at 08:54 BST
next: today at 12:51 BST

I then did a manual refresh:

terry@XPS-13:~$ snap refresh
2020-04-27T10:33:06+01:00 INFO Waiting for restart...
core18 20200311 from Canonical✓ refreshed
gtk-common-themes 0.1-36-gc75f853 from Canonical✓ refreshed
snapd 2.44.3 from Canonical✓ refreshed

So in theory, had those updated Apps been available at 0854 she would have got 
them.  I'm assuming that they weren't then and they've only been applied now  
because I did a manual refresh.  The chances of the machine being alive at 
1251 are low, so at the next scheduled refresh time the machine would have 
been asleep or shut down completely.

Even so, the chances are that those Apps would have been caught the next time 
the machine was used, so this begs the question; why were able to use the 
machine for nearly five months without snap refreshing Chromium?

-- 



Terry Coles



-- 
  Next meeting: Online, Jitsi, Tuesday, 2020-05-05 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Kubuntu accessing Google drive files

2020-04-27 Thread Terry Coles
On Monday, 27 April 2020 09:40:23 BST PeterMerchant via dorset wrote:
> I have seen stuff recently about an addition that allows Kubuntu things like
> Dolphin to access Google drive. It is called KIO Gdrive and looks to have
> been available since at least 2017. Has anyone tried it and had success
> installing it?

I've been using it for such a long time that I'd forgotten that Google Drive 
access wasn't a part of Dolphin!

It works fine for me.

-- 



Terry Coles



-- 
  Next meeting: Online, Jitsi, Tuesday, 2020-05-05 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Kubuntu accessing Google drive files

2020-04-27 Thread Ralph Corderoy
Hi Peter,

> I have seen stuff recently about an addition that allows Kubuntu
> things like Dolphin to access Google drive. It is called KIO Gdrive

https://community.kde.org/KIO_GDrive

> and looks to have been available since at least 2017. Has anyone tried
> it and had success installing it?

I don't see why it shouldn't work.
https://blog.michael.franzl.name/2018/09/02/how-to-mount-google-drive-in-kdes-dolphin-file-manager/
is an example.

Note, it isn't mounting the GDrive as a filesystem so you can't use all
your favourite shell commands on it.  :-)

-- 
Cheers, Ralph.

-- 
  Next meeting: Online, Jitsi, Tuesday, 2020-05-05 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


[Dorset] Kubuntu accessing Google drive files

2020-04-27 Thread PeterMerchant via dorset

I have seen stuff recently about an addition that allows Kubuntu things like 
Dolphin to access Google drive. It is called KIO Gdrive and looks to have been 
available since at least 2017. Has anyone tried it and had success installing 
it?

The link brings up Discover and then can't find anything.

Cheers,

Peter


--
 Next meeting: Online, Jitsi, Tuesday, 2020-05-05 20:00
 Check to whom you are replying
 Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
 New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk