
KDE-Mozilla kservicemenu Item
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
KDE-Mozilla-Attach-To-Email-Servicemenu is a simple kservicemenu item that allows you to right click on a file and choose attach to Mozilla Mail to open a new Mozilla mail panel with the file already attached.
I'd like to thank Austy and sp3k from Mozillazine for their help and patience. And anders of KDE help (irc.kde.org) for his tutorship. Without them I would not have been able to figure out the last line to make it work.
Install instructions: After downloading either KDE-Mozilla-Attach-To-Email-Servicemenu or edit-OpenOffice.org-Doc-As-Root bz2 file (or both), (as root) copy it (or them) to your /usr/share/apps/konqueror/servicemenus or where ever your konqueror servicemenus are.
That's it, just right click on a file and you'll see the option there!
rnc
16 years ago
I changed the command to use the following
mozilla -remote "xfeDoCommand(composemessage,attachment=file://the_filename)"
which works fine. Perhaps a wrapper script depending on whether mozilla is running would help?
Cheers,
Nick
Report
Joker
16 years ago
Report
BorgQueen4
16 years ago
Step Two. Decompress the file. Once you do you will have a directory called "KDE-attach-to-email-servicemenu". Within this directory is a text file called "KDE-attach-to-email-servicemenu.txt".
Step three. As root, open a Konqueror window and go the directory that contains the "KDE-attach-to-email-servicemenu.txt", copy it.
Step Four: Paste the text file into "/usr/share/apps/konqueror/servicemenus/".
Step Five: Change the file extension from ".txt" to ".desktop".
Now you can right click on any file and you will see an option "Attach To Mozilla Mail", click on that and a new mozilla mail composer window will pop up with the file attached.
I would also suggest you get dschrader's "Attach to Email Service Menu 0.6.1". It's a great kservicemenu.
If you need anymore help just email me at [email protected]
Thanks Borg Queen
Report
prjanique
16 years ago
Maybe you should create a desktop file instead of giving us txt, just rename and archive :) And maybe somekind of installer will be useful :)
Anyway, that's a good job, thank you!
Report
BorgQueen4
16 years ago
I'm a newbie, so writing an installer is currently beyond me. Another reason I didn't provide an installer because not all distros put things in the same place (most do but not all). Its simpler in the long run, and much more educational, it do it manually.
And, the reason I used a txt file, was because I noticed that the desktop file would sometime lose some of the text info rendering it useless. Using a txt file prevents this and gives the user a way to replace the info. Just copy and paste.
And thank anders, Austy and sp3k, they lost their minds to my constant questions during the developement LOL.
Anyway, I greatly appreciate your comments.
Cheers, The Borg Queen
Report
prjanique
16 years ago
In order to prevent desktop file from missing info you better archive it (f.e. create tar.bz2 archive) :)
Thanks once again for your useful servicemenu! :)
Report
BorgQueen4
16 years ago
As for help creating an installer, I would love to learn how to do that. If and when you have the time feel free to email me.
Currently I'm trying to go from Redhat, to Debian.
Sadly all the years spend as a crack monkey myself has left me playing catch up but I think I'm ready for a REAL Linux distro.
Talk to you soon,
The Borg Queen
Report