How to configure the keyboard ?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Alex
Level 2
Level 2
Posts: 35
Joined: Fri Jul 11, 2008 10:50 am

How to configure the keyboard ?

Post by Alex »

Hi :wink:

I want to learn how to type fastly and easily with Tap'Touche, a french typing shareware
(you can find a a screenshot here )

Why a french typing tool ?
> humm... I'm french !

Why a shareware ?
> I've tried others tools wich are more or less efficient.
> Tap'Touche tests your abilities and builds exercises that fit you

And what's the matter ?
> When I launch Tap'Touche, a warning is displayed.
> It says that my keyboard is misconfigured and so, some exercises could not be done.

If anyone has an idea ... :roll:

Thanks
Vincent Povirk

How to configure the keyboard ?

Post by Vincent Povirk »

Wine tries very hard to detect the keyboard settings of your general
Linux environment and use those (and it does not provide a way to
override the autodetection). Normally, the way to configure your
keyboard would be the same way as for other Linux apps.

I'm going to assume that you already have a layout set that is
suitable for typing in French and that, except for this program, Wine
is working ok with it.

This is probably a Wine bug, not something you could easily configure.
I don't think it will be easy to figure out what's going on here.

If you're willing to put in the time, I suggest trying to find out:
* What causes this error message on Windows? If it involves something
that does not exist in Wine, maybe you can fool the program into
thinking it does (or, if necessary, get it implemented).
* Is the program failing to read any interesting registry keys before
it decides your keyboard is misconfigured? You can run Wine with the
WINEDEBUG environment variable set to +reg to see what registry keys
the program is reading.
* Is there any way you can get more information from the program about
what it thinks is misconfigured?

You might also want to consider a virtual machine, as it could be
easier if you have a spare Windows license.

--
Vincent Povirk
Alex
Level 2
Level 2
Posts: 35
Joined: Fri Jul 11, 2008 10:50 am

Post by Alex »

When I run wine with WINEDEBUG=+reg, I get the following message displaying endless

Code: Select all

trace:reg:NtOpenKey (0xa4,L"CLSID\\{275C23E2-3747-11D0-9FEA-00AA003F8646}",20019,0x33e270)
trace:reg:NtOpenKey <- (nil)
err:ole:CoGetClassObject class {275c23e2-3747-11d0-9fea-00aa003f8646} not registered
trace:reg:NtOpenKey (0xa4,L"CLSID\\{275C23E2-3747-11D0-9FEA-00AA003F8646}",20019,0x33e270)
trace:reg:NtOpenKey <- (nil)
err:ole:CoGetClassObject class {275c23e2-3747-11d0-9fea-00aa003f8646} not registered
err:ole:CoGetClassObject no class object {275c23e2-3747-11d0-9fea-00aa003f8646} could be created for context 0x3
I've created a log :

Code: Select all

alex@cerebro:~$ WINEDEBUG=+reg wine /home/alex/.wine/drive_c/Program\ Files/Tap\'Touche\ 5/TTouche.exe > log 2>&1
It's very long so I'll only post the interesting part but if you want, I can upload it :

Code: Select all

alex@cerebro:~$ cat log | sed '/^fix\|^err/!d' | sort -u
err:ole:CoGetClassObject class {275c23e2-3747-11d0-9fea-00aa003f8646} not registered
err:ole:CoGetClassObject no class object {275c23e2-3747-11d0-9fea-00aa003f8646} could be created for context 0x3
err:ole:ITypeInfo_fnInvoke did not find member id -514, flags 0x4!
fixme:win:SetLayeredWindowAttributes (0x10056,0x00ffffff,0,2): stub!
fixme:win:SetLayeredWindowAttributes (0x10056,0x00ffffff,113,2): stub!
fixme:win:SetLayeredWindowAttributes (0x10056,0x00ffffff,127,2): stub!
fixme:win:SetLayeredWindowAttributes (0x10056,0x00ffffff,141,2): stub!
fixme:win:SetLayeredWindowAttributes (0x10056,0x00ffffff,170,2): stub!
fixme:win:SetLayeredWindowAttributes (0x10056,0x00ffffff,198,2): stub!
fixme:win:SetLayeredWindowAttributes (0x10056,0x00ffffff,212,2): stub!
fixme:win:SetLayeredWindowAttributes (0x10056,0x00ffffff,226,2): stub!
fixme:win:SetLayeredWindowAttributes (0x10056,0x00ffffff,255,2): stub!
fixme:win:SetLayeredWindowAttributes (0x10056,0x00ffffff,28,2): stub!
fixme:win:SetLayeredWindowAttributes (0x10056,0x00ffffff,42,2): stub!
fixme:win:SetLayeredWindowAttributes (0x10056,0x00ffffff,56,2): stub!
fixme:win:SetLayeredWindowAttributes (0x10056,0x00ffffff,85,2): stub!
fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE

I can install VirtualBox with WInXP (I bet that it will working perfectly) but it's less convenient than running just one application with wine.

If I can help you to improve wine compatibilities... :wink:

Code: Select all

alex@cerebro:~$ wine --version
wine-1.0
Locked