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) 12 minutes ago, Stan` said: @cassiusYou should use user.cfg instead I believe. 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 Just now, cassius said: Got it, but @Stan` three different .cfg files. e.g. default.cfg local.cfg user.cfg for the same configuration? why? 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 19 minutes ago, 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. 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 2 hours ago, 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? 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 Just now, 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. 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 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.