aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-05-06 23:09:35 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-05-06 23:09:35 +0200
commite0fb697e9f86ff2e734a7530b5f4096ec1668c14 (patch)
treec8a84bc00dec7b8c4268e78f6421874caf7964bf
parentfc118b4bbb02dd9994c266c74772216084dab705 (diff)
downloadnx-libs-e0fb697e9f86ff2e734a7530b5f4096ec1668c14.tar.gz
nx-libs-e0fb697e9f86ff2e734a7530b5f4096ec1668c14.tar.bz2
nx-libs-e0fb697e9f86ff2e734a7530b5f4096ec1668c14.zip
Set NXAGENT_KEYSTROKEFILE to /etc/x2go/keystrokes.cfg for wrapper x2goagent.
-rw-r--r--debian/changelog1
-rw-r--r--debian/wrappers/x2goagent5
2 files changed, 5 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index c25941e34..32985e6f4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ nx-libs (2:3.5.0.21-0) UNRELEASED; urgency=low
* Provide a default keystrokes.cfg in /etc/nx (for nxagent) and /etc/x2go
(for x2goagent). (Fixes: #199).
+ * Set NXAGENT_KEYSTROKEFILE to /etc/x2go/keystrokes.cfg for wrapper x2goagent.
-- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Thu, 28 Mar 2013 21:07:42 +0100
diff --git a/debian/wrappers/x2goagent b/debian/wrappers/x2goagent
index a74f44cd8..129c7ca49 100644
--- a/debian/wrappers/x2goagent
+++ b/debian/wrappers/x2goagent
@@ -29,4 +29,7 @@ test -x $NX_LIBS/../x2go/bin/$NXAPP && export NX_LIBS=$NX_LIBS
export LD_LIBRARY_PATH
-exec $NX_LIBS/../x2go/bin/$NXAPP "$@" \ No newline at end of file
+NXAGENT_KEYSTROKEFILE=/etc/x2go/keystrokes.cfg
+export NXAGENT_KEYSTROKEFILE
+
+exec $NX_LIBS/../x2go/bin/$NXAPP "$@"