
Dropbox Screenlet
Source (link to git-repo or to original if based on someone elses unmodified work):
- 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
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
Ratings & Comments
34 Comments
Whan user has space more than 2GB (bought or by referral) Dropbox screenlet ignores that. Is there an easy fix for that?
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.
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!).
i thought it would be too good to be possible thanks for the answer though :)
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
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.
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'
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.
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)
Thanks surfinmdq. I'd be glad to include a Spanish translation if you do start using it.
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.
Hi andrewmin, cheers! You can set the amount of storage you have under Options/Dropbox in the Properties dialogue.
That works. Thanks.
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
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.
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")
Is any text displaying? If not, have you tried altering the font? What is the output of 'dropbox status' in a terminal?
christos@CNB:~$ dropbox status 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
Sounds likely! A quick google for "dropbox karmic" gives several useful results on how to install.
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 :)
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
Good news! Glad everything is working properly for you now!
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!
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!
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.