file:///home/rael/Downloads/Add group-error.jpg

BUG: Copy Weblink does not work

Hi,

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

clipboard link not work

I use dolphin as default ubuntu 13.04 file manager - (symlink /bin/dolphin to /bin/nautilius) have instaled this ubuntu one client - when i publish and copy link - have link only in system indicator - witchou possible to copy content. And dont have in clipboard so plugin is not usable. How to fix it - can you make fixed version ?

I'll have a look into it after work today.

Re: Re: clipboard link not work

As I pointed out earlier, there is a bug in the ruby script. (Line line 31 and 32 need to be changed.) Furthermore there can be problems if qt5 is installed (qdbus is not found). This can be resolved using the absolute path /usr/lib/x86_64-linux-gnu/qt4/bin/qdbus.
The working version can be found here: http://ubuntuone.com/7GeU1hJicWwNheA61SEtZ5

Re: Re: Re: clipboard link not work

Hey I'm sorry this wasn't fixed earlier but due to my job I need legal approval for every open source project I contribute to and I haven't got approval for this one yet. I've applied for it and have badgered people about it but I haven't got it yet. However since you were nice enough to fix it for me, thanks btw, I'm fairly sure it won't count as contributing code to upload it to KDE-Apps so it should be fixed as soon as I've uploaded the fixed version and the servers sync up.

Re: Re: Re: Re: clipboard link not work

Thanks for the quick reply!
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.

Re: Re: Re: Re: Re: clipboard link not work

Thks a million, you have no idea how much of pain not being able to fix issues has been for me and how much your help is appreciated. When I push this to the github repo what name would you like me to give attribution to in the read me.

How do you like Plasma 5? The best KDE Desktop ever. Definitely a nice improvement. Not decided yet. Haven't tried it yet. I do not like some of the changes. KDE is taking the wrong way. I am still sticking with KDE 3.5. I have no opinion, but wanted to vote anyway.

Copyright 2001-2015 KDE-Look.org Team All rights reserved. KDE-Look.org is not liable for any content or goods on this site.All contributors are responsible for the lawfulness of their uploads.KDE and K Desktop Environment are trademarks of KDE e.V.