[BRLTTY] Debugging using `brltty -b xw`

Samuel Thibault samuel.thibault at ens-lyon.org
Sun Jul 20 11:10:36 UTC 2025


Hello,

Sorry for the delay, end of year + debconf was busy.

Sebastian Humenda, le ven. 27 juin 2025 15:38:25 +0200, a ecrit:
> I have tried to run the BRLAPI example from `Bindings/Python/brlapi.pyx`, from
> the doc string.
> To test this, I stopped the global BRLTTY instance and started one with my
> user using `brltty -b xw -b a2`. Then, I've started the script on the console
> and hoped to see some output. I compared this with a global BRLTTY, actually
> attached to a Braille display. Here, the example worked. For the X11 window
> BRLTTY, the X11 window with the braille contents stayed empty.

I'm not getting this result here, the output shows up on the X11 window
as expected.

> The script output is:
> 
> ```
> Server version 8
> Display size [40, 1]
> Driver XWindow

So it's rightfully connecting to your X11 brltty.

Is xbrlapi perhaps still running? Normally it shouldn't be interfering,
but perhaps better make sure it is not running before starting the X11
brltty.

Are you starting the python script from a mater-terminal? Is that a
terminal with several tabs or only one? You may want to use
b.enterTtyModeWithPath([]) to make sure that the focus management is not
interfering.

Of course, logs with -l server from the X11 brltty would help know what
is actually happening.

Samuel


More information about the BRLTTY mailing list