do not overwrite settings.conf in setup.py
This commit is contained in:
parent
3ef411435c
commit
151e1ab8a4
@ -1,219 +0,0 @@
|
||||
[sound]
|
||||
# Turn sound on or off:
|
||||
enabled=True
|
||||
|
||||
# Select the driver used to play sounds, choices are genericDriver and gstreamerDriver.
|
||||
# Sox is the default.
|
||||
#driver=gstreamerDriver
|
||||
driver=genericDriver
|
||||
|
||||
# Sound themes. These are the pack of sounds used for sound alerts.
|
||||
# Sound packs may be located at /usr/share/sounds
|
||||
# For system wide availability, or ~/.local/share/fenrir/sounds
|
||||
# For the current user.
|
||||
theme=default-wav
|
||||
|
||||
# Sound volume controls how loud the sounds for your selected soundpack are.
|
||||
# 0 is quietest, 1.0 is loudest.
|
||||
volume=1.0
|
||||
|
||||
# shell commands for generic sound driver
|
||||
# the folowing variable are substituted
|
||||
# fenrirVolume = the current volume setting
|
||||
# fenrirSoundFile = the soundfile for an soundicon
|
||||
# fenrirFrequence = the frequency to play
|
||||
# fenrirDuration = the duration of the frequency
|
||||
# the following command is used to play a soundfile
|
||||
genericPlayFileCommand=play -q -v fenrirVolume fenrirSoundFile
|
||||
#the following command is used to generate a frequency beep
|
||||
genericFrequencyCommand=play -q -v fenrirVolume -n -c1 synth fenrirDuration sine fenrirFrequence
|
||||
|
||||
[speech]
|
||||
# Turn speech on or off:
|
||||
enabled=True
|
||||
|
||||
# Select speech driver, options are speechdDriver (default), genericDriver or espeakDriver:
|
||||
driver=speechdDriver
|
||||
#driver=espeakDriver
|
||||
#driver=genericDriver
|
||||
|
||||
|
||||
# The rate selects how fast Fenrir will speak. Options range from 0, slowest, to 1.0, fastest.
|
||||
rate=0.65
|
||||
|
||||
# Pitch controls the pitch of the voice, select from 0, lowest, to 1.0, highest.
|
||||
pitch=0.5
|
||||
# Pitch for capital letters
|
||||
capitalPitch=0.9
|
||||
|
||||
# Volume controls the loudness of the voice, select from 0, quietest, to 1.0, loudest.
|
||||
volume=1.0
|
||||
|
||||
# Module is used for Speech-dispatcher, to select the speech module you want to use.
|
||||
# Consult Speech-dispatcher's configuration and help Fenrir find out which modules are available.
|
||||
# The default is espeak.
|
||||
module=espeak
|
||||
|
||||
# Voice selects the varient you want to use, for example, f5 will use the female voice #5 in Espeak,
|
||||
# or if using the Espeak module in Speech-dispatcher. To find out which voices are available, consult the documentation provided with your selected synthesizer.
|
||||
# This also sets the voice used in the generic driver.
|
||||
voice=
|
||||
|
||||
# Select the language you want Fenrir to use.
|
||||
language=english-us
|
||||
|
||||
# Read new text as it happens?
|
||||
autoReadIncoming=True
|
||||
|
||||
# genericSpeechCommand is the command that is executed for talking
|
||||
# the following variables are replaced with values
|
||||
# fenrirText = is the text that should be spoken
|
||||
# fenrirModule = may be the speech module like used in speech-dispatcher, not every TTY need this
|
||||
# fenrirLanguage = the language
|
||||
# fenrirVoice = is the current voice that should be used. Set the voice variable above.
|
||||
# the current volume, pitch and rate is calculated like this
|
||||
# value = min + settingValue * (min - max )
|
||||
# fenrirVolume = is replaced with the current volume
|
||||
# fenrirPitch = is replaced with the current pitch
|
||||
# fenrirRate = is replaced with the current speed (speech rate)
|
||||
genericSpeechCommand=espeak -a fenrirVolume -s fenrirRate -p fenrirPitch -v fenrirVoice "fenrirText"
|
||||
|
||||
# those are the min and max values of the TTS system that is used in genericSpeechCommand
|
||||
fenrirMinVolume=0
|
||||
fenrirMaxVolume=200
|
||||
fenrirMinPitch=0
|
||||
fenrirMaxPitch=99
|
||||
fenrirMinRate=80
|
||||
fenrirMaxRate=450
|
||||
|
||||
[braille]
|
||||
enabled=False
|
||||
driver=dummyDriver
|
||||
layout=en
|
||||
# to what should the flush timeout relate to
|
||||
# word = flush after (number of words to display) * seconds
|
||||
# char = flush after (number of chars to display) * seconds
|
||||
# fix = flush after X seconds
|
||||
# none = no automatic flush (manual via shortcut)
|
||||
flushMode=word
|
||||
# seconds to flush or
|
||||
# -1 = no automatic flush (manual via shortcut)
|
||||
flushTimeout=3
|
||||
# how should the cursor be focused?
|
||||
# page = if cursor cross the border move to next page and start at beginn
|
||||
# fixCell = ajust the cursor on an special cell where it is always placed. the display scroll here more smooth.
|
||||
cursorFocusMode=page
|
||||
# define the cell on the Braille device where fenrir should scroll and keep the cursor
|
||||
# 0 = first cell on device
|
||||
# -1 = last cell on device
|
||||
# >0 = fix cell number
|
||||
fixCursorOnCell=-1
|
||||
#How should the braille follow the focus
|
||||
# none = no automatic toggle command used
|
||||
# review = priority to review
|
||||
# last = follow last used cursor
|
||||
cursorFollowMode=review
|
||||
# number of cells in panning (horizontal)
|
||||
# 0 = display size, >0 number of cells
|
||||
panSizeHorizontal=0
|
||||
|
||||
[screen]
|
||||
driver=vcsaDriver
|
||||
encoding=auto
|
||||
screenUpdateDelay=0.05
|
||||
suspendingScreen=
|
||||
autodetectSuspendingScreen=True
|
||||
|
||||
[keyboard]
|
||||
driver=evdevDriver
|
||||
# filter input devices NOMICE, ALL or a DEVICE NAME
|
||||
device=ALL
|
||||
# gives Fenrir exclusive access to the keyboard and lets it control keystrokes.
|
||||
grabDevices=True
|
||||
ignoreShortcuts=False
|
||||
# the current shortcut layout located in /etc/fenrir/keyboard
|
||||
keyboardLayout=desktop
|
||||
# echo chars while typing.
|
||||
charEcho=False
|
||||
# echo deleted chars
|
||||
charDeleteEcho=True
|
||||
# echo word after pressing space
|
||||
wordEcho=False
|
||||
# interrupt speech on any keypress
|
||||
interruptOnKeyPress=False
|
||||
# you can filter the keys on that the speech should interrupt (empty = all keys, otherwhise the given keys)
|
||||
interruptOnKeyPressFilter=
|
||||
# timeout for double tap in sec
|
||||
doubleTapTimeout=0.2
|
||||
|
||||
[general]
|
||||
debugLevel=0
|
||||
# debugMode sets where the debug output should send to:
|
||||
# debugMode=File writes to /var/log/fenrir.log
|
||||
# debugMode=Print just prints on the screen
|
||||
debugMode=File
|
||||
punctuationProfile=default
|
||||
punctuationLevel=some
|
||||
respectPunctuationPause=True
|
||||
newLinePause=True
|
||||
numberOfClipboards=10
|
||||
# used path for "export_clipboard_to_file"
|
||||
# $user is replaced by username
|
||||
#clipboardExportPath=/home/$user/fenrirClipboard
|
||||
clipboardExportPath=/tmp/fenrirClipboard
|
||||
emoticons=True
|
||||
# define the current Fenrir key
|
||||
fenrirKeys=KEY_KP0,KEY_META,KEY_INSERT
|
||||
scriptKey=KEY_COMPOSE
|
||||
timeFormat=%H:%M:%P
|
||||
dateFormat=%A, %B %d, %Y
|
||||
autoSpellCheck=True
|
||||
spellCheckLanguage=en_US
|
||||
# path for your scripts "scriptKey" functionality
|
||||
scriptPath=/usr/share/fenrir/scripts
|
||||
# overload commands, and create new one without changing Fenrir default
|
||||
commandPath=
|
||||
#fenrirBGColor = the backgroundcolor
|
||||
#fenrirFGColor = the foregroundcolor
|
||||
#fenrirUnderline = speak the underline attribute
|
||||
#fenrirBold = speak the bold attribute
|
||||
#fenrirBlink = speak the blink attribute
|
||||
#fenrirFont = the font
|
||||
#fenrirFontSize = the fontsize
|
||||
attributeFormatString=Background fenrirBGColor,Foreground fenrirFGColor,fenrirUnderline,fenrirBold,fenrirBlink, Font fenrirFont,Fontsize fenrirFontSize
|
||||
|
||||
[focus]
|
||||
#follow the text cursor
|
||||
cursor=True
|
||||
#follow highlighted text changes
|
||||
highlight=False
|
||||
|
||||
[review]
|
||||
lineBreak=True
|
||||
endOfScreen=True
|
||||
# leave the review when pressing a key
|
||||
leaveReviewOnCursorChange=True
|
||||
# leave the review when changing the screen
|
||||
leaveReviewOnScreenChange=True
|
||||
|
||||
[promote]
|
||||
enabled=True
|
||||
inactiveTimeoutSec=120
|
||||
list=
|
||||
|
||||
[time]
|
||||
# automatic time anouncement
|
||||
enabled=False
|
||||
# present time
|
||||
presentTime=True
|
||||
# present date (on change)
|
||||
presentDate=True
|
||||
# present time after a given period of seconds
|
||||
delaySec=0
|
||||
# present time after to given minutes example every 15 minutes: 00,15,30,45
|
||||
# if delaySec is >0 onMinutes is ignored
|
||||
onMinutes=00,30
|
||||
# announce via soundicon (not interrupting)
|
||||
announce=True
|
||||
# interrupt current speech for time announcement
|
||||
interrupt=False
|
1
config/settings/settings.conf
Symbolic link
1
config/settings/settings.conf
Symbolic link
@ -0,0 +1 @@
|
||||
/home/chrys/Projekte/fenrir/config/settings/settings.conf.example
|
219
config/settings/settings.conf.example
Normal file
219
config/settings/settings.conf.example
Normal file
@ -0,0 +1,219 @@
|
||||
[sound]
|
||||
# Turn sound on or off:
|
||||
enabled=True
|
||||
|
||||
# Select the driver used to play sounds, choices are genericDriver and gstreamerDriver.
|
||||
# Sox is the default.
|
||||
#driver=gstreamerDriver
|
||||
driver=genericDriver
|
||||
|
||||
# Sound themes. These are the pack of sounds used for sound alerts.
|
||||
# Sound packs may be located at /usr/share/sounds
|
||||
# For system wide availability, or ~/.local/share/fenrir/sounds
|
||||
# For the current user.
|
||||
theme=default-wav
|
||||
|
||||
# Sound volume controls how loud the sounds for your selected soundpack are.
|
||||
# 0 is quietest, 1.0 is loudest.
|
||||
volume=1.0
|
||||
|
||||
# shell commands for generic sound driver
|
||||
# the folowing variable are substituted
|
||||
# fenrirVolume = the current volume setting
|
||||
# fenrirSoundFile = the soundfile for an soundicon
|
||||
# fenrirFrequence = the frequency to play
|
||||
# fenrirDuration = the duration of the frequency
|
||||
# the following command is used to play a soundfile
|
||||
genericPlayFileCommand=play -q -v fenrirVolume fenrirSoundFile
|
||||
#the following command is used to generate a frequency beep
|
||||
genericFrequencyCommand=play -q -v fenrirVolume -n -c1 synth fenrirDuration sine fenrirFrequence
|
||||
|
||||
[speech]
|
||||
# Turn speech on or off:
|
||||
enabled=True
|
||||
|
||||
# Select speech driver, options are speechdDriver (default), genericDriver or espeakDriver:
|
||||
driver=speechdDriver
|
||||
#driver=espeakDriver
|
||||
#driver=genericDriver
|
||||
|
||||
|
||||
# The rate selects how fast Fenrir will speak. Options range from 0, slowest, to 1.0, fastest.
|
||||
rate=0.65
|
||||
|
||||
# Pitch controls the pitch of the voice, select from 0, lowest, to 1.0, highest.
|
||||
pitch=0.5
|
||||
# Pitch for capital letters
|
||||
capitalPitch=0.9
|
||||
|
||||
# Volume controls the loudness of the voice, select from 0, quietest, to 1.0, loudest.
|
||||
volume=1.0
|
||||
|
||||
# Module is used for Speech-dispatcher, to select the speech module you want to use.
|
||||
# Consult Speech-dispatcher's configuration and help Fenrir find out which modules are available.
|
||||
# The default is espeak.
|
||||
module=espeak
|
||||
|
||||
# Voice selects the varient you want to use, for example, f5 will use the female voice #5 in Espeak,
|
||||
# or if using the Espeak module in Speech-dispatcher. To find out which voices are available, consult the documentation provided with your selected synthesizer.
|
||||
# This also sets the voice used in the generic driver.
|
||||
voice=
|
||||
|
||||
# Select the language you want Fenrir to use.
|
||||
language=english-us
|
||||
|
||||
# Read new text as it happens?
|
||||
autoReadIncoming=True
|
||||
|
||||
# genericSpeechCommand is the command that is executed for talking
|
||||
# the following variables are replaced with values
|
||||
# fenrirText = is the text that should be spoken
|
||||
# fenrirModule = may be the speech module like used in speech-dispatcher, not every TTY need this
|
||||
# fenrirLanguage = the language
|
||||
# fenrirVoice = is the current voice that should be used. Set the voice variable above.
|
||||
# the current volume, pitch and rate is calculated like this
|
||||
# value = min + settingValue * (min - max )
|
||||
# fenrirVolume = is replaced with the current volume
|
||||
# fenrirPitch = is replaced with the current pitch
|
||||
# fenrirRate = is replaced with the current speed (speech rate)
|
||||
genericSpeechCommand=espeak -a fenrirVolume -s fenrirRate -p fenrirPitch -v fenrirVoice "fenrirText"
|
||||
|
||||
# those are the min and max values of the TTS system that is used in genericSpeechCommand
|
||||
fenrirMinVolume=0
|
||||
fenrirMaxVolume=200
|
||||
fenrirMinPitch=0
|
||||
fenrirMaxPitch=99
|
||||
fenrirMinRate=80
|
||||
fenrirMaxRate=450
|
||||
|
||||
[braille]
|
||||
enabled=False
|
||||
driver=dummyDriver
|
||||
layout=en
|
||||
# to what should the flush timeout relate to
|
||||
# word = flush after (number of words to display) * seconds
|
||||
# char = flush after (number of chars to display) * seconds
|
||||
# fix = flush after X seconds
|
||||
# none = no automatic flush (manual via shortcut)
|
||||
flushMode=word
|
||||
# seconds to flush or
|
||||
# -1 = no automatic flush (manual via shortcut)
|
||||
flushTimeout=3
|
||||
# how should the cursor be focused?
|
||||
# page = if cursor cross the border move to next page and start at beginn
|
||||
# fixCell = ajust the cursor on an special cell where it is always placed. the display scroll here more smooth.
|
||||
cursorFocusMode=page
|
||||
# define the cell on the Braille device where fenrir should scroll and keep the cursor
|
||||
# 0 = first cell on device
|
||||
# -1 = last cell on device
|
||||
# >0 = fix cell number
|
||||
fixCursorOnCell=-1
|
||||
#How should the braille follow the focus
|
||||
# none = no automatic toggle command used
|
||||
# review = priority to review
|
||||
# last = follow last used cursor
|
||||
cursorFollowMode=review
|
||||
# number of cells in panning (horizontal)
|
||||
# 0 = display size, >0 number of cells
|
||||
panSizeHorizontal=0
|
||||
|
||||
[screen]
|
||||
driver=vcsaDriver
|
||||
encoding=auto
|
||||
screenUpdateDelay=0.05
|
||||
suspendingScreen=
|
||||
autodetectSuspendingScreen=True
|
||||
|
||||
[keyboard]
|
||||
driver=evdevDriver
|
||||
# filter input devices NOMICE, ALL or a DEVICE NAME
|
||||
device=ALL
|
||||
# gives Fenrir exclusive access to the keyboard and lets it control keystrokes.
|
||||
grabDevices=True
|
||||
ignoreShortcuts=False
|
||||
# the current shortcut layout located in /etc/fenrir/keyboard
|
||||
keyboardLayout=desktop
|
||||
# echo chars while typing.
|
||||
charEcho=False
|
||||
# echo deleted chars
|
||||
charDeleteEcho=True
|
||||
# echo word after pressing space
|
||||
wordEcho=False
|
||||
# interrupt speech on any keypress
|
||||
interruptOnKeyPress=False
|
||||
# you can filter the keys on that the speech should interrupt (empty = all keys, otherwhise the given keys)
|
||||
interruptOnKeyPressFilter=
|
||||
# timeout for double tap in sec
|
||||
doubleTapTimeout=0.2
|
||||
|
||||
[general]
|
||||
debugLevel=0
|
||||
# debugMode sets where the debug output should send to:
|
||||
# debugMode=File writes to /var/log/fenrir.log
|
||||
# debugMode=Print just prints on the screen
|
||||
debugMode=File
|
||||
punctuationProfile=default
|
||||
punctuationLevel=some
|
||||
respectPunctuationPause=True
|
||||
newLinePause=True
|
||||
numberOfClipboards=10
|
||||
# used path for "export_clipboard_to_file"
|
||||
# $user is replaced by username
|
||||
#clipboardExportPath=/home/$user/fenrirClipboard
|
||||
clipboardExportPath=/tmp/fenrirClipboard
|
||||
emoticons=True
|
||||
# define the current Fenrir key
|
||||
fenrirKeys=KEY_KP0,KEY_META,KEY_INSERT
|
||||
scriptKey=KEY_COMPOSE
|
||||
timeFormat=%H:%M:%P
|
||||
dateFormat=%A, %B %d, %Y
|
||||
autoSpellCheck=True
|
||||
spellCheckLanguage=en_US
|
||||
# path for your scripts "scriptKey" functionality
|
||||
scriptPath=/usr/share/fenrir/scripts
|
||||
# overload commands, and create new one without changing Fenrir default
|
||||
commandPath=
|
||||
#fenrirBGColor = the backgroundcolor
|
||||
#fenrirFGColor = the foregroundcolor
|
||||
#fenrirUnderline = speak the underline attribute
|
||||
#fenrirBold = speak the bold attribute
|
||||
#fenrirBlink = speak the blink attribute
|
||||
#fenrirFont = the font
|
||||
#fenrirFontSize = the fontsize
|
||||
attributeFormatString=Background fenrirBGColor,Foreground fenrirFGColor,fenrirUnderline,fenrirBold,fenrirBlink, Font fenrirFont,Fontsize fenrirFontSize
|
||||
|
||||
[focus]
|
||||
#follow the text cursor
|
||||
cursor=True
|
||||
#follow highlighted text changes
|
||||
highlight=False
|
||||
|
||||
[review]
|
||||
lineBreak=True
|
||||
endOfScreen=True
|
||||
# leave the review when pressing a key
|
||||
leaveReviewOnCursorChange=True
|
||||
# leave the review when changing the screen
|
||||
leaveReviewOnScreenChange=True
|
||||
|
||||
[promote]
|
||||
enabled=True
|
||||
inactiveTimeoutSec=120
|
||||
list=
|
||||
|
||||
[time]
|
||||
# automatic time anouncement
|
||||
enabled=False
|
||||
# present time
|
||||
presentTime=True
|
||||
# present date (on change)
|
||||
presentDate=True
|
||||
# present time after a given period of seconds
|
||||
delaySec=0
|
||||
# present time after to given minutes example every 15 minutes: 00,15,30,45
|
||||
# if delaySec is >0 onMinutes is ignored
|
||||
onMinutes=00,30
|
||||
# announce via soundicon (not interrupting)
|
||||
announce=True
|
||||
# interrupt current speech for time announcement
|
||||
interrupt=False
|
20
setup.py
20
setup.py
@ -1,10 +1,13 @@
|
||||
#!/bin/python
|
||||
#https://python-packaging.readthedocs.io/en/latest/minimal.html
|
||||
import os, glob
|
||||
import os.path
|
||||
from shutil import copyfile
|
||||
from setuptools import find_packages
|
||||
from setuptools import setup
|
||||
|
||||
fenrirVersion = '1.5'
|
||||
packageVersion = 'post5'
|
||||
packageVersion = 'post6'
|
||||
|
||||
data_files = []
|
||||
directories = glob.glob('config/*')
|
||||
@ -17,6 +20,10 @@ for directory in directories:
|
||||
destDir = '/etc/fenrir/keyboard'
|
||||
elif 'config/settings' in directory:
|
||||
destDir = '/etc/fenrir/settings'
|
||||
try:
|
||||
del(files[files.index('config/settings/settings.conf')])
|
||||
except:
|
||||
pass
|
||||
elif 'config/scripts' in directory:
|
||||
destDir = '/usr/share/fenrir/scripts'
|
||||
if destDir != '':
|
||||
@ -85,6 +92,17 @@ setup(
|
||||
],
|
||||
|
||||
)
|
||||
|
||||
print('')
|
||||
# create settings file from example if not exist
|
||||
if not os.path.isfile('/etc/fenrir/settings/settings.conf'):
|
||||
try:
|
||||
copyfile('/etc/fenrir/settings/settings.conf.example', '/etc/fenrir/settings/settings.conf')
|
||||
print('create settings file in /etc/fenrir/settings/settings.conf')
|
||||
except:
|
||||
pass
|
||||
else:
|
||||
print('settings.conf file found. It is not overwritten automatical')
|
||||
print('')
|
||||
print('To have Fenrir start at boot:')
|
||||
print('sudo systemctl enable fenrir')
|
||||
|
99
src/fenrir/fenrir_screenreader.egg-info/PKG-INFO
Normal file
99
src/fenrir/fenrir_screenreader.egg-info/PKG-INFO
Normal file
@ -0,0 +1,99 @@
|
||||
Metadata-Version: 1.1
|
||||
Name: fenrir-screenreader
|
||||
Version: 1.5.post5
|
||||
Summary: A TTY Screen Reader for Linux.
|
||||
Home-page: https://github.com/chrys87/fenrir/
|
||||
Author: Chrys, Storm_dragon, Jeremiah and others
|
||||
Author-email: chrysg@linux-a11y.org
|
||||
License: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
||||
Download-URL: https://github.com/chrys87/fenrir/archive/1.5.tar.gz
|
||||
Description-Content-Type: UNKNOWN
|
||||
Description: # Fenrir
|
||||
A TTY screenreader for Linux.
|
||||
In theory it's not just limited to Linux. but i currently only provide drivers for that since I do not have another system here. 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 .
|
||||
|
||||
# Requirements (core)
|
||||
- Linux (currently only screen and input drivers available)
|
||||
- python3 >= 3.3
|
||||
- python-configargparse
|
||||
- screen, input, speech, sound or braille drivers see "Features, Drivers, Extras".
|
||||
|
||||
# Features, Drivers, Extras, Dependencies
|
||||
# Input Drivers:
|
||||
1. "evdevDriver" input driver for linux evdev
|
||||
- python-evdev >=0.6.3
|
||||
- python-pyudev
|
||||
- This is commonly referred to as python3-evdev by your distribution
|
||||
- loaded uinput kernel module
|
||||
- ReadWrite permission
|
||||
- /dev/input
|
||||
- /dev/uinput
|
||||
|
||||
# Screen Drivers:
|
||||
1. "vcsaDriver" screen driver for linux VCSA devices
|
||||
- python-dbus
|
||||
- Read permission to the following files and services:
|
||||
- /sys/devices/virtual/tty/tty0/active
|
||||
- /dev/tty[1-64]
|
||||
- /dev/vcsa[1-64]
|
||||
- read logind DBUS
|
||||
|
||||
# Speech Drivers:
|
||||
1. "EspeakDriver" speech driver for Espeak:
|
||||
- python-espeak
|
||||
- "speechdDriver" speech driver for Speech-dispatcher:
|
||||
- Speech-dispatcher
|
||||
- python-speechd
|
||||
2. "dummyDriver" speech driver for debugging
|
||||
|
||||
# Braille Drivers:
|
||||
1. "BrlttyDriver" braille driver (WIP):
|
||||
- brltty (configured and running)
|
||||
- python-brlapi
|
||||
2. "dummyDriver" Braille driver for debugging
|
||||
|
||||
# Sound Drivers:
|
||||
1. "genericDriver" sound driver for sound as subprocess:
|
||||
- Sox
|
||||
2. "gstreamerDriver" sound driver for gstreamer
|
||||
- gstreamer >=1.0
|
||||
- GLib
|
||||
3. "dummyDriver" sound driver for debugging
|
||||
|
||||
# Extras:
|
||||
1. spellchecker
|
||||
- python-pyenchant
|
||||
- aspell-YourLanguageCode (example aspell-en for us English)
|
||||
2. Unix daemon (also needed for Systemd):
|
||||
- python-daemonize
|
||||
3. Modify system volume:
|
||||
- pyalsaaudio (needs libasound2's headers).
|
||||
|
||||
# installation
|
||||
- Archlinux: PKGBUILD in AUR
|
||||
- Manual: run install.sh and 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:
|
||||
cd src/fenrir/
|
||||
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.
|
||||
By default it uses:
|
||||
- sound driver: genericDriver (via sox, could configured in settings.conf)
|
||||
- speech driver: speechdDriver
|
||||
- braille driver: brlttyDriver (WIP)
|
||||
- input driver: evdevDriver
|
||||
|
||||
# Documentation
|
||||
You can see all information on the Wiki:
|
||||
https://wiki.linux-a11y.org/doku.php?id=fenrir_user_manual&s[]=fenrir
|
||||
|
||||
Keywords: screenreader,a11y,accessibility,terminal,TTY,console
|
||||
Platform: UNKNOWN
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
|
||||
Classifier: Development Status :: 5 - Production/Stable
|
||||
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
|
||||
Classifier: Environment :: Console
|
302
src/fenrir/fenrir_screenreader.egg-info/SOURCES.txt
Normal file
302
src/fenrir/fenrir_screenreader.egg-info/SOURCES.txt
Normal file
@ -0,0 +1,302 @@
|
||||
README.md
|
||||
setup.py
|
||||
autostart/systemd/fenrir.service
|
||||
config/keyboard/Readme.md
|
||||
config/keyboard/desktop.conf
|
||||
config/keyboard/laptop.conf
|
||||
config/punctuation/de.conf
|
||||
config/punctuation/default.conf
|
||||
config/punctuation/en.conf
|
||||
config/punctuation/es.conf
|
||||
config/punctuation/fr.conf
|
||||
config/punctuation/pl.conf
|
||||
config/scripts/wlan__-__key_y.sh
|
||||
config/settings/espeak.settings.conf
|
||||
config/settings/settings.conf
|
||||
config/settings/settings.conf.example
|
||||
config/settings/settings.conf.storm
|
||||
config/sound//template/soundicons.conf
|
||||
config/sound/default/Accept.opus
|
||||
config/sound/default/Announce.opus
|
||||
config/sound/default/BrailleOff.opus
|
||||
config/sound/default/BrailleOn.opus
|
||||
config/sound/default/Cancel.opus
|
||||
config/sound/default/Caps.opus
|
||||
config/sound/default/ChangeTTY.opus
|
||||
config/sound/default/ContentChanged.opus
|
||||
config/sound/default/CopyToClipboard.opus
|
||||
config/sound/default/EmptyLine.opus
|
||||
config/sound/default/EndOfLine.opus
|
||||
config/sound/default/EndOfScreen.opus
|
||||
config/sound/default/ErrorBraille.opus
|
||||
config/sound/default/ErrorScreen.opus
|
||||
config/sound/default/ErrorSpeech.opus
|
||||
config/sound/default/HasAtributes.opus
|
||||
config/sound/default/PasteClipboardOnScreen.opus
|
||||
config/sound/default/PlaceEndMark.opus
|
||||
config/sound/default/PlaceStartMark.opus
|
||||
config/sound/default/PromotedText.opus
|
||||
config/sound/default/ScreenReaderOff.opus
|
||||
config/sound/default/ScreenReaderOn.opus
|
||||
config/sound/default/SoundOff.opus
|
||||
config/sound/default/SoundOn.opus
|
||||
config/sound/default/SpeechOff.opus
|
||||
config/sound/default/SpeechOn.opus
|
||||
config/sound/default/StartOfLine.opus
|
||||
config/sound/default/StartOfScreen.opus
|
||||
config/sound/default/mispell.opus
|
||||
config/sound/default/soundicons.conf
|
||||
config/sound/default-wav/Accept.wav
|
||||
config/sound/default-wav/Announce.wav
|
||||
config/sound/default-wav/BrailleOff.wav
|
||||
config/sound/default-wav/BrailleOn.wav
|
||||
config/sound/default-wav/Cancel.wav
|
||||
config/sound/default-wav/Caps.wav
|
||||
config/sound/default-wav/ChangeTTY.wav
|
||||
config/sound/default-wav/ContentChanged.wav
|
||||
config/sound/default-wav/CopyToClipboard.wav
|
||||
config/sound/default-wav/EmptyLine.wav
|
||||
config/sound/default-wav/EndOfLine.wav
|
||||
config/sound/default-wav/EndOfScreen.wav
|
||||
config/sound/default-wav/ErrorBraille.wav
|
||||
config/sound/default-wav/ErrorScreen.wav
|
||||
config/sound/default-wav/ErrorSpeech.wav
|
||||
config/sound/default-wav/HasAtributes.wav
|
||||
config/sound/default-wav/PasteClipboardOnScreen.wav
|
||||
config/sound/default-wav/PlaceEndMark.wav
|
||||
config/sound/default-wav/PlaceStartMark.wav
|
||||
config/sound/default-wav/PromotedText.wav
|
||||
config/sound/default-wav/ScreenReaderOff.wav
|
||||
config/sound/default-wav/ScreenReaderOn.wav
|
||||
config/sound/default-wav/SoundOff.wav
|
||||
config/sound/default-wav/SoundOn.wav
|
||||
config/sound/default-wav/SpeechOff.wav
|
||||
config/sound/default-wav/SpeechOn.wav
|
||||
config/sound/default-wav/StartOfLine.wav
|
||||
config/sound/default-wav/StartOfScreen.wav
|
||||
config/sound/default-wav/mispell.wav
|
||||
config/sound/default-wav/soundicons.conf
|
||||
docu/fenrir.1
|
||||
src/fenrir/fenrir
|
||||
src/fenrir/fenrir-daemon
|
||||
src/fenrir/brailleDriver/__init__.py
|
||||
src/fenrir/brailleDriver/brlapiDriver.py
|
||||
src/fenrir/brailleDriver/dummyDriver.py
|
||||
src/fenrir/commands/__init__.py
|
||||
src/fenrir/commands/command_template.py
|
||||
src/fenrir/commands/switchTrigger_template.py
|
||||
src/fenrir/commands/commands/__init__.py
|
||||
src/fenrir/commands/commands/add_word_to_spell_check.py
|
||||
src/fenrir/commands/commands/attribute_cursor.py
|
||||
src/fenrir/commands/commands/bookmark_1.py
|
||||
src/fenrir/commands/commands/bookmark_10.py
|
||||
src/fenrir/commands/commands/bookmark_2.py
|
||||
src/fenrir/commands/commands/bookmark_3.py
|
||||
src/fenrir/commands/commands/bookmark_4.py
|
||||
src/fenrir/commands/commands/bookmark_5.py
|
||||
src/fenrir/commands/commands/bookmark_6.py
|
||||
src/fenrir/commands/commands/bookmark_7.py
|
||||
src/fenrir/commands/commands/bookmark_8.py
|
||||
src/fenrir/commands/commands/bookmark_9.py
|
||||
src/fenrir/commands/commands/braille_flush.py
|
||||
src/fenrir/commands/commands/braille_pan_left.py
|
||||
src/fenrir/commands/commands/braille_pan_right.py
|
||||
src/fenrir/commands/commands/braille_return_to_cursor.py
|
||||
src/fenrir/commands/commands/clear_bookmark_1.py
|
||||
src/fenrir/commands/commands/clear_bookmark_10.py
|
||||
src/fenrir/commands/commands/clear_bookmark_2.py
|
||||
src/fenrir/commands/commands/clear_bookmark_3.py
|
||||
src/fenrir/commands/commands/clear_bookmark_4.py
|
||||
src/fenrir/commands/commands/clear_bookmark_5.py
|
||||
src/fenrir/commands/commands/clear_bookmark_6.py
|
||||
src/fenrir/commands/commands/clear_bookmark_7.py
|
||||
src/fenrir/commands/commands/clear_bookmark_8.py
|
||||
src/fenrir/commands/commands/clear_bookmark_9.py
|
||||
src/fenrir/commands/commands/clear_clipboard.py
|
||||
src/fenrir/commands/commands/clear_window_application.py
|
||||
src/fenrir/commands/commands/copy_marked_to_clipboard.py
|
||||
src/fenrir/commands/commands/curr_clipboard.py
|
||||
src/fenrir/commands/commands/curr_screen.py
|
||||
src/fenrir/commands/commands/curr_screen_after_cursor.py
|
||||
src/fenrir/commands/commands/curr_screen_before_cursor.py
|
||||
src/fenrir/commands/commands/cursor_column.py
|
||||
src/fenrir/commands/commands/cursor_lineno.py
|
||||
src/fenrir/commands/commands/cursor_position.py
|
||||
src/fenrir/commands/commands/cursor_read_to_end_of_line.py
|
||||
src/fenrir/commands/commands/date.py
|
||||
src/fenrir/commands/commands/dec_alsa_volume.py
|
||||
src/fenrir/commands/commands/dec_sound_volume.py
|
||||
src/fenrir/commands/commands/dec_speech_pitch.py
|
||||
src/fenrir/commands/commands/dec_speech_rate.py
|
||||
src/fenrir/commands/commands/dec_speech_volume.py
|
||||
src/fenrir/commands/commands/exit_review.py
|
||||
src/fenrir/commands/commands/export_clipboard_to_file.py
|
||||
src/fenrir/commands/commands/export_clipboard_to_x.py
|
||||
src/fenrir/commands/commands/first_clipboard.py
|
||||
src/fenrir/commands/commands/forward_keypress.py
|
||||
src/fenrir/commands/commands/import_clipboard_from_file.py
|
||||
src/fenrir/commands/commands/inc_alsa_volume.py
|
||||
src/fenrir/commands/commands/inc_sound_volume.py
|
||||
src/fenrir/commands/commands/inc_speech_pitch.py
|
||||
src/fenrir/commands/commands/inc_speech_rate.py
|
||||
src/fenrir/commands/commands/inc_speech_volume.py
|
||||
src/fenrir/commands/commands/indent_curr_line.py
|
||||
src/fenrir/commands/commands/last_clipboard.py
|
||||
src/fenrir/commands/commands/last_incoming.py
|
||||
src/fenrir/commands/commands/marked_text.py
|
||||
src/fenrir/commands/commands/next_clipboard.py
|
||||
src/fenrir/commands/commands/paste_clipboard.py
|
||||
src/fenrir/commands/commands/present_first_line.py
|
||||
src/fenrir/commands/commands/present_last_line.py
|
||||
src/fenrir/commands/commands/prev_clipboard.py
|
||||
src/fenrir/commands/commands/quit_fenrir.py
|
||||
src/fenrir/commands/commands/remove_marks.py
|
||||
src/fenrir/commands/commands/remove_word_from_spell_check.py
|
||||
src/fenrir/commands/commands/review_bottom.py
|
||||
src/fenrir/commands/commands/review_curr_char.py
|
||||
src/fenrir/commands/commands/review_curr_char_phonetic.py
|
||||
src/fenrir/commands/commands/review_curr_line.py
|
||||
src/fenrir/commands/commands/review_curr_word.py
|
||||
src/fenrir/commands/commands/review_curr_word_phonetic.py
|
||||
src/fenrir/commands/commands/review_down.py
|
||||
src/fenrir/commands/commands/review_line_begin.py
|
||||
src/fenrir/commands/commands/review_line_end.py
|
||||
src/fenrir/commands/commands/review_line_first_char.py
|
||||
src/fenrir/commands/commands/review_line_last_char.py
|
||||
src/fenrir/commands/commands/review_next_char.py
|
||||
src/fenrir/commands/commands/review_next_char_phonetic.py
|
||||
src/fenrir/commands/commands/review_next_line.py
|
||||
src/fenrir/commands/commands/review_next_word.py
|
||||
src/fenrir/commands/commands/review_next_word_phonetic.py
|
||||
src/fenrir/commands/commands/review_prev_char.py
|
||||
src/fenrir/commands/commands/review_prev_char_phonetic.py
|
||||
src/fenrir/commands/commands/review_prev_line.py
|
||||
src/fenrir/commands/commands/review_prev_word.py
|
||||
src/fenrir/commands/commands/review_prev_word_phonetic.py
|
||||
src/fenrir/commands/commands/review_top.py
|
||||
src/fenrir/commands/commands/review_up.py
|
||||
src/fenrir/commands/commands/set_bookmark_1.py
|
||||
src/fenrir/commands/commands/set_bookmark_10.py
|
||||
src/fenrir/commands/commands/set_bookmark_2.py
|
||||
src/fenrir/commands/commands/set_bookmark_3.py
|
||||
src/fenrir/commands/commands/set_bookmark_4.py
|
||||
src/fenrir/commands/commands/set_bookmark_5.py
|
||||
src/fenrir/commands/commands/set_bookmark_6.py
|
||||
src/fenrir/commands/commands/set_bookmark_7.py
|
||||
src/fenrir/commands/commands/set_bookmark_8.py
|
||||
src/fenrir/commands/commands/set_bookmark_9.py
|
||||
src/fenrir/commands/commands/set_mark.py
|
||||
src/fenrir/commands/commands/set_window_application.py
|
||||
src/fenrir/commands/commands/shut_up.py
|
||||
src/fenrir/commands/commands/spell_check.py
|
||||
src/fenrir/commands/commands/subprocess.py
|
||||
src/fenrir/commands/commands/temp_disable_speech.py
|
||||
src/fenrir/commands/commands/time.py
|
||||
src/fenrir/commands/commands/toggle_auto_read.py
|
||||
src/fenrir/commands/commands/toggle_auto_spell_check.py
|
||||
src/fenrir/commands/commands/toggle_auto_time.py
|
||||
src/fenrir/commands/commands/toggle_braille.py
|
||||
src/fenrir/commands/commands/toggle_emoticons.py
|
||||
src/fenrir/commands/commands/toggle_highlight_tracking.py
|
||||
src/fenrir/commands/commands/toggle_output.py
|
||||
src/fenrir/commands/commands/toggle_punctuation_level.py
|
||||
src/fenrir/commands/commands/toggle_sound.py
|
||||
src/fenrir/commands/commands/toggle_speech.py
|
||||
src/fenrir/commands/commands/toggle_tutorial_mode.py
|
||||
src/fenrir/commands/help/__init__.py
|
||||
src/fenrir/commands/help/curr_help.py
|
||||
src/fenrir/commands/help/next_help.py
|
||||
src/fenrir/commands/help/prev_help.py
|
||||
src/fenrir/commands/onApplicationChange/__init__.py
|
||||
src/fenrir/commands/onCursorChange/45000-char_echo.py
|
||||
src/fenrir/commands/onCursorChange/50000-present_char_if_cursor_change_horizontal.py
|
||||
src/fenrir/commands/onCursorChange/55000-present_line_if_cursor_change_vertical.py
|
||||
src/fenrir/commands/onCursorChange/60000-word_echo_type.py
|
||||
src/fenrir/commands/onCursorChange/61000-word_echo_navigation.py
|
||||
src/fenrir/commands/onCursorChange/62000-spell_check.py
|
||||
src/fenrir/commands/onCursorChange/65000-char_delete_echo.py
|
||||
src/fenrir/commands/onCursorChange/66000-exit_review_mode.py
|
||||
src/fenrir/commands/onCursorChange/__init__.py
|
||||
src/fenrir/commands/onHeartBeat/2000-GetSessionInfo.py
|
||||
src/fenrir/commands/onHeartBeat/76000-time.py
|
||||
src/fenrir/commands/onHeartBeat/__init__.py
|
||||
src/fenrir/commands/onInput/10000-shut_up.py
|
||||
src/fenrir/commands/onInput/15000-enable_temp_speech.py
|
||||
src/fenrir/commands/onInput/80000-capslock.py
|
||||
src/fenrir/commands/onInput/80300-scrolllock.py
|
||||
src/fenrir/commands/onInput/80500-numlock.py
|
||||
src/fenrir/commands/onInput/__init__.py
|
||||
src/fenrir/commands/onPlugInputDevice/50000-UpdateDevices.py
|
||||
src/fenrir/commands/onPlugInputDevice/__init__.py
|
||||
src/fenrir/commands/onScreenChanged/10000-shut_up.py
|
||||
src/fenrir/commands/onScreenChanged/80000-screen_change_announcement.py
|
||||
src/fenrir/commands/onScreenChanged/85000-reset_marks.py
|
||||
src/fenrir/commands/onScreenChanged/89000-leave_review_mode.py
|
||||
src/fenrir/commands/onScreenChanged/__init__.py
|
||||
src/fenrir/commands/onScreenUpdate/56000-highlight_tracking.py
|
||||
src/fenrir/commands/onScreenUpdate/60000-history.py
|
||||
src/fenrir/commands/onScreenUpdate/70000-incoming.py
|
||||
src/fenrir/commands/onScreenUpdate/75000-incoming_promote.py
|
||||
src/fenrir/commands/onScreenUpdate/__init__.py
|
||||
src/fenrir/commands/onSwitchApplicationProfile/__init__.py
|
||||
src/fenrir/commands/onSwitchApplicationProfile/default.py
|
||||
src/fenrir/core/__init__.py
|
||||
src/fenrir/core/applicationManager.py
|
||||
src/fenrir/core/commandData.py
|
||||
src/fenrir/core/commandManager.py
|
||||
src/fenrir/core/cursorManager.py
|
||||
src/fenrir/core/debug.py
|
||||
src/fenrir/core/debugManager.py
|
||||
src/fenrir/core/environment.py
|
||||
src/fenrir/core/eventData.py
|
||||
src/fenrir/core/eventManager.py
|
||||
src/fenrir/core/fenrirManager.py
|
||||
src/fenrir/core/generalData.py
|
||||
src/fenrir/core/helpManager.py
|
||||
src/fenrir/core/i18n.py
|
||||
src/fenrir/core/inputData.py
|
||||
src/fenrir/core/inputManager.py
|
||||
src/fenrir/core/outputData.py
|
||||
src/fenrir/core/outputManager.py
|
||||
src/fenrir/core/processManager.py
|
||||
src/fenrir/core/punctuationData.py
|
||||
src/fenrir/core/punctuationManager.py
|
||||
src/fenrir/core/runtimeData.py
|
||||
src/fenrir/core/screenData.py
|
||||
src/fenrir/core/screenManager.py
|
||||
src/fenrir/core/settingsData.py
|
||||
src/fenrir/core/settingsManager.py
|
||||
src/fenrir/fenrir_screenreader.egg-info/PKG-INFO
|
||||
src/fenrir/fenrir_screenreader.egg-info/SOURCES.txt
|
||||
src/fenrir/fenrir_screenreader.egg-info/dependency_links.txt
|
||||
src/fenrir/fenrir_screenreader.egg-info/not-zip-safe
|
||||
src/fenrir/fenrir_screenreader.egg-info/requires.txt
|
||||
src/fenrir/fenrir_screenreader.egg-info/top_level.txt
|
||||
src/fenrir/inputDriver/__init__.py
|
||||
src/fenrir/inputDriver/dummyDriver.py
|
||||
src/fenrir/inputDriver/evdevDriver.py
|
||||
src/fenrir/screenDriver/__init__.py
|
||||
src/fenrir/screenDriver/vcsaDriver.py
|
||||
src/fenrir/soundDriver/__init__.py
|
||||
src/fenrir/soundDriver/dummyDriver.py
|
||||
src/fenrir/soundDriver/genericDriver.py
|
||||
src/fenrir/soundDriver/gstreamerDriver.py
|
||||
src/fenrir/speechDriver/__init__.py
|
||||
src/fenrir/speechDriver/dummyDriver.py
|
||||
src/fenrir/speechDriver/espeakDriver.py
|
||||
src/fenrir/speechDriver/genericDriver.py
|
||||
src/fenrir/speechDriver/speechdDriver.py
|
||||
src/fenrir/utils/__init__.py
|
||||
src/fenrir/utils/char_utils.py
|
||||
src/fenrir/utils/fenrir-config.py
|
||||
src/fenrir/utils/line_utils.py
|
||||
src/fenrir/utils/mark_utils.py
|
||||
src/fenrir/utils/module_utils.py
|
||||
src/fenrir/utils/review_utils.py
|
||||
src/fenrir/utils/screen_utils.py
|
||||
src/fenrir/utils/word_utils.py
|
||||
tools/configure_pulse.sh
|
||||
tools/fenrir-conf
|
||||
tools/fenrir.pot
|
||||
tools/generate_translations.sh
|
||||
tools/traceEvdev.py
|
@ -0,0 +1 @@
|
||||
|
1
src/fenrir/fenrir_screenreader.egg-info/not-zip-safe
Normal file
1
src/fenrir/fenrir_screenreader.egg-info/not-zip-safe
Normal file
@ -0,0 +1 @@
|
||||
|
6
src/fenrir/fenrir_screenreader.egg-info/requires.txt
Normal file
6
src/fenrir/fenrir_screenreader.egg-info/requires.txt
Normal file
@ -0,0 +1,6 @@
|
||||
evdev
|
||||
daemonize
|
||||
dbus-python
|
||||
pyenchant
|
||||
pyudev
|
||||
setuptools
|
8
src/fenrir/fenrir_screenreader.egg-info/top_level.txt
Normal file
8
src/fenrir/fenrir_screenreader.egg-info/top_level.txt
Normal file
@ -0,0 +1,8 @@
|
||||
brailleDriver
|
||||
commands
|
||||
core
|
||||
inputDriver
|
||||
screenDriver
|
||||
soundDriver
|
||||
speechDriver
|
||||
utils
|
Loading…
Reference in New Issue
Block a user