[X2go-Dev] Change Title of Frontend of Pyhoca
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Fri Nov 25 09:14:16 CET 2011
Hi Edwin,
On Fr 25 Nov 2011 08:15:09 CET Edwin Hernán Hurtado Cruz wrote:
> Hi.
>
> I like to know how to change the title of the window of the frontend of
> pyhoca, to show only the user and the ip address or server
What exactly do you mean by ,,frontend''? The window of a running session?
In case you mean that: the session window title is set with the -name
option when x2goagent is launched from within the (server-side) script
x2gostartagent... The lines you have to look for are these:
if [ "$X2GO_STYPE" == "S" ]; then
LD_LIBRARY_PATH=$X2GO_LIB x2goagent $X2GODPIOPTION_
-$SESSION_TYPE -auth ~/.Xauthority -S -shadow $SHADOW_DESKTOP
-shadowmode $SHADOW_MODE -geometry ${X2GO_GEOMETRY} -name
"X2GO-${SESSION_NAME}" ${NX_AGENT} 2>${SESSION_DIR}/session.log &
else
LD_LIBRARY_PATH=$X2GO_LIB x2goagent $X2GODPIOPTION_ $XDMCPOPT
-$SESSION_TYPE -auth ~/.Xauthority -geometry ${X2GO_GEOMETRY} -name
"X2GO-${SESSION_NAME}" ${NX_AGENT} 2>${SESSION_DIR}/session.log &
fi
Thanks,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20111125/9ba6d7b5/attachment.pgp>
More information about the x2go-dev
mailing list