<div class="gmail_quote">On Mon, Jul 25, 2011 at 10:32 PM, karan pratap singh <span dir="ltr">&lt;<a href="mailto:wizard.karan@gmail.com">wizard.karan@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi<div><br></div><div>I was thinking about the mechanism with which the student machines can get the configuration/layout settings from the server, which was put in the server by the teacher beforehand.</div><div><br></div>


<div>So, will it be better to use a config file to store what the teacher wants the current state to look like and then the custom containment on the student machines will download that file from the server and implement those changes?</div>


<div><br></div><div>If a older version is present in the student machine, then the new file overwrites the old file...</div><div><br></div><div>This file download can take place through Telepathy File Transfer Mechanism/Telepathy Stream TUBES</div>


<div><br></div><div>Or we could just have the containment receive direct DBus signals over the LAN using Telepathy DBUS TUBES, and then based on those signals the containment will change the layout accordingly?</div><div>


<br></div><div><br>According to me approach 1 is pretty good because, we can have a backup of the settings in the config files, whereas in approach 2 we dynamically change things...</div><div><br></div><div>What is the correct approach out of the above 2? </div>


<div><br></div><font color="#888888"><div><br clear="all"><br>-- <br>regards,<br>Karan Pratap Singh<br>IRC nick: kps_foo
</div><div>Blog: <a href="http://kpsfoo.in/blog/" target="_blank">http://kpsfoo.in/blog/</a></div>
</font></blockquote></div><br><div>I think the layout must be brought by the teacher (remember that we have a persistent connection), so it makes sense that it&#39;s the file provided by the teacher the one that will be shown in the system. Older configurations can be discarded for the moment, though.</div>

<div><br></div><div>What we talked before was approach 1 and I think you should keep with it.</div><div><br></div><div>Aleix</div>