From mail@maciej.szmigiero.name Mon Aug 5 13:30:03 2013 Received: (at 285) by bugs.x2go.org; 5 Aug 2013 11:30:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=RDNS_NONE autolearn=no version=3.3.2 X-Greylist: delayed 966 seconds by postgrey-1.34 at ymir; Mon, 05 Aug 2013 13:30:03 CEST Received: from vps-vb.mhejs.net (unknown [37.28.154.113]) by ymir (Postfix) with ESMTPS id 786A75DB1E for <285@bugs.x2go.org>; Mon, 5 Aug 2013 13:30:03 +0200 (CEST) Received: from 89-71-103-214.dynamic.chello.pl ([89.71.103.214] helo=[192.168.1.3]) by vps-vb.mhejs.net with esmtps (TLSv1:CAMELLIA256-SHA:256) (Exim 4.77) (envelope-from ) id 1V6Ijc-0003Zy-LQ; Mon, 05 Aug 2013 13:13:56 +0200 Message-ID: <51FF88EE.30204@maciej.szmigiero.name> Date: Mon, 05 Aug 2013 13:13:50 +0200 From: "Maciej S. Szmigiero" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130217 Thunderbird/17.0.2 MIME-Version: 1.0 To: Mike Gabriel CC: 285@bugs.x2go.org Subject: Re: Bug#285: [X2Go-Dev] Bug#285: keyboard layout selected in x2go client isn't applied to the session References: <51FEE7A9.7060001@maciej.szmigiero.name> <20130805121656.69992m0bdq7s0mu0@mail.das-netzwerkteam.de> In-Reply-To: <20130805121656.69992m0bdq7s0mu0@mail.das-netzwerkteam.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello Mike, Thanks for a quick look, see also comments below, inlined. W dniu 05.08.2013 12:16, Mike Gabriel pisze: > Hi Maciej, > > I have taken a look at this issue this morning and I think in some parts you are right, in some parts you are wrong. > > On Mo 05 Aug 2013 01:45:45 CEST "Maciej S. Szmigiero" wrote: > (..) > x2gostartagent: here I do not see an issue. Not that in X2Go Server there are three ways to set up your keyboard: > > 1) no setup at all (setxkb=false in sessions file) > 2) setup a specific setup (e.g. type=pc105/us, layout=us) > 3) automatic setup (-> type=auto, layout=) > > The server-side script ,,x2gosetkeyboard'' is only used for 3). > > The keyboard setup for 2) is managed from the client side by issuing setxkbmap commands via the open SSH channel. I've grepped x2goclient-4.0.1.0 sources and found only setxkbmap call on client side (via "QProcess::startDetached"). There is also remote xmodmap call on Maemo, but it only remaps two keys. > On x2gostartagent, everything (after testing with PyHoca-GUI and X2Go Client) works as expected. Unfortunately not for me (that's why I looked into this issue). (..) > For x2goresume-session, however, you dug out a minor issue. This issue has been fixed now, see the automatic follow-up mail which will point you to the code change in X2Go Git. Thanks. > Thanks for contributing to X2Go, > Mike Thanks and best regards, Maciej Szmigiero