Google-drive Filemanager
Experimental v0.3.0
Here's an experimental version (0.3.0) with (a bit ugly?) workaround to support selecting multiple items.
For Add, Download or Remove button, (only) if nothing selected in the main GUI, a "yad" list window will appear from where you can select multiple items. (see screenshot).
Depends on having yad installed, version 0.20 or higher (the old version 0.12, which is included in some puppies won't work), the script checks for version number and will give message and exit if yad version is lower than 0.20.
EDIT: See here for v0.3.1, without yad version restriction
Other change is that all button icons should show now also in older puppies (changed icon= to stock=), thanks BarryK and mikeb.
32-bit pet v0.3.0: https://drive.google.com/uc?export=down ... 99k-CP3g1f
64-bit pet v0.3.0: https://drive.google.com/uc?export=down ... aQSKGFQnUw
32-bit deb v0.3.0: https://fredx181.github.io/StretchDog/i ... 0_i386.deb
64-bit deb v0.3.0: https://fredx181.github.io/StretchDog/a ... _amd64.deb
32-bit portable v0.3.0: https://drive.google.com/uc?export=down ... ab80RfFewb
64-bit portable v0.3.0: https://drive.google.com/uc?export=down ... yte10Ck-c2
(See for a brief explanation about portable version in first post)
Fred
For Add, Download or Remove button, (only) if nothing selected in the main GUI, a "yad" list window will appear from where you can select multiple items. (see screenshot).
Depends on having yad installed, version 0.20 or higher (the old version 0.12, which is included in some puppies won't work), the script checks for version number and will give message and exit if yad version is lower than 0.20.
EDIT: See here for v0.3.1, without yad version restriction
Other change is that all button icons should show now also in older puppies (changed icon= to stock=), thanks BarryK and mikeb.
32-bit pet v0.3.0: https://drive.google.com/uc?export=down ... 99k-CP3g1f
64-bit pet v0.3.0: https://drive.google.com/uc?export=down ... aQSKGFQnUw
32-bit deb v0.3.0: https://fredx181.github.io/StretchDog/i ... 0_i386.deb
64-bit deb v0.3.0: https://fredx181.github.io/StretchDog/a ... _amd64.deb
32-bit portable v0.3.0: https://drive.google.com/uc?export=down ... ab80RfFewb
64-bit portable v0.3.0: https://drive.google.com/uc?export=down ... yte10Ck-c2
(See for a brief explanation about portable version in first post)
Fred
- Attachments
-
- google-drive-gui-0.3.0.jpg
- v0.3.0 with multiple selection support
- (91.81 KiB) Downloaded 279 times
Last edited by fredx181 on Thu 21 Dec 2017, 10:16, edited 1 time in total.
- Mike Walsh
- Posts: 6351
- Joined: Sat 28 Jun 2014, 12:42
- Location: King's Lynn, UK.
Hi, Fred.
A wee bit of feedback for you.
Experimentation shows that, making modifications to 0.2.0, if you change 'icon' to 'stock' all the way through the 'gdrive_gui' script in /usr/bin, then some buttons that previously showed an icon then seem to lose it!
If you wish to try this small modification to version 0.2.0, then be prepared to interchange 'icon' & 'stock' until you find the mix that works best for you. I've just done this in ETP's 'Chromebook Pup', which is based on Precise 5.7.1. I fully expect this same set of modifications to work in standard 571, too.
In this particular use-case, the buttons that need leaving as 'icon' (rather than changing to 'stock') are
'Add'
'Add all', &
'Download'.
I may try 0.3.0.....I may just leave things as they are. 0.2.0 is working fine for me, since I rarely, if ever, need to upload/download multiple files at once.
Question for you:- If a newer version of yad is required ('Chromepup's' got the old 0.12 version), then where's the best place to get a newer version?
Mike.
A wee bit of feedback for you.
Experimentation shows that, making modifications to 0.2.0, if you change 'icon' to 'stock' all the way through the 'gdrive_gui' script in /usr/bin, then some buttons that previously showed an icon then seem to lose it!
If you wish to try this small modification to version 0.2.0, then be prepared to interchange 'icon' & 'stock' until you find the mix that works best for you. I've just done this in ETP's 'Chromebook Pup', which is based on Precise 5.7.1. I fully expect this same set of modifications to work in standard 571, too.
In this particular use-case, the buttons that need leaving as 'icon' (rather than changing to 'stock') are
'Add'
'Add all', &
'Download'.
I may try 0.3.0.....I may just leave things as they are. 0.2.0 is working fine for me, since I rarely, if ever, need to upload/download multiple files at once.
Question for you:- If a newer version of yad is required ('Chromepup's' got the old 0.12 version), then where's the best place to get a newer version?
Mike.
Last edited by Mike Walsh on Tue 19 Dec 2017, 17:39, edited 1 time in total.
Dear fredx181,
Thanks very much for the google drive app. I have tried several things, including scripts that make use of ocaml-fuse, and I much prefer your lean and nicely coded script. The YAD multiple-file addition is very convenient, too, and everything is working on Tahr and on Mint 17.3. I also installed your script on my Raspbian PI3, and it works fine (I first had to compile gtkdialog and yad, but I had done that some time ago).
Again, many thanks and best regards,
vovchik
Thanks very much for the google drive app. I have tried several things, including scripts that make use of ocaml-fuse, and I much prefer your lean and nicely coded script. The YAD multiple-file addition is very convenient, too, and everything is working on Tahr and on Mint 17.3. I also installed your script on my Raspbian PI3, and it works fine (I first had to compile gtkdialog and yad, but I had done that some time ago).
Again, many thanks and best regards,
vovchik
Yes, that's right, the point is that some gtk icon names needs changed for stock=... to work (noticed that mikeb did that in his newest dropbox_gui)Mike Walsh wrote:In this case, the buttons that need leaving as 'icon' (rather than changing to 'stock') are
'Add'
'Add all', &
'Download'.
For "Add" and "Add all" change to stock="gtk-go-forward" instead of: icon="gtk-go-forward-ltr"
For "Download" change to stock="gtk-go-back" instead of: icon="gtk-go-back-ltr"
(made these changes in gdrive_gui v0.3.0)
Fred
Last edited by fredx181 on Tue 19 Dec 2017, 18:07, edited 1 time in total.
Thanks vovchik !! Great to hear it's useful for you.vovchik wrote:Dear fredx181,
Thanks very much for the google drive app. I have tried several things, including scripts that make use of ocaml-fuse, and I much prefer your lean and nicely coded script. The YAD multiple-file addition is very convenient, too, and everything is working on Tahr and on Mint 17.3. I also installed your script on my Raspbian PI3, and it works fine (I first had to compile gtkdialog and yad, but I had done that some time ago).
Again, many thanks and best regards,
vovchik
Fred
Almost forgot to answer, a 32-bit pet from greengeek, see here:Mike Walsh wrote:Question for you:- If a newer version of yad is required ('Chromepup's' got the old 0.12 version), then where's the best place to get a newer version?
http://www.murga-linux.com/puppy/viewto ... 053#890053
A 64-bit pet, I couldn't find yet, anyone knows?
Anyway here's a 64 deb:
https://fredx181.github.io/StretchDog/a ... _amd64.deb
Fred
- Mike Walsh
- Posts: 6351
- Joined: Sat 28 Jun 2014, 12:42
- Location: King's Lynn, UK.
Thanks for those, Fred. Actually, I followed Smokey's instruction's in the first release of the Puppy Newsletter (from back in January), and compiled my own for Chromepup.. I didn't go for the absolute newest version (0.40.0), but with a somewhat older version, to be a bit more sympathetic to the rest of the system. I settled on 0.32.0, in the end.fredx181 wrote:Almost forgot to answer, a 32-bit pet from greengeek, see here:Mike Walsh wrote:Question for you:- If a newer version of yad is required ('Chromepup's' got the old 0.12 version), then where's the best place to get a newer version?
http://www.murga-linux.com/puppy/viewto ... 053#890053
A 64-bit pet, I couldn't find yet, anyone knows?
Anyway here's a 64 deb:
https://fredx181.github.io/StretchDog/a ... _amd64.deb
Fred
Not at all hard, either.
Mike.
Last edited by Mike Walsh on Tue 19 Dec 2017, 20:50, edited 1 time in total.
Yad.... 0.9.1 . Why...built to work on such as puppy 4.12 and seems to provide multiple file selection...one to play with for anyone with older pups.
https://www.dropbox.com/s/dztlg70mieb6n0r/yad?dl=1
Could add yad multiple selection to dropbox doo dah if proves popular..would be nice..
mike
edit...link now working
https://www.dropbox.com/s/dztlg70mieb6n0r/yad?dl=1
Could add yad multiple selection to dropbox doo dah if proves popular..would be nice..
mike
edit...link now working
Last edited by mikeb on Sun 24 Dec 2017, 14:48, edited 3 times in total.
EDIT: ...Earlier provided link removed...ally wrote:FYI
the above link is 2.6gb
Smile
@mikeb, found your yad v0.9, indeed supports multiple file selection, will look at support for older yad version for gdrive_gui
(the problem can be with older yad that it doesn't ignore "not supported" parameters for that version (which are supported for newer version) so in that case it will not run)
So some work to do for adjusting things, I'll get back later.
EDIT: tested now by removing some parameters from yad commands and found that it works just fine also with v0.9
Update to v0.3.1 will follow later without the yad version restriction, thanks
Fred
Here's v0.3.1, same as v0.3.0 with the 'yad list' addition, but has no restriction for the yad version
(works with yad v0.9 or higher)
Downside can be if you accidentally double-click on an item from yad list it will be processed unwanted (in v0.3.0, double-click is disabled to avoid that)
Pet packages:
32-bit: https://drive.google.com/uc?export=down ... W1ZUSZkCa6
64-bit: https://drive.google.com/uc?export=down ... mLHQla5L9y
Deb packages:
32-bit: https://fredx181.github.io/StretchDog/N ... 1_i386.deb
64-bit: https://fredx181.github.io/StretchDog/N ... _amd64.deb
Portable:
32-bit: https://drive.google.com/uc?export=down ... o9lD8725UX
64-bit: https://drive.google.com/uc?export=down ... 95U46rJ1lY
Fred
(works with yad v0.9 or higher)
Downside can be if you accidentally double-click on an item from yad list it will be processed unwanted (in v0.3.0, double-click is disabled to avoid that)
Pet packages:
32-bit: https://drive.google.com/uc?export=down ... W1ZUSZkCa6
64-bit: https://drive.google.com/uc?export=down ... mLHQla5L9y
Deb packages:
32-bit: https://fredx181.github.io/StretchDog/N ... 1_i386.deb
64-bit: https://fredx181.github.io/StretchDog/N ... _amd64.deb
Portable:
32-bit: https://drive.google.com/uc?export=down ... o9lD8725UX
64-bit: https://drive.google.com/uc?export=down ... 95U46rJ1lY
Fred
Last edited by fredx181 on Thu 21 Dec 2017, 11:43, edited 1 time in total.
Just a mention. I use both Mega and Degoo desktop file managers on my Windows machine. Not sure if it has Linux versions. The Mega one is excellent and Degoo's adequate. Both support lots of options including synching, etc. These storage sites provide huge free storage space of course...Mega 50G and Degoo 100GB.
- Mike Walsh
- Posts: 6351
- Joined: Sat 28 Jun 2014, 12:42
- Location: King's Lynn, UK.
Hi Everyone, Merry Christmas !!
Update to version 0.3.2, changes:
- No absolute dependency anymore for 'yad', if yad is installed there will be option for multiple file selection, if not, the program still runs with support for single file selection only (thanks mikeb !)
- Fix for 'Add all', uploads folders also now (previously only files)
- Also 'Add all' will be processed in one terminal now (previously was spawning terminal for every file)
- If yad installed (and nothing selected in main GUI), the 'Add' button will give "file-selector" (previous was list) which is better IMO, to be able to browse files or folders for upload from everywhere.
Pet packages v0.3.2:
32-bit: https://drive.google.com/uc?export=down ... hFb0KWTlHb
64-bit: https://drive.google.com/uc?export=down ... gQp1yem8BH
Deb packages v0.3.2 (for e.g. DebianDog, Stretchdog, Xenialdog): :
32-bit: https://fredx181.github.io/StretchDog/i ... 2_i386.deb
64-bit: https://fredx181.github.io/StretchDog/a ... _amd64.deb
Here's also a portable version, recommended to extract at the top dir level of a partition, e.g. /mnt/sda2 (to have that partition as 'profile' and have download access to all that (including it's subfolders)
This contains the files 'gdrive_gui' (the executable script to launch the program) and 'drive' (a hidden directory '.gd' and hidden config file '.gdriverc' will be created in (same) profile dir after initiated profile dir).
Portable v0.3.2:
32-bit .tar.gz: https://drive.google.com/uc?export=down ... W1hc_3nQ7f
64-bit .tar.gz: https://drive.google.com/uc?export=down ... eVTiyrovaU
Edited first post with same info.
Fred
Update to version 0.3.2, changes:
- No absolute dependency anymore for 'yad', if yad is installed there will be option for multiple file selection, if not, the program still runs with support for single file selection only (thanks mikeb !)
- Fix for 'Add all', uploads folders also now (previously only files)
- Also 'Add all' will be processed in one terminal now (previously was spawning terminal for every file)
- If yad installed (and nothing selected in main GUI), the 'Add' button will give "file-selector" (previous was list) which is better IMO, to be able to browse files or folders for upload from everywhere.
Pet packages v0.3.2:
32-bit: https://drive.google.com/uc?export=down ... hFb0KWTlHb
64-bit: https://drive.google.com/uc?export=down ... gQp1yem8BH
Deb packages v0.3.2 (for e.g. DebianDog, Stretchdog, Xenialdog): :
32-bit: https://fredx181.github.io/StretchDog/i ... 2_i386.deb
64-bit: https://fredx181.github.io/StretchDog/a ... _amd64.deb
Here's also a portable version, recommended to extract at the top dir level of a partition, e.g. /mnt/sda2 (to have that partition as 'profile' and have download access to all that (including it's subfolders)
This contains the files 'gdrive_gui' (the executable script to launch the program) and 'drive' (a hidden directory '.gd' and hidden config file '.gdriverc' will be created in (same) profile dir after initiated profile dir).
Portable v0.3.2:
32-bit .tar.gz: https://drive.google.com/uc?export=down ... W1hc_3nQ7f
64-bit .tar.gz: https://drive.google.com/uc?export=down ... eVTiyrovaU
Edited first post with same info.
Fred
Hi All, I made a different version v2
It's not compatible with the previous versions, e.g. config file and authorization folder are named different.
It contains different filenames (e.g. gdrive_gui2 rather than gdrive_gui), so will NOT overwrite the files from previous versions. (will appear in Menu as "Google-drive GUI v2")
Instead previously using "drive", this makes use of "gdrive", see here:
https://github.com/prasmussen/gdrive
Actually when I started this "google-drive GUI" project, I did prefer using "gdrive", because it doesn't depend on a "profile" directory, just account name for the "profile", so better portability IMO.
(EDIT: Another advantage is that downloading is not restricted to one directory (as it is with previous "drive" based versions) )
But at that time using "gdrive" seemed too overwhelming (it strictly works with the "ID" of files and folders) and back then chose the (easier to script) "drive".
Pet packages googledrivegui2:
32-bit: https://drive.google.com/uc?export=down ... Ibwhii1ajV
64-bit: https://drive.google.com/uc?export=down ... ovaI90Qots
Deb packages googledrivegui2:
32-bit: https://fredx181.github.io/StretchDog/i ... 0_i386.deb
64-bit: https://fredx181.github.io/StretchDog/a ... _amd64.deb
Portable:
Appimage, before running, make executable, e.g:
Place it anywhere you like, the config files will be in same directory.
32-bit: gdrive_gui2-portable-32 https://drive.google.com/uc?export=down ... J8Qh1rLd-X
64-bit: gdrive_gui2-portable-64 https://drive.google.com/uc?export=down ... xNtBSniNEY
Fred
It's not compatible with the previous versions, e.g. config file and authorization folder are named different.
It contains different filenames (e.g. gdrive_gui2 rather than gdrive_gui), so will NOT overwrite the files from previous versions. (will appear in Menu as "Google-drive GUI v2")
Instead previously using "drive", this makes use of "gdrive", see here:
https://github.com/prasmussen/gdrive
Actually when I started this "google-drive GUI" project, I did prefer using "gdrive", because it doesn't depend on a "profile" directory, just account name for the "profile", so better portability IMO.
(EDIT: Another advantage is that downloading is not restricted to one directory (as it is with previous "drive" based versions) )
But at that time using "gdrive" seemed too overwhelming (it strictly works with the "ID" of files and folders) and back then chose the (easier to script) "drive".
Pet packages googledrivegui2:
32-bit: https://drive.google.com/uc?export=down ... Ibwhii1ajV
64-bit: https://drive.google.com/uc?export=down ... ovaI90Qots
Deb packages googledrivegui2:
32-bit: https://fredx181.github.io/StretchDog/i ... 0_i386.deb
64-bit: https://fredx181.github.io/StretchDog/a ... _amd64.deb
Portable:
Appimage, before running, make executable, e.g:
Code: Select all
chmod +x gdrive_gui2-portable-32
32-bit: gdrive_gui2-portable-32 https://drive.google.com/uc?export=down ... J8Qh1rLd-X
64-bit: gdrive_gui2-portable-64 https://drive.google.com/uc?export=down ... xNtBSniNEY
Fred
- Attachments
-
- googledrivegui-v2.png
- v2
- (194.54 KiB) Downloaded 792 times
Thank you for v2. I'm looking forward to using this one. Motivating factor: gdrive. I've been satisfactorily using its command line for several years. Now, finally, your GUI.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]
Hi All, update of v2 (2.1.0), changes and improvements:
- Multiple selection now possible from main GUI, so does not depend on "yad" anymore.
- When maximized, show full view of both panes.
- Changed "gtkdialog3" to just "gtkdialog" in the script (that gives support for the above changes).
Note: Older puppy versions may have only "gtkdialog3", in that case it doesn't work as expected.
Tested with this gtkdialog:
Pet packages 2.1.0:
32-bit: https://drive.google.com/uc?export=down ... h9FXN2tR-l
64-bit: https://drive.google.com/uc?export=down ... GebOAXV0d4
Deb packages 2.1.0
32-bit: https://fredx181.github.io/StretchDog/i ... 0_i386.deb
64-bit: https://fredx181.github.io/StretchDog/a ... _amd64.deb
Portable Appimage 2.1.0: (extract somewhere and just click on the binary, the config files will be in same directory)
32-bit: https://drive.google.com/uc?export=down ... HIh1uRnrDB
64-bit: https://drive.google.com/uc?export=down ... HQV4p1LVYX
Fred
- Multiple selection now possible from main GUI, so does not depend on "yad" anymore.
- When maximized, show full view of both panes.
- Changed "gtkdialog3" to just "gtkdialog" in the script (that gives support for the above changes).
Note: Older puppy versions may have only "gtkdialog3", in that case it doesn't work as expected.
Tested with this gtkdialog:
Code: Select all
root@live:~# gtkdialog -v
gtkdialog version 0.8.3 release (C) 2003-2007 Laszlo Pere, 2011-2012 Thunor
32-bit: https://drive.google.com/uc?export=down ... h9FXN2tR-l
64-bit: https://drive.google.com/uc?export=down ... GebOAXV0d4
Deb packages 2.1.0
32-bit: https://fredx181.github.io/StretchDog/i ... 0_i386.deb
64-bit: https://fredx181.github.io/StretchDog/a ... _amd64.deb
Portable Appimage 2.1.0: (extract somewhere and just click on the binary, the config files will be in same directory)
32-bit: https://drive.google.com/uc?export=down ... HIh1uRnrDB
64-bit: https://drive.google.com/uc?export=down ... HQV4p1LVYX
Fred
Hi p310don, good to hear that it's useful for you !
Which version you use ?
The first version by defaullt overwrites files with same name if they are different.
The v2 cannot do that AFAIK.
Automating should be possible by using command line, hard to accomplish with GUI, I think, so then something like:
And maybe use Pschedule to exectute everyday
(drive is included in first version, v2 uses gdrive)
Fred
Which version you use ?
The first version by defaullt overwrites files with same name if they are different.
The v2 cannot do that AFAIK.
Automating should be possible by using command line, hard to accomplish with GUI, I think, so then something like:
Code: Select all
drive push -hidden -no-prompt -m /root/my-file ./my-remote-folder/
(drive is included in first version, v2 uses gdrive)
Fred