[BRLTTY] In brltty.conf, who has the last word?

Dave Mielke Dave at mielke.cc
Wed May 21 22:39:20 UTC 2025


[quoted lines by Sébastien Hinderer on 2025/05/21 at 19:36 +0200]

>I am always confused by the semantics of brltty.conf and in particular,
>if several directives specify different values, which one it is which
>will actually be taken into account.

The last one wins, although you'll get a warning. The reason is that configurator tools commonly just append to the end of a file if it already exists.

>Of course these modifications were never taken into account because,
>contrary to what I believed, BRLTTY does NOT read both configuration
>files. If it finds the XDG one it won't read /etc/brltty.conf, which I am
>sure is the right thing to do according to the XDG standard.

Which way are you sure it should work?


Put the include at the beginning. Really, though, it shouldn't matter as the provided brltty.conf has all directives commented out.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke            | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: Dave at Mielke.cc  | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: +1 613 726 0014 | Canada  K2A 1H7   |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://mielke.cc/xmother.html (Letter from a Feminist ex-Mother)


More information about the BRLTTY mailing list