
copy_path
Source (link to git-repo or to original if based on someone elses unmodified work):
Description:
This service menu copys the path of a file to klipper by using qdbus.
I've always missed that simple function. Seems helpful to me when working with markup-languages such as latex or html where you need to specify the path of an image.
It can also attach a file to kmail. I know there are better menus for that already but I never had one installed...
User installation:
Copy the .desktop file to
$HOME/.kde4/share/kde4/services/ServiceMenus
Thanks for the hint in the comments.
(thats the path on my OpenSuSE box)
Systemwide installation:
In order to install it systemwide, you will need to copy the .desktop file into
"/usr/share/kde4/services/ServiceMenus"
You have to be root to do that. Last changelog:
I've always missed that simple function. Seems helpful to me when working with markup-languages such as latex or html where you need to specify the path of an image.
It can also attach a file to kmail. I know there are better menus for that already but I never had one installed...
User installation:
Copy the .desktop file to
$HOME/.kde4/share/kde4/services/ServiceMenus
Thanks for the hint in the comments.
(thats the path on my OpenSuSE box)
Systemwide installation:
In order to install it systemwide, you will need to copy the .desktop file into
"/usr/share/kde4/services/ServiceMenus"
You have to be root to do that.
Ver. 0.1.1 -- Added the french translation given in the comments. - Thanks for translating!
Ver. 0.1.2 -- Added the spanish translation by manutortosa. - Thanks for translating!
Ver. 0.1.3 -- Added the Greek and Swedish translations. Thanks for translating!
Ratings & Comments
13 Comments
change "qdbu" to "qdbu5" as dependency ....
qdbu = qdbus :) :)
It is very menu helper. Could you please also add Russian translation: X-KDE-Submenu[ru]=Скопировать путь ... [Desktop Action wholePath] ... Name[ru]=Скопировать полный путь ... [Desktop Action attachMail] ... Name[ru]=Прикрепить к почте kmail Also it would be nice to have some basic icons for this plugin, for example: Icon=edit-copy Icon=kmail
X-KDE-Submenu[sv]=Kopiera sökväg [Desktop Action wholePath] Name[sv]=Kopiera hela sökvägen [Desktop Action attachMail] Name[sv]=Bifoga till KMail
Thank you for this! Here is the Greek Translation: [Desktop Entry] ... X-KDE-Submenu[el]=Αντιγραφή Διαδρομής ... [Desktop Action wholePath] ... Name[el]=Αντιγραφή ολόκληρης διαδρομής ... [Desktop Action attachMail] ... Name[el]=Eπισύναψη στο kmail
Very nice and helpful menu ;-) But I copy the file to: `kde4-config -localprefix`/share/kde4/services/ServiceMenus/ Additionally I made some changes: X-KDE-Submenu=Copy or Email Path X-KDE-Submenu[de]=Pfad kopieren oder senden X-KDE-Submenu[fr]=Copie ou Email de chemin I hope french is not false ;-) so I don't speak it ;-)
Hi,nice job with the service menu, but in kde already if you simply copy a file, and then press paste in any text editor, the file path and name is pasted in. Is that what you meant?
Hehe actually I did not know that so it sort of is what i wanted. Luckily for me it was not much work writing this menu ;-) Also, one advantage of this copy_path menu remains: It does not add "file:// " to the filename.
Honestly, this feature should be part of Vanilla KDE 4 - so thank you for this vital feature!
Here is french translation : [Desktop Entry] ... X-KDE-Submenu[fr]=Copie de chemin ... [Desktop Action wholePath] ... Name[fr]=copier le chemin complet ... [Desktop Action attachMail] ... Name[fr]=envoyer avec kmail ...
Merci! Your french translation is included now.
$HOME/.kde4.2/share/kde4/services great job
have been using version from kde3 and because of that running klipper-kde3