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

View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#402: [X2Go-Dev] Bug#402: Bug#402: Numlock issues
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 402@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: owner@bugs.x2go.org
Resent-Date: Thu, 10 Apr 2014 17:00:02 +0000
Resent-Message-ID: <handler.402.B402.13971490676874@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 402
X-X2Go-PR-Package: x2gomatebindings
X-X2Go-PR-Keywords: moreinfo
Received: via spool by 402-submit@bugs.x2go.org id=B402.13971490676874
          (code B ref 402); Thu, 10 Apr 2014 17:00:02 +0000
Received: (at 402) by bugs.x2go.org; 10 Apr 2014 16:57:47 +0000
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 55EF33BC41
	for <402@bugs.x2go.org>; Thu, 10 Apr 2014 18:57:46 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 8DF801FBB;
	Thu, 10 Apr 2014 18:57:44 +0200 (CEST)
Received: from localhost (localhost [])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id E537C3BB4C;
	Thu, 10 Apr 2014 18:57:45 +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 xAXeKYNvDc53; Thu, 10 Apr 2014 18:57:45 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id A6E063B9F9;
	Thu, 10 Apr 2014 18:57:45 +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 16:57:45 +0000
Date: Thu, 10 Apr 2014 16:57:45 +0000
Message-ID: <20140410165745.Horde.xCxYOAHT8DxhPF2Uy13reA1@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: jordi@amospalla.es
Cc: 402@bugs.x2go.org
References: <8be4d14fda106d24b56c8cf94ec9a918.squirrel@www.amospalla.es>
In-Reply-To: <e0eb059bb49c22670224068d1ec228ca.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="=_Ml7mr61-7a2cKCV5eldlug2";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Hi Jordi,

On  Do 10 Apr 2014 15:46:26 CEST, jordi wrote:

>> 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).
> I don't really know if these settings are session aware, but my impression
> is that those are global settings for a user. If they are not and I can
> modify the script please let me know!

My question is: if you run the pre-runcommand script just before  
session startup and then run the post-runcommand script right after  
session startup (not when the session is ended), are the settings then  


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:47:35 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.