italc-launcher - sorting the client list
Alkis Georgopoulos
alkisg at gmail.com
Fri Aug 21 11:11:23 UTC 2009
Στις 21-08-2009, ημέρα Παρ, και ώρα 12:03 +0300, ο/η Alkis Georgopoulos
έγραψε:
> Is it possible for italc-launcher to sort the autodetected client list?
An alternative way, and maybe better, would be to change ica-launcher
(not italc-launcher) to display the ltsp client hostname, e.g. "ltsp136"
instead of always displaying the server hostname.
Then italc would automatically sort correctly the list of clients.
A single line can be added to do that:
if [ "$LTSP_CLIENT" ];
then
echo LTSP environement detected
PORT=`echo $LTSP_CLIENT | awk -F . '{print \$4}'`
+ HOSTNAME="ltsp$PORT"
(actually, it would be better if the ltsp client hostname was published
in the environment or in an xprop so that ica-launcher could pick it up,
but that would require changes outside of italc).
Cheers,
Alkis
More information about the edubuntu-devel
mailing list