Re: Completely changing the keyboard translation

Bodo Eggert <[email protected]> Thu, 18 Apr 2013 18:38:07 +0200 (CEST)
Newsgroups gmane.network.rdesktop.devel
Message-ID <[email protected]>
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323329-1655385943-1366303087=:10518
Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Tue, 16 Apr 2013, Peter =C3=85strand wrote:

> Yes, this method is not perfect, but there are few options. But if you wa=
nt=20
> another layout, just use the -k option.

-k isn't very good. I guess I could make a wrapper script ...

> I'm not sure I understand your problem. Can you explain why you cannot us=
e a=20
> normal german layout, but an english locale?

I'm using an english locale in order to have english (=3D non-translated an=
d=20
therefore understandable) messages. Some translations are just bad.=20
Besides that, googeling local messages used to give bad/few results.


> NumLock sync can be activated with the -N option. There's no support for=
=20
> Capslock or ScrollLock sync. Do you really need that?

I've implemented that for completeness. Besides that, I think it's the=20
right thing to do.


However, I've completed the just-send-the-keys part, I can switch the=20
remote keyboard layout and it will just work as expected. I think it works=
=20
really as it should work, except for extra keystrokes because of=20
synchronizing the LED.

TODO:
1) While stupidly consuming keystrokes, rdesktop will also prevent=20
window-manager keystrokes from working at all. (I use e.g. Meta-Tab for=20
switching windows).
2) The remote locale should not be touched if the keys are passed as they=
=20
are. I still need to find the place where I can prevent that.
3) How to add an option for this. "-k direct-x86-devinput"?

If you're curious what I did, I uploaded my changes to=20
http://7eggert.dyndns.org/l/rdesktop/
For now, you can't use -k with my version, I just hijacked the function.
--8323329-1655385943-1366303087=:10518
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
--8323329-1655385943-1366303087=:10518
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
rdesktop-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdesktop-devel

--8323329-1655385943-1366303087=:10518--