Skip to content

dwl does not start when setting the DISPLAY variable #136

Closed Answered by Supreeeme
TAforever asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, I am familiar with Sway 🙂
The issue is that sway/river/dwl support launching nested inside X11, and the presence of the DISPLAY variable will make the compositor try to launch as an X window, which is obviously not possible. You'll have to either find a way to force the compositor to start in tty mode or export DISPLAY after the compositor starts. I think you can do this from Sway's config file but I'm not sure. If you use systemd the service in the repo will make it easy.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@TAforever
Comment options

@TAforever
Comment options

@TAforever
Comment options

@Supreeeme
Comment options

Answer selected by TAforever
@TAforever
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants