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  Deven_xu  阅读(8239)  评论(0)    收藏  举报