Wrong keyboard layout on Ubuntu

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Wrong keyboard layout on Ubuntu

Christophe Meessen-3
Hello,

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 have a French keyboard.
But when I start ImageJ as root, it then properly pick the French keyboard.

Has anyone found out how to solve this problem ? Is this a Java issue ?
Reply | Threaded
Open this post in threaded view
|

Re: Wrong keyboard layout on Ubuntu

manuelbarzi
check the user (not root) defined locale for your keyboard in ubuntu. it has
to be fr too (as you desire), but it may be us by default. "java" just uses
the user profile features, it doesn't change your operating systems
settings.

On Wed, Feb 18, 2009 at 9:32 AM, Christophe Meessen
<[hidden email]>wrote:

> Hello,
>
> 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 have a French keyboard.
> But when I start ImageJ as root, it then properly pick the French keyboard.
>
> Has anyone found out how to solve this problem ? Is this a Java issue ?
>
Reply | Threaded
Open this post in threaded view
|

Re: Wrong keyboard layout on Ubuntu

Christophe Meessen-3
manuelbarzi a écrit :
> check the user (not root) defined locale for your keyboard in ubuntu. it has
> to be fr too (as you desire), but it may be us by default. "java" just uses
> the user profile features, it doesn't change your operating systems
> settings.
>  
Thanks, but the locale is Ok. I found out the problem comes from Java. I
installed jEdit and it also pick the us keyboard layout. I don't have
this problem with Eclipse.

> On Wed, Feb 18, 2009 at 9:32 AM, Christophe Meessen
> <[hidden email]>wrote:
>
>  
>> Hello,
>>
>> 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 have a French keyboard.
>> But when I start ImageJ as root, it then properly pick the French keyboard.
>>
>> Has anyone found out how to solve this problem ? Is this a Java issue ?
>>
>>    
>
>  
Reply | Threaded
Open this post in threaded view
|

Re: Wrong keyboard layout on Ubuntu

dscho
In reply to this post by Christophe Meessen-3
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
Reply | Threaded
Open this post in threaded view
|

Re: Wrong keyboard layout on Ubuntu

Christophe Meessen-3
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
>
>