[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-compiz
Subject:    Re: [compiz] Read commandline defaults from a file?
From:       David Reveman <davidr () novell ! com>
Date:       2007-07-28 20:30:44
Message-ID: 1185654644.8044.46.camel () ion ! ximian
[Download RAW message or body]

On Sat, 2007-07-28 at 10:46 +0200, dragoran wrote:
> David Reveman wrote:
> > On Thu, 2007-07-12 at 10:42 +0200, dragoran wrote:
> >   
> >> Right now compiz has hardcoded defaults for command line options like 
> >> direct vs indirect rendering etc.
> >> Because most users use scripts like gnome-wm to start compiz its not 
> >> that easy for them to change this options. My solution would be to have 
> >> a file (~/.compizrc) where the default values are saved. So that compiz 
> >> checks for the file first and pic up this values. If no file is found it 
> >> fails back to the hardcoded one.
> >> Would this cause any problems? If not I can implement it and send patches.
> >>     
> >
> > We should just make all these command line options real options with
> > metadata attached to them. That way you can easily patch the metadata
> > files to change the default values for them or override them by putting
> > you're own metadata files in ~/.compiz.
> >
> >   
> but can settings like direct/indirect rendering be set this way?

Sure, we probably don't want to go through the trouble of making such an
option adjustable after initialization but that's not a problem, it can
be read-only.

-David

_______________________________________________
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic