fenrir/README.md

97 lines
3.4 KiB
Markdown
Raw Normal View History

2017-01-30 10:45:01 -05:00
# Fenrir
2018-06-04 18:28:30 -04:00
A modern, modular, flexible and fast console screenreader.
2018-06-04 18:26:56 -04:00
It should run on any operating system. If you want to help, or write drivers to make it work on other systems, just let me know.
This software is licensed under the LGPL v3.
2016-07-05 05:16:34 -04:00
2018-09-15 14:03:26 -04:00
# OS Requirements
2018-06-04 18:26:56 -04:00
- Linux (ptyDriver, vcsaDriver, evdevDriver)
- macOS (ptyDriver)
- BSD (ptyDriver)
- Windows (ptyDriver)
2018-09-15 14:03:00 -04:00
# Core Requirements
2017-01-30 10:45:01 -05:00
- python3 >= 3.3
2018-09-15 14:03:00 -04:00
- screen, input, speech, sound or braille drivers dependencies see "Features, Drivers, Extras".
2016-07-07 08:37:10 -04:00
2017-08-04 06:46:52 -04:00
# Features, Drivers, Extras, Dependencies
2017-01-30 10:46:33 -05:00
# Input Drivers:
2017-02-23 05:33:08 -05:00
1. "evdevDriver" input driver for linux evdev
2018-09-15 14:03:00 -04:00
- python-evdev >=0.6.3 (This is commonly referred to as python3-evdev by your distribution)
2017-07-07 15:44:49 -04:00
- python-pyudev
2017-01-30 10:45:01 -05:00
- loaded uinput kernel module
- ReadWrite permission
- /dev/input
- /dev/uinput
2018-09-15 14:03:00 -04:00
2. "ptyDriver" terminal emulation input driver
2018-04-09 07:44:54 -04:00
- python-pyte
2017-01-30 10:47:13 -05:00
2017-01-30 10:46:33 -05:00
# Screen Drivers:
2017-02-23 05:33:08 -05:00
1. "vcsaDriver" screen driver for linux VCSA devices
- python-dbus
2017-02-23 05:43:31 -05:00
- Read permission to the following files and services:
2017-01-30 10:45:01 -05:00
- /sys/devices/virtual/tty/tty0/active
2017-07-23 15:25:00 -04:00
- /dev/tty[1-64]
2017-01-30 10:45:01 -05:00
- /dev/vcsa[1-64]
2017-08-03 17:13:43 -04:00
- read logind DBUS
2018-04-09 07:47:13 -04:00
2. "ptyDriver" terminal emulation driver
2018-04-09 07:44:54 -04:00
- python-pyte
2017-01-30 10:46:33 -05:00
# Speech Drivers:
2018-06-08 04:41:32 -04:00
1. "genericDriver" (default) speech driver for sound as subprocess:
2018-04-09 07:44:54 -04:00
- espeak or espeak-ng
2018-04-09 07:47:13 -04:00
2. "espeakDriver" speech driver for Espeak or Espeak-NG:
2016-11-16 05:59:16 -05:00
- python-espeak
2018-04-09 07:47:13 -04:00
3. "speechdDriver" speech driver for Speech-dispatcher:
- Speech-dispatcher
2016-11-16 05:59:16 -05:00
- python-speechd
2018-09-25 09:58:35 -04:00
4. "emacspeakDriver" speech driver for emacspeak
- emacspeak
2017-01-30 10:47:13 -05:00
2017-01-30 10:46:33 -05:00
# Braille Drivers:
2018-04-09 07:47:13 -04:00
1. "BrlttyDriver" braille driver (WIP):
2016-11-16 05:59:16 -05:00
- brltty (configured and running)
- python-brlapi
2017-01-30 10:47:13 -05:00
2017-01-30 10:46:33 -05:00
# Sound Drivers:
2018-04-09 07:47:13 -04:00
1. "genericDriver" (default) sound driver for sound as subprocess:
- Sox
2017-02-23 05:33:08 -05:00
2. "gstreamerDriver" sound driver for gstreamer
- gstreamer >=1.0
2016-11-16 05:59:16 -05:00
- GLib
2017-01-30 10:47:13 -05:00
# Extras:
2017-02-23 05:43:31 -05:00
1. spellchecker
2016-11-16 05:59:16 -05:00
- python-pyenchant
- aspell-YourLanguageCode (example aspell-en for us English)
2. Unix daemon (also needed for Systemd):
2016-11-16 05:59:16 -05:00
- python-daemonize
2017-02-26 19:39:19 -05:00
3. Modify system volume:
- pyalsaaudio (needs libasound2's headers).
2016-09-16 05:50:53 -04:00
2016-07-05 05:18:35 -04:00
# installation
2016-11-07 04:49:32 -05:00
- Archlinux: PKGBUILD in AUR
2018-09-15 14:03:00 -04:00
- PIP: sudo pip install fenrir-screenreader
2019-01-26 04:46:05 -05:00
- Manual:
- install "espeak" and "sox" with your package manager
- sudo pip install -r requirements.txt
- run install.sh and uninstall.sh as root
- you also can just run it from Git without installing:
2016-11-07 04:49:32 -05:00
You can just run the following as root:
2017-02-23 05:45:05 -05:00
if you are in Fenrir Git rootfolder:
cd src/fenrir/
2016-11-07 04:49:32 -05:00
sudo ./fenrir
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.
2016-11-16 05:59:16 -05:00
By default it uses:
2017-01-30 10:45:01 -05:00
- sound driver: genericDriver (via sox, could configured in settings.conf)
2018-04-09 07:47:13 -04:00
- speech driver: genericDriver (via espeak or espeak-ng, could configured in settings.conf)
2017-01-30 10:45:01 -05:00
- braille driver: brlttyDriver (WIP)
- input driver: evdevDriver
2020-04-21 08:14:58 -04:00
# Configure pulseaudio
Pulseaudio by default does only play 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. Last is playing the sound then. This is not a issue of fenrir but this is how pulseaudio works.
2017-07-25 07:36:46 -04:00
# Documentation
You can see all information on the Wiki:
2017-10-24 10:53:58 -04:00
https://wiki.linux-a11y.org/doku.php?id=fenrir_user_manual