How do I set the environment variable XDG_RUNTIME_DIR to '/tmp/runtime-root'?

(tom) #1


i started a gui application from the konsole and this was one from the notifications

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

how could i set this as default?

post must be at least 256 caracters… a stupid thing for a short question

Calibre won't run
(totte) #2

In your .profile or corresponding file for whatever shell you are using.

The idea is to encourage users to provide more information at the very beginning, as outlined here:

How to set environment variables is well documented e.g. here. That was one of the top results for me on Google, when searching for “how to set environment variables”.

Calibre won't run
(tom) #3

thank you :slight_smile:

i had duckduckgo used

[tom@frija ~]$ printenv | grep RUNTIME

perhaps a link to /tmp avoid such messages

(totte) #4

Remember to mark this topic as solved by clicking the icon under my post and then the :white_check_mark: icon.

(system) closed #5

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.