首页 > 技术文章 > 解决QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'问题
ssvip 2021-02-25 16:02 原文
在/etc/profile末尾增加两句
export XDG_RUNTIME_DIR=/usr/lib/ export RUNLEVEL=3
然后刷新全局变量
source /etc/profile
则可