anyone has tried successfully this method Thunderbird Service Menu KDE-Look.org to have the menu “attach to TDB” in KDE4/Dolphin ?
It does not work, even :
- exctracting the files in ~/.kde/share/apps/konqueror/servicemenus (instead of /usr/share/apps/d3lphin/servicemenus which does not exist in openSUSE 11.1)
- changing the location of the icon like that :
[Desktop Action attachToEmail]
Name=Attach to Thunderbird Mail
Name[fr]=Envoyer en piece jointe avec Thunderbird
Exec=/usr/bin/thunderbird -compose `echo attachment=\'file://%F\' | sed 's/ \//,file:\/\/\//g'`
it is a little bit strange because with this changes, the option “attach to mail with TDB” appear in the sub-menu “Action” in dolphin, but only right-clicking on the file AttachToThunderbirdMail.desktop and, if it opens a tdb’msg windows, which is a good thing, it does not attach the file
thanks for ideas
i haven’t thought about this since last summer when i managed to make it work. so bear with me…
first the desktop file should be extracted to ~/.kde4/share/kde4/services/ServiceMenus… then edit what you have to:
the rest is fine.
KDE4 Dolphin and Konqueror should both have the AttachToThunderbird selection in the Actions part of the context menu now.
If not (this is the part i’m not sure i had to do) download the script file to change a servicemenu script from KDE3 to KDE4… here… KDE4-servicemenus KDE-Apps.org
move it to the Home directory root, make sure it’s executable (make it so, if not) and run it from a terminal. That should do the trick… the script file is handy to use kde3 servicemenus in kde4, good thing to have.
The first part does not work.
First, folder ~/.kde4/share/kde4 doesn’t exist, I’ve created it with subfolders services/ServiceMenus and extracted files into the last one.
I’ve substitued ServiceTypes=all/allfiles with ServiceTypes=KonqPopupMenu/Plugin,all/all as you said, but another problem is that the path Icon=/usr/share/thunderbird/icons/mozicon16.png doesn’t exist. In fact :
$locate -i thunderbird | grep -i mozicon16
so, should we have to replace the path with this one ?
I do it but it does not work, and neither in KDE3
change the line for the icon pointer as you mentioned, then i think we have to clarify the filesystem location. Seems that you are talking in terms of starting in root, to be more accurate… /home/user/.kde4/share/kde4/services/ServiceMenus.
that path should exist.
No, sorry, this path does not exist in my system and I had to create it - that’s to say 3 empty subfolders kde4, services and ServiceMenus in /home/myusername/.kde4/share/ - not as root, but as usual user…
You’ve got this path ?
it is hidden, and if you are using a gui file manager like dolphin/konqueror, to see it you have to View/ShowHiddenFiles in the menubar.
(if you already know this, sorry, i’m just making sure we are on the same page)
if you don’t have this file path i am unsure what is wrong, do you have ANY /home/user/.kde4 folders?
yes View/ShowHiddenFile is well ticked in my filemanager,if it wasn’t the case I could’nt see ~/.kde4 and the folder ~/.kde4 exist. It contains subfolders
A little search of the term ‘ServiceMenus’ gives :
$locate -i ServiceMenus | egrep -v '\.' | sort | uniq
As I said, I had to create the folder ~/.kde4/share/kde4/services/ServiceMenus
rpm -qa | egrep -i "kde4|dolphin"
i am at a loss to offer any suggestions for i’m sure that the file location is supposed to be there, moving it out of that location removes the selection from the right-click context menu in kde4-dolphin on my machine… so the nature of your install is much different than mine.
if you haven’t solved your situation yet i’d suggest reposting it and letting some other opinions be offered.