Skip to content

Commit

Permalink
fixes #172 - update doc with workaround when QR code is not shown
Browse files Browse the repository at this point in the history
  • Loading branch information
d99kris committed Dec 23, 2023
1 parent 96b3de5 commit 8934362
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,17 @@ Please try to run nchat with a TERM supporting custom colors, e.g:

TERM=xterm-256color nchat

### No QR code is shown in the terminal when setting up WhatsApp in WSL?

If the environment variable `$DISPLAY` is set, nchat uses the default image
viewer via `xdg-open` to display the QR code. If running Linux without X,
but still have `$DISPLAY` set (some Windows Subsystem for Linux / WSL / WSL2
setups seems to do this), one needs to unset it before performing WhatsApp
setup, e.g.:

unset DISPLAY
nchat -s


Technical Details
=================
Expand Down

0 comments on commit 8934362

Please sign in to comment.