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
5 .8
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:

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

C

spitfire23bc

10 years ago

Fixed in 0.3.1; cheers!

Report

nenelinux

10 years ago

great idea !

Report

chriskin

10 years ago

does it work as a link to the folder as well, or is it just showing how much space is used?

Report

C

spitfire23bc

10 years ago

It doesn't link (yet)... Good idea, though. I'll have a go at coding that up!

Report

chriskin

10 years ago

i'll check on the progress if you get the link thing, since i would be interested in using it (no knowledge of programming yet, so i can't help other than testing)

Report

chriskin

10 years ago

thanks for the feature :) i'll definitely start using it now :)

Report

chriskin

10 years ago

just running it won't have anything appearing on desktop
if i run i with the terminal i get this

CachingBackend: Loading instances from cache
Found a running session of Dropbox, adding new instance by service.
Error in screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.Dropbox was not provided by any .service files
Screenlet has already been added to /tmp/screenlets/screenlets.christos.running
Loading instances in: /home/christos/.config/Screenlets/Dropbox/default/
No instance(s) found in session-path, creating new one.
/bin/sh: dropbox: not found
Traceback (most recent call last):
File "/home/christos/.screenlets/Dropbox/DropboxScreenlet.py", line 377, in <module>
screenlets.session.create_session(DropboxScreenlet)
File "/usr/lib/pymodules/python2.6/screenlets/session.py", line 472, in create_session
session.start()
File "/usr/lib/pymodules/python2.6/screenlets/session.py", line 246, in start
sl = self.screenlet(session=self, id=self.__get_next_id())
File "/home/christos/.screenlets/Dropbox/DropboxScreenlet.py", line 64, in __init__
drag_drop=True, **keyword_args)
File "/usr/lib/pymodules/python2.6/screenlets/__init__.py", line 821, in __init__
self.update_shape()
File "/usr/lib/pymodules/python2.6/screenlets/__init__.py", line 1467, in update_shape
self.on_draw_shape(ctx)
File "/home/christos/.screenlets/Dropbox/DropboxScreenlet.py", line 370, in on_draw_shape
self.on_draw(ctx)
File "/home/christos/.screenlets/Dropbox/DropboxScreenlet.py", line 315, in on_draw
status = self.get_dropbox_status()
File "/home/christos/.screenlets/Dropbox/DropboxScreenlet.py", line 265, in get_dropbox_status
current = sdevs[0]
IndexError: list index out of range

i am on karmic koala and dropbox 0.7.24

Report

C

spitfire23bc

10 years ago

Hi chriskin, I can't reproduce the error (I'm on Intrepid, using dropbox 0.6.1 - the version in the repository).

However, can I ask you to open up DropboxScreenet.py and comment or delete line 264 (reads: 'sdevs.pop()' ) and see what happens when you run it from a terminal?

Report

chriskin

10 years ago

excuse me for not responding, i was away for some time
there is no problem with the new release :)

Report

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

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 1