[X2Go-User] Keyboard issues
Sylvain Milot
sylvain at bic.mni.mcgill.ca
Fri Oct 30 18:36:34 CET 2015
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
Best,
Sylvain
---
Sylvain Milot (sylvain at bic.mni.mcgill.ca)
(sylvain.milot at mcgill.ca)
Brain Imaging Centre
Montreal Neurological Institute
3801 University Street
Webster 2B, Room 206
Montreal, Qc., Canada, H3A 2B4
Phone : (514) 398-4965, Fax: 398-8948
Mobile : (514) 712-1768
Office : 527 Av Des Pins O., Room 104
Montreal, Qc., H2W 1S4
More information about the x2go-user
mailing list