Dropbox ServiceMenu

Dolphin Service Menus

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

41
8 .5
Description:

Dropbox ServiceMenu is a servicemenu which allows easy access to most of Dropbox features. It uses Dropbox CLI to generate public urls, and pyndexer to allow sharing directories in public folder.

Features:
* Copy Public URL to clipboard
* Share folder (via web browser)
* Copy file/directory to public folder and paste the URL to clipboard
* Move file/directory to public folder and paste the URL to clipboard
* Support for sharing directories in public folder using pyndexer ( http://dl.dropbox.com/u/552/pyndexer/index.html )
* Send generated public url via default email client and GMail (via webbrowser)
* View previous versions of file (via web browser)
* Encrypt directory listing with password (only works for directories in public folder)
* Automatic detection of Dropbox directory path

Installation:
1. Copy .desktop files to ~/.kde4/share/kde4/services/ServiceMenus/
2. Copy content of dropbox-script to your $PATH - e.g. /usr/bin or /usr/local/bin

or run installation script (it will install scripts and .desktop files in ~/.kde4/share/kde4/services/ServiceMenus):
./install-it.sh

or if you're running Fedora:
1. Install following RPM http://magnu5.fedorapeople.org/repo/magnu5-1.0-1.fc13.noarch.rpm
2. Now run following command: su -c 'yum install dropbox-servicemenu'

Thanks to Magnus Tuominen for providing Fedora RPMs.

or if you're running openSUSE:
You can install dropbox-servicemenu from KDE:Extras repository.


Additional dependencies:
- dropbox
- klipper
- kdialog
- sqlite3
- python
- python-m2crypto (required for encrypting directory listing)
- xdg-utils
- uudecode (can be found in sharutils package)
- recode
- perl

Currently translated to following languages:
Fully translated: Czech, Danish, Dutch, English, French, German, Italian, Lithuanian, Polish, Russian, Spanish, Traditional Chinese (Taiwan)

Not fully translated: (.desktop files, dropbox_menu_translations.sh): Portuguese, Turkish

if you want to translate this servicemenu then feel free to contact me via private message.

KNOWN ISSUES: This servicemenu requires python2. If your distro uses python3 as main python binary then this servicemenu won't work. In order to make it work you'll have to do some "sed magic" e.g. sed 's/python/python2/g' on dropbox_menu.sh and .py scripts, assuming that your distro provides python version 2 as python2.
Last changelog:

8 years ago

0.16.1
- Danish translation updated thanks to Ole Holm Frandsen

0.16.0
- Support for Dropbox client >= 1.2
- Dropbox folder location is now determined by get_dropbox_folder.sh (written by Andrew Scheller)
- Dropbox-servicemenu now requires uudecode (can be found in sharutils package), recode and perl to be installed
- Shareable links support removed (currently i do not know how to get the user key from dropbox database)

0.15.4
- Dutch translation added thanks to Ruben Van Laerhoven

0.15.3
- Hungarian translation added thanks to Akos Toth

0.15.2
- German translation updated thanks to Felix Mauch
- Portuguese translation updated thanks to Ricardo Fernandes

0.15.1
- Fix python dependency check
- Removed xdg-open dependency check (KDE depends on xdg-utils, so it shouldn't be necessary)

0.15.0
- Added dependencies check

0.14.6
- Russian translation updated thanks to Stanislav Kosolapov

0.14.5
- Lithuanian translation updated thanks to Donatas G.

0.14.4
- Spanish translation updated thanks to Axel

0.14.3
- Italian translation updated - thanks to NevidS Sogaro

0.14.2
- German translation updated - thanks to Felix Mauch
- Traditional Chinese (Taiwan) translation added - thanks to Ray Chen

0.14.1
- Italian translation updated - thanks to NevidS Sogaro
- Czech translation updated - thanks to Pavel Fric
- French translation updated - thanks to Samuel Girard

0.14.0
- Add support for dropbox's new sharing model (dropbox 0.8 or higher required) - http://forums.dropbox.com/topic.php?id=21441&replies=155
- Merge "Copy public URL to klipper" with dropbox's new sharing model - if you use dropbox 0.8 or higher then you can generate public links for directories and files outside your Public folder

0.13.5
- Second attempt to make this servicemenu compatible with KHNS - scripts are now placed in servicemenu directory, install script doesn't require user interaction

0.13.4
- Spanish translation updated - thanks to Omar Campagne Polaino

0.13.3
- Removed wrong line in previous version thus "copy file to public.." was broken :P

0.13.2
- First attempt to make this servicemenu compatible with KHNS

0.13.1
- Small bugfix

0.13.0
- Use freedesktop notifications instead of kdialog, should be less obtrusive - feel free to share your opinions about this (is it better or worse?)
- Move script translations to separate file

0.12.2
- German translation updated

9

patkoscsaba

8 years ago

This is great, working superbly, it will make my life a lot easier. Excellent method for quickly sharing files. Good job.

Report

nowardev

8 years ago

http://dl.dropbox.com/u/4127065/DropboxServiceMenu-0.16.1_peace.tar.gz

should work *not sure* just test it

Report

maxwux

8 years ago

I install this app in Chakra.
can not use.
so I try to figur out what happen.
I modified dropbox_all.desktop,dropbox_all.desktop,dropbox_all.desktop
`kde4-config --localprefix`
to
"`kde4-config --localprefix`"

and modify install-it.sh
"`kde4-config --localprefix`/share/
to
"`kde4-config --localprefix`share/

then sudo ./install-it.sh
close dolphin.
open dolphin.
then dropbox-menu will work well.

Report

elvenfighter

8 years ago

http://dl.dropbox.com/u/42072159/DropboxServiceMenu-0.15.5.patch

here's a small patch that enables you to install this globally(e.g. to "/usr") and/or locally (e.g. to "~/.kde4").

Hope it would be useful for new release :)

Report

Martox12

8 years ago

Hi ...

I think there are a couple of small issues :

1) Whenever the object to share in Public directory has spaces within the name the utility delivers “%20” instead of “ “. For instance, for object “test 01.png" the utility delivers “http://dl.dropbox.com/u/<dropbox id>/test%2001.png” instead of “http://dl.dropbox.com/u/<dropbox id>/test 01.png” .

2) The utility doesn't seem to be operative for “Photos” directory (http://www.dropbox.com/help/18) .


Besides these small issues, the utility is very, very useful ... Thank you about that.

Regards.

Report

9

caf4926

9 years ago

Use F15 rpm
http://magnu5.fedorapeople.org/repo/15/noarch/dropbox-servicemenu-0.15.3-1.fc15.noarch.rpm

Install from the terminal with

rpm -ivh <package-name>

It kept informing me of missing deps, only one I couldn't satisfy is kdebase (it's kdebase4 now)
So Once at this point use --nodeps to force the install
It works

Report

9

kuna236

9 years ago

Thank you so much! I've been looking for something like this for months.

Report

9

MilchFlasche

9 years ago

Hi there, thanks a lot for making this handing tool on KDE4! Just what we need!

I've just installed it with the shell script, and then the service menu is appearing. However, when using "Generating public link...", I got a message "`kde4-config not found", and the notifier says "It looks that some dependencies are missing for this". Do you have a clue for this? I'm using Kubuntu 10.04, and I use zh-TW locale.

Thanks!

Report

9

MilchFlasche

9 years ago

Hi guys,

Thanks a lot for your suggestions and responses, I'll check those!

Report

9

Rando25

9 years ago

Im having the same problem, I copied all Files in the dropbox-scripts dir to /usr/bin, and the reult of which kde4-config is /usr/bin/kde4-config

still i'll get a "kde4-config not found" error anytime I click on something in the Dropbox service menue

Im on kubuntu 10.10/Kde4.6

Any help'll be appreciated, thx in advance

Rando

Report

C

hash87

9 years ago

Could you please try to remove the dropbox scripts that you moved to /usr/bin and then install dropbox-servicemenu using install-it.sh script placed inside the dropbox-servicemenu tarball?
Also make sure that you've got all dependencies installed:

- sqlite3
- python
- kdialog
- klipper

Report

9

Rando25

9 years ago

sorry for the late answer, install.sh really did it, I've tried that in the first place but it didn't seem to work, that was why I was copying the files manually, but now that I removed them and run install.sh again everything runs great.

Thank you and keep up the good work..

Report

bitcrazy

9 years ago

Check via console:
$which kde4-config
or
$which kde-config
No result? The you're KDE4 installation is not complete.
kde(4)-config is part of kdelibs4-core

Report

C

hash87

9 years ago

It seems you're missing one of these dependencies:

- sqlite3
- python
- kdialog
- klipper

Make sure that they are installed in your system.

Report

9

okurz

9 years ago

Nice work!
Unfortunately, xdg-open (at least in version 1.0.2, as I have it) has problems with the line "xdg-open </dev/null" showing the usage message and return exit code 1, so not suitable for checking. "xdg-open --version >/dev/null" works. Maybe you can use that?

Also, I am on ubuntu and don't have an "python2" executable so I had to create a symlink to make it work.

Report

C

hash87

9 years ago

Should be fixed now.

Report

C

hash87

9 years ago

Check for python2 is my mistake, it should check just for python (i was testing it on my system and accidentally put wrong script in tar.gz).

As for the xdg-open, i think i'll remove this check. KDE depends on xdg-utils so i think its not necessary.

Thanks for informing me about those issues, i'll upload new version asap!

Report

tralbro

9 years ago

I'd recommend adding a check in dropbox_menu.sh to see if sqlite3 is installed. The service menu would not work for me because it wasn't, but I had to search through the scripts to find the reason. Otherwise, well done! I like it!

Report

C

hash87

9 years ago

I've listed all dependencies in the description of this servicemenu, but you're right i'll add check for this in the script.

Report

locke87

9 years ago

Hej,

as you might have noticed, arch updated its python version to 3. So all the dropbox-scripts unfortunatelly don't work anymore. With #!/usr/bin/python2 everything works fine.
But I don't know about other distributions. Does that link also exist on distributions that don't have python3 as standard already?

Report

locke87

9 years ago

I did a workaround in the arch-aur-package for that. I replace the first line in the python-scripts to python2.

Report

C

hash87

9 years ago

As far as i can see only Arch seems to have moved to python3. Also /usr/bin/python2 is also arch-specific for now. I don't know any easy way to take care of this issue...

Report

locke87

9 years ago

ok fine, then let's just leave it the way it is. The PKGBUILD replaces /usr/bin/python by /usr/bin/python2 and everything is fine :)

Report

C

hash87

9 years ago

Thanks a lot, i am recently not up-to-date with linux stuff. I'll have to take care of all those issues once i have some free time.

Report

9

CyberAng3l

9 years ago

Hello,

I have Dropbox 0.8.107 installed but when I am trying to create a public link not located in the Public directory I always get the error:
If you want to generate public link to directories or files outside of Dropbox Public folder then you must have Dropbox 0.8 or higher installed.

Any suggestions??
Thank you!

Report

8 years ago

0.16.1
- Danish translation updated thanks to Ole Holm Frandsen

0.16.0
- Support for Dropbox client >= 1.2
- Dropbox folder location is now determined by get_dropbox_folder.sh (written by Andrew Scheller)
- Dropbox-servicemenu now requires uudecode (can be found in sharutils package), recode and perl to be installed
- Shareable links support removed (currently i do not know how to get the user key from dropbox database)

0.15.4
- Dutch translation added thanks to Ruben Van Laerhoven

0.15.3
- Hungarian translation added thanks to Akos Toth

0.15.2
- German translation updated thanks to Felix Mauch
- Portuguese translation updated thanks to Ricardo Fernandes

0.15.1
- Fix python dependency check
- Removed xdg-open dependency check (KDE depends on xdg-utils, so it shouldn't be necessary)

0.15.0
- Added dependencies check

0.14.6
- Russian translation updated thanks to Stanislav Kosolapov

0.14.5
- Lithuanian translation updated thanks to Donatas G.

0.14.4
- Spanish translation updated thanks to Axel

0.14.3
- Italian translation updated - thanks to NevidS Sogaro

0.14.2
- German translation updated - thanks to Felix Mauch
- Traditional Chinese (Taiwan) translation added - thanks to Ray Chen

0.14.1
- Italian translation updated - thanks to NevidS Sogaro
- Czech translation updated - thanks to Pavel Fric
- French translation updated - thanks to Samuel Girard

0.14.0
- Add support for dropbox's new sharing model (dropbox 0.8 or higher required) - http://forums.dropbox.com/topic.php?id=21441&replies=155
- Merge "Copy public URL to klipper" with dropbox's new sharing model - if you use dropbox 0.8 or higher then you can generate public links for directories and files outside your Public folder

0.13.5
- Second attempt to make this servicemenu compatible with KHNS - scripts are now placed in servicemenu directory, install script doesn't require user interaction

0.13.4
- Spanish translation updated - thanks to Omar Campagne Polaino

0.13.3
- Removed wrong line in previous version thus "copy file to public.." was broken :P

0.13.2
- First attempt to make this servicemenu compatible with KHNS

0.13.1
- Small bugfix

0.13.0
- Use freedesktop notifications instead of kdialog, should be less obtrusive - feel free to share your opinions about this (is it better or worse?)
- Move script translations to separate file

0.12.2
- German translation updated

12345678910
139
product-maker emplate430 May 19 2018 9 excellent
TY!
product-maker janet Aug 05 2015 9 excellent
product-maker Henri May 06 2015 9 excellent
product-maker eliaskousk Dec 10 2014 9 excellent
product-maker dmnmsc Jul 29 2014 9 excellent
product-maker romankiefer Mar 26 2014 9 excellent
product-maker mea5 Nov 05 2013 3 bad
product-maker roentgen Dec 31 2012 9 excellent
product-maker vatsok Dec 30 2012 9 excellent
product-maker Heart Sep 13 2012 9 excellent
product-maker shadowm Jun 11 2012 9 excellent
product-maker patkoscsaba May 16 2012 9 excellent
product-maker froksen Feb 01 2012 9 excellent
product-maker Pyruzan Jan 26 2012 9 excellent
product-maker Xepher Oct 12 2011 9 excellent
product-maker seaman123 Oct 08 2011 9 excellent
product-maker alpvonkri Oct 01 2011 9 excellent
product-maker zersaa Sep 30 2011 9 excellent
product-maker tetris4 Sep 03 2011 9 excellent
product-maker Freol Jun 19 2011 9 excellent
product-maker futurama88 Jun 17 2011 9 excellent
product-maker Kwellmeister Jun 15 2011 9 excellent
product-maker simon74 Jun 07 2011 9 excellent
product-maker BigBrain Apr 26 2011 9 excellent
product-maker warrob Mar 07 2011 9 excellent
product-maker jznight Feb 27 2011 9 excellent
product-maker steveke Feb 10 2011 9 excellent
product-maker kuna236 Feb 06 2011 9 excellent
product-maker Rando25 Feb 02 2011 9 excellent
product-maker Genserowski Jan 27 2011 9 excellent
product-maker deabru Jan 10 2011 9 excellent
product-maker MilchFlasche Jan 05 2011 9 excellent
product-maker denisq Jan 04 2011 9 excellent
product-maker wolfshift Dec 28 2010 9 excellent
product-maker graygraff Dec 20 2010 9 excellent
product-maker okurz Nov 21 2010 9 excellent
product-maker vitoubien Nov 21 2010 9 excellent
product-maker CyberAng3l Oct 14 2010 9 excellent
product-maker caf4926 Oct 01 2010 9 excellent
product-maker kmare Sep 27 2010 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
floorek
Apr 22 2019
bialyikar
Jan 27 2015
roentgen
Dec 31 2012
ahri
Dec 06 2012
stroum
Aug 13 2012
miawallace
Jun 24 2012
shadowm
Jun 11 2012
oshunluvr
Jun 08 2012
maxwux
Feb 13 2012
alpvonkri
Oct 01 2011
sylvainsjc
Sep 16 2011
simon74
Jun 07 2011
advagadra
Jun 05 2011
jznight
Feb 27 2011
Rando25
Feb 02 2011
josec87
Jan 19 2011
siv
Jan 14 2011
denisq
Jan 04 2011
wolfshift
Dec 28 2010
graygraff
Dec 20 2010
okurz
Nov 21 2010
proDOOMman
Oct 06 2010
Montblanc
Oct 02 2010
caf4926
Oct 01 2010
kudlaty
Sep 16 2010
jimmy88
Sep 14 2010
deuteros
Aug 19 2010
dein
Jun 26 2010
NevidS
Jun 26 2010
tetris4
Jun 07 2010
bay3255
May 31 2010
zilti
May 22 2010
magnu5
May 19 2010
Vzlom
May 18 2010
locke87
May 18 2010
gerlosgm
May 17 2010
skyld
May 17 2010
jaitrum
May 17 2010
Frank
May 15 2010
AndreAPL
May 09 2010
Genserowski
May 09 2010
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.16.1
updated Jan 29 2012
added May 09 2010
downloads 24h
4
mediaviews 24h 0
pageviews 24h 30
System Tags addon