You are not logged in.
Friends of fortune cookies are adviced to use a chronjob, that pastes a fortune into a file, and then use this file as masterpiece for further usage.
I only wanted to use fortune in my mail signature, and furthermore, wanted to have evolution handle them. Evolution's documentation still is incomplete, so I had to do some examination and trials. Here is how to make evolution add fortune cookies to your mail signatures.
When you want to add fortune cookies to a signature that should be used by the evolution mailing client, follow this steps:
· Create a bash-script.
Evolution will only read a signature file starting with "<pre>--" and ending with "</pre>" strings. So this is the kind of script you will need:
#!/bin/bash
printf "<pre>-- n"
echo "Something"
printf"n"
/usr/bin/fortune -s
printf "</pre>n"
· Save the script, and make it executable.
· Open evolution. Find Tools or Preferences Settings Editor settings Signatures *. Use the button "Add script", and select your created script. Give it a speaking name, like "fortune-script".
· Now enter the settings of your mail account(s). In the signatures drop-done, you can select "fortune-script".
This is it:
--
SomethingA homeowner's reach should exceed his grasp, or what's a weekend for?
* I use evolution in german environment, so I have to guess what the menues could be named in english. But I am sure you'll make it.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
I have found that this also works with kmail with a slight adjustment.
#!/bin/bash
echo "Something"
echo ""
printf"n"
/usr/bin/fortune -s
Save the file as Sig-script or something like that in your home directory and make it executable. Open up kmail and click Settings => Configure Kmail
With identities highlighted, click modify => Signatures and select in the drop box "Output of command"
Navigate to your Sig-script and apply
If anyone knows how to change the font and boldness of the name I would be really interested.
Cheers
Sitting quietly
Doing nothing
The grass grows
And the flowers bloom
All by themselves
Offline
Font and boldness of the name - have you tried to add some html tags?
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
I did try that but kmail issued an error trying to load the sig. That is why I am a little stuck.
Sitting quietly
Doing nothing
The grass grows
And the flowers bloom
All by themselves
Offline
HTML mails are evil!
:evil: :!:
Hello girls, I like rock climbing, mountain biking and rafting! Write me!
Offline