[BRLTTY] brlapi programming examples

Samuel Thibault samuel.thibault at ens-lyon.org
Sun Aug 30 12:49:36 EDT 2020


Mika Hanhijärvi, le dim. 30 août 2020 12:28:36 +0300, a ecrit:
> brlapi.OperationError: Can't determine tty number
> 
> I am running the code from the GNOME Terminal window.

Are you perhaps running Wayland? That's not supported yet, we'd need
GNOME Terminal to somehow tell its window ID, there is nothing like that
at the moment.

In the meanwhile, either use Xorg, or use enterTtyModeWithPath() to
avoid the window ID question and just take over the whole VT.

Samuel


More information about the BRLTTY mailing list