make punctuation configurable, add emoticons
This commit is contained in:
1409
contrib/fenrir-git/pkg/fenrir-git/.BUILDINFO
Normal file
1409
contrib/fenrir-git/pkg/fenrir-git/.BUILDINFO
Normal file
File diff suppressed because it is too large
Load Diff
11
contrib/fenrir-git/pkg/fenrir-git/.INSTALL
Normal file
11
contrib/fenrir-git/pkg/fenrir-git/.INSTALL
Normal file
@@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
_alert
|
||||
}
|
||||
|
||||
_alert() {
|
||||
cat << EOF
|
||||
To have fenrir start at boot:
|
||||
sudo systemctl enable fenrir
|
||||
EOF
|
||||
}
|
||||
|
||||
BIN
contrib/fenrir-git/pkg/fenrir-git/.MTREE
Normal file
BIN
contrib/fenrir-git/pkg/fenrir-git/.MTREE
Normal file
Binary file not shown.
22
contrib/fenrir-git/pkg/fenrir-git/.PKGINFO
Normal file
22
contrib/fenrir-git/pkg/fenrir-git/.PKGINFO
Normal file
@@ -0,0 +1,22 @@
|
||||
# Generated by makepkg 5.0.1
|
||||
# using fakeroot version 1.21
|
||||
# Sat Oct 8 20:58:50 UTC 2016
|
||||
pkgname = fenrir-git
|
||||
pkgver = v0.1.7.g6ec714e-1
|
||||
pkgdesc = A user space console screen reader written in python3
|
||||
url = https://github.com/chrys87/${_pkgname}
|
||||
builddate = 1475960330
|
||||
packager = Unknown Packager
|
||||
size = 1494016
|
||||
arch = any
|
||||
license = MIT
|
||||
conflict = fenrir
|
||||
provides = fenrir
|
||||
depend = python
|
||||
depend = python-espeak
|
||||
depend = python-evdev
|
||||
optdepend = brltty: For Braille support
|
||||
optdepend = gstreamer: for soundicons via gstreamer
|
||||
optdepend = sox: The default sound driver
|
||||
optdepend = python-enchant: for spell check functionality
|
||||
makedepend = git
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,96 @@
|
||||
KEY_FENRIR,KEY_H=toggle_tutorial_mode
|
||||
KEY_CTRL=shut_up
|
||||
KEY_FENRIR,KEY_KP9=review_bottom
|
||||
KEY_FENRIR,KEY_KP7=review_top
|
||||
KEY_KP8=review_curr_line
|
||||
KEY_KP7=review_prev_line
|
||||
KEY_KP9=review_next_line
|
||||
KEY_FENRIR,KEY_KP4=review_line_begin
|
||||
KEY_FENRIR,KEY_KP6=review_line_end
|
||||
KEY_FENRIR,KEY_KP1=review_line_first_char
|
||||
KEY_FENRIR,KEY_KP3=review_line_last_char
|
||||
KEY_FENRIR,KEY_ALT,KEY_1=present_first_line
|
||||
KEY_FENRIR,KEY_ALT,KEY_2=present_last_line
|
||||
KEY_KP5=review_curr_word
|
||||
KEY_KP4=review_prev_word
|
||||
KEY_KP6=review_next_word
|
||||
KEY_SHIFT,KEY_KP5=curr_word_phonetic
|
||||
KEY_KP2=review_curr_char
|
||||
KEY_KP1=review_prev_char
|
||||
KEY_KP3=review_next_char
|
||||
KEY_SHIFT,KEY_KP2=curr_char_phonetic
|
||||
#=review_up
|
||||
#=review_down
|
||||
KEY_KPDOT=cursor_position
|
||||
KEY_FENRIR,KEY_I=indent_curr_line
|
||||
KEY_FENRIR,KEY_KPDOT=exit_review
|
||||
KEY_FENRIR,KEY_KP5=curr_screen
|
||||
KEY_FENRIR,KEY_KP8=curr_screen_before_cursor
|
||||
KEY_FENRIR,KEY_KP2=curr_screen_after_cursor
|
||||
KEY_FENRIR,KEY_CTRL,KEY_1=clear_bookmark_1
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_1=set_bookmark_1
|
||||
KEY_FENRIR,KEY_1=bookmark_1
|
||||
KEY_FENRIR,KEY_CTRL,KEY_2=clear_bookmark_2
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_2=set_bookmark_2
|
||||
KEY_FENRIR,KEY_2=bookmark_2
|
||||
KEY_FENRIR,KEY_CTRL,KEY_3=clear_bookmark_3
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_3=set_bookmark_3
|
||||
KEY_FENRIR,KEY_3=bookmark_3
|
||||
KEY_FENRIR,KEY_CTRL,KEY_4=clear_bookmark_4
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_4=set_bookmark_4
|
||||
KEY_FENRIR,KEY_4=bookmark_4
|
||||
KEY_FENRIR,KEY_CTRL,KEY_5=clear_bookmark_5
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_5=set_bookmark_5
|
||||
KEY_FENRIR,KEY_5=bookmark_5
|
||||
KEY_FENRIR,KEY_CTRL,KEY_6=clear_bookmark_6
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_6=set_bookmark_6
|
||||
KEY_FENRIR,KEY_6=bookmark_6
|
||||
KEY_FENRIR,KEY_CTRL,KEY_7=clear_bookmark_7
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_7=set_bookmark_7
|
||||
KEY_FENRIR,KEY_7=bookmark_7
|
||||
KEY_FENRIR,KEY_CTRL,KEY_8=clear_bookmark_8
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_8=set_bookmark_8
|
||||
KEY_FENRIR,KEY_8=bookmark_8
|
||||
KEY_FENRIR,KEY_CTRL,KEY_9=clear_bookmark_9
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_9=set_bookmark_9
|
||||
KEY_FENRIR,KEY_9=bookmark_9
|
||||
KEY_FENRIR,KEY_CTRL,KEY_0=clear_bookmark_10
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_0=set_bookmark_10
|
||||
KEY_FENRIR,KEY_0=bookmark_10
|
||||
KEY_FENRIR,KEY_KPSLASH=set_window_application
|
||||
2,KEY_FENRIR,KEY_KPSLASH=clear_window_application
|
||||
KEY_KPPLUS=last_incoming
|
||||
KEY_FENRIR,KEY_F2=toggle_braille
|
||||
KEY_FENRIR,KEY_F3=toggle_sound
|
||||
KEY_FENRIR,KEY_F4=toggle_speech
|
||||
KEY_FENRIR,KEY_CTRL,KEY_P=toggle_punctuation_level
|
||||
KEY_FENRIR,KEY_RIGHTBRACE=toggle_auto_spell_check
|
||||
KEY_FENRIR,KEY_BACKSLASH=toggle_output
|
||||
key_FENRIR,KEY_KPENTER=toggle_auto_read
|
||||
KEY_FENRIR,KEY_Q=quit_fenrir
|
||||
KEY_FENRIR,KEY_T=time
|
||||
2,KEY_FENRIR,KEY_T=date
|
||||
KEY_FENRIR,KEY_S=spell_check
|
||||
2,KEY_FENRIR,KEY_S=add_word_to_spell_check
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_S=remove_word_from_spell_check
|
||||
KEY_FENRIR,KEY_BACKSPACE=forward_keypress
|
||||
KEY_FENRIR,KEY_UP=inc_speech_volume
|
||||
KEY_FENRIR,KEY_DOWN=dec_speech_volume
|
||||
KEY_FENRIR,KEY_RIGHT=inc_speech_rate
|
||||
KEY_FENRIR,KEY_LEFT=dec_speech_rate
|
||||
KEY_FENRIR,KEY_ALT,KEY_RIGHT=inc_speech_pitch
|
||||
KEY_FENRIR,KEY_ALT,KEY_LEFT=dec_speech_pitch
|
||||
KEY_FENRIR,KEY_ALT,KEY_UP=inc_sound_volume
|
||||
KEY_FENRIR,KEY_ALT,KEY_DOWN=dec_sound_volume
|
||||
KEY_FENRIR,KEY_CTRL,KEY_SHIFT,KEY_C=clear_clipboard
|
||||
KEY_FENRIR,KEY_CTRL,KEY_SHIFT,KEY_X=remove_marks
|
||||
KEY_FENRIR,KEY_HOME=first_clipboard
|
||||
KEY_FENRIR,KEY_END=last_clipboard
|
||||
KEY_FENRIR,KEY_PAGEUP=prev_clipboard
|
||||
KEY_FENRIR,KEY_PAGEDOWN=next_clipboard
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_C=curr_clipboard
|
||||
KEY_FENRIR,KEY_X=set_mark
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_X=marked_text
|
||||
KEY_FENRIR,KEY_C=copy_marked_to_clipboard
|
||||
# linux only
|
||||
KEY_FENRIR,KEY_V=linux_paste_clipboard
|
||||
@@ -0,0 +1,96 @@
|
||||
KEY_FENRIR,KEY_H=toggle_tutorial_mode
|
||||
KEY_CTRL=shut_up
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_O=review_bottom
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_U=review_top
|
||||
KEY_FENRIR,KEY_I=review_curr_line
|
||||
KEY_FENRIR,KEY_U=review_prev_line
|
||||
KEY_FENRIR,KEY_O=review_next_line
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_J=review_line_begin
|
||||
KEY_FENRIR,KEY_SHFIT,KEY_L=review_line_end
|
||||
KEY_FENRIR,KEY_CTRL,KEY_J=review_line_first_char
|
||||
KEY_FENRIR,KEY_CTRL,KEY_L=review_line_last_char
|
||||
KEY_FENRIR,KEY_ALT,KEY_1=present_first_line
|
||||
KEY_FENRIR,KEY_ALT,KEY_2=present_last_line
|
||||
KEY_FENRIR,KEY_K=review_curr_word
|
||||
KEY_FENRIR,KEY_J=review_prev_word
|
||||
KEY_FENRIR,KEY_L=review_next_word
|
||||
2,KEY_FENRIR,KEY_K=curr_word_phonetic
|
||||
KEY_FENRIR,KEY_COMMA=review_curr_char
|
||||
KEY_FENRIR,KEY_M=review_prev_char
|
||||
KEY_FENRIR,KEY_DOT=review_next_char
|
||||
2,KEY_FENRIR,KEY_COMMA=curr_char_phonetic
|
||||
#=review_up
|
||||
#=review_down
|
||||
KEY_FENRIR,KEY_SLASH=exit_review
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_DOT=cursor_position
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_K=curr_screen
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_I=curr_screen_before_cursor
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_COMMA=curr_screen_after_cursor
|
||||
KEY_FENRIR,KEY_CTRL,KEY_1=clear_bookmark_1
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_1=set_bookmark_1
|
||||
KEY_FENRIR,KEY_1=bookmark_1
|
||||
KEY_FENRIR,KEY_CTRL,KEY_2=clear_bookmark_2
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_2=set_bookmark_2
|
||||
KEY_FENRIR,KEY_2=bookmark_2
|
||||
KEY_FENRIR,KEY_CTRL,KEY_3=clear_bookmark_3
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_3=set_bookmark_3
|
||||
KEY_FENRIR,KEY_3=bookmark_3
|
||||
KEY_FENRIR,KEY_CTRL,KEY_4=clear_bookmark_4
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_4=set_bookmark_4
|
||||
KEY_FENRIR,KEY_4=bookmark_4
|
||||
KEY_FENRIR,KEY_CTRL,KEY_5=clear_bookmark_5
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_5=set_bookmark_5
|
||||
KEY_FENRIR,KEY_5=bookmark_5
|
||||
KEY_FENRIR,KEY_CTRL,KEY_6=clear_bookmark_6
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_6=set_bookmark_6
|
||||
KEY_FENRIR,KEY_6=bookmark_6
|
||||
KEY_FENRIR,KEY_CTRL,KEY_7=clear_bookmark_7
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_7=set_bookmark_7
|
||||
KEY_FENRIR,KEY_7=bookmark_7
|
||||
KEY_FENRIR,KEY_CTRL,KEY_8=clear_bookmark_8
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_8=set_bookmark_8
|
||||
KEY_FENRIR,KEY_8=bookmark_8
|
||||
KEY_FENRIR,KEY_CTRL,KEY_9=clear_bookmark_9
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_9=set_bookmark_9
|
||||
KEY_FENRIR,KEY_9=bookmark_9
|
||||
KEY_FENRIR,KEY_CTRL,KEY_0=clear_bookmark_10
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_0=set_bookmark_10
|
||||
KEY_FENRIR,KEY_0=bookmark_10
|
||||
KEY_FENRIR,KEY_CTRL,KEY_8=set_window_application
|
||||
2,KEY_FENRIR,KEY_CTRL,KEY_8=clear_window_application
|
||||
2,KEY_FENRIR,KEY_I=indent_curr_line
|
||||
KEY_FENRIR,KEY_SEMICOLON=last_incoming
|
||||
KEY_FENRIR,KEY_F2=toggle_braille
|
||||
KEY_FENRIR,KEY_F3=toggle_sound
|
||||
KEY_FENRIR,KEY_F4=toggle_speech
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_CTRL,KEY_P=toggle_punctuation_level
|
||||
KEY_FENRIR,KEY_RIGHTBRACE=toggle_auto_spell_check
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_ENTER=toggle_output
|
||||
KEY_FENRIR,KEY_ENTER=toggle_auto_read
|
||||
KEY_FENRIR,KEY_Q=quit_fenrir
|
||||
KEY_FENRIR,KEY_T=time
|
||||
2,KEY_FENRIR,KEY_T=date
|
||||
KEY_FENRIR,KEY_S=spell_check
|
||||
2,KEY_FENRIR,KEY_S=add_word_to_spell_check
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_S=remove_word_from_spell_check
|
||||
KEY_FENRIR,KEY_BACKSPACE=forward_keypress
|
||||
KEY_FENRIR,KEY_UP=inc_speech_volume
|
||||
KEY_FENRIR,KEY_DOWN=dec_speech_volume
|
||||
KEY_FENRIR,KEY_RIGHT=inc_speech_rate
|
||||
KEY_FENRIR,KEY_LEFT=dec_speech_rate
|
||||
KEY_FENRIR,KEY_ALT,KEY_RIGHT=inc_speech_pitch
|
||||
KEY_FENRIR,KEY_ALT,KEY_LEFT=dec_speech_pitch
|
||||
KEY_FENRIR,KEY_ALT,KEY_UP=inc_sound_volume
|
||||
KEY_FENRIR,KEY_ALT,KEY_DOWN=dec_sound_volume
|
||||
KEY_FENRIR,KEY_CTRL,KEY_SHIFT,KEY_C=clear_clipboard
|
||||
KEY_FENRIR,KEY_CTRL,KEY_SHIFT<KEY_X=remove_marks
|
||||
KEY_FENRIR,KEY_HOME=first_clipboard
|
||||
KEY_FENRIR,KEY_END=last_clipboard
|
||||
KEY_FENRIR,KEY_PAGEUP=prev_clipboard
|
||||
KEY_FENRIR,KEY_PAGEDOWN=next_clipboard
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_C=curr_clipboard
|
||||
KEY_FENRIR,KEY_X=set_mark
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_X=marked_text
|
||||
KEY_FENRIR,KEY_C=copy_marked_to_clipboard
|
||||
# linux only
|
||||
KEY_FENRIR,KEY_V=linux_paste_clipboard
|
||||
@@ -0,0 +1,96 @@
|
||||
KEY_FENRIR,KEY_H=toggle_tutorial_mode
|
||||
KEY_CTRL=shut_up
|
||||
KEY_FENRIR,KEY_KP9=review_bottom
|
||||
KEY_FENRIR,KEY_KP7=review_top
|
||||
KEY_KP8=review_curr_line
|
||||
KEY_KP7=review_prev_line
|
||||
KEY_KP9=review_next_line
|
||||
KEY_FENRIR,KEY_KP4=review_line_begin
|
||||
KEY_FENRIR,KEY_KP6=review_line_end
|
||||
KEY_FENRIR,KEY_KP1=review_line_first_char
|
||||
KEY_FENRIR,KEY_KP3=review_line_last_char
|
||||
KEY_FENRIR,KEY_ALT,KEY_1=present_first_line
|
||||
KEY_FENRIR,KEY_ALT,KEY_2=present_last_line
|
||||
KEY_KP5=review_curr_word
|
||||
KEY_KP4=review_prev_word
|
||||
KEY_KP6=review_next_word
|
||||
KEY_SHIFT,KEY_KP5=curr_word_phonetic
|
||||
KEY_KP2=review_curr_char
|
||||
KEY_KP1=review_prev_char
|
||||
KEY_KP3=review_next_char
|
||||
KEY_SHIFT,KEY_KP2=curr_char_phonetic
|
||||
#=review_up
|
||||
#=review_down
|
||||
KEY_KPDOT=cursor_position
|
||||
KEY_FENRIR,KEY_I=indent_curr_line
|
||||
KEY_FENRIR,KEY_KPDOT=exit_review
|
||||
KEY_FENRIR,KEY_KP5=curr_screen
|
||||
KEY_FENRIR,KEY_KP8=curr_screen_before_cursor
|
||||
KEY_FENRIR,KEY_KP2=curr_screen_after_cursor
|
||||
KEY_FENRIR,KEY_CTRL,KEY_1=clear_bookmark_1
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_1=set_bookmark_1
|
||||
KEY_FENRIR,KEY_1=bookmark_1
|
||||
KEY_FENRIR,KEY_CTRL,KEY_2=clear_bookmark_2
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_2=set_bookmark_2
|
||||
KEY_FENRIR,KEY_2=bookmark_2
|
||||
KEY_FENRIR,KEY_CTRL,KEY_3=clear_bookmark_3
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_3=set_bookmark_3
|
||||
KEY_FENRIR,KEY_3=bookmark_3
|
||||
KEY_FENRIR,KEY_CTRL,KEY_4=clear_bookmark_4
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_4=set_bookmark_4
|
||||
KEY_FENRIR,KEY_4=bookmark_4
|
||||
KEY_FENRIR,KEY_CTRL,KEY_5=clear_bookmark_5
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_5=set_bookmark_5
|
||||
KEY_FENRIR,KEY_5=bookmark_5
|
||||
KEY_FENRIR,KEY_CTRL,KEY_6=clear_bookmark_6
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_6=set_bookmark_6
|
||||
KEY_FENRIR,KEY_6=bookmark_6
|
||||
KEY_FENRIR,KEY_CTRL,KEY_7=clear_bookmark_7
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_7=set_bookmark_7
|
||||
KEY_FENRIR,KEY_7=bookmark_7
|
||||
KEY_FENRIR,KEY_CTRL,KEY_8=clear_bookmark_8
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_8=set_bookmark_8
|
||||
KEY_FENRIR,KEY_8=bookmark_8
|
||||
KEY_FENRIR,KEY_CTRL,KEY_9=clear_bookmark_9
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_9=set_bookmark_9
|
||||
KEY_FENRIR,KEY_9=bookmark_9
|
||||
KEY_FENRIR,KEY_CTRL,KEY_0=clear_bookmark_10
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_0=set_bookmark_10
|
||||
KEY_FENRIR,KEY_0=bookmark_10
|
||||
KEY_FENRIR,KEY_KPSLASH=set_window_application
|
||||
2,KEY_FENRIR,KEY_KPSLASH=clear_window_application
|
||||
KEY_KPPLUS=last_incoming
|
||||
KEY_FENRIR,KEY_F2=toggle_braille
|
||||
KEY_FENRIR,KEY_F3=toggle_sound
|
||||
KEY_FENRIR,KEY_F4=toggle_speech
|
||||
KEY_FENRIR,KEY_CTRL,KEY_P=toggle_punctuation_level
|
||||
KEY_FENRIR,KEY_RIGHTBRACE=toggle_auto_spell_check
|
||||
KEY_FENRIR,KEY_BACKSLASH=toggle_output
|
||||
key_FENRIR,KEY_KPENTER=toggle_auto_read
|
||||
KEY_FENRIR,KEY_Q=quit_fenrir
|
||||
KEY_FENRIR,KEY_T=time
|
||||
2,KEY_FENRIR,KEY_T=date
|
||||
KEY_FENRIR,KEY_S=spell_check
|
||||
2,KEY_FENRIR,KEY_S=add_word_to_spell_check
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_S=remove_word_from_spell_check
|
||||
KEY_FENRIR,KEY_BACKSPACE=forward_keypress
|
||||
KEY_FENRIR,KEY_UP=inc_speech_volume
|
||||
KEY_FENRIR,KEY_DOWN=dec_speech_volume
|
||||
KEY_FENRIR,KEY_RIGHT=inc_speech_rate
|
||||
KEY_FENRIR,KEY_LEFT=dec_speech_rate
|
||||
KEY_FENRIR,KEY_ALT,KEY_RIGHT=inc_speech_pitch
|
||||
KEY_FENRIR,KEY_ALT,KEY_LEFT=dec_speech_pitch
|
||||
KEY_FENRIR,KEY_ALT,KEY_UP=inc_sound_volume
|
||||
KEY_FENRIR,KEY_ALT,KEY_DOWN=dec_sound_volume
|
||||
KEY_FENRIR,KEY_CTRL,KEY_SHIFT,KEY_C=clear_clipboard
|
||||
KEY_FENRIR,KEY_CTRL,KEY_SHIFT,KEY_X=remove_marks
|
||||
KEY_FENRIR,KEY_HOME=first_clipboard
|
||||
KEY_FENRIR,KEY_END=last_clipboard
|
||||
KEY_FENRIR,KEY_PAGEUP=prev_clipboard
|
||||
KEY_FENRIR,KEY_PAGEDOWN=next_clipboard
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_C=curr_clipboard
|
||||
KEY_FENRIR,KEY_X=set_mark
|
||||
KEY_FENRIR,KEY_SHIFT,KEY_X=marked_text
|
||||
KEY_FENRIR,KEY_C=copy_marked_to_clipboard
|
||||
# linux only
|
||||
KEY_FENRIR,KEY_V=linux_paste_clipboard
|
||||
@@ -0,0 +1,114 @@
|
||||
[sound]
|
||||
# Turn sound on or off:
|
||||
enabled=True
|
||||
|
||||
# Select the driver used to play sounds, choices are generic and gstreamer.
|
||||
# Sox is the default.
|
||||
driver=generic
|
||||
|
||||
# Sound themes. This is 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
|
||||
|
||||
# Sound volume controls how loud the sounds for your chosen soundpack are.
|
||||
# 0 is quietest, 1.0 is loudest.
|
||||
volume=1.0
|
||||
|
||||
# shell commands for generic sound driver
|
||||
# the folowing variable are substituded
|
||||
# fenrirVolume = the current volume setting
|
||||
# fenrirSoundFile = the soundfile for an soundicon
|
||||
# fenrirFrequence = the frequence to play
|
||||
# fenrirDuration = the duration of the frequence
|
||||
# the following command is used for play a soundfile
|
||||
genericPlayFileCommand=play -q -v fenrirVolume fenrirSoundFile
|
||||
#the following command is used for generating a frequence 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 speechd (default) or espeak:
|
||||
driver=speechd
|
||||
#driver=espeak
|
||||
|
||||
|
||||
# The rate selects how fast fenrir will speak. Options range from 0, slowest, to 1.0, fastest.
|
||||
rate=0.45
|
||||
|
||||
# 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 ti 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 chosen synthesizer.
|
||||
voice=
|
||||
|
||||
# Select the language you want fenrir to use.
|
||||
language=english-us
|
||||
|
||||
# Read new text as it happens?
|
||||
autoReadIncoming=True
|
||||
|
||||
[braille]
|
||||
#braille is not implemented yet
|
||||
enabled=False
|
||||
driver=brlapi
|
||||
layout=en
|
||||
|
||||
[screen]
|
||||
driver=linux
|
||||
encoding=cp850
|
||||
screenUpdateDelay=0.4
|
||||
suspendingScreen=
|
||||
autodetectSuspendingScreen=True
|
||||
|
||||
[keyboard]
|
||||
driver=evdev
|
||||
# filter input devices AUTO, ALL or a DEVICE NAME
|
||||
device=AUTO
|
||||
# gives fenrir exclusive access to the keyboard and let consume keystrokes. just disable on problems.
|
||||
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
|
||||
# timeout for double tap in sec
|
||||
doubleTapDelay=0.2
|
||||
|
||||
[general]
|
||||
debugLevel=3
|
||||
punctuationLevel=some
|
||||
numberOfClipboards=10
|
||||
# define the current fenrir key
|
||||
fenrirKeys=KEY_KP0,KEY_META
|
||||
timeFormat=%H:%M:%P
|
||||
dateFormat=%A, %B %d, %Y
|
||||
autoSpellCheck=True
|
||||
spellCheckLanguage=en_US
|
||||
|
||||
[promote]
|
||||
enabled=True
|
||||
inactiveTimeoutSec=120
|
||||
list=
|
||||
|
||||
|
||||
@@ -0,0 +1,112 @@
|
||||
[sound]
|
||||
# Turn sound on or off:
|
||||
enabled=True
|
||||
|
||||
# Select the driver used to play sounds, choices are generic and gstreamer.
|
||||
# Sox is the default.
|
||||
driver=generic
|
||||
|
||||
# Sound themes. This is 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
|
||||
|
||||
# Sound volume controls how loud the sounds for your chosen soundpack are.
|
||||
# 0 is quietest, 1.0 is loudest.
|
||||
volume=1.0
|
||||
|
||||
# shell commands for generic sound driver
|
||||
# the folowing variable are substituded
|
||||
# fenrirVolume = the current volume setting
|
||||
# fenrirSoundFile = the soundfile for an soundicon
|
||||
# fenrirFrequence = the frequence to play
|
||||
# fenrirDuration = the duration of the frequence
|
||||
# the following command is used for play a soundfile
|
||||
genericPlayFileCommand=play -q -v fenrirVolume fenrirSoundFile
|
||||
#the following command is used for generating a frequence 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 speechd (default) or espeak:
|
||||
driver=speechd
|
||||
|
||||
# The rate selects how fast fenrir will speak. Options range from 0, slowest, to 1.0, fastest.
|
||||
rate=0.45
|
||||
|
||||
# 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 ti 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 chosen synthesizer.
|
||||
voice=
|
||||
|
||||
# Select the language you want fenrir to use.
|
||||
language=english-us
|
||||
|
||||
# Read new text as it happens?
|
||||
autoReadIncoming=True
|
||||
|
||||
[braille]
|
||||
#braille is not implemented yet
|
||||
enabled=False
|
||||
driver=brlapi
|
||||
layout=en
|
||||
|
||||
[screen]
|
||||
driver=linux
|
||||
encoding=cp850
|
||||
screenUpdateDelay=0.4
|
||||
suspendingScreen=
|
||||
autodetectSuspendingScreen=True
|
||||
|
||||
[keyboard]
|
||||
driver=evdev
|
||||
# filter input devices AUTO, ALL or a DEVICE NAME
|
||||
device=AUTO
|
||||
# gives fenrir exclusive access to the keyboard and let consume keystrokes. just disable on problems.
|
||||
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=True
|
||||
# interrupt speech on any keypress
|
||||
interruptOnKeyPress=False
|
||||
# timeout for double tap in sec
|
||||
doubleTapDelay=0.2
|
||||
|
||||
[general]
|
||||
debugLevel=0
|
||||
punctuationLevel=some
|
||||
numberOfClipboards=10
|
||||
# define the current fenrir key
|
||||
fenrirKeys=KEY_KP0,KEY_META
|
||||
timeFormat=%H:%M%P
|
||||
dateFormat="%A, %B %d, %Y"
|
||||
autoSpellCheck=True
|
||||
spellCheckLanguage=en_US
|
||||
|
||||
[promote]
|
||||
enabled=True
|
||||
inactiveTimeoutSec=120
|
||||
list=
|
||||
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
[sound]
|
||||
enabled=True
|
||||
driver=generic
|
||||
theme=default
|
||||
volume=1.0
|
||||
# shell commands for generic sound driver
|
||||
genericPlayFileCommand=play -q -v fenrirVolume fenrirSoundFile
|
||||
genericFrequencyCommand=play -q -v fenrirVolume -n -c1 synth fenrirDuration sine fenrirFrequence
|
||||
|
||||
[speech]
|
||||
enabled=True
|
||||
driver=speechd
|
||||
rate=0.85
|
||||
pitch=0.5
|
||||
# Pitch for capital letters
|
||||
capitalPitch=0.9
|
||||
module=espeak
|
||||
voice=
|
||||
language=english-us
|
||||
volume=1.0
|
||||
autoReadIncoming=True
|
||||
|
||||
[braille]
|
||||
enabled=False
|
||||
driver=brlapi
|
||||
layout=en
|
||||
|
||||
[screen]
|
||||
driver=linux
|
||||
encoding=cp850
|
||||
screenUpdateDelay=0.4
|
||||
suspendingScreen=7
|
||||
autodetectSuspendingScreen=False
|
||||
|
||||
[keyboard]
|
||||
driver=evdev
|
||||
# filter input devices AUTO, ALL or a DEVICE NAME
|
||||
device=AUTO
|
||||
grabDevices=True
|
||||
ignoreShortcuts=False
|
||||
keyboardLayout=desktop
|
||||
charEcho=False
|
||||
charDeleteEcho=True
|
||||
wordEcho=False
|
||||
interruptOnKeyPress=True
|
||||
# timeout for double tap in sec
|
||||
doubleTapDelay=0.2
|
||||
|
||||
[general]
|
||||
debugLevel=0
|
||||
punctuationLevel=some
|
||||
numberOfClipboards=10
|
||||
fenrirKeys=KEY_KP0
|
||||
timeFormat=%H:%M:%P
|
||||
dateFormat="%A, %B %d, %Y"
|
||||
autoSpellCheck=True
|
||||
spellCheckLanguage=en_US
|
||||
|
||||
[promote]
|
||||
enabled=True
|
||||
inactiveTimeoutSec=120
|
||||
list=
|
||||
@@ -0,0 +1,45 @@
|
||||
[levelProfile]
|
||||
None=
|
||||
Some=.-$~+*-/\\@
|
||||
Most=.,:-$~+*-/\\@!#%^&*()[]}{<>;
|
||||
All=!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~
|
||||
|
||||
[punctDict]
|
||||
&=and
|
||||
'=apostrophe
|
||||
@=at
|
||||
\=backslash
|
||||
|=bar
|
||||
!=bang
|
||||
^=carrot
|
||||
:=colon
|
||||
,=comma
|
||||
-=dash
|
||||
$=dollar
|
||||
.=dot
|
||||
>=greater
|
||||
`=grave
|
||||
#=hash
|
||||
{=left brace
|
||||
[=left bracket
|
||||
(=left paren
|
||||
<=less
|
||||
%=percent
|
||||
+=plus
|
||||
?=question
|
||||
"=quote
|
||||
)=right paren
|
||||
}=right brace
|
||||
]=right bracket
|
||||
;=semicolon
|
||||
/=slash
|
||||
*=star
|
||||
~=tilde
|
||||
_=line
|
||||
==equals
|
||||
|
||||
[userDict]
|
||||
:)=smile
|
||||
;)=twinker
|
||||
XD=loool
|
||||
:D=lought
|
||||
137
contrib/fenrir-git/pkg/fenrir-git/usr/bin/fenrir
Executable file
137
contrib/fenrir-git/pkg/fenrir-git/usr/bin/fenrir
Executable file
@@ -0,0 +1,137 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
import os, sys, signal, time
|
||||
import __main__
|
||||
|
||||
if not os.path.dirname(os.path.realpath(__main__.__file__)) in sys.path:
|
||||
sys.path.append(os.path.dirname(os.path.realpath(__main__.__file__)))
|
||||
|
||||
from core import settingsManager
|
||||
from core import debug
|
||||
|
||||
class fenrir():
|
||||
def __init__(self):
|
||||
try:
|
||||
self.environment = settingsManager.settingsManager().initFenrirConfig()
|
||||
if not self.environment:
|
||||
raise RuntimeError('Cannot Initialize. Maybe the configfile is not available or not parseable')
|
||||
except RuntimeError:
|
||||
raise
|
||||
self.environment['runtime']['outputManager'].presentText("Start Fenrir", soundIcon='ScreenReaderOn', interrupt=True)
|
||||
signal.signal(signal.SIGINT, self.captureSignal)
|
||||
signal.signal(signal.SIGTERM, self.captureSignal)
|
||||
self.wasCommand = False
|
||||
|
||||
def proceed(self):
|
||||
while(self.environment['generalInformation']['running']):
|
||||
try:
|
||||
self.handleProcess()
|
||||
except Exception as e:
|
||||
self.environment['runtime']['debug'].writeDebugOut(str(e),debug.debugLevel.ERROR)
|
||||
self.shutdown()
|
||||
|
||||
def handleProcess(self):
|
||||
#startTime = time.time()
|
||||
eventReceived = self.environment['runtime']['inputManager'].getInputEvent()
|
||||
if eventReceived:
|
||||
self.prepareCommand()
|
||||
if not (self.wasCommand or self.environment['runtime']['inputManager'].isFenrirKeyPressed() or self.environment['generalInformation']['tutorialMode']) or self.environment['runtime']['screenManager'].isSuspendingScreen():
|
||||
self.environment['runtime']['inputManager'].writeEventBuffer()
|
||||
if self.environment['runtime']['inputManager'].noKeyPressed():
|
||||
if self.wasCommand:
|
||||
self.wasCommand = False
|
||||
self.environment['runtime']['inputManager'].clearEventBuffer()
|
||||
if self.environment['generalInformation']['tutorialMode']:
|
||||
self.environment['runtime']['inputManager'].clearEventBuffer()
|
||||
if self.environment['input']['keyForeward'] > 0:
|
||||
self.environment['input']['keyForeward'] -=1
|
||||
self.environment['runtime']['screenManager'].update('onInput')
|
||||
self.environment['runtime']['commandManager'].executeDefaultTrigger('onInput')
|
||||
else:
|
||||
self.environment['runtime']['screenManager'].update('onUpdate')
|
||||
if self.environment['runtime']['applicationManager'].isApplicationChange():
|
||||
self.environment['runtime']['commandManager'].executeDefaultTrigger('onApplicationChange')
|
||||
self.environment['runtime']['commandManager'].executeSwitchTrigger('onSwitchApplicationProfile', \
|
||||
self.environment['runtime']['applicationManager'].getPrevApplication(), \
|
||||
self.environment['runtime']['applicationManager'].getCurrentApplication())
|
||||
|
||||
if self.environment['runtime']['screenManager'].isScreenChange():
|
||||
self.environment['runtime']['commandManager'].executeDefaultTrigger('onScreenChanged')
|
||||
else:
|
||||
self.environment['runtime']['commandManager'].executeDefaultTrigger('onScreenUpdate')
|
||||
|
||||
self.handleCommands()
|
||||
#print(time.time()-startTime)
|
||||
|
||||
def prepareCommand(self):
|
||||
if self.environment['runtime']['screenManager'].isSuspendingScreen():
|
||||
return
|
||||
if self.environment['runtime']['inputManager'].noKeyPressed():
|
||||
return
|
||||
if self.environment['input']['keyForeward'] > 0:
|
||||
return
|
||||
shortcut = self.environment['runtime']['inputManager'].getCurrShortcut()
|
||||
command = self.environment['runtime']['inputManager'].getCommandForShortcut(shortcut)
|
||||
if len(self.environment['input']['prevDeepestInput']) <= len(self.environment['input']['currInput']):
|
||||
self.wasCommand = command != ''
|
||||
if command == '':
|
||||
return
|
||||
|
||||
self.environment['runtime']['commandManager'].queueCommand(command)
|
||||
|
||||
|
||||
def handleCommands(self):
|
||||
if not self.environment['runtime']['commandManager'].isCommandQueued():
|
||||
return
|
||||
self.environment['runtime']['commandManager'].executeCommand( self.environment['commandInfo']['currCommand'], 'commands')
|
||||
|
||||
def shutdownRequest(self):
|
||||
self.environment['generalInformation']['running'] = False
|
||||
|
||||
def captureSignal(self, siginit, frame):
|
||||
self.shutdownRequest()
|
||||
|
||||
def shutdown(self):
|
||||
if self.environment['runtime']['inputManager']:
|
||||
self.environment['runtime']['inputManager'].shutdown()
|
||||
del self.environment['runtime']['inputManager']
|
||||
self.environment['runtime']['outputManager'].presentText("Quit Fenrir", soundIcon='ScreenReaderOff', interrupt=True)
|
||||
time.sleep(0.9) # wait a little for sound
|
||||
|
||||
if self.environment['runtime']['screenManager']:
|
||||
self.environment['runtime']['screenManager'].shutdown()
|
||||
del self.environment['runtime']['screenManager']
|
||||
if self.environment['runtime']['commandManager']:
|
||||
self.environment['runtime']['commandManager'].shutdown()
|
||||
del self.environment['runtime']['commandManager']
|
||||
if self.environment['runtime']['outputManager']:
|
||||
self.environment['runtime']['outputManager'].shutdown()
|
||||
del self.environment['runtime']['outputManager']
|
||||
if self.environment['runtime']['punctuationManager']:
|
||||
self.environment['runtime']['punctuationManager'].shutdown()
|
||||
del self.environment['runtime']['punctuationManager']
|
||||
if self.environment['runtime']['cursorManager']:
|
||||
self.environment['runtime']['cursorManager'].shutdown()
|
||||
del self.environment['runtime']['cursorManager']
|
||||
if self.environment['runtime']['applicationManager']:
|
||||
self.environment['runtime']['applicationManager'].shutdown()
|
||||
del self.environment['runtime']['applicationManager']
|
||||
|
||||
if self.environment['runtime']['debug']:
|
||||
self.environment['runtime']['debug'].shutdown()
|
||||
del self.environment['runtime']['debug']
|
||||
time.sleep(0.2) # wait a little before splatter it :)
|
||||
self.environment = None
|
||||
|
||||
def main():
|
||||
#if __name__ == "__main__":
|
||||
app = fenrir()
|
||||
app.proceed()
|
||||
del app
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,40 @@
|
||||
Metadata-Version: 1.1
|
||||
Name: fenrir
|
||||
Version: 0.1a0
|
||||
Summary: An TTY Screen Reader For Linux.
|
||||
Home-page: https://github.com/chrys87/fenrir/
|
||||
Author: Chrys and others
|
||||
Author-email: chrys87@web.de
|
||||
License: UNKNOWN
|
||||
Description: # fenrir (Alfa)
|
||||
An TTY screenreader for Linux.
|
||||
Its an early alpha version. You can test it. It is not recommended for production use. If you want to help just let me know.
|
||||
|
||||
# requirements
|
||||
- linux
|
||||
- python3
|
||||
- python-espeak
|
||||
- python-evdev
|
||||
- loaded uinput kernel module
|
||||
Read permission to the following files:
|
||||
/sys/devices/virtual/tty/tty0/active
|
||||
/dev/vcsa[1-64]
|
||||
ReadWrite permission
|
||||
/dev/input
|
||||
/dev/uinput
|
||||
|
||||
# optional
|
||||
- sox [its used by default in the generic sound driver for playing sound-icons]
|
||||
- speech-dispatcher, python3-speechd [to use the speech-dispatcher driver]
|
||||
- brltty, python-brlapi [for using braille] # (not implemented yet)
|
||||
- gstreamer [for soundicons via gstreamer] # not working yet
|
||||
- python-pyenchant for spell check functionality
|
||||
|
||||
# installation
|
||||
Currently there is no setupscript (sorry). But you can just run as root or setup needed permission
|
||||
cd src/fenrir-package/
|
||||
sudo ./fenrir.py
|
||||
Settings are located in the config directory.
|
||||
|
||||
Platform: UNKNOWN
|
||||
Classifier: Development Status :: 3 - Alpha
|
||||
@@ -0,0 +1,169 @@
|
||||
setup.py
|
||||
src/fenrir/fenrir
|
||||
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/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/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_char_phonetic.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/curr_word_phonetic.py
|
||||
src/fenrir/commands/commands/cursor_position.py
|
||||
src/fenrir/commands/commands/date.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/first_clipboard.py
|
||||
src/fenrir/commands/commands/forward_keypress.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/linux_paste_clipboard.py
|
||||
src/fenrir/commands/commands/marked_text.py
|
||||
src/fenrir/commands/commands/next_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_line.py
|
||||
src/fenrir/commands/commands/review_curr_word.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_line.py
|
||||
src/fenrir/commands/commands/review_next_word.py
|
||||
src/fenrir/commands/commands/review_prev_char.py
|
||||
src/fenrir/commands/commands/review_prev_line.py
|
||||
src/fenrir/commands/commands/review_prev_word.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/time.py
|
||||
src/fenrir/commands/commands/toggle_auto_read.py
|
||||
src/fenrir/commands/commands/toggle_auto_spell_check.py
|
||||
src/fenrir/commands/commands/toggle_braille.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/onApplicationChange/__init__.py
|
||||
src/fenrir/commands/onApplicationChange/test.py
|
||||
src/fenrir/commands/onInput/10000-shut_up.py
|
||||
src/fenrir/commands/onInput/45000-present_char_if_cursor_change_horizontal.py
|
||||
src/fenrir/commands/onInput/50000-char_echo.py
|
||||
src/fenrir/commands/onInput/55000-present_line_if_cursor_change_vertical.py
|
||||
src/fenrir/commands/onInput/60000-word_echo.py
|
||||
src/fenrir/commands/onInput/62000-spell_check.py
|
||||
src/fenrir/commands/onInput/65000-char_delete_echo.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/onScreenChanged/10000-shut_up.py
|
||||
src/fenrir/commands/onScreenChanged/80000-screen_change_announcement.py
|
||||
src/fenrir/commands/onScreenChanged/85000-screen_chnage_reset_marks.py
|
||||
src/fenrir/commands/onScreenChanged/85000-screen_chnage_reset_review.py
|
||||
src/fenrir/commands/onScreenChanged/89000-screen_chnage_leve_review_mode.py
|
||||
src/fenrir/commands/onScreenChanged/__init__.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/agetty.py
|
||||
src/fenrir/commands/onSwitchApplicationProfile/bash.py
|
||||
src/fenrir/commands/onSwitchApplicationProfile/default.py
|
||||
src/fenrir/commands/onSwitchApplicationProfile/vim.py
|
||||
src/fenrir/core/__init__.py
|
||||
src/fenrir/core/applicationManager.py
|
||||
src/fenrir/core/commandManager.py
|
||||
src/fenrir/core/commands.py
|
||||
src/fenrir/core/cursorManager.py
|
||||
src/fenrir/core/debug.py
|
||||
src/fenrir/core/environment.py
|
||||
src/fenrir/core/generalInformation.py
|
||||
src/fenrir/core/inputEvent.py
|
||||
src/fenrir/core/inputManager.py
|
||||
src/fenrir/core/outputManager.py
|
||||
src/fenrir/core/punctuationManager.py
|
||||
src/fenrir/core/runtime.py
|
||||
src/fenrir/core/screenData.py
|
||||
src/fenrir/core/screenManager.py
|
||||
src/fenrir/core/settings.py
|
||||
src/fenrir/core/settingsManager.py
|
||||
src/fenrir/fenrir.egg-info/PKG-INFO
|
||||
src/fenrir/fenrir.egg-info/SOURCES.txt
|
||||
src/fenrir/fenrir.egg-info/dependency_links.txt
|
||||
src/fenrir/fenrir.egg-info/not-zip-safe
|
||||
src/fenrir/fenrir.egg-info/requires.txt
|
||||
src/fenrir/fenrir.egg-info/top_level.txt
|
||||
src/fenrir/inputDriver/__init__.py
|
||||
src/fenrir/inputDriver/evdev.py
|
||||
src/fenrir/screenDriver/__init__.py
|
||||
src/fenrir/screenDriver/linux.py
|
||||
src/fenrir/soundDriver/__init__.py
|
||||
src/fenrir/soundDriver/generic.py
|
||||
src/fenrir/soundDriver/gstreamer.py
|
||||
src/fenrir/speechDriver/__init__.py
|
||||
src/fenrir/speechDriver/espeak.py
|
||||
src/fenrir/speechDriver/generic.py
|
||||
src/fenrir/speechDriver/speechd.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/review_utils.py
|
||||
src/fenrir/utils/word_utils.py
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
evdev
|
||||
sox
|
||||
python-espeak
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Fenrir screenreader
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/var/run/fenrir.pid
|
||||
ExecStart=/usr/bin/fenrir
|
||||
Restart=on-abort
|
||||
#Group=fenrir
|
||||
#User=fenrir
|
||||
|
||||
[Install]
|
||||
WantedBy=sound.target
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,50 @@
|
||||
# Screen Reader Turned On or Off
|
||||
ScreenReaderOn='ScreenReaderOn.wav'
|
||||
ScreenReaderOff='ScreenReaderOff.wav'
|
||||
# Cancel the current command
|
||||
Cancel='Cancel.wav'
|
||||
# Accept command
|
||||
Accept='Accept.wav'
|
||||
# Bell a sound if the TTY is changed (ctrl + alt +FX)
|
||||
ChangeTTY='ChangeTTY.wav'
|
||||
# Is the first Position on the line
|
||||
StartOfLine='StartOfLine.wav'
|
||||
# Is the last position of the Line
|
||||
EndOfLine='EndOfLine.wav'
|
||||
# the Line is empty
|
||||
EmptyLine='EmptyLine.wav'
|
||||
# Is the first line on the screen.
|
||||
StartOfScreen='StartOfScreen.wav'
|
||||
# Is the last line on the screen
|
||||
EndOfScreen='EndOfScreen.wav'
|
||||
# The content has changed
|
||||
ContentChanged='ContentChanged.wav'
|
||||
# Speech has turned On or Off
|
||||
SpeechOn='SpeechOn.wav'
|
||||
SpeechOff='SpeechOff.wav'
|
||||
# Braille has turned On or Off
|
||||
BrailleOn='BrailleOn.wav'
|
||||
BrailleOff='BrailleOff.wav'
|
||||
# SoundIcons has turned On or Off
|
||||
SoundOn='SoundOn.wav'
|
||||
SoundOff='SoundOff.wav'
|
||||
# Set beginnig mark
|
||||
PlaceStartMark='PlaceStartMark.wav'
|
||||
# Set end mark
|
||||
PlaceEndMark='PlaceEndMark.wav'
|
||||
# Copied to clipboard
|
||||
CopyToClipboard='CopyToClipboard.wav'
|
||||
# Pasted on the screen
|
||||
PasteClipboardOnScreen='PasteClipboardOnScreen.wav'
|
||||
# An error accoured while speech or braille output or reading the screen
|
||||
ErrorSpeech='ErrorSpeech.wav'
|
||||
ErrorBraille='ErrorBraille.wav'
|
||||
ErrorScreen='ErrorScreen.wav'
|
||||
# If you cursor over an text that has attributs (like color)
|
||||
HasAttributes='HasAttributes.wav'
|
||||
# fenrir can promote strings if they appear on the screen.
|
||||
PromotedText='PromotedText.wav'
|
||||
# missspelled indicator
|
||||
mispell='mispell.wav'
|
||||
# the for capital letter
|
||||
capital='Caps.wav'
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,50 @@
|
||||
# Screen Reader Turned On or Off
|
||||
ScreenReaderOn='ScreenReaderOn.opus'
|
||||
ScreenReaderOff='ScreenReaderOff.opus'
|
||||
# Cancel the current command
|
||||
Cancel='Cancel.opus'
|
||||
# Accept command
|
||||
Accept='Accept.opus'
|
||||
# Bell a sound if the TTY is changed (ctrl + alt +FX)
|
||||
ChangeTTY='ChangeTTY.opus'
|
||||
# Is the first Position on the line
|
||||
StartOfLine='StartOfLine.opus'
|
||||
# Is the last position of the Line
|
||||
EndOfLine='EndOfLine.opus'
|
||||
# the Line is empty
|
||||
EmptyLine='EmptyLine.opus'
|
||||
# Is the first line on the screen.
|
||||
StartOfScreen='StartOfScreen.opus'
|
||||
# Is the last line on the screen
|
||||
EndOfScreen='EndOfScreen.opus'
|
||||
# The content has changed
|
||||
ContentChanged='ContentChanged.opus'
|
||||
# Speech has turned On or Off
|
||||
SpeechOn='SpeechOn.opus'
|
||||
SpeechOff='SpeechOff.opus'
|
||||
# Braille has turned On or Off
|
||||
BrailleOn='BrailleOn.opus'
|
||||
BrailleOff='BrailleOff.opus'
|
||||
# SoundIcons has turned On or Off
|
||||
SoundOn='SoundOn.opus'
|
||||
SoundOff='SoundOff.opus'
|
||||
# Set beginnig mark for copy to clipboard
|
||||
PlaceStartMark='PlaceStartMark.opus'
|
||||
# Set end mark for copy to clipboard
|
||||
PlaceEndMark='PlaceEndMark.opus'
|
||||
# Copied to clipboard
|
||||
CopyToClipboard='CopyToClipboard.opus'
|
||||
# Pasted on the screen
|
||||
PasteClipboardOnScreen='PasteClipboardOnScreen.opus'
|
||||
# An error accoured while speech or braille output or reading the screen
|
||||
ErrorSpeech='ErrorSpeech.opus'
|
||||
ErrorBraille='ErrorBraille.opus'
|
||||
ErrorScreen='ErrorScreen.opus'
|
||||
# If you cursor over an text that has attributs (like color)
|
||||
HasAttributes='HasAttributes.opus'
|
||||
# fenrir can promote strings if they appear on the screen.
|
||||
PromotedText='PromotedText.opus'
|
||||
# missspelled indicator
|
||||
mispell='mispell.opus'
|
||||
# the for capital letter
|
||||
capital='Caps.opus'
|
||||
@@ -0,0 +1,50 @@
|
||||
# Screen Reader Turned On or Off
|
||||
ScreenReaderOn=''
|
||||
ScreenReaderOff=''
|
||||
# Cancel the current command
|
||||
Cancel=''
|
||||
# Accept command
|
||||
Accept=''
|
||||
# Bell a sound if the TTY is changed (ctrl + alt +FX)
|
||||
ChangeTTY=''
|
||||
# Is the first Position on the line
|
||||
StartOfLine=''
|
||||
# Is the last position of the Line
|
||||
EndOfLine=''
|
||||
# the Line is empty
|
||||
EmptyLine=''
|
||||
# Is the first line on the screen.
|
||||
StartOfScreen=''
|
||||
# Is the last line on the screen
|
||||
EndOfScreen=''
|
||||
# The content has changed
|
||||
ContentChanged=''
|
||||
# Speech has turned On or Off
|
||||
SpeechOn=''
|
||||
SpeechOff=''
|
||||
# Braille has turned On or Off
|
||||
BrailleOn=''
|
||||
BrailleOff=''
|
||||
# SoundIcons has turned On or Off
|
||||
SoundIconsOn=''
|
||||
SoundIconsOff=''
|
||||
# Set beginnig mark for copy to clipboard
|
||||
PlaceStartCopyMark=''
|
||||
# Set end mark for copy to clipboard
|
||||
PlaceEndCopyMark=''
|
||||
# Copied to clipboard
|
||||
CopyToClipboard=''
|
||||
# Pasted on the screen
|
||||
PasedClipboardOnScreen=''
|
||||
# An error accoured while speech or braille output or reading the screen
|
||||
ErrorSpeech=''
|
||||
ErrorBraille=''
|
||||
ErrorScreen=''
|
||||
# If you cursor over an text that has attributs (like color)
|
||||
HasAttributes=''
|
||||
# fenrir can promote strings if they appear on the screen.
|
||||
PromotedText=''
|
||||
# misspelled indicator
|
||||
mispell=''
|
||||
# the for capital letter:
|
||||
capital=''
|
||||
Reference in New Issue
Block a user