cassius Posted December 6, 2019 Report Share Posted December 6, 2019 Hello I am using linux, ; Global Configuration Settings ; ; ************************************************************** ; * DO NOT EDIT THIS FILE if you want personal customisations: * ; * create a text file called "local.cfg" instead, and copy * ; * the lines from this file that you want to change. * ; * * ; * If a setting is part of a section (for instance [hotkey]) * ; * you need to append the section name at the beginning of * ; * your custom line (for instance you need to write * ; * "hotkey.pause = Space" if you want to change the pausing * ; * hotkey to the spacebar). * ; * * ; * On Linux, create: * ; * $XDG_CONFIG_HOME/0ad/config/local.cfg * ; * (Note: $XDG_CONFIG_HOME defaults to ~/.config) * ; * * ; * On OS X, create: * ; * ~/Library/Application\ Support/0ad/config/local.cfg * ; * * ; * On Windows, create: * ; * %appdata%\0ad\config\local.cfg * ; * * ; ************************************************************** I have created the file in my ~/.config/0ad/config/local.cfg but it's not loading the configuration. How do I fix it? Quote Link to comment Share on other sites More sharing options...
Stan` Posted December 6, 2019 Report Share Posted December 6, 2019 @cassiusYou should use user.cfg instead I believe. 1 Quote Link to comment Share on other sites More sharing options...
cassius Posted December 6, 2019 Author Report Share Posted December 6, 2019 (edited) On 06/12/2019 at 1:15 PM, Stan` said: @cassiusYou should use user.cfg instead I believe. Expand Got it, but @Stan` three different .cfg files. e.g. default.cfg local.cfg user.cfg for the same configuration? why? Edited December 6, 2019 by cassius Quote Link to comment Share on other sites More sharing options...
Stan` Posted December 6, 2019 Report Share Posted December 6, 2019 On 06/12/2019 at 1:27 PM, cassius said: Got it, but @Stan` three different .cfg files. e.g. default.cfg local.cfg user.cfg for the same configuration? why? Expand Well that's a good question. Actually there are four. mod.cfg, user.cfg, local.cfg. default.cfg is as its name suggest the default config file. (It should contain all the variables so an empty user.cfg works) The other three well, "it's historical" 1 Quote Link to comment Share on other sites More sharing options...
Silier Posted December 6, 2019 Report Share Posted December 6, 2019 Lets suppose game is in one machine with multiple user accounts. local.cfg would probably be to set options for all users and user.cfg for every user itself as that would be in user specific path. Quote Link to comment Share on other sites More sharing options...
cassius Posted December 6, 2019 Author Report Share Posted December 6, 2019 On 06/12/2019 at 1:56 PM, Angen said: Lets suppose game is in one machine with multiple user accounts. local.cfg would probably be to set options for all users and user.cfg for every user itself as that would be in user specific path. Expand well if that is the scenario then where do I put local.cfg in linux environment? Quote Link to comment Share on other sites More sharing options...
Stan` Posted December 6, 2019 Report Share Posted December 6, 2019 Next to default.cfg IIRC 1 Quote Link to comment Share on other sites More sharing options...
Nescio Posted December 6, 2019 Report Share Posted December 6, 2019 On 06/12/2019 at 12:30 PM, cassius said: I have created the file in my ~/.config/0ad/config/local.cfg but it's not loading the configuration. How do I fix it? Expand On my end (Fedora 31) it's `.config/0ad/config/user.cfg`; I don't have a `local.cfg` nor a `default.cfg` file there. Quote Link to comment Share on other sites More sharing options...
Stan` Posted December 6, 2019 Report Share Posted December 6, 2019 On 06/12/2019 at 2:59 PM, Nescio said: On my end (Fedora 31) it's `.config/0ad/config/user.cfg`; I don't have a `local.cfg` nor a `default.cfg` file there. Expand Yeah those two files are in 0adinstalllocation/binaries/data/config Quote Link to comment Share on other sites More sharing options...
tuk0z Posted December 9, 2019 Report Share Posted December 9, 2019 (edited) Then default.cfg (github) may/should reflect the correct path/to/config_files. Atm it still tells us to use %HOME/config/0ad/config/local.cfg Quote * On Linux, create: ; * $XDG_CONFIG_HOME/0ad/config/local.cfg ; * (Note: $XDG_CONFIG_HOME defaults to ~/.config) ; * On OS X, create: ; * ~/Library/Application\ Support/0ad/config/local.cfg ; * On Windows, create: ; * %appdata%\0ad\config\local.cfg Expand Edited December 9, 2019 by tuk0z Quote Link to comment Share on other sites More sharing options...
Loki1950 Posted December 9, 2019 Report Share Posted December 9, 2019 The top level .config folder is a fairly new recommendation from the Linux Standards organisation not all distros follow it yet but if your current fav does that's the one to use. Enjoy the Choice Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.