X2Go Bug report logs - #402
Numlock issues

version graph

Package: x2gomatebindings; Maintainer for x2gomatebindings is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2gomatebindings is src:x2gomatebindings.

Reported by: jordi@amospalla.es

Date: Fri, 17 Jan 2014 11:05:02 UTC

Severity: normal

Tags: moreinfo

Found in version

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log

Message #38 received at 402@bugs.x2go.org (full text, mbox):

Received: (at 402) by bugs.x2go.org; 10 Apr 2014 11:29:56 +0000
From mike.gabriel@das-netzwerkteam.de  Thu Apr 10 13:29:55 2014
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id B656F3BC41
	for <402@bugs.x2go.org>; Thu, 10 Apr 2014 13:29:55 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id B867A1C62;
	Thu, 10 Apr 2014 13:29:53 +0200 (CEST)
Received: from localhost (localhost [])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 157573BADA;
	Thu, 10 Apr 2014 13:29:55 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([])
	by localhost (grimnir.das-netzwerkteam.de []) (amavisd-new, port 10024)
	with ESMTP id fHK82OBEQeEt; Thu, 10 Apr 2014 13:29:54 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id CA30E3B9F9;
	Thu, 10 Apr 2014 13:29:54 +0200 (CEST)
Received: from p5B284F31.dip0.t-ipconnect.de (p5B284F31.dip0.t-ipconnect.de
 []) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; Thu,
 10 Apr 2014 11:29:54 +0000
Date: Thu, 10 Apr 2014 11:29:54 +0000
Message-ID: <20140410112954.Horde.uCkuh3QAX7cM8yLbgqcxtQ1@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: jordi@amospalla.es
Cc: 402@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#402: Bug#402: Numlock issues
References: <8be4d14fda106d24b56c8cf94ec9a918.squirrel@www.amospalla.es>
In-Reply-To: <3f8a733e7f2c8b1774c67424a4d52209.squirrel@amospalla.es>
User-Agent: Internet Messaging Program (IMP) H5 (6.1.7)
Accept-Language: en,de
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101
 Firefox/26.0 Iceweasel/26.0
Content-Type: multipart/signed; boundary="=_8ZBuvmN1qWP-7XtXrFyQvw1";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Hi Jordi,
(I am re-Cc:-ing #402 in our BTS, hope that's ok...)

On  Do 10 Apr 2014 12:03:02 CEST, jordi wrote:

>> Hi Jordi,
>> On  Sa 05 Apr 2014 19:45:20 CEST, Jordi Marqués wrote:
>>> Hello Mike, sorry for late answer.
>>> I have looked at it, so what you need is a simple bash script. I can
>>> do that. Could I write it and send it to you?
>>> If so, I think I can do it on monday.
>>> Jordi.
>> Sure, send it to me.
>> Make sure that X2Go session startup does not break local session
>> startup. So if you change something in pre-runcommand.d, make sure it
>> gets restored in post-runcommand.d.
> Hello Mike,
> sorry again for being late, I've got more work than I can handle.
> Please take a look at this post-runcommand.d http://paste.debian.net/92885/
> and this pre-runcommand.d: http://paste.debian.net/92886/ .
> I write to files to save the state of the two settings previous to being
> modified so I can restore it. I set a folder variable where I save those
> files. Would that be a correct way to work inside X2go? I set them to /tmp
> to test, please modify them accordingly to what would be the best value.
> Not directly related to this, I've played also with the reduced_resources
> variable, which set to true, disables completely windows animations, and
> makes window moving be done with a classic transparent line drawn box,
> instead of the real window image. I've applied to my users, if you find it
> interesting to try tell me to add it.

The approach is good. I have copied both scripts from paste.debian.net  
to my local working copy of x2gomatebindings. Thanks!

However, one thought:

With your proposed approach, the dconf/gsettings setup remains  
X2Go'ish for the duration of the X2Go Session.

It would be good, to make those settings and remove them immediately,  
after the session has successfully come up. I am not sure how MATE  
will behave if you launch the post-runcommand script 20 minutes after  
the session has come up.

And another thought...

Another approach actually is... Talking to MATE upstream and asking  
them to patch their code directly (i.e. ignore those settings / use  
pre-set value if MATE runs inside an X2Go session). I will talk to  
Stefano & co. about that (who is MATE upstream).


mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Jan 18 07:58:48 2019; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.