
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
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
10 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
10 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
10 years ago
Report
chriskin
10 years ago
also, if possible, whether they were changed on this computer, or their size.
Report
spitfire23bc
10 years ago
Report
chriskin
10 years ago
thanks for the answer though :)
Report
TheWiseDj
10 years ago
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
spitfire23bc
10 years ago
As a clumsy workaround, you could scale the screenlet up and then reduce the font size.
Report
startreksteve
10 years ago
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
spitfire23bc
10 years ago
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
11 years ago
however, if i ever start using this i would be glad to translate it to spanish.
meanwhile, best!
(voted gooooood)
Report
spitfire23bc
11 years ago
I'd be glad to include a Spanish translation if you do start using it.
Report
andrewmin
11 years ago
Other than that, awesome program.
Report
spitfire23bc
11 years ago
Report
andrewmin
11 years ago
Report
chriskin
11 years ago
some fonts make the text appear on the bar instead of above it
Report
spitfire23bc
11 years ago
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
11 years ago
i also never get text above the usage lines (like "Idle" i saw at a screenshot or "not connected")
Report
spitfire23bc
11 years ago
What is the output of 'dropbox status' in a terminal?
Report
chriskin
11 years ago
dropbox: command not found
christos@CNB:~$
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
spitfire23bc
11 years ago
Report
spitfire23bc
11 years ago
Report
chriskin
11 years ago
it is way better now - in case someone else uses the development version like me
Report
chriskin
11 years ago
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
11 years ago
The 3rd line partially overlaps onto the bottom bar which just looks... rubbish. Shame as it's SUCH a great screenlet!
Report
spitfire23bc
11 years ago
I'm planning on adding support for altering the font/size, so bear with me!
Report
d0od
11 years ago
Report