wavexx / screenkey

A screencast tool to display your keys inspired by Screenflick
https://www.thregr.org/~wavexx/software/screenkey/
GNU General Public License v3.0
758 stars 65 forks source link

XIM support #5

Closed introlinux closed 9 years ago

introlinux commented 9 years ago

Hi, it would be possible to include utf-8 support in screenkey? I have an spanish keyboard and when I try to write "áéíóú" screenkey writes ", a , e , e , o , u".

Thanks in advance.

wavexx commented 9 years ago

On 07/08/15 13:46, Antonio Sánchez wrote:

Hi, it would be possible to include utf-8 support in screenkey? I have an spanish keyboard and when I try to write "áéíóú" screenkey writes ", a , e , e , o , u".

That's strange. I generally use an italian/german one, and it works.

Maybe there's some locale configuration issue? I've set my system to en_US.UTF-8.

introlinux commented 9 years ago

My system is in es_ES.UTF-8. With an italian configuration you can write, for example, "perché" (with accent)?

2015-08-07 14:33 GMT+02:00 wavexx notifications@github.com:

On 07/08/15 13:46, Antonio Sánchez wrote:

Hi, it would be possible to include utf-8 support in screenkey? I have an spanish keyboard and when I try to write "áéíóú" screenkey writes ", a , e , e , o , u".

That's strange. I generally use an italian/german one, and it works.

Maybe there's some locale configuration issue? I've set my system to en_US.UTF-8.

— Reply to this email directly or view it on GitHub https://github.com/wavexx/screenkey/issues/5#issuecomment-128689050.

wavexx commented 9 years ago

On 07/08/15 15:47, Antonio Sánchez wrote:

My system is in es_ES.UTF-8. With an italian configuration you can write, for example, "perché" (with accent)?

I always keep my locale to en_US.UTF-8 (for convenience and no translations), but if I just switch keyboard layout using setxkbmap.

It just works. I can type umlauts and accented letters just fine.

Can you attach a screenshot maybe to see exactly the output?

Also, can you run screenkey using -d to and attach a few lines of output as well?

introlinux commented 9 years ago

I made a little video, might help to find out what happens.

Thank you for your patience.

2015-08-07 16:09 GMT+02:00 wavexx notifications@github.com:

On 07/08/15 15:47, Antonio Sánchez wrote:

My system is in es_ES.UTF-8. With an italian configuration you can write, for example, "perché" (with accent)?

I always keep my locale to en_US.UTF-8 (for convenience and no translations), but if I just switch keyboard layout using setxkbmap.

It just works. I can type umlauts and accented letters just fine.

Can you attach a screenshot maybe to see exactly the output?

Also, can you run screenkey using -d to and attach a few lines of output as well?

— Reply to this email directly or view it on GitHub https://github.com/wavexx/screenkey/issues/5#issuecomment-128710098.

introlinux commented 9 years ago

wop! http://youtu.be/-7-NtjPIqe4

2015-08-09 0:24 GMT+02:00 Antonio Sánchez introlinux@gmail.com:

I made a little video, might help to find out what happens.

Thank you for your patience.

2015-08-07 16:09 GMT+02:00 wavexx notifications@github.com:

On 07/08/15 15:47, Antonio Sánchez wrote:

My system is in es_ES.UTF-8. With an italian configuration you can write, for example, "perché" (with accent)?

I always keep my locale to en_US.UTF-8 (for convenience and no translations), but if I just switch keyboard layout using setxkbmap.

It just works. I can type umlauts and accented letters just fine.

Can you attach a screenshot maybe to see exactly the output?

Also, can you run screenkey using -d to and attach a few lines of output as well?

— Reply to this email directly or view it on GitHub https://github.com/wavexx/screenkey/issues/5#issuecomment-128710098.

wavexx commented 9 years ago

On 09/08/15 00:25, Antonio Sánchez wrote:

wop! http://youtu.be/-7-NtjPIqe4

Thanks for the video, it was really helpful.

I cannot tell due to the low quality, but when do you press "à" for example (and I assume), I see first \ufe51 seem to appear in the "Symbols" output, quickly followed by a regular "a".

Right?

wavexx commented 9 years ago

On 09/08/15 01:21, Yuri D'Elia wrote:

On 09/08/15 00:25, Antonio Sánchez wrote:

wop! http://youtu.be/-7-NtjPIqe4

Thanks for the video, it was really helpful.

I cannot tell due to the low quality, but when do you press "à" for example (and I assume), I see first \ufe51 seem to appear in the "Symbols" output, quickly followed by a regular "a".

Ha, now I see.

I just tried the same with the es keyboard map: it's a composed sequence with a dead key.

Composed sequences are not currently handled indeed (even though I use the altgr-intl option regularly myself).

I need to read some documentation in order to handle it correctly.

introlinux commented 9 years ago

By default, youtube scale videos, chage the quality/resolution at the botton right.

2015-08-09 1:29 GMT+02:00 wavexx notifications@github.com:

On 09/08/15 01:21, Yuri D'Elia wrote:

On 09/08/15 00:25, Antonio Sánchez wrote:

wop! http://youtu.be/-7-NtjPIqe4

Thanks for the video, it was really helpful.

I cannot tell due to the low quality, but when do you press "à" for example (and I assume), I see first \ufe51 seem to appear in the "Symbols" output, quickly followed by a regular "a".

Ha, now I see.

I just tried the same with the es keyboard map: it's a composed sequence with a dead key.

Composed sequences are not currently handled indeed (even though I use the altgr-intl option regularly myself).

I need to read some documentation in order to handle it correctly.

— Reply to this email directly or view it on GitHub https://github.com/wavexx/screenkey/issues/5#issuecomment-129069870.

wavexx commented 9 years ago

This was true hell to fix, but it should work correctly now. Could you give the latest sources a try?

introlinux commented 9 years ago

You rocks! It goes perfectly now. :-)

wavexx commented 9 years ago

Then closing!