diff --git a/pinxi b/pinxi index bbd28ac..28391b3 100755 --- a/pinxi +++ b/pinxi @@ -1170,7 +1170,11 @@ sub set { # removed legacy kde @$configs test which never worked @config_files = ( qq(/etc/$self_name.conf), - qq(/etc/$self_name.d/$self_name.conf), + qq(/etc/$self_name.d/$self_name.conf), + qq(/usr/etc/$self_name.conf), + qq(/usr/etc/$self_name.d/$self_name.conf), + qq(/usr/local/etc/$self_name.conf), + qq(/usr/local/etc/$self_name.d/$self_name.conf), qq($user_config_dir/$self_name.conf) ); # Config files should be passed in an array as a param to this function. diff --git a/pinxi.1 b/pinxi.1 index 66c6c61..c79d8c5 100644 --- a/pinxi.1 +++ b/pinxi.1 @@ -15,7 +15,7 @@ .\" with this program; if not, write to the Free Software Foundation, Inc., .\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. .\" -.TH INXI 1 "2023\-12\-12" "inxi" "inxi manual" +.TH INXI 1 "2023\-12\-15" "inxi" "inxi manual" .SH NAME inxi \- Command line system information script for console and IRC @@ -2975,7 +2975,11 @@ which will prevent distro packages from changing or overwriting your edits. This method is recommended if you are using a distro packaged inxi and want to override some global configuration items from the package's default \fB/etc/inxi.conf\fR file but don't want to lose your changes on a package -update. +update. + +In case the distro is using either \fB/usr/etc\fR or \fB/usr/local/etc\fR as non +core tool default location, inxi will use those paths instead, with the +\fBinxi.d/inxi.conf\fR override option. You can also override, per user, with a user configuration file found in one of the following locations (inxi will store its config file using the following