Skip to content

Conversation

@CarterLi
Copy link
Member

Details explained in my comment message.

…e not set

$TERM can be set to value other than `linux` ( eg xterm, xterm-256color ), just assume TTY when no desktop env is found, which effectively bypasses `getWMDE`
Fix #83
… $XDG_RUNTIME_DIR is not set

According to [the manpage](https://manpages.debian.org/experimental/libwayland-doc/wl_display_connect.3.en.html), $XDG_RUNTIME_DIR must be set before calling `wl_display_connect(NULL)`.
Otherwise `wl_display_connect` will always fail, and print the error message
@LinusDierheimer LinusDierheimer merged commit 0b3f966 into fastfetch-cli:master Oct 17, 2021
@LinusDierheimer
Copy link
Collaborator

Seems fine.

@CarterLi CarterLi deleted the wsl2 branch October 20, 2021 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants