Hi Pawel and All,

A brltty-6.4 package for Slint is available in /testing which allows to run
brltty as regular user as described in: https://brltty.app/doc/Linux.html

package:
https://slackware.uk/slint/x86_64/slint-14.2.1/testing/brltty-6.4-x86_64-2slint.txz
md5 checksum:
https://slackware.uk/slint/x86_64/slint-14.2.1/testing/brltty-6.4-x86_64-2slint.md5

The only difference with the proposed default settings is the writable
directory: /var/brltty in Sint instead of /var/run/brltty.

So, one can start brltty as regular user:
dance[~]$ LANG=C brltty
BRLTTY 6.4 rev BRLTTY-6.4 [https://brltty.app/]
brltty: executing as the invoking user: didier
dance[~]$

or as root:
root@ici:~# LANG=C brltty
BRLTTY 6.4 rev BRLTTY-6.4 [https://brltty.app/]
brltty: switched to unprivileged user: brltty
root@ici:~#

Some observations:
I start brltty like this:
brltty -d /dev/tty2 -b tt

To get an output on /dev/tty2 I need to login in this tty, as the regular user
who started brltty.

I get an output in /dev/tty2 regardless of the user who produces it, both in a
console or in a graphical terminal.

If I start brltty as root, no matter what, I don't get an output in /dev/tty2.

So...

@Pawel: please test. Can you get a different Braille table for each user
starting brltty?


@brltty developers:
Was the behavior described above to be expected?

@Slint users wanting to test:
To be safe, use a console screen reader when testing, especially if you make
/erc/rc.d/rc.brltty non executable, as then you won't have Braille to log in.

Cheers,
Didier

Le 06/10/2021 à 01:23, Pawel Loba a écrit :
Hi Didier & all,

The global Braille table for BRLTTY conforms to the default system language.

This condition dictates the use of Braille table by ORCA too.

Therefore, if a regular user works in a different language environment in GUI and even though the keyboard is assigned to the language being used, ORCA does not correctly show special characters for a given language - in my case in Polish.

As far as I know, this can only be corrected if the BRLTTY's Braille table for the given user is changed to the language being in use.

So if I want ORCA to show me Polish characters correctly I do as follows as 'root':

/etc/rc.d/rc.brltty stop

then

brltty -b auto -d usb: -t pl

then I start my GUI session in Polish.

However, this is not a proper solution, because I am changing the Braille table for all users, which is not to be desired.

Imagine you are working as three different users in three different languages: English, French & Spanish. Each of these languages requires a different Braille table for each of them. So, you see right there that my method creates a conflict.

I hope I managed to explain it a little better this time, although I still don't know how to solve this puzzle to allow each user working in the foreign language having the correct Braille table being used for each of these languages.

Any suggestions, please.

Pawel



On 2021-10-05 5:38 a.m., Didier Spaier wrote:
Hi,
answer inline.

Le 05/10/2021 à 10:37, Pawel Loba a écrit :
I will need to contact people behind BRLTTY project about proper support for Polish language in ORCA and I will report back.

Not sure what you mean. What is missing if the keyboard layout and LANG are
properly set?
Anyway, before posting to the brltty mailing list please read the docs in:
/usr/doc/brltty-6.4, especially in:
/usr/doc/brltty-6.4/README.X11

To be able to do that you will need brltty-6.4, which I plan to provide later
today.

Cheers,
Didier
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Reply via email to