Unverified Commit 30449ad3 authored by David Beniamine's avatar David Beniamine
Browse files

Configure orca properly

parent 0944454d
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
#!/bin/bash
DIR=$(realpath $(dirname $0))
USERS="01-mini 02-super 03-maxi prof"
if [ -z "$(dpkg -l | grep orca)" ]
then
    apt-get update
    apt-get install -y gnome-orca speech-dispatcher-espeak-ng
fi
# TODO : copy config files
for u in $USERS
do
    confdir="/home/$u/.local/share/orca/"
    mkdir -p confdir
    cp $DIR/orca.conf $confdir/user-settings.conf
done
$DIR/add_to_handy_menu.py $DIR/orca.desktop "Accessibilité langue" mini maxi super prof

orca.conf

0 → 100644
+163 −0
Original line number Diff line number Diff line
{
    "pronunciations": {},
    "profiles": {
        "default": {
            "voices": {
                "default": {
                    "family": {
                        "dialect": null,
                        "name": "voix par d\u00e9faut espeak-ng",
                        "locale": "fr"
                    }
                },
                "system": {
                    "established": false
                },
                "hyperlink": {
                    "established": false
                },
                "uppercase": {
                    "average-pitch": 7.0
                }
            },
            "speechServerFactory": "orca.speechdispatcherfactory",
            "keybindings": {},
            "speechServerInfo": [
                "espeak-ng",
                "espeak-ng"
            ],
            "pronunciations": {},
            "profile": [
                "Default",
                "default"
            ],
            "brailleContractionTable": "/usr/share/liblouis/tables/en-us-interline.ctb"
        }
    },
    "keybindings": {},
    "general": {
        "enablePauseBreaks": true,
        "enableFlashMessages": true,
        "enableContractedBraille": false,
        "speakCellSpan": true,
        "enableBraille": true,
        "enableSpeechIndentation": false,
        "beepProgressBarUpdates": false,
        "layoutMode": true,
        "structNavTriggersFocusMode": false,
        "speakCellCoordinates": true,
        "presentToolTips": false,
        "ignoreStatusBarProgressBars": true,
        "speakNumbersAsDigits": false,
        "enableTutorialMessages": false,
        "structNavInSayAll": false,
        "caretNavTriggersFocusMode": false,
        "enableEchoByCharacter": false,
        "enableBrailleMonitor": false,
        "soundVolume": 0.5,
        "brailleLinkIndicator": 192,
        "chatAnnounceBuddyTyping": false,
        "presentTimeFormat": "%X",
        "playSoundForState": false,
        "mouseDwellDelay": null,
        "enableMnemonicSpeaking": false,
        "brailleFlashTime": 5000,
        "brailleContractionTable": "",
        "flashIsDetailed": true,
        "rewindAndFastForwardInSayAll": false,
        "enableEchoByWord": false,
        "brailleVerbosityLevel": 1,
        "chatSpeakRoomName": false,
        "verbalizePunctuationStyle": 1,
        "findResultsVerbosity": 2,
        "startingProfile": [
            "Default",
            "default"
        ],
        "playSoundForPositionInSet": false,
        "keyboardLayout": 1,
        "speakMultiCaseStringsAsWords": false,
        "wrappedStructuralNavigation": true,
        "skipBlankCells": false,
        "enabledBrailledTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; text-spelling:none;",
        "enableSpeech": true,
        "speakMisspelledIndicator": true,
        "enableMouseReview": false,
        "enableSpace": true,
        "disableBrailleEOL": false,
        "orcaModifierKeys": [
            "Insert",
            "KP_Insert"
        ],
        "readFullRowInDocumentTable": true,
        "speakProgressBarUpdates": true,
        "readFullRowInGUITable": true,
        "enableSound": true,
        "brailleAlignmentStyle": 0,
        "progressBarUpdateInterval": 10,
        "textAttributesBrailleIndicator": 0,
        "enablePositionSpeaking": false,
        "speechServerInfo": null,
        "enableBrailleContext": true,
        "spellcheckPresentContext": true,
        "profile": [
            "Default",
            "default"
        ],
        "speechVerbosityLevel": 1,
        "messagesAreDetailed": true,
        "structuralNavigationEnabled": true,
        "chatMessageVerbosity": 0,
        "enableDiacriticalKeys": false,
        "onlySpeakDisplayedText": false,
        "capitalizationStyle": "none",
        "brailleRolenameStyle": 1,
        "voices": {
            "default": {
                "established": false
            },
            "uppercase": {
                "average-pitch": 7.0
            },
            "hyperlink": {
                "established": false
            },
            "system": {
                "established": false
            }
        },
        "speechServerFactory": "speechdispatcherfactory",
        "enableKeyEcho": true,
        "speakSpreadsheetCoordinates": true,
        "largeObjectTextLength": 75,
        "findResultsMinimumLength": 4,
        "enableModifierKeys": true,
        "enabledSpokenTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; paragraph-style:; text-spelling:none; fg-color:; bg-color:;",
        "brailleSelectorIndicator": 192,
        "enableActionKeys": true,
        "readFullRowInSpreadSheet": false,
        "speakCellHeaders": true,
        "enablePunctuationKeys": true,
        "brailleProgressBarUpdates": false,
        "enableAlphabeticKeys": true,
        "enableNavigationKeys": false,
        "progressBarVerbosity": 1,
        "activeProfile": [
            "Default",
            "default"
        ],
        "playSoundForValue": false,
        "chatRoomHistories": false,
        "useColorNames": true,
        "presentDateFormat": "%x",
        "spellcheckSpellSuggestion": true,
        "spellcheckSpellError": true,
        "flashIsPersistent": false,
        "speakBlankLines": true,
        "enableEchoBySentence": false,
        "enableFunctionKeys": true,
        "playSoundForRole": false,
        "enableNumericKeys": true,
        "sayAllStyle": 1
    }
}