[X2Go-Dev] Fwd: [Bug 1033876] New: x2go session does not set correct keyboard type

Orion Poplawski orion at cora.nwra.com
Mon Dec 2 23:58:35 CET 2013


On 11/30/2013 01:44 AM, Mike Gabriel wrote:
> Hi Orion,
>
> ----- Original message -----
>> On 11/28/2013 01:46 AM, Mike Gabriel wrote:
>>> Hi Orion,
>>>
>>> On   Do 28 Nov 2013 01:12:18 CET, Orion Poplawski wrote:
>>> 2. set a keyboard specified in X2Go Client
>>>
>>> -> X2GO_SET_KBD = 1
>>> -> X2GO_KBD_TYPE = pc105/de (or so)
>>>
>>
>> So, in this case, how are the keyboard settings supposed to be applied?
>
> I still owe you an answer to this...
>
> The keyboard layout and the variant (Python X2Go only) in this case will get set via the client. Scan for setxkbmap in onmainwindow.cpp of X2Go Client for details.
>
> The X2GO_KBD_TYPE will be passed to nxagent, directly.
>
> Mike
>

I see:

void ONMainWindow::slotChangeKbdLayout(const QString& layout)
{
#ifdef Q_OS_LINUX
     QStringList args;
     args<<"-layout"<<layout;

     x2goDebug<<"Running setxkbmap with params: "<<args.join(" ");

     QProcess::startDetached("setxkbmap",args);
#endif
}

The bug report (https://bugzilla.redhat.com/show_bug.cgi?id=1033876) is with a 
Windows XP client.  Is that the issue, that this code is only run on Linux?  Why?

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion at nwra.com
Boulder, CO 80301                   http://www.nwra.com



More information about the x2go-dev mailing list