By opening a terminal and typing sudo env
we can see that $XDG_CONFIG_HOME is not set
from the new inxi version manpage:
/etc/inxi.conf is the default configurations. These can be overridden by user configurations found in one of the following locations
(inxi will place its config file using the following precedence as well, that is, if $XDG_CONFIG_HOME is not empty, it will go there, else if
$HOME/.conf/inxi.conf exists, it will go there, and as a last default, the legacy location is used:
In the antiX sudo shell environment, $HOME=/root is set.
If the package “smxi-inxi-antix” installed a /root/.conf/inxi.conf file (even just a zero-length placeholder file), maybe that would prevent the problem that roky encountered?
. Hope the above will fix. I’m anxious about the potential side-effects from exporting $XDG_CONFIG_HOME for sudo user