Debian Codegraph @

config/settings/settings.conf

raw
1 [sound]
2 # Turn sound on or off:
3 enabled=True
4
5 # Select the driver used to play sounds, choices are genericDriver and gstreamerDriver.
6 # Generic driver uses fewer dependencies but spawns a process for each sound played including progress bar beeps
7 # Gstreamer is the default.
8 driver=gstreamerDriver
9 #driver=genericDriver
10
11 # Sound themes. These are the pack of sounds used for sound alerts.
12 # Sound packs may be located at ~/.local/stormux/fenrir/sounds,
13 # /usr/share/sounds/fenrir, or /usr/share/sounds/fenrirscreenreader.
14 theme=default
15
16 # Sound volume controls how loud the sounds for your selected soundpack are.
17 # 0 is quietest, 1.0 is loudest.
18 volume=0.7
19
20 # shell commands for generic sound driver
21 # the folowing variable are substituted
22 # fenrir_volume = the current volume setting
23 # fenrir_sound_file = the soundfile for an soundicon
24 # fenrir_frequency = the frequency to play
25 # fenrir_duration = the duration of the frequency
26 # the following command is used to play a soundfile
27 generic_play_file_command=play -q -v fenrir_volume fenrir_sound_file
28 #the following command is used to generate a frequency beep
29 generic_frequency_command=play -q -v fenrir_volume -n -c1 synth fenrir_duration sine fenrir_frequency
30
31 # Enable progress bar monitoring with ascending tones by default
32 progress_monitoring=True
33
34 [speech]
35 # Turn speech on or off:
36 enabled=True
37
38 # Select speech driver, options are speechdDriver, genericDriver,
39 # dectalkDriver, dectalkUsbDriver, litetalkDriver, doubletalkDriver,
40 # or tripletalkDriver:
41 driver=speechdDriver
42 #driver=genericDriver
43 #driver=dectalkDriver
44 #driver=dectalkUsbDriver
45 #driver=litetalkDriver
46 #driver=doubletalkDriver
47 #driver=tripletalkDriver
48
49 # The rate selects how fast Fenrir will speak. Options range from 0, slowest, to 1.0, fastest.
50 rate=0.5
51
52 # Pitch controls the pitch of the voice, select from 0, lowest, to 1.0, highest.
53 pitch=0.5
54 # Pitch for capital letters
55 capital_pitch=0.9
56 # How to indicate capital letters:
57 # pitch = change speech pitch (uses capital_pitch value)
58 # beep = play Caps.wav sound icon
59 # both = play beep AND change pitch
60 # none = no special indication
61 capital_indicator=pitch
62
63 # Volume controls the loudness of the voice, select from 0, quietest, to 1.0, loudest.
64 volume=1.0
65
66 # Module is used for Speech-dispatcher, to select the speech module you want to use.
67 # Consult Speech-dispatcher's configuration and help Fenrir find out which modules are available.
68 # The default is specified in speechd.conf.
69 #module=espeak-ng
70
71 # Voice selects the voice you want to use, for example, en-GB-scotland will use the Scotish English voice in Espeak,
72 # To find out which voices are available, consult the documentation provided with your selected synthesizer.
73 # This also sets the voice used in the generic driver.
74 # You can add a variant by adding +name onto the end.
75 # voice=en-us
76
77 # Select the language you want Fenrir to use.
78 #language=en
79
80 # Hardware speech synthesizer serial device.
81 # Used by dectalkDriver, litetalkDriver, doubletalkDriver, and tripletalkDriver.
82 # dectalkUsbDriver autodetects the Access Solutions device and ignores this.
83 # USB serial devices are supported if Linux exposes them as /dev/ttyACM*
84 # or /dev/ttyUSB*. USB-only synths with no tty device need a separate driver.
85 # Set an explicit device for hardware speech.
86 # Examples:
87 # hardware_device=/dev/ttyACM0 # RPITalk USB gadget mode
88 # hardware_device=/dev/ttyUSB0 # USB serial adapter
89 # hardware_device=/dev/ttyS0 # built-in serial port
90 hardware_device=/dev/ttyS0
91
92 # Serial baud rate for hardware speech synthesizers.
93 hardware_baud_rate=9600
94
95 # Read new text as it happens?
96 auto_read_incoming=True
97
98 # Speak individual numbers instead of whole string.
99 read_numbers_as_digits = False
100
101 # Number of spoken items kept in runtime speech history.
102 history_size=50
103
104 # Flood control: batch rapid updates instead of speaking each one
105 # Number of updates within rapid_update_window to trigger batching
106 rapid_update_threshold=5
107
108 # Time window (seconds) for detecting rapid updates
109 rapid_update_window=0.3
110
111 # How often to speak batched content (seconds)
112 batch_flush_interval=0.5
113
114 # Maximum lines to keep when batching (keeps newest, drops oldest)
115 max_batch_lines=100
116
117 # Only enable flood control if this many new lines appear in the window
118 flood_line_threshold=500
119
120 # generic_speech_command is the command that is executed for talking
121 # the following variables are replaced with values
122 # fenrir_text = is the text that should be spoken
123 # fenrir_module = may be the speech module like used in speech-dispatcher, not every TTY need this
124 # fenrir_language = the language
125 # fenrir_voice = is the current voice that should be used. Set the voice variable above.
126 # the current volume, pitch and rate is calculated like this
127 # value = min + settingValue * (min - max )
128 # fenrir_volume = is replaced with the current volume
129 # fenrir_pitch = is replaced with the current pitch
130 # fenrir_rate = is replaced with the current speed (speech rate)
131 generic_speech_command=espeak-ng -a fenrir_volume -s fenrir_rate -p fenrir_pitch -v fenrir_voice -- "fenrir_text"
132
133 # min and max values of the TTS system that is used in generic_speech_command
134 fenrir_min_volume=0
135 fenrir_max_volume=200
136 fenrir_min_pitch=0
137 fenrir_max_pitch=99
138 fenrir_min_rate=80
139 fenrir_max_rate=450
140
141 [screen]
142 # Screen driver: vcsaDriver (Linux TTY/virtual console), ptyDriver (terminal emulation)
143 driver=vcsaDriver
144 # Text encoding: auto (auto-detect), utf-8, latin1, etc.
145 encoding=auto
146 # Delay in seconds between screen updates (lower = more responsive, higher = less CPU)
147 # Recommended: 0.05 for most systems
148 screen_update_delay=0.05
149 # TTY number to completely ignore (e.g., 7 for X11/graphical login screen)
150 ignore_screen=7
151 # Automatically detect and ignore graphical TTYs (X11, Wayland sessions)
152 autodetect_ignore_screen=True
153
154 [keyboard]
155 driver=evdevDriver
156 # filter input devices NOMICE, ALL or a DEVICE NAME
157 device=ALL
158 # gives Fenrir exclusive access to the keyboard and lets it control keystrokes.
159 grab_devices=True
160 # Optional X11 target window id for x11Driver. Empty uses WINDOWID or active window.
161 x11_window_id=
162 # Ignore shortcut bindings and pass all keys through without processing Fenrir commands.
163 # When True, Fenrir will only monitor screen content without intercepting keyboard input.
164 # the current shortcut layout located in /etc/fenrirscreenreader/keyboard
165 ignore_shortcuts=False
166 keyboard_layout=desktop
167 # echo chars while typing.
168 # 0 = None
169 # 1 = always
170 # 2 = only while capslock (not compatible with capslock as fenrir key)
171 char_echo_mode=1
172 # echo deleted chars
173 char_delete_echo=True
174 # echo word after pressing space
175 word_echo=False
176 # interrupt speech on any keypress
177 interrupt_on_key_press=True
178 # you can filter the keys on that the speech should interrupt (empty = all keys, otherwhise the given keys)
179 interrupt_on_key_press_filter=
180 # timeout for double tap in sec
181 double_tap_timeout=0.2
182
183 [general]
184 # Debug levels: 0=NONE, 1=ERROR, 2=WARNING, 3=INFO (most verbose)
185 # For production use, WARNING (2) provides good balance of useful info without spam
186 # The default is 0, no logging.
187 debug_level=0
188 # debugMode sets where the debug output should send to:
189 # debugMode=File writes to debug_file (Default:/tmp/fenrir.log)
190 # If the default log is already in use, Fenrir uses /tmp/fenrir2.log, etc.
191 # debugMode=Print just prints on the screen
192 debug_mode=File
193 debug_file=
194 # Punctuation settings control how punctuation is spoken during text review.
195 # Profile selects a punctuation definition file from config/punctuation/ (e.g., default.conf)
196 punctuation_profile=default
197 punctuation_level=some
198 respect_punctuation_pause=True
199 # Replace undefined punctuation with spaces instead of removing them
200 # This improves readability of text with punctuation like [X]mute, IP addresses, etc.
201 replace_undefined_punctuation_with_space=True
202 # Pause speech briefly at newline characters for better readability
203 new_line_pause=True
204 # Convert text emoticons like :) to descriptive text (e.g., "smiling face")
205 emoticons=True
206 # Define the Fenrir modifier key(s) - used to trigger Fenrir commands
207 # Examples: KEY_KP0 (numpad 0), KEY_META (Super/Windows), KEY_INSERT
208 # Multiple keys: KEY_KP0,KEY_META,KEY_INSERT
209 fenrir_keys=KEY_KP0,KEY_META,KEY_INSERT
210 # Script key - used to execute custom scripts in script_path
211 script_keys=KEY_COMPOSE
212 # Time format using Python strftime codes (https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior)
213 # Default: %%I:%%M%%P (12-hour format, e.g., "06:38pm")
214 # 24-hour format: %%H:%%M (e.g., "18:38")
215 # Common codes: %%I=12hr hour, %%H=24hr hour, %%M=minute, %%S=second, %%P=am/pm lowercase, %%p=AM/PM uppercase
216 time_format=%%I:%%M%%P
217 # Date format using Python strftime codes
218 # Default: %%A, %%B %%d, %%Y (e.g., "Tuesday, December 10, 2024")
219 # ISO format: %%Y-%%m-%%d (e.g., "2024-12-10")
220 # Common codes: %%A=weekday name, %%B=month name, %%d=day, %%Y=year with century, %%m=month number
221 date_format=%%A, %%B %%d, %%Y
222 # Automatically spell check words when reviewing character-by-character
223 auto_spell_check=True
224 # Language for spell checking (format: language_COUNTRY, e.g., en_US, en_GB, es_ES)
225 spell_check_language=en_US
226 # path for your scripts "script_keys" functionality.
227 # User-local scripts in ~/.local/stormux/fenrir are loaded first.
228 script_path=/usr/share/fenrirscreenreader/scripts
229 # Override default commands or add custom commands without modifying Fenrir installation
230 # Leave empty to use default commands only
231 command_path=
232 # Format string for announcing text attributes (colors, formatting)
233 # Available variables:
234 # fenrirBGColor = the background color
235 # fenrirFGColor = the foreground color
236 # fenrirUnderline = speak the underline attribute
237 # fenrirBold = speak the bold attribute
238 # fenrirBlink = speak the blink attribute
239 # fenrirFont = the font name
240 # fenrirFontSize = the font size
241 attribute_format_string=Background fenrirBGColor,Foreground fenrirFGColor,fenrirUnderline,fenrirBold,fenrirBlink, Font fenrirFont,Fontsize fenrirFontSize
242 # Automatically announce indentation level changes (useful for Python, YAML, etc.)
243 auto_present_indent=False
244 # How to present indentation changes:
245 # 0 = sound and speak (both audio feedback and voice announcement)
246 # 1 = sound only (just play a tone)
247 # 2 = speak only (just voice announcement)
248 auto_present_indent_mode=1
249 # Play a sound when text attributes (color, bold, etc.) change
250 has_attributes=True
251 # Shell to use for PTY emulation mode (empty = use system default shell)
252 # Examples: /bin/bash, /bin/zsh, /usr/bin/fish
253 shell=
254 # Diff review presentation mode:
255 # speech = spoken feedback only
256 # sound = sound cues only (falls back to speech when cue is unavailable)
257 # both = speech and sound cues
258 diff_presentation=both
259 # Diff review verbosity:
260 # compact = concise role/location feedback
261 # verbose = include diff line content during navigation
262 diff_verbosity=compact
263
264 [clipboard]
265 # Number of clipboard history entries Fenrir keeps.
266 number_of_clipboards=50
267 # used path for "export_clipboard_to_file"
268 # $user is replaced by username
269 #clipboard_export_path=/home/$user/fenrirClipboard
270 clipboard_export_path=/tmp/fenrirClipboard
271 # Keep Fenrir's clipboard history and the X clipboard synchronized.
272 # In fenrir -x, an empty sync_display uses the current DISPLAY.
273 # In console/TTY mode, set sync_display explicitly, for example :0.
274 sync_enabled=False
275 sync_display=
276 sync_interval=0.5
277
278 [focus]
279 # Follow and announce text cursor position changes
280 cursor=True
281 # Follow and announce highlighted/selected text changes (useful in menus)
282 highlight=False
283 # Suppress generic incoming announcements for full-screen TUIs that redraw often
284 tui=False
285
286 [remote]
287 enable=True
288 # driver
289 # unixDriver = unix sockets
290 # tcpDriver = tcp (localhost only)
291 driver=unixDriver
292 # tcp port
293 port=22447
294 # socket filepath
295 socket_file=
296 # allow settings to overwrite
297 enable_settings_remote=True
298 # allow commands to be executed
299 enable_command_remote=True
300
301 [barrier]
302 # Enable barrier detection - automatically detects table/box borders for improved navigation
303 enabled=False
304 # Characters that represent left-side barriers/borders (for table/box detection)
305 left_barriers=│└┌─
306 # Characters that represent right-side barriers/borders (for table/box detection)
307 right_barriers=│┘┐─
308
309 [review]
310 # Announce line breaks during review mode
311 line_break=True
312 # Announce when reaching the end of screen during review
313 end_of_screen=True
314 # Exit review mode when cursor position changes (e.g., when typing)
315 leave_review_on_cursor_change=True
316 # Exit review mode when switching to a different TTY/screen
317 leave_review_on_screen_change=True
318
319 [menu]
320 # Custom path for VMenu (virtual menu) profiles
321 # Leave empty to use default location (/etc/fenrirscreenreader/vmenu-profiles/)
322 vmenu_path=
323 # Quick menu: Semicolon-separated list of settings for rapid adjustment via VMenu
324 # Access with Fenrir+F10, navigate to "Quick Settings"
325 # Format: section#setting;section#setting;...
326 # Supported settings:
327 # - speech#rate, speech#pitch, speech#volume (0.0-1.0)
328 # - speech#module, speech#voice (speechdDriver only, auto-added)
329 # Note: speech#module and speech#voice are automatically added when
330 # speechdDriver is active. Do not add them manually.
331 quick_menu=speech#rate;speech#pitch;speech#volume
332
333 [prompt]
334 # Custom prompt patterns for silence until prompt feature
335 # You can add your own shell prompt patterns as regular expressions
336 # Each pattern should be on a separate line, format: customPatterns=pattern1,pattern2,pattern3
337 #
338 # Built-in patterns include:
339 # - Shell prompts: $, #, >, user@host$, [user@host]$, bash-5.1$
340 # - Package manager prompts: [Y/n], [y/N], [Yes/No], (Y/n), (y/N)
341 # - sudo prompts: [sudo] password for user:, Password:, user's password:
342 # - Confirmation prompts: Press any key, Are you sure?, Please confirm
343 #
344 # Custom pattern examples:
345 # For PS1='[\u@\h \W] \$ ' use: \[.*@.*\s.*\]\s*[$#>]\s*
346 # For "[user@hostname ~] $" use: \[.*@.*\s.*\]\s*[$#>]\s*
347 # For custom prompts ending with specific strings, use patterns like: .*your_prompt_ending$
348 # For custom package manager prompts: .*your_package_manager.*\[[YyNn]/[YyNn]\].*
349 custom_patterns=
350
351 # Specific prompt strings to match exactly (useful for very specific custom prompts)
352 # Format: exact_matches=prompt1,prompt2,prompt3
353 # Examples:
354 # exact_matches=[storm@fenrir ~] $,[root@fenrir ~] #,Continue installation? [Y/n]
355 exact_matches=
356
357 [time]
358 # Enable automatic time announcements
359 enabled=False
360 # Announce the current time
361 present_time=True
362 # Announce the date (only when it changes, e.g., at midnight)
363 present_date=True
364 # Announce time every N seconds (0 = disabled)
365 # If delay_sec > 0, on_minutes is ignored
366 delay_sec=0
367 # Announce time at specific minutes of each hour (comma-separated)
368 # Examples:
369 # 00 = Only on the hour (1:00, 2:00, 3:00, etc.)
370 # 00,30 = On the hour and half-hour (1:00, 1:30, 2:00, 2:30, etc.)
371 # 00,15,30,45 = Every 15 minutes
372 # Note: This is ignored if delay_sec > 0
373 on_minutes=00,30
374 # Play a sound icon before time announcement (non-interrupting)
375 announce=True
376 # Interrupt current speech to announce time immediately
377 interrupt=False