[Dextrose] adds packages for accessibility and set configuration for xmodmap to magnifier
Bernie Innocenti
bernie at codewiz.org
Fri Aug 6 22:01:15 EDT 2010
El Fri, 06-08-2010 a las 15:11 -0300, Esteban Arias escribió:
> adds packages for accessibility and set configuration for xmodmap to
> magnifier
>
> diff --git a/examples/f11-0.88-xo1-py.ini
> b/examples/f11-0.88-xo1-py.ini
> index 5fd412c..29ab870 100644
> --- a/examples/f11-0.88-xo1-py.ini
> +++ b/examples/f11-0.88-xo1-py.ini
> @@ -51,6 +51,11 @@ add_packages=
> telepathy-sofiasip,
> x11vnc,
> chkconfig,
> + CapitalFont,
> + FlatbedCursors,
> + ax,
> + magnifier-Ceibal,
> + python-xlib,
These shouldn't be necessary, because the sugar package already requires
them.
(for a short period of time, I had neglected to merge this part of your
sugar.spec file into the dextrose one, but now it should be ok)
> +/bin/echo " -Copiando .xsession "
> +/bin/cp $FILES/.xsession $INSTALL_ROOT/home/olpc/
> +/usr/sbin/chroot $INSTALL_ROOT /bin/chown
> olpc:olpc /home/olpc/.xsession
> +/usr/sbin/chroot $INSTALL_ROOT /bin/chmod +x /home/olpc/.xsession
Is there really a need to chroot just to chmod the files?
Also, you could simplify file installation using the install command:
install -m 755 $FILES/.xsession $INSTALL_ROOT/home/olpc/
> diff --git a/modules/custom_scripts/misc/.xsession
> b/modules/custom_scripts/misc/.xsession
> new file mode 100755
> index 0000000..aa2bef3
> --- /dev/null
> +++ b/modules/custom_scripts/misc/.xsession
> @@ -0,0 +1 @@
> +xmodmap xmodmap.conf
Ok, but we could also move this into /usr/bin/olpc-session, by modifying
the olpc-utils package.
> diff --git a/modules/custom_scripts/misc/xmodmap.conf
> b/modules/custom_scripts/misc/xmodmap.conf
> new file mode 100644
> index 0000000..6dfefb7
> --- /dev/null
> +++ b/modules/custom_scripts/misc/xmodmap.conf
> @@ -0,0 +1,3 @@
> +keycode 133 = Caps_Lock
> +add Lock = Caps_Lock
> +keycode 224 = F13
Which keys are these on the XO-1 keyboard? A comment in the file would
be nice.
In the future, we could also fold these changes into the olpc keymaps
contained in the xkeyboard-config package. I know the upstream
maintainer, Sergey Udaltsov.
--
// Bernie Innocenti - http://codewiz.org/
\X/ Sugar Labs - http://sugarlabs.org/
More information about the Dextrose
mailing list