Re: Using multiple configuration files
begin quoting Renan Traba as of Wed, Dec 04, 2013 at 03:40:17PM -0200: > 2013/12/2 Carlos R. Mafra > > > > I don't think this is a bug. > > > > Let's keep things simple. > > > > > but it should not be hard and still be simple: > aways read global conf file, set the vars > then try to read user conf file, set vars again > > almost any software today use this pattern So, not a bug, check. It is, however, a feature request. An awful lot of applications -- including shells, X11, etc. -- have both global and local configuration. So it seems to be a reasonable feature request... so long as the implementation doesn't add needless complexity. However. I thought WindowMaker already had that, as my system has an /etc/GNUstep/Defaults/WindowMaker (and other) file(s). -- What am I not understanding today? SJS -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.
Re: Using multiple configuration files
2013/12/2 Carlos R. Mafra > > I don't think this is a bug. > > Let's keep things simple. > > but it should not be hard and still be simple: aways read global conf file, set the vars then try to read user conf file, set vars again almost any software today use this pattern -- Renan Vedovato Traba Aluno de Bacharelado em Ciência da Computação pela Universidade Federal do Paraná Linux Register n°: 525911
Re: Using multiple configuration files
On Tue, 3 Dec 2013 at 0:35:43 +0100, Rodolfo García Peñas wrote: > Hi, > > I think this idea is very interesting. Vasilis reported that wmaker doesn't > read the system-wide WMGLOBAL configuration file, only the users file. > > Probably could be a good idea "merge" both files. Read the sytem global conf > file, read the user conf file, merge both files and create the final > configuration. The user conf file should overwrite the previous loaded system > configuration. > > In many systems, the user configuration file could be empty (or no exists). > > What do you think? I don't think this is a bug. Let's keep things simple. -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.
Re: Using multiple configuration files
On Tue, 03 Dec 2013, Rodolfo kix Garcia escribió: > Hi, > > I think this idea is very interesting. Vasilis reported that wmaker doesn't > read the system-wide WMGLOBAL configuration file, only the users file. > > Probably could be a good idea "merge" both files. Read the sytem global conf > file, read the user conf file, merge both files and create the final > configuration. The user conf file should overwrite the previous loaded system > configuration. > > In many systems, the user configuration file could be empty (or no exists). > > What do you think? > > Cheers, > kix You can read more about this bug here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=172219 kix. -- ||// //\\// Rodolfo "kix" Garcia ||\\// //\\ http://www.kix.es/ -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.