Improve socket handling for -x spawned fenrir instances.
This commit is contained in:
+22
-20
@@ -13,13 +13,14 @@ fenrir \- A modern, modular console screen reader for Linux
|
||||
.IR SECTION#SETTING=VALUE;.. ]
|
||||
.RB [ \-d ]
|
||||
.RB [ \-p ]
|
||||
.RB [ \-e ]
|
||||
.RB [ \-E ]
|
||||
.RB [ \-x ]
|
||||
.RB [ \-\-x11-window-id
|
||||
.IR WINDOWID ]
|
||||
.RB [ \-F ]
|
||||
|
||||
.SH DESCRIPTION
|
||||
Fenrir is a modern, modular, flexible and fast console screen reader written in Python 3.
|
||||
It provides spoken feedback for Linux console applications and supports multiple interface types including TTY, terminal emulators, and desktop environments.
|
||||
It provides spoken feedback for Linux console applications and supports Linux TTYs plus X11 terminal mode.
|
||||
|
||||
Fenrir features a modular driver architecture supporting multiple speech synthesizers, sound systems, input methods, and screen reading techniques. It includes advanced features like review mode, multiple clipboards, spell checking, bookmarks, and configurable key bindings.
|
||||
|
||||
@@ -53,14 +54,6 @@ Enable debug mode. Debug information will be logged to /var/log/fenrir.log.
|
||||
.BR \-p ", " \-\-print
|
||||
Print debug messages to screen in addition to logging them.
|
||||
|
||||
.TP
|
||||
.BR \-e ", " \-\-emulated-pty
|
||||
Use PTY emulation with escape sequences for input. This enables usage in desktop/X11/Wayland environments and terminal emulators.
|
||||
|
||||
.TP
|
||||
.BR \-E ", " \-\-emulated-evdev
|
||||
Use PTY emulation with evdev for input (single instance mode).
|
||||
|
||||
.TP
|
||||
.BR \-F ", " \-\-force-all-screens
|
||||
Force Fenrir to respond on all screens, ignoring the ignoreScreen setting. This temporarily overrides screen filtering for the current session.
|
||||
@@ -234,14 +227,12 @@ gstreamerDriver - GStreamer-based
|
||||
.IP \[bu] 4
|
||||
debugDriver - Debug/testing
|
||||
|
||||
.TP
|
||||
.TP
|
||||
.B Input Drivers:
|
||||
.IP \[bu] 4
|
||||
evdevDriver - Linux evdev (recommended for Linux)
|
||||
.IP \[bu] 4
|
||||
ptyDriver - Terminal emulation (cross-platform)
|
||||
.IP \[bu] 4
|
||||
atspiDriver - AT-SPI for desktop environments
|
||||
x11Driver - X11 terminal-scoped input for fenrir -x
|
||||
|
||||
.TP
|
||||
.B Screen Drivers:
|
||||
@@ -267,10 +258,6 @@ Start Fenrir as a daemon with default settings.
|
||||
.B fenrir -f -d
|
||||
Run Fenrir in foreground with debug output.
|
||||
|
||||
.TP
|
||||
.B fenrir -e
|
||||
Run Fenrir with PTY emulation for desktop/terminal use.
|
||||
|
||||
.TP
|
||||
.B fenrir -o "speech#rate=0.8;sound#volume=0.5"
|
||||
Override speech rate and sound volume settings.
|
||||
@@ -300,6 +287,19 @@ enableCommandRemote=True
|
||||
|
||||
.SS Using socat with Unix Sockets
|
||||
|
||||
.TP
|
||||
.B Instance Discovery:
|
||||
.EX
|
||||
# List registered Fenrir instances and their socket paths
|
||||
echo "ls" | socat - UNIX-CLIENT:/tmp/fenrirscreenreader-deamon.sock
|
||||
.EE
|
||||
|
||||
In X terminal mode (fenrir -x), multiple Fenrir instances can run at the
|
||||
same time. Each instance has a private socket at
|
||||
/tmp/fenrirscreenreader-<pid>.sock, and one instance may also own the
|
||||
standard control socket. Use ls or "command ls" on the standard socket to
|
||||
find the private socket for a specific instance.
|
||||
|
||||
.TP
|
||||
.B Basic Speech Control:
|
||||
.EX
|
||||
@@ -355,6 +355,8 @@ command say <text> - Speak the specified text
|
||||
command interrupt - Stop current speech
|
||||
.IP \[bu] 2
|
||||
command tempdisablespeech - Disable speech until next key press
|
||||
.IP \[bu] 2
|
||||
ls / list / command ls / command list - List registered Fenrir instances
|
||||
|
||||
.TP
|
||||
.B Settings Commands:
|
||||
@@ -516,4 +518,4 @@ This software is licensed under the LGPL v3.
|
||||
Full documentation: https://git.stormux.org/storm/fenrir/wiki
|
||||
|
||||
.PP
|
||||
Support: stormux+subscribe@groups.io
|
||||
Support: stormux+subscribe@groups.io
|
||||
|
||||
Reference in New Issue
Block a user