Changes

From Amahi Wiki
Jump to: navigation, search
123 bytes added ,  14:15, 26 October 2010
Per CPG's suggestion, I'm adding instructions for making a quick resolution changing script.
You will need to edit each of these files to change the size of the VNC window inside the web page. The width of the window should match the width of your desktop, however the height of the window should have 22px added to the height of the desktop in order to account for the WebVNC menu. For example, for the resolution 800x600, the html file will look like this:
<&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">&gt; <&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">>&gt;&gt; <&lt;head>&gt; <&lt;title>&gt;WebVNC Client<&lt;/title>&gt; <&lt;meta http-equiv="Content-Language" content="en-us" />&gt; <&lt;meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />&gt; <&lt;head>&gt; <&lt;body style="font-size:8px;background-color:#000000;font-family:arial, helvetica, sans-serif;font-color:#007500;text-align:center;">&gt; <&lt;div style="position:relative;margin: 0 auto;width:800px;height:622px;">&gt; <&lt;applet code=VncViewer.class codebase=classes/ width="800" height="622">&gt; <&lt;param name=PORT value=5900>&gt; <&lt;param name="Open New Window" value="no">&gt; <&lt;/applet><&gt;&lt;br />&gt; <&lt;/div>&gt; <&lt;a href="http://hda/">&gt;Return to HDA Home<&lt;/a>&gt; <&lt;/body>&gt; <&lt;/html>&gt;
Next, remove the original index.html file and create a symlink to the appropriate new file:
2

edits