
Ubuntu One Dolphin Plugin
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
Note: Ubuntu One is stopping as aservice as of June 1st this plugin will be removed at that time see here:
http://www.softwareontheside.info/2014/04/ubuntu-one-shutting-down-and-what-that.html
or here:
http://blog.canonical.com/2014/04/02/shutting-down-ubuntu-one-file-services/
for more details. It's been fun but this plugin will also be removed as of said date.
A Ubuntu One plugin for KDE's Dolphin file manager
Extract to
~/.kde/share/kde4/services/ServiceMenus/
Depends on Ruby and Ubuntu One
Run the install script
krzywda
6 years ago
Report
ShanQful
6 years ago
Report
GEO48
5 years ago
The working version can be found here: http://ubuntuone.com/7GeU1hJicWwNheA61SEtZ5
Report
ShanQful
5 years ago
Report
GEO48
5 years ago
Report
ShanQful
5 years ago
Report
GEO48
5 years ago
As for the qt5 bug workaround (see https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1177823 or http://askubuntu.com/questions/365644/qdbus-cannot-be-called-in-kubuntu-saucy):
keep in mind that my workaround only works for 64bit machines. To make sure the script works architecture independent you have different options:
1.) create two different versions of your plugin (32 and 64 bit).
2.) add a detection function to the ruby script that detects the platform and runs the correct path.
3.) install packages to workaround the problem (not recommended, as this could change soon)
I would be happy about feedback, which option you would prefer (my favorite would be option 2).
I could fix the problem and provide a link in a comment here for users, until you have permission to apply changes.
Report
GEO48
6 years ago
Your script contains a bug:
line 31 needs to be changed with line 32:
exec "qdbus org.kde.klipper /klipper org.kde.klipper.klipper.setClipboardContents "+url
should come after:
i.close
in order to make copying the URL actually work.
You can find the fully working script here:
http://pastebin.com/2GV4NUzr
Report
raelgc
6 years ago
This is the clipboard content that I published just now:
file:///home/rael/Downloads/Add group-error.jpg
Report
hackan301
6 years ago
Love it!
Report
dcimafonte
6 years ago
might be a better option, as it is fully visual and interactive. I had to kill the apt-get process as it was stuck waiting for input on the command line.
Report
krzywda
7 years ago
can you add next option copy internet link (in nautilius with ubuntu one we have this important option) thanks !
Report
ShanQful
7 years ago
https://github.com/ShaneQful/u1-dolphin/tarball/without_kde
extract it and run the install script. The other
fix I gave you won't work. So use this one or wait
for the update.
Report
krzywda
7 years ago
Report
ShanQful
7 years ago
The reason the copy link isn't working is that I'm sending
the link to klipper KDE's clipboard and you are using dolphin
with unity so aren't using klipper. I'll see if I can find a
more cross desktop environmental way of sending it to the
clipboard and patch it.
If you really need it to work right night try
sudo apt-get install xclip
then open the file
~/.kde/share/kde4/services/ServiceMenus/UbuntuOne/ubuntuone.rb
and change line 32 from
exec "qdbus org.kde.klipper /klipper org.kde.klipper.klipper.setClipboardContents "+url
to:
exec "echo \""+url+"\" | xclip"
I'm going to try and find a way of doing this without adding
another dependency but either way I should have a patch out
shortly.
Report
krzywda
7 years ago
Report
krzywda
7 years ago
Report
krzywda
7 years ago
Report
apoptosis
7 years ago
publish_file /home/valentin/test.file
/home/valentin/.kde/share/kde4/services/ServiceMenus/UbuntuOne/ubuntuone.rb:28:in `[]=': string not matched (IndexError)
from /home/valentin/.kde/share/kde4/services/ServiceMenus/UbuntuOne/ubuntuone.rb:28:in `publish_file'
from /home/valentin/.kde/share/kde4/services/ServiceMenus/UbuntuOne/ubuntuone.rb:52
Report
ShanQful
7 years ago
Report
apoptosis
7 years ago
Report
apoptosis
7 years ago
publish_file /home/valentin/test.file
/home/valentin/.kde/share/kde4/services/ServiceMenus/UbuntuOne/ubuntuone.rb:28:in `[]=': string not matched (IndexError)
from /home/valentin/.kde/share/kde4/services/ServiceMenus/UbuntuOne/ubuntuone.rb:28:in `publish_file'
from /home/valentin/.kde/share/kde4/services/ServiceMenus/UbuntuOne/ubuntuone.rb:52
Report
ShanQful
7 years ago
Report
apoptosis
7 years ago
Report
apoptosis
7 years ago
I forgot to write about system, it's kUbuntu 12.04 + KDE 4.9 (PPA). Version of app is latest.
Report