Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 28 Aug 2014, 19:19
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Dropbox Filemanager
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [29 Posts]   Goto page: Previous 1, 2
Author Message
Scooby

Joined: 03 Mar 2012
Posts: 300

PostPosted: Thu 08 May 2014, 13:23    Post subject:  

Code:
extra/gtk3 3.12.1-1 [installed]
    GObject-based multi-platform GUI toolkit (v3)
extra/gtk2 2.24.23-1 [installed]
    GTK+ is a multi-platform toolkit (v2)


looks like I have both gtk2 and gtk3 installed.

did a fast dirty check with your hack "padding with blanklines" - it seems to work

added

Code:
for (( c=`wc -l < /tmp/dbox-ls`; c<=11; c++ )); do echo >> /tmp/dbox-ls; done


to end of function build_chooser_list()
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8215

PostPosted: Thu 08 May 2014, 13:46    Post subject:  

Hmm ok well perhaps it may be a bug with a workaround for now.... see if anyone else reports it...GTK is a mysterious beastie...

As for the hack I see no harm in simply bunging in several blank lines and not bothering with the test apart from affecting the scroll bar size.

A nosy around has not shed any other light on this one so far... thanks for the feedback

mike
Back to top
View user's profile Send private message 
Scooby

Joined: 03 Mar 2012
Posts: 300

PostPosted: Thu 08 May 2014, 14:19    Post subject:  

mikeb wrote:

As for the hack I see no harm in simply bunging in several blank lines and not bothering with the test apart from affecting the scroll bar size.


so something like
Code:
printf '\n%.0s' {1..11} >> /tmp/dbox-ls


Do you think the other way is slow or why did you suggest to
do it without test?


Maybe I'm petty but I didn't like those extra newlines at the end and sonce I only need it at startup I solved it this way
Code:

# At the top of script
export IS_STARTUP=true

...

build_chooser_list () {
...
   if $IS_STARTUP; then
      for (( c=`wc -l < /tmp/dbox-ls`; c<=11; c++ )); do echo >> /tmp/dbox-ls; done
           IS_STARTUP=false
   fi
}


which would only output extra lines at startup and then just do fast boolean check

which way is best do you think?
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4346

PostPosted: Thu 08 May 2014, 14:39    Post subject:  

here is my post with a previous dropbox client:
http://www.murga-linux.com/puppy/viewtopic.php?p=597711#597711
don't know if it will be useful, but there it is.

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 308

PostPosted: Thu 08 May 2014, 14:42    Post subject:  

Never used dropbox (nor the pet) before.

Created a DB account. Tried the pet and couldn't figure it out in < 20 mins ..... so both zapped.

Asked about 'app secrets' and gave two lots of choices of apps to create etc. I was typing in long textual (no copy/paste) sequences etc (soon lost interest).

Sorry for the negative feedback Mike - but perhaps best to be aware of what fools/noobs like me see.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8215

PostPosted: Thu 08 May 2014, 16:14    Post subject:  

Quote:
Do you think the other way is slow or why did you suggest to
do it without test?

too many things happening at once for my head generally... had to do a manic website and email accounts move yesterday Very Happy

No its fine...in fact your final version with a check for first run is the neatest.... It would be ok as a harmless addition as a 'just in case'

@rufwoof ... well perhaps thats one to take up with the author of dropbox_uploader. To copy and paste you highlight the text and paste with middle click ... A traditional unix thing I believe.
All I do is send his api creation script to the terminal.
One created its all gui fun in the style of a 2 pane browser.
The normal way to use dropbox is as a python application which syncs a local folder to the web.

@technosaurus
goodly.... I use dropbox as a file host rather than a cloud backup so these scripted alternatives and their api's do provide some nice options.
Mediafire liked to corrupt files and 4shared went members only so dropbox became the replacement.

mike
Back to top
View user's profile Send private message 
Scooby

Joined: 03 Mar 2012
Posts: 300

PostPosted: Fri 09 May 2014, 15:17    Post subject:  

I want to thank you, mikeb, for a good collaboration getting your
application to run smooth on alphaos.

@rufwoof
You could ask for help and the lenghty setup is only first time
Then it is a very smooth experience


@technosaurus
I tried out your script but it didn't work for me. Maybe because
dropbox changed their setup? Didn't investigate further since
dropbox_uploader.sh( version 0.13) can do it from cmdline.
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 308

PostPosted: Sat 10 May 2014, 20:19    Post subject:  

Scooby wrote:
@rufwoof
You could ask for help and the lengthy setup is only first time Then it is a very smooth experience

Thanks Scooby. Personally I'm happy to run that more manually myself. FTP PUT or whatever and upload a pre-encrypted version of whatever I want to store. FTP GET to download and then locally decrypt/use.

Whose to say that in 3, 5 ... whatever years time computer power/speed wont have risen sufficiently that DES...whatever encryption is no longer secure and the host in having copies of your current/past encyrpted data could browse through that at their leisure. For anything that you'd rather wasn't exposed to such risk the best choice of key is one that has a size equal to the size of the data being encrypted.

Not that I have much in the way of anything that would bother me if it was accessible/seen by others - excepting bank/financial stuff of course. I just don't like the idea that it could be used for their financial gain - such as feeding me specific advertisements based on a personal profiling or selling on that profile to others. I already get enough junk postal mail daily, and regular cold calls from the likes of brokers trying to get me to use them as advisers/agents - which is really dumb/useless - as if they had any specialist info that was of any use then they wouldn't be calling strangers but using that info themselves. No matter how many times you ask to be removed from their database it seems that its a lot easier to have personal data being recorded than it is to have that data removed.

In the past I've experimented and registered unique sign up name on applications for services or whatever and where I've specifically requested/ticked the non-sharing box. Yet later I receive junk mail with that unique name i.e. the original service has not implemented such non-disclosure. Getting to the stage where I'm quite grumpy about it all being way too one sided. Data protection being thrown at you as excuses for their failings, or me to prove who I am to them without a reciprocation of validation. For more recent calls where I know its a cold call and they know my name the call might go something like ....

Hello, is that Mr Woof?
I'm sorry but under data protection you'll have to enter your access code before I can answer that.
Sorry | Pardon | Huh
"Sorry | Pardon | Huh" is an Invalid code .. goodbye.

is more fun and shorter than getting more upset about yet another cold call just as you were starting dinner.
Back to top
View user's profile Send private message 
Scooby

Joined: 03 Mar 2012
Posts: 300

PostPosted: Fri 13 Jun 2014, 09:55    Post subject:  

I just wanted to drop by and tell you I really love dropbox_gui.

Its so good to work with!

Thanks again.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8215

PostPosted: Fri 13 Jun 2014, 16:17    Post subject:  

Cheers scooby ... yes I quite like it myself Very Happy

mike
Back to top
View user's profile Send private message 
Scooby

Joined: 03 Mar 2012
Posts: 300

PostPosted: Thu 10 Jul 2014, 06:46    Post subject:  

feature request ( really more of a feature discussion)

I would like to see two features

1. Somehow get info as in with dropbox_uploader.sh version 0.13
Code:
dropbox_uploader.sh -f /root/.dropbox_conf info


info about quota

2. Backup all of the dropbox account locally


The firs one I could easily hack in but do you have any hints on the second
one?

Do you have to loop over the remote files and download one by one?

There are a featur in web ui of dropbox that if I mark all and push download
dropbox zips it and then downloads. Do you know if this could be exposed?
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8215

PostPosted: Thu 10 Jul 2014, 12:21    Post subject:  

1.
well if the latest script has it added then hackable it is... my main alteration is to add user profiles which is handled at the beginning.
I also have the download link set up for the older (and better) public folder method.

2.
well syncing the lot is more a dropbox's software function really. My gui was aimed at those using it as a convenient file host. And yes it would mean lots of looping.

3.
zipped download... hmm yes there could well be an api for that. Its a while since i looked.

Seems like you have a handle on much of this so feel free to post any test versions up here. I don't have as much time spare as I used to.

As for discussion I have the security thingy turned off for me since the gnutls farce... I wondered if this should be made so for the 'official' version or is it just my oddball setup affected?

mike
Back to top
View user's profile Send private message 
Scooby

Joined: 03 Mar 2012
Posts: 300

PostPosted: Tue 15 Jul 2014, 15:07    Post subject:  

I asked at dropbox forums but they said zip-function was not availible in API
but they kindly passed it on to their programmers and buried it.

I will hack in info button

I did add

Code:
if [ -d "$1" ]; then DIR="`realpath $1`/"; fi


after configfile .dboxrc is read

I have noticed that I want to open dropbox_gui with specific local dir loaded
I usually invoke it from terminal so this is an easy fix.

Just wanted to drop it here as feedback on usability

Still lovin it Very Happy
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8215

PostPosted: Tue 15 Jul 2014, 15:11    Post subject:  

No problem and thanks for the input Smile

mike
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [29 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0830s ][ Queries: 12 (0.0047s) ][ GZIP on ]