Login  Register

Re: Wrong keyboard layout on Ubuntu

Posted by Christophe Meessen-3 on Feb 18, 2009; 8:19pm
URL: http://imagej.273.s1.nabble.com/Wrong-keyboard-layout-on-Ubuntu-tp3693645p3693647.html

Hello,

The problem was finally solved with a small change in a SCIM
configuration file.
In the file /etc/scim/global I had to add the french locale identifier
to the list after the us one.

I changed the line
/SupportedUnicodeLocales = en_US.UTF-8
into
/SupportedUnicodeLocales = en_US.UTF-8,fr_FR.UTF-8

The value to add is the one returned by the shell command 'echo $LANG'.
I rebooted and voilà ! JEdit and ImageJ now recognize the € sign and the
é and è I type :)

Thank you very much for taking the time to answer. What you suggest is
probably the way to do the same thing through the GUI environment. I
didn't verify that though.

Johannes Schindelin a écrit :

> Hi,
>
> On Wed, 18 Feb 2009, Christophe Meessen wrote:
>
>  
>> I'm fighting with this problem for some times now. I'm using Ubuntu 64
>> bit (Debian derived) and when I run ImageJ it assume I have the qwerty
>> (us layout) keyboard.
>>    
>
> I also use 64-bit Ubuntu.  For me, the default layout is US, too.  Have
> you tried installing the Keyboard Indicator (right click on the top panel
> and select "Add to Panel...")?  There, you can add new layouts (right
> click on the Keyboard Indicator, go to "Keyboard Preferences...", tab
> "Layouts"), switch on a per-window basis, and change the default.
>
> Hth,
> Dscho
>
>