zhihuizhiming / neatx

Automatically exported from code.google.com/p/neatx
0 stars 0 forks source link

No multiple keyboard layout support #65

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install neatx-server.
2. Connect from a client with Greek keyboard layout.

What is the expected output? What do you see instead?
Some countries like Greece need 2 keyboard layouts, e.g. "us,gr". While using 
nx only the "us" layout is available.

What version of the product are you using? On what operating system?
0.3.1-0ubuntu5~ppa1~lucid1 on Lucid, with the nomachine nx client again on 
Lucid.

Please provide any additional information below.
A workaround is to execute "setxkbmap -layout us,gr" after logging in.
It'd be much better if neatx did that automatically.

Original issue reported on code.google.com by Alkis.Ge...@gmail.com on 2 Oct 2010 at 11:19

GoogleCodeExporter commented 8 years ago
I get the same error using Norwegian keyboard layout

Original comment by jon.skar...@gmail.com on 7 Oct 2010 at 1:39

GoogleCodeExporter commented 8 years ago
This issue is quite well known. I'm not sure if this is Neatx issue or 
"feature", as PC serves X-server role with it's own settings.
Anyway, you can solve this rather easily by adding to startup something similar 
to:
"setxkbmap -layout 'us,ru' -option 
'grp:alt_shift_toggle,grp_led:scroll,numpad:microsoft,compose:caps'"
Change layouts and setting in string as you prefer.
In Ubuntu this is done via Preferences -> Startup.

Original comment by RuKor...@gmail.com on 15 Oct 2010 at 5:04

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
> I'm not sure if this is Neatx issue or "feature", as PC serves X-server role 
with it's own settings.

And how can I configure that X-server settings? Both the local & remote user 
and the local & remote system are configured to "us,gr". Does neatx provide a 
fifth source of configuration for keyboard layouts?
I don't think so, since for single layouts it uses the existing configuration. 
It just can't handle multiple keyboard layouts.

> Anyway, you can solve this rather easily by adding to startup something 
similar to...

Right, I currently use an /etc/xdg/autostart script that reads the current 
user's keyboard configuration and manually applies it with setxkbmap if it's an 
nx session, so that it works for different users/layouts.
But that's a workaround, it'd be better if neatx just worked out of the box 
like it does for single layouts.

Original comment by Alkis.Ge...@gmail.com on 5 Nov 2010 at 3:52