解决QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'问题

在/etc/profile末尾增加两句

export XDG_RUNTIME_DIR=/usr/lib/
export RUNLEVEL=3

然后刷新全局变量

source /etc/profile

则可

posted @ 2021-02-25 16:02  出门必戴双肩包  阅读(19699)  评论(2编辑  收藏  举报