Re: [Evolution] evolution startup



cheers();

On Tue, 2003-01-07 at 10:57, Lennard Bakker wrote:
Is it possible make evolution always start in the summery screen?

Not that this will help much, but I find that if I EXIT Evo on the
Summary screen, it comes back up on the summary screen...

Lennard, your question let me play around something. And I got a
solution -- it works -- although it is rather a dirty hack...

The attached shell script should do it. Run it instead of evolution from
path.


Some notes: I remembered, the values in xlm config files are stored in
ASCII coded. And I found the value thats responsible for the first
displayed screen: Shell/Views/0 / DisplayedURI

The script patches that value with 'evolution:/summary' and lets other
DisplayedURI fields untouched.

After changing, it runs evolution. When finished, Evolution has to be
killed. Thats necessary, because changes in config.xmldb aren't
recognized if not.

So, you will have to 'killev' before first running that script.


Have fun...

...guenther


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
#!/bin/sh

CONF=~/evolution/config.xmldb

cat $CONF | perl -e '$_ = join "", <>; s,(path="/Shell/Views/0".*?name="DisplayedURI" type="string" 
value=")[^"]*,${1}65766f6c7574696f6e3a2f73756d6d617279,s; print;' > $CONF.temp && mv $CONF.temp $CONF 

/usr/bin/evolution
/usr/bin/killev >> /dev/null



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]