[X2Go-User] Keyboard issues
Vicker, Darby (JSC-EG311)
darby.vicker-1 at nasa.gov
Fri Oct 30 20:22:04 CET 2015
-----Original Message-----
From: Sylvain Milot <sylvain at bic.mni.mcgill.ca>
Date: Friday, October 30, 2015 at 12:36 PM
To: Darby Vicker <darby.vicker-1 at nasa.gov>
Cc: "x2go-user at lists.x2go.org" <x2go-user at lists.x2go.org>
Subject: Re: [X2Go-User] Keyboard issues
>On Fri, 30 Oct 2015, Vicker, Darby (JSC-EG311) wrote:
>
><snip>
>
>> I'm guessing I could automate loading the xmodmap file somehow but its
>>not
>> immediately obvious to me how to detect that the login is under x2go and
>> not a native login. Any thoughts on that would be appreciated.
>>
>> And longer term, it would be great if the x2go developers could make
>>this
>> independent of the user's shell. But please don't take that as a
>> complaint - I do very much appreciate having the capability x2go
>>provides!
>
>Hi,
>
>when running a linux client, you will find some adhoc environment
>variables ...
>the following command will reveal them:
>
>$ env | grep -i x2go
>
>I suspect the behavior is the same under OSX.
>
>So under bash, something like ...
>
>if [ ! -z "$X2GO_SESSION" ]
>then
> echo "load mapping ..."
>fi
Perfect. This works great in my .cshrc file:
if ( $?X2GO_SESSION ) ~/bin/x2go_fix_xmodmap.csh
Thanks a lot!
Darby
More information about the x2go-user
mailing list