Suppress or fix xdg-user-dir: not found

Since this appears to be a nuance of UnrealEngine, posting a couple of questions related to this carla issue. When one runs the (cooked / packaged / production) UE 4.24 based CARLA simulator headless in Ubuntu 18.04 GNU/Linux without the packages xdg-user-dirs xdg-utils packages installed, one gets the warning sh: 1: xdg-user-dir: not found. This occurs in RH Enterprise Linux 7, and likely newer versions of Ubuntu and RHEL. This appears harmless, but is a red herring to many users. My question to the UE community…

  1. Is there a way to suppress this warning or compile an UE project in such a way that it does not appear?
  2. Does installing the xdg-user-dirs xdg-utils packages actually benefit the user when running the program headless (i.e. command-line only, no GUI)?
  3. Any unintended consequences to installing xdg-user-dirs xdg-utils packages into a GNU/Linux deployment without a GUI?

Thanks

1 Like

Sorry for renewing the old topic but today I get stuck on exact same issue.

Did you find some workaround?