[X2Go-User] Keyboard issues
Stefan Baur
X2Go-ML-1 at baur-itcs.de
Fri Oct 30 16:41:03 CET 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Am 30.10.2015 um 16:28 schrieb Vicker, Darby (JSC-EG311):
> 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.
In a bash script, you could use
if [ $(echo $DISPLAY | awk -F':' '{ print $2 }') -ge 50 ] ; then
echo "Very likely an X2Go session" ;
fi
- -Stefan
- --
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJWM4+PAAoJEG7d9BjNvlEZj/oIAJUt7nGpttCODHAHgKRpadzU
vmlgjs+5sLl9jJqw8JzfF61XxNPSJ1Qmh8OY6NisOlJHrarmvVHN1eFRR7/zjO1o
DvEGk0vnAqFch8umbbi8VdAmKt+oOarzFUG8+/LrIfjf7REaXW8hhHvaJUYdyxEs
mq0nIhsdwNP4fJWTVmYLJh+WOjLsjy4u3BGSmP4sreOQ/20ulcOJrUghT9qCMgXC
LcUp1KGlHmege5DoLNHDWqCRM2nabJe0AFmel49FL1PW25cY6wLfhVrvZbRCxWhB
OkPaMHHYiTDl7ZVjl5mSVsOkCGhtQHzpZ/QLL3/Y2xdBNRi/J87Qk0UZjHyt9jY=
=tmXV
-----END PGP SIGNATURE-----
More information about the x2go-user
mailing list