![]() |
have mail use ~/.signature as a signature ?
Hi All,
See subject, is it possible ? Why ? Cronjob runs python script every day on my linux box and crafts a fresh (text-based, but could also be html) signature. You know, a fortune and other useless info =) I would like to have that on my n900, please. thx wzzl |
Re: have mail use ~/.signature as a signature ?
The signature is stored in that abomination known as gconf under "/apps/modest/accounts". You could write a little script to set it, but I'm not sure how to give it multiline values.
|
Re: have mail use ~/.signature as a signature ?
Speaking of... My sig contains
Code:
<foo> Code:
<foo> |
Re: have mail use ~/.signature as a signature ?
Probably something to do with HTML (formatted text) mail.
|
Re: have mail use ~/.signature as a signature ?
sorry for OT but..
gconf sucks :( |
Re: have mail use ~/.signature as a signature ?
I think this is related: https://bugs.maemo.org/show_bug.cgi?id=11451
Re: OP's question - can you have gconf keys that embed "\n" for newlines? |
Re: have mail use ~/.signature as a signature ?
Quote:
|
Re: have mail use ~/.signature as a signature ?
Bug 3941 has the same root cause. IMHO converting the message to HTML and back is completely broken behaviour :-(
|
Re: have mail use ~/.signature as a signature ?
Quote:
I tried: Code:
gconftool-2 --type=string --set /apps/modest/accounts/account_name/signature "name\ncompany\nwebsite" Also: Code:
gconftool-2 --type=string --set /apps/modest/accounts/account_name/signature `echo -e "name\ncompany\nwebsite\n"` Also if I use modest to edit the signature then do: Code:
gconftool-2 --get /apps/modest/accounts/account_name/signature > sig.txt Code:
0000000 n a m e \n c o m p a n y \n w e b I've been googling around on how to set multiline values, and values with control codes using gconftool-2 but most of the "relevant" hits were just a rehash of the manpage which itself is short of examples. Allow me to quote a comment from one of the websites that I found: Quote:
|
Re: have mail use ~/.signature as a signature ?
recovering old post.
so can I write script of some kind for the signature? kind of like the bash ones that can be done for evolution? |
All times are GMT. The time now is 19:58. |
vBulletin® Version 3.8.8