Re: [Lubuntu-desktop] Fwd: Lubuntu and Accessibility

2011-05-25 Thread Julien Lavergne
Thanks. I'll keep a copy of this notes, It will be useful when the work
on accessibility will start :)

Regards,
Julien Lavergne

Le Tuesday 24 May 2011 à 23:58 +0100, Phill Whiteside a écrit :
 
 
 -- Forwarded message --
 From: Rob Whyte fu...@thefudge.net
 Date: Tue, May 24, 2011 at 8:24 AM
 Subject: Re: Lubuntu and Accessibility
 To: Phill Whiteside phi...@ubuntu.com
 
 
 Hi guys,
 in my own efforts to get orca better with LXDE I conversed with Klaus
 Knopper the author of Knoppix.
 I have put his notes below..
 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.
 Please find notes below and hope it is helpful.
 
 export SAL_USE_VCLPLUGIN=gtk GTK_MODULES=gail:atk-bridge
 before starting a GTK program makes it aware of orca as screenreader.
 You need to start orca as well, of course.
 
 The panel containing the menu (lxpanel in our case) will send the
 highlighted menu item to orca automatically if the two variables
 mentioned before are set before starting lxpanel. The tricky part is
 to
 pop up the menu without the mouse. Unfortunately, lxpanel does not
 have a
 hotkey for this on its own, but the command lxpanelctl menu will
 notify lxpanel to show the menu. Now you add this command to the
 window
 managers hotkey list (which is different in compiz-fusion and
 metacity),
 and you are there. Once the hotkey (Alt-F1 in Knoppix) is pressed,
 lxpanelctl menu will be called, and the menu pops up.
 
 I did not find a way yet to browse through the dock icons in lxpanel,
 though it must be possible somehow, since using the mouse will focus
 the
 icons and lets orca speak them. Maybe, just the internal link between
 icons and a hotkey for selecting them is missing.
 
 pcmanfm works quite well with orca, though the desktop background
 version of it is not very talkative. If you start the windowed version
 of pcmanfm, you can switch between canvases with eithger TAB or the
 cursor keys (sometimes it's not very intuitive to understand which one
 to use).
 
 It should be possible, yet I'm unsure how to make the desktop manager
 part of pcmanfm put the focus on the first icon on the desktop. Once
 one
 item has the focus, you can browse through the desktop icons with the
 cursor keys.
 surely pcmanfm
 could need some accessibility enhancements concerning hotkeys and
 their
 documentation.
 
 in regards to accessing the panel,
 The only way I found so far is the lxpanelctl command which is to be
 called by the window manager. Alt-F1 pops up the menu in Knoppix.
 
 The hotkey modifications for compiz-fusion and metacity concerning the
 lxpanel menu is present in /etc/X11/Xsession.d/45knoppix. Here is an
 excerpt:
 
 --
 
 case $STARTUP in
  *lxde|lx*) # Need to change Alt_F1 and Alt_F2 hotkeys in order to
 make LXDE menu accessible
  sed -i -e 's/as_main_menu_key *=.*$/as_main_menu_key = Disabled/g' \
 -e 's/as_run_command0_key *=.*$/as_run_command0_key =
 AltF1/g' \
 -e 's/as_command0 *=.*$/as_command0 = lxpanelctl menu/g' \
$HOME/.config/compiz/compizconfig/Default.ini 2/dev/null
  gconftool --type string \
--set /apps/metacity/global_keybindings/panel_main_menu
 disabled \
--set /apps/metacity/global_keybindings/panel_run_dialog
 disabled \
--set /apps/metacity/global_keybindings/run_command_1
 'AltF1' \
--set /apps/metacity/global_keybindings/run_command_2
 'AltF2' \
--set /apps/metacity/keybinding_commands/command_1
 'lxpanelctl menu' \
--set /apps/metacity/keybinding_commands/command_2
 'lxpanelctl run'
  ;;
  *) # Change Alt-F1 back when not running lxde
  sed -i -e 's/as_main_menu_key *=.*$/as_main_menu_key = AltF1/g' \
$HOME/.config/compiz/compizconfig/Default.ini 2/dev/null
  gconftool --type string \
--set /apps/metacity/global_keybindings/panel_main_menu
 'AltF1' \
--set /apps/metacity/global_keybindings/panel_run_dialog
 'AltF2'
  ;;
 esac
 
 --
 
 Of course this can also be set manually in gconf-editor
 (metacity/gnome) or ccsm (compiz-fusion).
 
 Klaus Knopper
 
 
 
 
 
 On 23/05/11 19:58, Phill Whiteside wrote:
 Hiyas,
 
 much has happened recently, including lubuntu getting
 clearance for full
 adoption at 11.10 by Canonical. Whilst I have quietly pushed
 accessibility (well, maybe not so quietly) as a part of
 lubuntu, we now
 need a bit of help off this team.
 
 Our specification of the minimal hardware it will run on
 cannot be
 broken, nor can our commitment to pre i686 processors.
 https://wiki.ubuntu.com/Lubuntu
 
  From a general chat to our head of development on lubuntu, he
 is of the
 opinion that if the code is really (and I mean really) tight,
 that it
 would be possible to include within the very tight 

Re: [Lubuntu-desktop] Fwd: Lubuntu and Accessibility

2011-05-24 Thread PCMan
For the panel, Brian Cameron has a good idea. He suggested that we can
use a different UI for orca.
That means, replacing all buttons in the bar with standard GtkButton
widget rather than some hand-made ones.
This looks ugly, but will have much better usability. If
accessibility mode is on, we use standard GtkButton with text label
rather than current ones with images on them.

On Wed, May 25, 2011 at 6:58 AM, Phill Whiteside phi...@ubuntu.com wrote:


 -- Forwarded message --
 From: Rob Whyte fu...@thefudge.net
 Date: Tue, May 24, 2011 at 8:24 AM
 Subject: Re: Lubuntu and Accessibility
 To: Phill Whiteside phi...@ubuntu.com


 Hi guys,
 in my own efforts to get orca better with LXDE I conversed with Klaus
 Knopper the author of Knoppix.
 I have put his notes below..
 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.
 Please find notes below and hope it is helpful.

 export SAL_USE_VCLPLUGIN=gtk GTK_MODULES=gail:atk-bridge
 before starting a GTK program makes it aware of orca as screenreader.
 You need to start orca as well, of course.

 The panel containing the menu (lxpanel in our case) will send the
 highlighted menu item to orca automatically if the two variables
 mentioned before are set before starting lxpanel. The tricky part is to
 pop up the menu without the mouse. Unfortunately, lxpanel does not have a
 hotkey for this on its own, but the command lxpanelctl menu will
 notify lxpanel to show the menu. Now you add this command to the window
 managers hotkey list (which is different in compiz-fusion and metacity),
 and you are there. Once the hotkey (Alt-F1 in Knoppix) is pressed,
 lxpanelctl menu will be called, and the menu pops up.

 I did not find a way yet to browse through the dock icons in lxpanel,
 though it must be possible somehow, since using the mouse will focus the
 icons and lets orca speak them. Maybe, just the internal link between
 icons and a hotkey for selecting them is missing.

 pcmanfm works quite well with orca, though the desktop background
 version of it is not very talkative. If you start the windowed version
 of pcmanfm, you can switch between canvases with eithger TAB or the
 cursor keys (sometimes it's not very intuitive to understand which one
 to use).

 It should be possible, yet I'm unsure how to make the desktop manager
 part of pcmanfm put the focus on the first icon on the desktop. Once one
 item has the focus, you can browse through the desktop icons with the
 cursor keys.
 surely pcmanfm
 could need some accessibility enhancements concerning hotkeys and their
 documentation.

 in regards to accessing the panel,
 The only way I found so far is the lxpanelctl command which is to be
 called by the window manager. Alt-F1 pops up the menu in Knoppix.

 The hotkey modifications for compiz-fusion and metacity concerning the
 lxpanel menu is present in /etc/X11/Xsession.d/45knoppix. Here is an
 excerpt:

 --

 case $STARTUP in
  *lxde|lx*) # Need to change Alt_F1 and Alt_F2 hotkeys in order to make LXDE
 menu accessible
  sed -i -e 's/as_main_menu_key *=.*$/as_main_menu_key = Disabled/g' \
         -e 's/as_run_command0_key *=.*$/as_run_command0_key = AltF1/g' \
         -e 's/as_command0 *=.*$/as_command0 = lxpanelctl menu/g' \
            $HOME/.config/compiz/compizconfig/Default.ini 2/dev/null
  gconftool --type string \
            --set /apps/metacity/global_keybindings/panel_main_menu disabled
 \
            --set /apps/metacity/global_keybindings/panel_run_dialog disabled
 \
            --set /apps/metacity/global_keybindings/run_command_1 'AltF1' \
            --set /apps/metacity/global_keybindings/run_command_2 'AltF2' \
            --set /apps/metacity/keybinding_commands/command_1 'lxpanelctl
 menu' \
            --set /apps/metacity/keybinding_commands/command_2 'lxpanelctl
 run'
  ;;
  *) # Change Alt-F1 back when not running lxde
  sed -i -e 's/as_main_menu_key *=.*$/as_main_menu_key = AltF1/g' \
            $HOME/.config/compiz/compizconfig/Default.ini 2/dev/null
  gconftool --type string \
            --set /apps/metacity/global_keybindings/panel_main_menu 'AltF1'
 \
            --set /apps/metacity/global_keybindings/panel_run_dialog 'AltF2'
  ;;
 esac

 --

 Of course this can also be set manually in gconf-editor (metacity/gnome) or
 ccsm (compiz-fusion).

 Klaus Knopper



 On 23/05/11 19:58, Phill Whiteside wrote:

 Hiyas,

 much has happened recently, including lubuntu getting clearance for full
 adoption at 11.10 by Canonical. Whilst I have quietly pushed
 accessibility (well, maybe not so quietly) as a part of lubuntu, we now
 need a bit of help off this team.

 Our specification of the minimal hardware it will run on cannot be
 broken, nor can our commitment to pre i686 processors.
 https://wiki.ubuntu.com/Lubuntu

  From a general chat to our head of development on lubuntu, he is of the
 opinion that if the code is really (and I mean really) 

Re: [Lubuntu-desktop] Fwd: Lubuntu and Accessibility

2011-05-24 Thread Alex H.
Hi

I like that approach, Plus as I'm totally blind, I don't care about
the graphics and that's just resources being used for no reason for
some buttons.

Alex

On 5/24/11, PCMan pcman...@gmail.com wrote:
 For the panel, Brian Cameron has a good idea. He suggested that we can
 use a different UI for orca.
 That means, replacing all buttons in the bar with standard GtkButton
 widget rather than some hand-made ones.
 This looks ugly, but will have much better usability. If
 accessibility mode is on, we use standard GtkButton with text label
 rather than current ones with images on them.

 On Wed, May 25, 2011 at 6:58 AM, Phill Whiteside phi...@ubuntu.com wrote:


 -- Forwarded message --
 From: Rob Whyte fu...@thefudge.net
 Date: Tue, May 24, 2011 at 8:24 AM
 Subject: Re: Lubuntu and Accessibility
 To: Phill Whiteside phi...@ubuntu.com


 Hi guys,
 in my own efforts to get orca better with LXDE I conversed with Klaus
 Knopper the author of Knoppix.
 I have put his notes below..
 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.
 Please find notes below and hope it is helpful.

 export SAL_USE_VCLPLUGIN=gtk GTK_MODULES=gail:atk-bridge
 before starting a GTK program makes it aware of orca as screenreader.
 You need to start orca as well, of course.

 The panel containing the menu (lxpanel in our case) will send the
 highlighted menu item to orca automatically if the two variables
 mentioned before are set before starting lxpanel. The tricky part is to
 pop up the menu without the mouse. Unfortunately, lxpanel does not have a
 hotkey for this on its own, but the command lxpanelctl menu will
 notify lxpanel to show the menu. Now you add this command to the window
 managers hotkey list (which is different in compiz-fusion and metacity),
 and you are there. Once the hotkey (Alt-F1 in Knoppix) is pressed,
 lxpanelctl menu will be called, and the menu pops up.

 I did not find a way yet to browse through the dock icons in lxpanel,
 though it must be possible somehow, since using the mouse will focus the
 icons and lets orca speak them. Maybe, just the internal link between
 icons and a hotkey for selecting them is missing.

 pcmanfm works quite well with orca, though the desktop background
 version of it is not very talkative. If you start the windowed version
 of pcmanfm, you can switch between canvases with eithger TAB or the
 cursor keys (sometimes it's not very intuitive to understand which one
 to use).

 It should be possible, yet I'm unsure how to make the desktop manager
 part of pcmanfm put the focus on the first icon on the desktop. Once one
 item has the focus, you can browse through the desktop icons with the
 cursor keys.
 surely pcmanfm
 could need some accessibility enhancements concerning hotkeys and their
 documentation.

 in regards to accessing the panel,
 The only way I found so far is the lxpanelctl command which is to be
 called by the window manager. Alt-F1 pops up the menu in Knoppix.

 The hotkey modifications for compiz-fusion and metacity concerning the
 lxpanel menu is present in /etc/X11/Xsession.d/45knoppix. Here is an
 excerpt:

 --

 case $STARTUP in
  *lxde|lx*) # Need to change Alt_F1 and Alt_F2 hotkeys in order to make
 LXDE
 menu accessible
  sed -i -e 's/as_main_menu_key *=.*$/as_main_menu_key = Disabled/g' \
         -e 's/as_run_command0_key *=.*$/as_run_command0_key = AltF1/g' \
         -e 's/as_command0 *=.*$/as_command0 = lxpanelctl menu/g' \
            $HOME/.config/compiz/compizconfig/Default.ini 2/dev/null
  gconftool --type string \
            --set /apps/metacity/global_keybindings/panel_main_menu
 disabled
 \
            --set /apps/metacity/global_keybindings/panel_run_dialog
 disabled
 \
            --set /apps/metacity/global_keybindings/run_command_1 'AltF1'
 \
            --set /apps/metacity/global_keybindings/run_command_2 'AltF2'
 \
            --set /apps/metacity/keybinding_commands/command_1 'lxpanelctl
 menu' \
            --set /apps/metacity/keybinding_commands/command_2 'lxpanelctl
 run'
  ;;
  *) # Change Alt-F1 back when not running lxde
  sed -i -e 's/as_main_menu_key *=.*$/as_main_menu_key = AltF1/g' \
            $HOME/.config/compiz/compizconfig/Default.ini 2/dev/null
  gconftool --type string \
            --set /apps/metacity/global_keybindings/panel_main_menu
 'AltF1'
 \
            --set /apps/metacity/global_keybindings/panel_run_dialog
 'AltF2'
  ;;
 esac

 --

 Of course this can also be set manually in gconf-editor (metacity/gnome)
 or
 ccsm (compiz-fusion).

 Klaus Knopper



 On 23/05/11 19:58, Phill Whiteside wrote:

 Hiyas,

 much has happened recently, including lubuntu getting clearance for full
 adoption at 11.10 by Canonical. Whilst I have quietly pushed
 accessibility (well, maybe not so quietly) as a part of lubuntu, we now
 need a bit of help off this team.

 Our specification of the minimal hardware it will run on cannot be
 

Re: [Lubuntu-desktop] Fwd: Lubuntu and Accessibility

2011-05-24 Thread Luke Yelavich
On Wed, May 25, 2011 at 11:44:10AM EST, PCMan wrote:
 For the panel, Brian Cameron has a good idea. He suggested that we can
 use a different UI for orca.
 That means, replacing all buttons in the bar with standard GtkButton
 widget rather than some hand-made ones.
 This looks ugly, but will have much better usability. If
 accessibility mode is on, we use standard GtkButton with text label
 rather than current ones with images on them.

An alternative is to make the existing buttons accessible, by adding calls to 
atk to properly identify and label the buttons. This reduces the amount of 
divergence and makes it easier for you to maintain, as you don't have to 
maintain a set of buttons using 2 different ways of rendering etc.

Luke

-- 
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility