-----Original Message----- From: Sylvain Milot <sylv...@bic.mni.mcgill.ca> Date: Friday, October 30, 2015 at 12:36 PM To: Darby Vicker <darby.vicke...@nasa.gov> Cc: "x2go-user@lists.x2go.org" <x2go-user@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 _______________________________________________ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user