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

在个人home 目录下将

export XDG_RUNTIME_DIR=directory #a specific directory you specify 
export RUNLEVEL=3

添加到:.bashrc 然后 source .bashrc

 

posted @ 2021-07-19 22:19  scandit  阅读(6915)  评论(0编辑  收藏  举报