Comment 14 for bug 551515

Revision history for this message
WaywardGeek (waywardgeek) wrote : Re: [Bug 551515] Re: [Lucid] need little modify the ubiquity-hooks/30accessibility script with gdm accessibility setting configuration part in Blindness profile

Thanks, Attila! I'll add your patch to the buildvinuxiso script.

Bill

On Thu, Apr 1, 2010 at 12:02 PM, Attila Hammer <email address hidden> wrote:
> I doed the final revision if not have another suggestion or request.
>
> What changed?
> Now, the patch is not used system vide GDM gconf setting method, using original method.
> The patch copying modifyed .orca folder with target system/var/lib/gdm folder.
> The patch do need modifications with .bash_logout and /etc/gdm/PostSession/Default file in the target system, and this will be fix Jose wroted problem if the patch is committed and he reinstall he's system.
>
> Final, importanter new feature:
> The patched ubiquityhooks/30accessibility script in target system synchronise the new created user home folder to target system/etc/skel folder. Of course, Bill request is done now (copy .orca folder in /var/lib/gdm folder and /etc/skel folder in target system, but I do more bigger step. Single .orca folder copy in the /etc/skel folder is not enough, because this step is not result basic accessibility support with new created user with single system, now, this is done.
> This happening only if accessibility mode is screen reader (access=v3 parameter is used). This new feature resulting basic accessibility support for example following situation:
> If the admin user creates new user with installed system, the new created user gets basic accessibility support with Screen Reader mode.
> Of course, if Bill for example do special Vinux release, this change is not destroying he made changes, custom key bindings, custom Orca scripts in /etc/skel folder. I tested this situation with custom /etc/skel folder and original installation method, this feature working right both two situation.
>
> The patch passed my all wanted tests. Upgrade is working right, GDM is
> talking after full apt-get dist-upgrade and restart, when I setted
> Ctrl+Alt+Backspace and logout, Orca is talking correct with login screen
> and after I logged in.
>
> So, I think we fixed all problems we want.
>
> Attila
>
>
> ** Attachment added: "This is the final patch, if not have suggestions or instructions."
>   http://launchpadlibrarian.net/42795905/30-accessibilitypatch-3
>
> --
> [Lucid] need little modify the ubiquity-hooks/30accessibility script with gdm accessibility setting configuration part in Blindness profile
> https://bugs.launchpad.net/bugs/551515
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “casper” package in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: casper
>
> Dear Developers,
>
> In Lucid, some blind users lot of time wroted following problem in Ubuntu-Accessibility list:
> When GDM is upgraded an installed system, ubiquity-casper 30accessibility script preconfigured GDM accessible login settings during installation is restored with default value. This is resulting problems with next restart, because blind users impossible use accessible GDM login feature before not setting manual all important GDM related gconf settings and restart the system.
> The problem related with following:
> Now, in blindness profile, gct_gdm using following method to configure GDM accessible login feature:
> gct_gdm() {
>    chroot /target sudo -u gdm gconftool-2 "$@"
>                        gct_gdm -s -t bool /desktop/gnome/interface/accessibility true
>                        gct_gdm -s -t bool /desktop/gnome/applications/at/visual/startup true
>                        gct_gdm -s -t string /desktop/gnome/applications/at/visual/exec orca
>                        gct_gdm -s -t bool /desktop/gnome/applications/at/screen_reader_enabled true
>
> So, the ubiquity-hooks/30accessibility script set this feature related settings with gdm user, not using system default setting method.
> For example, Bill Cox Vinux Developer in Ubuntu Accessibility List suggest following change:
> "All of the 30-accessibility commands apply to gdm's local copy of
> settings, not default system-wide settings.  I would recommend that
> they be changed to system wide.  I already do that in Vinux.
> I prefer to set this option as a global default value.  That, when
> users update their system and gdm is upgraded, they still have a
> talking login.  The command I use is:
>
> gconftool-2 --direct --config-source
> xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool
> /desktop/gnome/applications/at/screen_reader_enabled true
> That should fix the problem long-term."
>
> I make a change with ubiquity-hooks/30accessibility script with important places, and setting all GDM related accessibility settings with system vide settings in blindness profile.
> Before I write this bugreport, I make my testing purpose a custom actual Lucid live CD, with containing new patched ubiquity-casper package.
> I do clean installation, and after this, I do a full apt-get dist-upgrade command. I do this, because I known now happening this day a GDM upgrade, and this is ideal situation for testing.
> The good results is following:
> My maked patched ubiquity-casper package is working absolute safe. When the installation is finished, I restart the system. GDM is talking fine after restart. I using blindness profile with screen reader support during installation.
> After I logged in first, I do full apt-get dist-upgrade and restart my system.
> After restart is happened and GDM is present my display, accessible login feature working absolute right, Orca is wonderful talking after GDM upgrade.
>
> Please apply my patch if this is possible, because this patch resulting longer time safe working accessible login feature with visual impaired users if using Orca Screen Reader. This change not disturb non visual imparied users, this change do 30accessibility script during installation if accessible mode is v3.
>
> Attila
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: casper 1.229
> ProcVersionSignature: Ubuntu 2.6.32-18.27-generic 2.6.32.10+drm33.1
> Uname: Linux 2.6.32-18-generic i686
> Architecture: i386
> Date: Tue Mar 30 10:27:31 2010
> InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100129)
> ProcEnviron:
>  LANGUAGE=hu_HU.UTF-8
>  LANG=hu_HU.UTF-8
>  SHELL=/bin/bash
> SourcePackage: casper
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/casper/+bug/551515/+subscribe
>