US International Keybord with dead keys

Questions about Wine on Linux
Locked
Francisco6x
Newbie
Newbie
Posts: 3
Joined: Sun Sep 30, 2012 1:35 pm

US International Keybord with dead keys

Post by Francisco6x »

I need the following caracters:
á é í ó ú Á É Í Ó Ú ê ô Ê Ô à À ã õ Ã Õ ç Ç
How you can see, Ubuntu gave me it ok.
But Wine, in Ubuntu, can not do ç Ç.
ç is 'c.
Ç is 'C
Can you help me?.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: US International Keybord with dead keys

Post by vitamin »

Make sure your LANG environment variable is set correctly to the language you are using.
Francisco6x
Newbie
Newbie
Posts: 3
Joined: Sun Sep 30, 2012 1:35 pm

Re: US International Keybord with dead keys

Post by Francisco6x »

Can Wine to use the operating system's locale to decide what language to use?
My Ubuntu 12.04 it is ok.
How can I see the LANG environment variable in Wine?
Can you help me?
I am a Wine new user.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: US International Keybord with dead keys

Post by vitamin »

Francisco6x wrote:Can Wine to use the operating system's locale to decide what language to use?
Yes, that what Wine does. However it might not be set correctly in your case. What is the language you are using? And what does 'locale' command outputs?
Francisco6x
Newbie
Newbie
Posts: 3
Joined: Sun Sep 30, 2012 1:35 pm

Re: US International Keybord with dead keys

Post by Francisco6x »

I am using Portuguese (Brazil).

francisco@francisco-1015PE:~$ locale
LANG=en_US.UTF-8
LANGUAGE=en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=pt_BR.UTF-8
LC_TIME=pt_BR.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=pt_BR.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=pt_BR.UTF-8
LC_NAME=pt_BR.UTF-8
LC_ADDRESS=pt_BR.UTF-8
LC_TELEPHONE=pt_BR.UTF-8
LC_MEASUREMENT=pt_BR.UTF-8
LC_IDENTIFICATION=pt_BR.UTF-8
LC_ALL=
GugaFigueiredo
Level 2
Level 2
Posts: 12
Joined: Tue Jun 19, 2012 6:42 pm

Re: US International Keybord with dead keys

Post by GugaFigueiredo »

Exactly the same issue.
This has something to do with the latest update

I've been using MS Office 2010 on wine for a while now and everything was just fine, except for the every so often update that renders it unusable.
This one is just annoying really, but still

Well, here is my output for locale.. the same thing as Francisco6x

gugabfigueiredo@gugabfigueiredo-HP-Mini-110-1100:~$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=pt_BR.UTF-8
LC_TIME=pt_BR.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=pt_BR.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=pt_BR.UTF-8
LC_NAME=pt_BR.UTF-8
LC_ADDRESS=pt_BR.UTF-8
LC_TELEPHONE=pt_BR.UTF-8
LC_MEASUREMENT=pt_BR.UTF-8
LC_IDENTIFICATION=pt_BR.UTF-8
LC_ALL=
GugaFigueiredo
Level 2
Level 2
Posts: 12
Joined: Tue Jun 19, 2012 6:42 pm

Re: US International Keybord with dead keys

Post by GugaFigueiredo »

Just thought to add... The "LANGUAGE=" line in my output is actually blank, not a mistake
GugaFigueiredo
Level 2
Level 2
Posts: 12
Joined: Tue Jun 19, 2012 6:42 pm

Re: US International Keybord with dead keys

Post by GugaFigueiredo »

Ok... some follow up information

In MS Word 2010 I went to - Word Options > Leguage > Chose Edit Lenguage
And i see that the Portuguese Keyboard Layout is Not Enabled

It says that if I want to edit this I need only to click it
But once I click nothing happens

Can't say for sure that this is the way to resolve this, but it seems to be related.
I think that at least it should say enabled once resolved?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: US International Keybord with dead keys

Post by vitamin »

Try this (change path accordingly):

Code: Select all

LANG=pt_BR.UTF-8 wine path/msword.exe
GugaFigueiredo
Level 2
Level 2
Posts: 12
Joined: Tue Jun 19, 2012 6:42 pm

Re: US International Keybord with dead keys

Post by GugaFigueiredo »

I was unable to apply this fix

Can't find msword.exe in MS Office folder on wine drive
GugaFigueiredo
Level 2
Level 2
Posts: 12
Joined: Tue Jun 19, 2012 6:42 pm

Re: US International Keybord with dead keys

Post by GugaFigueiredo »

No fix for this yet... anyone has any idea?
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: US International Keybord with dead keys

Post by dimesio »

The executable is named WINWORD.EXE.
GugaFigueiredo
Level 2
Level 2
Posts: 12
Joined: Tue Jun 19, 2012 6:42 pm

Re: US International Keybord with dead keys

Post by GugaFigueiredo »

ok, now going somewhere... however

I go on Play on Linux and ask to open app directory. Properties on WINWORD.exe to see that the path is as follows: "/home/gugabfigueiredo/.PlayOnLinux/wineprefix/Office2010/drive_c/Program Files/Microsoft Office/Office14"

when i enter the code you provided, this is the output:
wine: cannot find 'home/gugabfigueiredo/.PlayOnLinux/wineprefix/Office2010/drive_c/Program'

So i go through the directories themselves to find WINWORD.EXE with a different path. This one being: "home/gugabfigueiredo/PlayOnLinux's virtual drives/Office2010/drive_c/Program Files/Microsoft Office/Office14"

I think - "Slightly different, but ok, let try this one".
But the output is: "> " with the blinking dash in front of it.

From then on no other command can be run. And no change whatsoever.
"LANGUAGE=" field is still blank. No sign of change on wine apps. Problem persists. keys are still dead.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: US International Keybord with dead keys

Post by dimesio »

GugaFigueiredo wrote: I go on Play on Linux and ask to open app directory.
Stop right there. The POL script for Office 2010 adds dll overrides that are neither recommended nor supported here. The ONLY native dll you should have for Office 2010 is riched20.

If you want help here, reinstall to a clean wineprefix using plain Wine and following the instructions in the AppDB. Otherwise, ask for help on the POL forum.
GugaFigueiredo
Level 2
Level 2
Posts: 12
Joined: Tue Jun 19, 2012 6:42 pm

Re: US International Keybord with dead keys

Post by GugaFigueiredo »

OK, back here again!

I have found the source of our problems.
I can't be sure this is a WINE issue, POL's or Ubuntu's, since I lack programming knowledge. But allow me to explain so you can get a clear picture.

I was able to restore normal settings.

Here is what I did.

Reinstalled ubuntu to reset all configurations.
Installed POL, updated that.
Installed Office2010 again.

Then, it was working like a charm!

Problem returned as soon as I installed Japanese language input method, through ibus.
I promptly tried shutting down input method switcher (IMS). This resolved the dead keys issue, but not quite. Now instead of dead keys, I had those missing characters auto-typing, i.e. they would be typed regardless of the letter i was trying to apply them on.
Like this: |´e| |´a| |´i| |^e| |,c| |~a| |~o| |`a|

Just had reboot to get the normal input on Office2010 again.

However, this means that whenever i want to switch between input methods i need to reboot to either get IMS working or shutting it down. This way, no further configuration is needed to get back to use Office2010 through WINE/POL normally, with proper keyboard layout and input.

I would like though, if it's possible, not to have to reboot every time.
So If any of you out there is able to provide me with a solution for this, i'd be very gratefull.
I'm posting this on both POL and WINE forums. Whichever helps first I'll update the other as soon as I can.
GugaFigueiredo
Level 2
Level 2
Posts: 12
Joined: Tue Jun 19, 2012 6:42 pm

Re: US International Keybord with dead keys

Post by GugaFigueiredo »

Just a side note: I originally had this problem when using WINE only. Tried POL just to see if it would help. Kept POL because of simpler installation procedure, I'm not an IT professional after all.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: US International Keybord with dead keys

Post by dimesio »

As I said, the POL script adds unsupported overrides. If you want help here, you need to reproduce the problem in a clean wineprefix using plain Wine and manually installing Office. The procedure for manually installing Office consists of simply running the installer, so even those of us who are not IT professionals can easily do it.
GugaFigueiredo
Level 2
Level 2
Posts: 12
Joined: Tue Jun 19, 2012 6:42 pm

Re: US International Keybord with dead keys

Post by GugaFigueiredo »

OK.

Reset the whole thing again.
Now running only on WINE.
Installed Office2010.
Ran IMS (input method switcher).
Problem is up again.

Dead characters when trying to type in any Office2010 apps installed (only thing I have running on WINE).
Same problem as the original post.
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: US International Keybord with dead keys

Post by lahmbi5678 »

Hi,

does the workaround you described above still work? You maybe don't have to reboot, it should be enough to just restart X server (logging out from Gnome/KDE should do that).

I'm not sure, if this IMS/ibus issue is the same as the threadstarter's issue, there's a bug in bugzilla about some keys not working properly on fr or other non-English keyboards, see http://bugs.winehq.org/show_bug.cgi?id=30984 .
GugaFigueiredo
Level 2
Level 2
Posts: 12
Joined: Tue Jun 19, 2012 6:42 pm

Re: US International Keybord with dead keys

Post by GugaFigueiredo »

lahmbi5678 wrote:Hi,

does the workaround you described above still work? You maybe don't have to reboot, it should be enough to just restart X server (logging out from Gnome/KDE should do that).
Right on the money!!
Restarting X is enough... and this helps a LOT!! Makes this so much faster!
For those like me, who didn't know how to do this, u can set up a Keyboard shortcut for this in Precise 12.04 like this:
"Keyboard Layout > Options > Key sequence to kill X server > Ctrl + Alt + Backspace" and check the box there.

I would still like not to have to do this. But I'll take this as a win! Thank you!
lahmbi5678 wrote:I'm not sure, if this IMS/ibus issue is the same as the threadstarter's issue, there's a bug in bugzilla about some keys not working properly on fr or other non-English keyboards, see http://bugs.winehq.org/show_bug.cgi?id=30984 .
Well, he was talking about typing, so i assumed this was the issue.
I have seen another post talking about Japanese characters typed not showing on WINE apps (have seen this for myself). Thought to be related to the issue on this post. That one is not fixed by this, obviously, since deactivating the IMS also deactivates Japanese characters. Can't say its the same thing for Japanese native System/Keyboard (Or fr, as you said), which the link you provided seem to imply.
Locked