dictation-toolbox / dragonfly

Speech recognition framework allowing powerful Python-based scripting and extension of Dragon NaturallySpeaking (DNS), Windows Speech Recognition (WSR), Kaldi and CMU Pocket Sphinx
GNU Lesser General Public License v3.0
388 stars 75 forks source link

Improve error message when X11 can't be detected #314

Closed dasnessie closed 3 years ago

dasnessie commented 3 years ago

I'm running i3wm on Arch Linux. XDG_SESSION_TYPE was set to "tty" despite running X11. It took me quite some time to figure out what was going on, so I wanted to make it easier for anyone encountering the same problem.

drmfinlay commented 3 years ago

Good idea, thanks for this. I have the same issue with XDG_SESSION_TYPE when enabling OpenSSH X11 forwarding. It would be nice if checking X11 was easier.

Anyhow, I'll merge this shortly and release the changes in version 0.29.0.