Re: Removing xrdb for 10% startup win?
- From: Michael Banck <mbanck debian org>
- To: desktop-devel-list gnome org
- Subject: Re: Removing xrdb for 10% startup win?
- Date: Sun, 28 Aug 2005 13:52:14 +0200
On Sun, Aug 28, 2005 at 11:37:31AM +0100, Gustavo J. A. M. Carneiro wrote:
> So how about GNOME doing this instead:
>
> 1- stat(~/.Xresources) --> if fail return
> 2- stat(~/.Xresources.compiled)
> 3- if "~/.Xresources.compiled does not exist" OR
> "~/.Xresources.compiled older than ~/.Xresources":
> 3.a) run "cpp ~/.Xresources -o ~/.Xresources.compiled"
> 4- Run "xrdb -nocpp ~/.Xresources.compiled"
Why not grep for any preprocessor statements, and only run cpp if some
are present?
Michael
--
<dilinger> if my last job interview has taught me anything, it's that
employers want someone who'll show up 30 mins late for the
interview, on 3 hours of sleep, answer questions ambiguously,
zone out, and give the appearance of being stoned
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]