5 Commits

Author SHA1 Message Date
Storm Dragon
8ef3d2856b Preparing for 2024.12.10 stable release. 2024-12-10 13:17:33 -05:00
Storm Dragon
8f28ee360a Fixed version conflict. 2024-12-10 12:34:13 -05:00
Storm Dragon
8782d53d03 Updated README. 2024-12-10 12:32:09 -05:00
Storm Dragon
7d276c95ea Merge branch 'testing' minor update to fix up the service file examples. 2024-12-09 19:39:52 -05:00
Storm Dragon
d70073274b Updated auto start example service files for systemd and runit. 2024-12-09 19:38:39 -05:00
5 changed files with 32 additions and 40 deletions

View File

@@ -5,7 +5,7 @@ It should run on any operating system. If you want to help, or write drivers to
This software is licensed under the LGPL v3.
# OS Requirements
## OS Requirements
- Linux (ptyDriver, vcsaDriver, evdevDriver)
- macOS (ptyDriver)
@@ -13,15 +13,15 @@ This software is licensed under the LGPL v3.
- Windows (ptyDriver)
# Core Requirements
## Core Requirements
- python3 >= 3.3
- screen, input, speech, sound drivers dependencies see "Features, Drivers, Extras".
# Features, Drivers, Extras, Dependencies
## Features, Drivers, Extras, Dependencies
# Input Drivers:
### Input Drivers:
1. "evdevDriver" input driver for linux evdev
- python-evdev >=0.6.3 (This is commonly referred to as python3-evdev by your distribution)
- python-pyudev
@@ -33,7 +33,7 @@ This software is licensed under the LGPL v3.
- python-pyte
# Screen Drivers:
### Screen Drivers:
1. "vcsaDriver" screen driver for linux VCSA devices
- python-dbus
@@ -46,20 +46,18 @@ This software is licensed under the LGPL v3.
- python-pyte
# Speech Drivers:
### Speech Drivers:
1. "genericDriver" (default) speech driver for sound as subprocess:
- espeak or espeak-ng
2. "espeakDriver" speech driver for Espeak or Espeak-NG:
- python-espeak
3. "speechdDriver" speech driver for Speech-dispatcher:
2. "speechdDriver" speech driver for Speech-dispatcher:
- Speech-dispatcher
- python-speechd
4. "emacspeakDriver" speech driver for emacspeak
3. "emacspeakDriver" speech driver for emacspeak
- emacspeak
# Sound Drivers:
### Sound Drivers:
1. "genericDriver" (default) sound driver for sound as subprocess:
- Sox
@@ -68,7 +66,7 @@ This software is licensed under the LGPL v3.
- GLib
# Extras:
## Extras:
1. spellchecker
- python-pyenchant
@@ -79,28 +77,23 @@ This software is licensed under the LGPL v3.
- pyalsaaudio (needs libasound2's headers).
# installation
## installation
If there is a package for your distrobution of choice, please let us know so we can add it here.
- Archlinux: PKGBUILD in AUR (fenrir-git recommended)
- PIP: sudo pip install fenrir-screenreader
- Archlinux: PKGBUILD in AUR
- fenrir: stable release
- fenrir-git: Bleeding edge release
- Manual:
- install "espeak" and "sox" with your package manager
- sudo pip install -r requirements.txt
- run install.sh or uninstall.sh as root
- you also can just run it from Git without installing:
You can just run the following as root:
if you are in Fenrir Git rootfolder:
- install "espeak" and "sox" with your package manager
- sudo pip install -r requirements.txt
- run install.sh or uninstall.sh as root
- You can also just run it from Git without installing:
Requires root privileges
cd src/fenrir/
sudo ./fenrir
Same thing, but use the daemon so the terminal is not blocked:
cd src/fenrir/
sudo ./fenrir-daemon
Settings "settings.conf" is located in the "config" directory or after installation in /etc/fenrir/settings.
Take care to use drivers from the config matching your installed drivers.
By default it uses:
@@ -109,7 +102,7 @@ By default it uses:
- input driver: evdevDriver
# Configure pulseaudio
## Configure pulseaudio
Pulseaudio by default only plays sound for the user its currently running for. As fenrir is running as root, your local user does not hear the sound and speech produced by fenrir.
for this fenrir provides a script to configure pulseaudio to stream the sound played as root to your local user. This is not a issue of fenrir but this is how pulseaudio works.
@@ -122,7 +115,7 @@ just run the configuration script twice (once as user, once as root):
The script is also located in the tools directory in git
# Configure pipewire
## Configure pipewire
Pipewire by default only plays sound for the user its currently running for. As fenrir is running as root, your local user does not hear the sound and speech produced by fenrir.
for this fenrir provides a script to configure pipewire to stream the sound played as root to your local user. This is not a issue of fenrir but this is how pipewire works.
@@ -134,10 +127,12 @@ just run the configuration script twice (once as user, once as root):
The script is also located in the tools directory in git
# localization
## localization
copy fenrir.mo translations file from fenrir/locale/your_language/LC_MESSAGES/fenrir.mo to /usr/share/locale/your_language/LC_MESSAGES/fenrir.mo
# Documentation
## Documentation and Support
Here is the [Fenrir Wiki](https://github.com/chrys87/fenrir/wiki). It is currently being updated, so keep checking back. Feel free to help with documentation.
- Email list: [stormux+subscribe@groups.io](mailto:stormux+subscribe@groups.io?subject=subscribe) with the subject subscribe.
- [Fenrir Wiki](https://git.stormux.org/storm/fenrir/wiki)
- IRC: irc.stormux.org #stormux

View File

@@ -1,3 +1,3 @@
#!/bin/sh
[ -r ./conf ] && . ./conf
exec fenrir
exec fenrir -f

View File

@@ -1,18 +1,15 @@
[Unit]
Description=Fenrir screenreader
Wants=systemd-udev-settle.service
After=systemd-udev-settle.service sound.target
After=systemd-udev-settle.service getty.target
[Service]
Type=forking
PIDFile=/var/run/fenrir.pid
ExecStart=/usr/bin/fenrir-daemon
ExecStart=/usr/bin/fenrir
ExecReload=/usr/bin/kill -HUP $MAINPID
Restart=always
#Group=fenrirscreenreader
#User=fenrirscreenreader
[Install]
# start as early as possible in boot process
#WantedBy=sound.target
# start as soon the login prompt is available
WantedBy=getty.target

View File

@@ -5,7 +5,7 @@ After=systemd-udev-settle.service sound.target
[Service]
Type=forking
PIDFile=/var/run/fenrir.pid
ExecStart=/usr/local/bin/fenrir-daemon
ExecStart=/usr/local/bin/fenrir
ExecReload=/usr/bin/kill -HUP $MAINPID
Restart=always
#Group=fenrirscreenreader

View File

@@ -4,5 +4,5 @@
# Fenrir TTY screen reader
# By Chrys, Storm Dragon, and contributers.
version = "2024.12.07"
codeName = "master"
version = "2024.12.10"
codeName = "stable"