Date: Thu, 26 Oct 2017 08:51:09
From: Didier Spaier <didier slint fr>
To: orca-list <orca-list gnome org>
Cc: Peter V?gner <pvdeejay gmail com>, Jude DaShiell
<jdashiel panix com>
Subject: Re: [orca-list] [Testers wanted before the official release]
??? Slint64-4.2.1 release candidate is accessible.
Hello,
Le 22/10/2017 ? 17:34, Peter V?gner a ?crit:
Here is orca desktop file I have put into my
~/.config/autostart
after I have commented out call to it and call to
speech-dispatcher in
the
xinit config.
[Desktop Entry]
Type=Application
Version=1.0
Name=orca
Exec=/usr/bin/orca
AutostartCondition=[ -f ~/.config/startorca ]
I have implemented that, but writing it in /etc/xdg/autostart as
startorca.desktop.
However, a sighted user that had not ~/.config/startorca reported
here:
https://forum.salixos.org/viewtopic.php?f=44&t=7429&p=43234#p43231
Made some upgrades with gslapt and now I have someone talking when I
open a browser. I can barely understand it. It sounds like English
with a strong Swiss accent. :x
How can I stop the talk?
I answered in this thread, and write the conclusion below.
The file /etc/xdg/autostart/startorca includes this line:
AutostartCondition=[ -f ~/.config/startorca ]
But actually the AutostartCondition was proposed in this post
https://lists.freedesktop.org/archives/xdg/2007-January/007436.html]
but not accepted in the Desktop Application Autostart Specification:
https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html
although Gnome seems to implement it.
So this condition is ignored in our context thus orca is
unconditionally
autostarted. The reason why Firefox (also Thunderbird) speaks but not
other apps in this context is that most apps need that some
environment
parameter be properly set, which is done in .xinitrc when running
startx
only if ~/.config.startorca exists.
To solve this issue I see two possibilities. I prefer the second
one, as
most users won't need speech in a graphical environment:
1. If the user don't want sound, copy in ~/.config/autostart a file
startorca.desktop including this line:
Hidden=true
2. Remove startorca.desktop from /etc/xdg/autostart and instead
write it
in ~/.config/autostart only if the user wants speech in the
desktop. If
she don't want it anymore she can either remove it or append in it
this
line:
Hidden=true
then we would set the accessibility parameters in .xinitrc if
~/.config/autostart/startorca.desktop exists, instead of if
~/.config/startorca exists.
What do you think?
Greetings,
Didier