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 0.0.1.1

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

Bug is archived. No further changes may be made.

Full log


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

Received: (at 402) by bugs.x2go.org; 10 Apr 2014 16:57:47 +0000
From mike.gabriel@das-netzwerkteam.de  Thu Apr 10 18:57:46 2014
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.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 [88.198.48.199])
	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 [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 8DF801FBB;
	Thu, 10 Apr 2014 18:57:44 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	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 ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id xAXeKYNvDc53; Thu, 10 Apr 2014 18:57:45 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	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
 [91.40.79.49]) 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
Subject: Re: [X2Go-Dev] Bug#402: Bug#402: Numlock issues
References: <8be4d14fda106d24b56c8cf94ec9a918.squirrel@www.amospalla.es>
 <bfeb081fdd3ec995c47b4ee7c9c96654.squirrel@amospalla.es>
 <20140402130029.Horde.pCv_6moTdCQfNpA2fQNFFQ1@mail.das-netzwerkteam.de>
 <53404130.6080903@amospalla.es>
 <20140405193722.Horde.TssS-w1ielZ5Dbza76YEJA1@mail.das-netzwerkteam.de>
 <3f8a733e7f2c8b1774c67424a4d52209.squirrel@amospalla.es>
 <20140410112954.Horde.uCkuh3QAX7cM8yLbgqcxtQ1@mail.das-netzwerkteam.de>
 <e0eb059bb49c22670224068d1ec228ca.squirrel@amospalla.es>
In-Reply-To: <e0eb059bb49c22670224068d1ec228ca.squirrel@amospalla.es>
User-Agent: Internet Messaging Program (IMP) H5 (6.1.7)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 91.40.79.49
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  
ok?

Mike
-- 

DAS-NETZWERKTEAM
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

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Jan 17 11:00:05 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.