<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Rob Whyte</b> <span dir="ltr"><<a href="mailto:fudge@thefudge.net" target="_blank">fudge@thefudge.net</a>></span><br>
Date: Tue, May 24, 2011 at 8:24 AM<br>
Subject: Re: Lubuntu and Accessibility<br>To: Phill Whiteside <<a href="mailto:phillw@ubuntu.com" target="_blank">phillw@ubuntu.com</a>><br><br><br>Hi guys,<br>
in my own efforts to get orca better with LXDE I conversed with Klaus Knopper the author of Knoppix.<br>
I have put his notes below..<br>
I also tried with nto much success to try and figure out why orca did not work with thunar though it claims to have great gtk support.<br>
Please find notes below and hope it is helpful.<br>
<br>
export SAL_USE_VCLPLUGIN="gtk" GTK_MODULES="gail:atk-bridge"<br>
before starting a GTK program makes it aware of orca as screenreader.<br>
You need to start orca as well, of course.<br>
<br>
The panel containing the menu (lxpanel in our case) will send the<br>
"highlighted" menu item to orca automatically if the two variables<br>
mentioned before are set before starting lxpanel. The tricky part is to<br>
pop up the menu without the mouse. Unfortunately, lxpanel does not have a<br>
"hotkey" for this on its own, but the command "lxpanelctl menu" will<br>
notify lxpanel to show the menu. Now you add this command to the window<br>
managers hotkey list (which is different in compiz-fusion and metacity),<br>
and you are there. Once the hotkey (Alt-F1 in Knoppix) is pressed,<br>
lxpanelctl menu will be called, and the menu pops up.<br>
<br>
I did not find a way yet to browse through the dock icons in lxpanel,<br>
though it must be possible somehow, since using the mouse will focus the<br>
icons and lets orca speak them. Maybe, just the internal link between<br>
icons and a hotkey for selecting them is missing.<br>
<br>
pcmanfm works quite well with orca, though the "desktop background"<br>
version of it is not very talkative. If you start the windowed version<br>
of pcmanfm, you can switch between canvases with eithger TAB or the<br>
cursor keys (sometimes it's not very intuitive to understand which one<br>
to use).<br>
<br>
It should be possible, yet I'm unsure how to make the desktop manager<br>
part of pcmanfm put the focus on the first icon on the desktop. Once one<br>
item has the focus, you can browse through the desktop icons with the<br>
cursor keys.<br>
surely pcmanfm<br>
could need some accessibility enhancements concerning hotkeys and their<br>
documentation.<br>
<br>
in regards to accessing the panel,<br>
The only way I found so far is the "lxpanelctl" command which is to be<br>
called by the window manager. Alt-F1 pops up the menu in Knoppix.<br>
<br>
The hotkey modifications for compiz-fusion and metacity concerning the<br>
lxpanel menu is present in /etc/X11/Xsession.d/45knoppix. Here is an<br>
excerpt:<br>
<br>
--<br>
<br>
case "$STARTUP" in<br>
*lxde|lx*) # Need to change Alt_F1 and Alt_F2 hotkeys in order to make LXDE menu accessible<br>
sed -i -e 's/as_main_menu_key *=.*$/as_main_menu_key = Disabled/g' \<br>
-e 's/as_run_command0_key *=.*$/as_run_command0_key = <AltF1/g' \<br>
-e 's/as_command0 *=.*$/as_command0 = lxpanelctl menu/g' \<br>
"$HOME/.config/compiz/compizconfig/Default.ini" 2/dev/null<br>
gconftool --type string \<br>
--set /apps/metacity/global_keybindings/panel_main_menu disabled \<br>
--set /apps/metacity/global_keybindings/panel_run_dialog disabled \<br>
--set /apps/metacity/global_keybindings/run_command_1 '<AltF1' \<br>
--set /apps/metacity/global_keybindings/run_command_2 '<AltF2' \<br>
--set /apps/metacity/keybinding_commands/command_1 'lxpanelctl menu' \<br>
--set /apps/metacity/keybinding_commands/command_2 'lxpanelctl run'<br>
;;<br>
*) # Change Alt-F1 back when not running lxde<br>
sed -i -e 's/as_main_menu_key *=.*$/as_main_menu_key = <AltF1/g' \<br>
"$HOME/.config/compiz/compizconfig/Default.ini" 2/dev/null<br>
gconftool --type string \<br>
--set /apps/metacity/global_keybindings/panel_main_menu '<AltF1' \<br>
--set /apps/metacity/global_keybindings/panel_run_dialog '<AltF2'<br>
;;<br>
esac<br><font color="#888888">
<br>
--<br>
<br>
Of course this can also be set manually in gconf-editor (metacity/gnome) or ccsm (compiz-fusion).<br>
<br>
Klaus Knopper</font><div><div></div><div><br>
<br>
<br>
<br>
On 23/05/11 19:58, Phill Whiteside wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hiyas,<br>
<br>
much has happened recently, including lubuntu getting clearance for full<br>
adoption at 11.10 by Canonical. Whilst I have quietly pushed<br>
accessibility (well, maybe not so quietly) as a part of lubuntu, we now<br>
need a bit of help off this team.<br>
<br>
Our specification of the minimal hardware it will run on cannot be<br>
broken, nor can our commitment to pre i686 processors.<br>
<a href="https://wiki.ubuntu.com/Lubuntu" target="_blank">https://wiki.ubuntu.com/Lubuntu</a><br>
<br>
From a general chat to our head of development on lubuntu, he is of the<br>
opinion that if the code is really (and I mean really) tight, that it<br>
would be possible to include within the very tight constraints that we<br>
are committed to be able to uphold the inclusion of accessibility and<br>
has agreed that we should really strive to attain this.<br>
<br>
We are short of devs who can dedicate resources to this task, so I ask<br>
that any of you who can assist do so. I'd really like to see lubuntu<br>
11.10 come out with as much accessibility as is possible on " A Pentium<br>
II or Celeron system with 128 MiB of RAM is probably a bottom-line<br>
configuration that may yield slow yet usable system with Lubuntu"<br>
<br>
So, once you've all had your heart attacks and say it cannot be done...<br>
the ones who go "hmmm, that is actually possible.." Please make your<br>
selves known.<br>
<br>
Regards,<br>
<br>
Phill.<br>
<br>
--<br>
<a href="https://wiki.ubuntu.com/phillw" target="_blank">https://wiki.ubuntu.com/phillw</a><br>
<br>
<br>
</blockquote>
</div></div></div><br><br clear="all"><br clear="all"><br>-- <br><a href="https://wiki.ubuntu.com/phillw" target="_blank">https://wiki.ubuntu.com/phillw</a><br>