~emersion/wlr-randr#5: 
"error: XDG_RUNTIME_DIR not set in the environment."

I'm trying to get this to work on PostmarketOS with Phosh, but it keeps giving me this error:

error: XDG_RUNTIME_DIR not set in the environment.
failed to connect to display

I'm not really sure how to use wlr-randr, because I can't find any documentation.

Status
REPORTED
Submitter
github.com:lumbo7332 (unverified)
Assigned to
No-one
Submitted
1 year, 6 months ago
Updated
1 year, 6 months ago
Labels
No labels applied.

github.com:emersion (unverified) 1 year, 6 months ago · edit

You need to start wlr-randr from inside the compositor session, where XDG_RUNTIME_DIR and WAYLAND_DISPLAY are set.

github.com:lumbo7332 (unverified) 1 year, 6 months ago · edit

Sorry about that. I realized that right after but forgot to close the issue.

Register here or Log in to comment, or comment via email.