Dropbox Screenlet

Conky

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 58.0%
Description:

A screenlet to monitor the current status of the file-syncing service Dropbox.

- Displays the output of the "dropbox status" command
- Displays current quota and use of the quota (on local hard drive)
- Opens local Dropbox folder on mouse click
- Links to local folder and web interface on right-click menu
- Supports configurable drag and drop action into Dropbox, Photo and Public folders
- Default theme uses iconset from the Nautilus emblems
Last changelog:

9 years ago

Version 0.4
19/4/10
- Error message if Dropbox client is not installed
- Menu items to open web interface and file browser
- New drag/drop interface to drop in Public/Photos folders as well
- Support for different icon themes (for Public/Photos)
- Tweaked bar position
- Tidied up some of the code
- Split downloading text onto two lines

Version 0.3.1
11/10/09
- Fixed bug in font names - didn't work with spaces

Version 0.3
10/10/09
- Fixed status running onto more than one line
- Added support for an additional status I discovered
- Tidied code up a bit
- Changed quota to user-input float, since there are so many options
- Possibly fixed "IndexError: list index out of range" (Not certain, since couldn't reproduce)
- Added font option
- Tweaked default theme slightly

Version 0.2
5/10/09
- Link to Dropbox folder on click
- Visual feedback on click
- Added drag and drop support for files and folders
- Separated options into two tabs

boamaod

8 years ago

Whan user has space more than 2GB (bought or by referral) Dropbox screenlet ignores that. Is there an easy fix for that?

Report

chriskin

9 years ago

i thought it would be rather useful for the screenlet to be able to show the last x (eg : 10) items that were changed on dropbox, like the right click/recently changed files does on the panel icon.
also, if possible, whether they were changed on this computer, or their size.

Report

C

spitfire23bc

9 years ago

chriskin, at the moment this isn't possible. Once Dropbox release their API, it probably will be (whether I can work out how to do it is another matter!).

Report

chriskin

9 years ago

i thought it would be too good to be possible
thanks for the answer though :)

Report

TheWiseDj

9 years ago

Hi mate!
I'm trying your screenlet, but I've got one problem:

when I'm downloading a file I can't read the complete text but:

Downloading 1 file ( 120 K...)

And I can't resize the screeenlet to read the complete sentence.

How can I read the complete (120 Kb/s etc) ?

Alex

Report

C

spitfire23bc

9 years ago

Hi, good spot. I'll sort this out for the next version I'm working on.

As a clumsy workaround, you could scale the screenlet up and then reduce the font size.

Report

startreksteve

9 years ago

Cant get this working on Ubuntu Hardy
I get the following error when running in terminal:

Dropbox
Launching Screenlet from: /home/steve/.screenlets/Dropbox/DropboxScreenlet.py
REGISTER screenlet: DropboxScreenlet
Traceback (most recent call last):
File "/home/steve/.screenlets/Dropbox/DropboxScreenlet.py", line 351, in <module>
screenlets.session.create_session(DropboxScreenlet)
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 466, in create_session
session.start()
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 242, in start
sl = self.screenlet(session=self, id=self.__get_next_id())
File "/home/steve/.screenlets/Dropbox/DropboxScreenlet.py", line 66, in __init__
drag_drop=True, **keyword_args)
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 621, in __init__
self.update_shape()
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 1127, in update_shape
self.on_draw_shape(ctx)
File "/home/steve/.screenlets/Dropbox/DropboxScreenlet.py", line 344, in on_draw_shape
self.on_draw(ctx)
File "/home/steve/.screenlets/Dropbox/DropboxScreenlet.py", line 294, in on_draw
self.draw_rounded_rectangle(ctx,30,0,6,250,60)
AttributeError: 'DropboxScreenlet' object has no attribute 'draw_rounded_rectangle'

Report

C

spitfire23bc

9 years ago

startreksteve, can you check that you're running an up to date version of Screenlets? Do any other screenlets give a similar error?

The 'draw_rounded_rectangle' syntax relies on python modules other than this screenlet, which should be present, so my guess is that this is a compatibility issue with an older version.

Report

surfinmdq

10 years ago

not really using this yet but voted good for your kind work.

however, if i ever start using this i would be glad to translate it to spanish.

meanwhile, best!
(voted gooooood)

Report

C

spitfire23bc

10 years ago

Thanks surfinmdq.

I'd be glad to include a Spanish translation if you do start using it.

Report

andrewmin

10 years ago

Great app. However, there is one small bug: it assumes that you only have 2GB of storage (since I invited some people, I have 3.25GB).

Other than that, awesome program.

Report

C

spitfire23bc

10 years ago

Hi andrewmin, cheers! You can set the amount of storage you have under Options/Dropbox in the Properties dialogue.

Report

andrewmin

10 years ago

That works. Thanks.

Report

chriskin

10 years ago

if it isn't too rude to ask for another feature, it would be Perfect for the user to have the option to change where the text would appear
some fonts make the text appear on the bar instead of above it

Report

C

spitfire23bc

10 years ago

Glad it's working for you now.

It's never rude to ask! I feel that this sort of functionality might be better suited by different themes, rather than more options. At the moment, I've just started to look at how the themes work, and I shall see if I can make it a bit more theme-friendly for this sort of thing.

So to answer your question: possibly... ;-)

If you can't wait (and feel like poking around in the source code), the relevant bits are near the bottom, and it isn't too complicated. If you do come up with some settings you think look awesome, give me a shout and I can include another theme using them.

Report

chriskin

10 years ago

by the way, i am experiencing a strange problem : i always get the refreshing icon(never the green tick that shows that everything is updated)
i also never get text above the usage lines (like "Idle" i saw at a screenshot or "not connected")

Report

C

spitfire23bc

10 years ago

Is any text displaying? If not, have you tried altering the font?

What is the output of 'dropbox status' in a terminal?

Report

chriskin

10 years ago

[email protected]:~$ dropbox status
dropbox: command not found
[email protected]:~$

i'm running on karmic, there is no installable dropbox yet (as far as i know), so i have just added dropbox to the start-up applications.
probably that's the reason why i get my issues with the screenlet

Report

C

spitfire23bc

10 years ago

Sounds likely! A quick google for "dropbox karmic" gives several useful results on how to install.

Report

C

spitfire23bc

10 years ago

Good news! Glad everything is working properly for you now!

Report

chriskin

10 years ago

i installed dropbox and it seems that it accepts my development version as backend , yet the screenlet works finely now
it is way better now - in case someone else uses the development version like me

Report

chriskin

10 years ago

none would work for my release of dropbox
downgrading that much is not worth the trouble in order to get the text and the icons, i use the screenlet mostly in order to know how much of my space i use and to click it to get to the folder fast :)

Report

d0od

10 years ago

Sadly for my on Karmic this screenlet doens't display as in the screenshot :(

The 3rd line partially overlaps onto the bottom bar which just looks... rubbish. Shame as it's SUCH a great screenlet!

Report

C

spitfire23bc

10 years ago

Thanks d0od. My guess is that (your version of?) Karmic is rendering the font differently to my Intrepid.

I'm planning on adding support for altering the font/size, so bear with me!

Report

d0od

10 years ago

Wahey! It looks fine in the 0.3 release... although a small bug is if you select a font that is more than word word long the text dissapears.

Report

9 years ago

Version 0.4
19/4/10
- Error message if Dropbox client is not installed
- Menu items to open web interface and file browser
- New drag/drop interface to drop in Public/Photos folders as well
- Support for different icon themes (for Public/Photos)
- Tweaked bar position
- Tidied up some of the code
- Split downloading text onto two lines

Version 0.3.1
11/10/09
- Fixed bug in font names - didn't work with spaces

Version 0.3
10/10/09
- Fixed status running onto more than one line
- Added support for an additional status I discovered
- Tidied code up a bit
- Changed quota to user-input float, since there are so many options
- Possibly fixed "IndexError: list index out of range" (Not certain, since couldn't reproduce)
- Added font option
- Tweaked default theme slightly

Version 0.2
5/10/09
- Link to Dropbox folder on click
- Visual feedback on click
- Added drag and drop support for files and folders
- Separated options into two tabs

12345678910
1
product-maker D4v3 Mar 08 2011 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.4
updated Apr 19 2010
added Oct 04 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 8