[opensuse] signature assistance needed for Thunderbird
After a total breakdown of kmail I want for the time being using Thunderbird. In KMail I was using a signature file which translated the information from my system into something like this: -- Linux User 183145 using LXDE and KDE4 on a Pentium IV , powered by openSUSE 11.4 (i586) Kernel: 3.1.0-3-desktop LXDE WM & KDE Development Platform: 4.7.2 (4.7.2) 21:45pm up 6:41, 3 users, load average: 1.05, 1.03, 0.84 How could I get a similar signature in Thunderbird? The signature file contains following info: $ #!/bin/bash powered="$(head -n 1 /etc/SuSE-release)" echo " Linux User 183145 using LXDE and KDE4 on a Pentium IV ," kernel=`uname -r` echo " powered by $powered Kernel: $kernel" kde=`kde4-config -v | grep KDE` echo " LXDE WM & " $kde uptime lxde=`lxde-config -v | grep LXDE` echo $lxde -- o -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon 31 Oct 2011 at 12:02:18 (-0300 UTC) C. van Nidek wrote:
After a total breakdown of kmail I want for the time being using Thunderbird. In KMail I was using a signature file which translated the information from my system into something like this:
IIRC Thunderbird has not the possibility to execute scripts to generate signatures, to do this you should use Evolution for example. Cheers, -- Marco Calistri http://mcalistri.blogspot.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/31/2011 09:23 PM, Marco Calistri wrote:
On Mon 31 Oct 2011 at 12:02:18 (-0300 UTC) C. van Nidek wrote:
After a total breakdown of kmail I want for the time being using Thunderbird. In KMail I was using a signature file which translated the information from my system into something like this:
IIRC Thunderbird has not the possibility to execute scripts to generate signatures, to do this you should use Evolution for example.
Cheers,
With some copying I am able to add my signature. What I would like to get is something that captures the signature output from the bash file and add it to the email. Any ideas? I am not ready to try out a forth email client for now. My first and long time companion kmail (6 years), a short stint with claws and some experience with thunderbird on my wives laptop. Third time lucky as the saying goes ;) . -- Linux User 183145 using LXDE and KDE4 on a Pentium IV , powered by openSUSE 11.4 (i586) Kernel: 3.1.0-3-desktop LXDE WM & KDE Development Platform: 4.7.2 (4.7.2) 21:44pm up 2:05, 4 users, load average: 0.30, 0.44, 0.77 ./signature: line 10: lxde-config: command not found -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2011-10-31 at 22:00 +0700, C. van Nidek wrote:
With some copying I am able to add my signature. What I would like to get is something that captures the signature output from the bash file and add it to the email.
#!/bin/bash powered="$(head -n 1 /etc/SuSE-release)" echo " Linux User 183145 using LXDE and KDE4 on a Pentium IV ," > .signature kernel=`uname -r` echo " powered by $powered Kernel: $kernel" >> .signature kde=`kde4-config -v | grep KDE` echo " LXDE WM & " $kde >> .signature uptime >> .signature lxde=`lxde-config -v | grep LXDE` echo $lxde >> .signature - -- Cheers, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAk6uuhsACgkQtTMYHG2NR9WwDwCfWsQWDwBMRCadEk6ryWfac71c Q6wAoIg00VsRaHnnuCvK4TkTUL7v4MYw =xvQO -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
C. van Nidek said the following on 10/31/2011 11:00 AM:
What I would like to get is something that captures the signature output from the bash file and add it to the email.
Have the output of your script directed to named pipe That looks like a file I mentioned the Old Perl Camel Book had such an example. The code is still out there .... http://theory.uwinnipeg.ca/CPAN/perl/pod/perlipc/named_pipes.html Have people done that with the shell? I'm sure they have ... with bash -- The universe we observe has precisely the properties we should expect if there is, at bottom, no design, no purpose, no evil and no good, nothing but blind pitiless indifference. -- Richard Dawkins, River Out of Eden: A Darwinian View of Life (1995), quoted from Victor J. Stenger, Has Science Found God? (2001) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
C. van Nidek said the following on 10/31/2011 10:02 AM:
After a total breakdown of kmail I want for the time being using Thunderbird. In KMail I was using a signature file which translated the information from my system into something like this:
Thunderbird has a plugin named 'signature switch'. It is very flexible. It can match up signatures with specific destinations The signatures can be read from a file or from a 'fortune'-like database. You can have many and custom databases. The file can be a static file or a pipe. There is in the old Perl Camel book a script that generates signatures and feeds them into a pipe in a manner suitable for this :-) That model can be used with any generator script. The example you gave would need a wrapper. I know this works with signature switch, I've done it myself in the past. http://mozext.achimonline.de/ -- A military operation involves deception. Even though you are competent, appear to be incompetent. Though effective, appear to be ineffective. Sun-tzu, The Art of War. Strategic Assessments -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2011-10-31 at 21:02 +0700, C. van Nidek wrote:
In KMail I was using a signature file which translated the information from my system into something like this:
You can run that script in cron, piping to a static file, then tell thunderbird to use that file. - -- Cheers, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAk6ut4wACgkQtTMYHG2NR9UJAwCfU9IeJTQCli+jjO+kWShLVJTf +goAn1ySkeyyYiW5bhxCmn4H0OfbjQ3g =NluR -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Anton Aylward
-
C. van Nidek
-
Carlos E. R.
-
Marco Calistri