Re: On-screen keyboard for g-i

2010-09-04 Thread Samuel Thibault
Hello,

Christian PERRIER, le Sat 04 Sep 2010 23:06:40 +0200, a écrit :
> There is still work to do for instance to
> ahave the virtual keyboard only when needed, as well as adding a
> calibration test and skipping the keymap selection.

I'd just like to mention that this can also be an accessibility feature,
so please provide a way to select it by hand even on machines where it'd
not normally be needed.

Samuel


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100904215253.gm22...@const



Re: On-screen keyboard for g-i

2010-09-04 Thread Christian PERRIER
Quoting Cyril Brulebois (k...@debian.org):
> Hi,
> 
> Christian PERRIER  (04/09/2010):
> > At very first glance, things are working: I just click on the
> > virtual keyboard and letters are entered.
> 
> does it sound something like you (-boot) would want for Squeeze? That
> they (-release) would let flow in? In which case I'd have an udeb to
> add to an X package.

At very first glance, I think this is a little bit too early for
having all this in squeeze. There is still work to do for instance to
ahave the virtual keyboard only when needed, as well as adding a
calibration test and skipping the keymap selection.




signature.asc
Description: Digital signature


Re: On-screen keyboard for g-i

2010-09-04 Thread Cyril Brulebois
Hi,

Christian PERRIER  (04/09/2010):
> At very first glance, things are working: I just click on the
> virtual keyboard and letters are entered.

does it sound something like you (-boot) would want for Squeeze? That
they (-release) would let flow in? In which case I'd have an udeb to
add to an X package.

Mraw,
KiBi.


signature.asc
Description: Digital signature


Re: On-screen keyboard for g-i

2010-09-04 Thread Christian PERRIER
Quoting Thibaut Girka (t...@sitedethib.com):

> Looking at the layout file, those keys are supposed to be the
> directional arrows, but no idea why they aren't displayed (they aren't
> on my laptop, which obviously can display them). I'm going to take a
> look at the code.

Fonts for g-i are stripped. All glyphs that aren't used in D-I are
dropped, for size considerations. So, I'm indeed not surprised that
arows don't show up.



-- 




signature.asc
Description: Digital signature


Re: On-screen keyboard for g-i

2010-09-04 Thread Thibaut Girka
Le samedi 04 septembre 2010 à 07:44 +0200, Christian PERRIER a écrit :
> (CC'ing you as I answer quite late and you might miss the answer. No
> need to CC me back)

(no need to CC me, I'm suscribed to the list)

> Quoting Thibaut Girka (t...@sitedethib.com):
> [...]
> At very first glance, things are working: I just click on the virtual
> keyboard and letters are entered.

Thanks for your interest :)

> A few comments:
> - we'll need to have a way to activate this only for devices/machines
> that need it.

Yeah, but I'm not too sure about how to do this... maybe test if there
is a touchscreen?
I was planning to see if I can make a xinput-calibrator udeb in order to
callibrate the touchscreen (for now, I'm shipping a calibration file).
On my laptop, where I have no touchscreen, it says so and exit, maybe we
can call it to calibrate the screen, then, if there is one, launch
matchbox and matchbox-keyboard?

> Probably in place of the standard keymap selection that
> means nothing for such machines, I guess (moreover, I did choose the
> French layout but the virtual keymap has a QWERTY layout

Yeah, I'm only using the default one.
Selecting the user-chosen layout would make sense, but matchbox-keyboard
provides its own layouts.

> - The äëö key is strange. Hitting it turns "e" into "ë", but not "a"
> and "o". It also turns "2" to "1/2" and "3" to "3/4".

That's how the default layout work, but indeed, that is strange, and I
can't see why they made it that way (after all, it's the "äëö" key, why
do only "e" => "ë"?).
I can take care of that and improve a bit the layout, but I'm not really
aware of the upstream situation.

> - there are 4 keys at the bottom right, close to "@" that have simple
> squares as symbols (probably characters dropped from the font used in D-I).

Looking at the layout file, those keys are supposed to be the
directional arrows, but no idea why they aren't displayed (they aren't
on my laptop, which obviously can display them). I'm going to take a
look at the code.


signature.asc
Description: This is a digitally signed message part


Re: On-screen keyboard for g-i

2010-09-03 Thread Christian PERRIER
(CC'ing you as I answer quite late and you might miss the answer. No
need to CC me back)

Quoting Thibaut Girka (t...@sitedethib.com):

> > If you want to try, I can build an image for x86/qemu right now.
> 
> "Right now"... well, here it is, but be patient, it's behind my home
> connection!
> http://www.sitedethib.com/files/mini.iso

Downloaded the image. I gavce it a first try.

At very first glance, things are working: I just click on the virtual
keyboard and letters are entered.

A few comments:
- we'll need to have a way to activate this only for devices/machines
that need it. Probably in place of the standard keymap selection that
means nothing for such machines, I guess (moreover, I did choose the
French layout but the virtual keymap has a QWERTY layout

- The äëö key is strange. Hitting it turns "e" into "ë", but not "a"
and "o". It also turns "2" to "1/2" and "3" to "3/4".

- there are 4 keys at the bottom right, close to "@" that have simple
squares as symbols (probably characters dropped from the font used in D-I).

-- 




signature.asc
Description: Digital signature


Re: On-screen keyboard for g-i

2010-09-01 Thread Thibaut Girka
Le mardi 10 août 2010 à 16:42 +0200, Thibaut Girka a écrit :
> Le mardi 10 août 2010 à 09:09 -0400, Christian PERRIER a écrit :
> > Quoting Thibaut Girka (t...@sitedethib.com):
> > > [...]
> > > (I have patches for that, should I file a bug against the adequate
> > > packages, with the patches included?).
> > 
> > Sure, to guarantee that nothing is lost.
> 
> Ok, will do that soon.

Done: #592504, #592505, #593090 and #593093.
#592505 (libfakekey0) and #593090 (matchbox-keyboard-udeb) have already
been closed, but the packages will need a binNMU (they have been
uploaded despite #592504 blocking them) when libxtst6-udeb will be
available.

> > Great work, anyway. Even though I haven't seen this, I think your
> > descriptions gives a good picture of all this.
> 
> Thanks
> If you want to try, I can build an image for x86/qemu right now.

"Right now"... well, here it is, but be patient, it's behind my home
connection!
http://www.sitedethib.com/files/mini.iso


signature.asc
Description: This is a digitally signed message part


Re: On-screen keyboard for g-i

2010-08-10 Thread Thibaut Girka
Le mardi 10 août 2010 à 09:09 -0400, Christian PERRIER a écrit :
> Quoting Thibaut Girka (t...@sitedethib.com):
> > Hi,
> > Lately, I've been trying g-i on the FreeRunner, and one of the obvious
> > issues is that the FR doesn't have a keyboard.
> > So, I've decided to make a matchbox-keyboard udeb.
> > First thing is that it requires a few libs which don't have a udeb yet
> > (I have patches for that, should I file a bug against the adequate
> > packages, with the patches included?).
> 
> Sure, to guarantee that nothing is lost.

Ok, will do that soon.


> > Second thing is that it needs a window manager (otherwise, it'll be
> > misplaced, cover g-i, and take focus when clicking on it, which defeats
> > the purpose of an on-screen keyboard).
> > So, I've made a matchbox-window-manager udeb, configured differently
> > from the matchbox-window-manager package so it depends only on things
> > that already have a udeb.
> > 
> > For now, each of the two packages ship a script
> > in /lib/debian-installer.d/ to start (unconditionally. How to be sure
> > there is no keyboard? Query X? udev? And I've heard about security keys
> > that behaves like keyboards...) after X.
> > Should this files be shipped in those packages, or in some other package
> > (rootskel-gtk, or some package made for the occasion)?
> 
> 
> Would be nice to have this in D-I SVN. Maybe first under people/
> before we move it to packages/ when things are reviewed/ready.

Well, those (matchbox-{window-manager,keyboard}-udeb) are built from the
same packages than matchbox-window-manager and matchbox-keyboard, so, it
shouldn't be in packages/.
I'll file a bug when I'm sure about the /lib/debian-installer.d/ thing.

> Great work, anyway. Even though I haven't seen this, I think your
> descriptions gives a good picture of all this.

Thanks
If you want to try, I can build an image for x86/qemu right now.



signature.asc
Description: This is a digitally signed message part


Re: On-screen keyboard for g-i

2010-08-10 Thread Christian PERRIER
Quoting Thibaut Girka (t...@sitedethib.com):
> Hi,
> Lately, I've been trying g-i on the FreeRunner, and one of the obvious
> issues is that the FR doesn't have a keyboard.
> So, I've decided to make a matchbox-keyboard udeb.
> First thing is that it requires a few libs which don't have a udeb yet
> (I have patches for that, should I file a bug against the adequate
> packages, with the patches included?).

Sure, to guarantee that nothing is lost.

Please give as many details as possible about your work on D-I for the
FR so that maitnainers who would not be part of the D-I team
understand what's all this about.

Some may raise objections as the freeze is going on. Please redirect
them to -boot.

> Second thing is that it needs a window manager (otherwise, it'll be
> misplaced, cover g-i, and take focus when clicking on it, which defeats
> the purpose of an on-screen keyboard).
> So, I've made a matchbox-window-manager udeb, configured differently
> from the matchbox-window-manager package so it depends only on things
> that already have a udeb.
> 
> For now, each of the two packages ship a script
> in /lib/debian-installer.d/ to start (unconditionally. How to be sure
> there is no keyboard? Query X? udev? And I've heard about security keys
> that behaves like keyboards...) after X.
> Should this files be shipped in those packages, or in some other package
> (rootskel-gtk, or some package made for the occasion)?


Would be nice to have this in D-I SVN. Maybe first under people/
before we move it to packages/ when things are reviewed/ready.

Great work, anyway. Even though I haven't seen this, I think your
descriptions gives a good picture of all this.




signature.asc
Description: Digital signature


On-screen keyboard for g-i

2010-08-10 Thread Thibaut Girka
Hi,
Lately, I've been trying g-i on the FreeRunner, and one of the obvious
issues is that the FR doesn't have a keyboard.
So, I've decided to make a matchbox-keyboard udeb.
First thing is that it requires a few libs which don't have a udeb yet
(I have patches for that, should I file a bug against the adequate
packages, with the patches included?).
Second thing is that it needs a window manager (otherwise, it'll be
misplaced, cover g-i, and take focus when clicking on it, which defeats
the purpose of an on-screen keyboard).
So, I've made a matchbox-window-manager udeb, configured differently
from the matchbox-window-manager package so it depends only on things
that already have a udeb.

For now, each of the two packages ship a script
in /lib/debian-installer.d/ to start (unconditionally. How to be sure
there is no keyboard? Query X? udev? And I've heard about security keys
that behaves like keyboards...) after X.
Should this files be shipped in those packages, or in some other package
(rootskel-gtk, or some package made for the occasion)?

I've tried those packages on my FR, it seems to work perfectly: you
can't notice the WM and the keyboard only shows up when an entry is
selected (thanks to the gtk input module).

Regards,
Thibaut Girka.


signature.asc
Description: This is a digitally signed message part