<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<channel>
	<title>LiquidFoot &#187; Windows</title>
	<atom:link href="http://www.liquidfoot.com/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.liquidfoot.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 02 Jan 2012 22:56:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>rdesktop and Tcl/tk</title>
		<link>http://www.liquidfoot.com/2009/01/16/rdesktop-and-tcltk/</link>
		<comments>http://www.liquidfoot.com/2009/01/16/rdesktop-and-tcltk/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 16:36:17 +0000</pubDate>
		<dc:creator>Wayne</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Systems Admin]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[systems administration]]></category>
		<category><![CDATA[tcl]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">http://www.liquidfoot.com/?p=242</guid>
		<description><![CDATA[This is something I did a few years ago and has been very useful. I’m a *nix admin that occasionally needs to log on to a Windows server. I used rdesktop for a long time to do this. I wanted, though, a nice GUI that would allow me to pick which server I wanted (and an excuse to play a bit with Tcl). ]]></description>
			<content:encoded><![CDATA[<p>This is something I did a few years ago and has been very useful. I&#8217;m a *nix admin that occasionally needs to log on to a Windows server. I used rdesktop for a long time to do this. I wanted, though, a nice GUI that would allow me to pick which server I wanted (and an excuse to play a bit with Tcl). This is the script I came up with to do just this:</p>
<pre name="code" class="ruby">#! /usr/bin/wish
wm title . "Remote Desktop Launcher"
frame .top -borderwidth 10
pack .top -side top -fill x
button .top.quit -text Quit -command exit
set but [button .top.run -text "Launch" -command Run]
pack .top.quit .top.run -side right
label .top.l -text Server: -padx 0
entry .top.cmd -width 20 -relief sunken -textvariable server
pack .top.l -side left
pack .top.cmd -side left -fill x -expand true
bind .top.cmd &amp;lt;Return&amp;gt; Run
focus .top.cmd
menubutton .mb -text Server -menu .mb.menu
pack .mb -padx 10 -pady 10
set m [menu .mb.menu -tearoff 1]
$m add radio -label server1 -variable server -value server1.address.edu -command Run
$m add radio -label server2 -variable server -value server2.address.edu -command Run
$m add radio -label server3 -variable server -value server3.address.edu -command Run
$m add radio -label server4 -variable server -value server4.address.edu -command Run
$m add radio -label server5 -variable server -value server5.address.edu -command Run
proc Run { } {
	global server
	exec rdesktop -u &amp;lt;user_name&amp;gt; -p &amp;lt;password&amp;gt; -g 1280x800 -x b $server
}</pre>
<p>All you need to do is plugin &#8220;real&#8221; values for the server and addresses. You can also auto-login by giving values for the username and password (may also want to change the geometry of the window unless you have a big screen).</p>
<p><a href="http://www.liquidfoot.com/wp-content/uploads/2009/01/rdesktop.png"><img class="alignnone size-medium wp-image-246" title="rdesktop" src="http://www.liquidfoot.com/wp-content/uploads/2009/01/rdesktop-300x202.png" alt="rdesktop" width="300" height="202" /></a></p>
<p>I also have bash aliases for these, but that&#8217;s a different post&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liquidfoot.com/2009/01/16/rdesktop-and-tcltk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tweaking Eclipse</title>
		<link>http://www.liquidfoot.com/2006/09/07/tweaking-eclipse/</link>
		<comments>http://www.liquidfoot.com/2006/09/07/tweaking-eclipse/#comments</comments>
		<pubDate>Thu, 07 Sep 2006 23:30:14 +0000</pubDate>
		<dc:creator>Wayne</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">http://www.liquidfoot.com/?p=204</guid>
		<description><![CDATA[I finally got fed up yesterday with the slow speed at which Eclipse was launching on my Windows box. On my Linux box, it doesn&#8217;t take that long to launch (may five or six seconds) compared to my Windows box (around 15 &#8211; 20 seconds). I know I have a lot of plugins, but it [...]]]></description>
			<content:encoded><![CDATA[<div class="body">
<p>I finally got fed up yesterday with the slow speed at which Eclipse was launching on my Windows box. On my Linux box, it doesn&#8217;t take <em>that</em> long to launch (may five or six seconds) compared to my Windows box (around 15 &#8211; 20 seconds). I know I have a lot of plugins, but it was getting a little ridiculous. I started poking around and I noticed in the configuration details (Help / About Eclipse SDK / Configuration Details) that the vm that was launching was 1.4. Ok, so there&#8217;s one problem. I also noticed that the max memory setting was 256MB (-Xmx256M). Since this box has 2GB of RAM, I figured 256MB is a little on the low side (and note, mucking around with the heap sizes won&#8217;t help load times).</p>
<p>The first thing I did was change the shorcut target for Eclipse to be</p>
<div class="code"><a href="c:%5Ceclipse" target="_blank">C:\eclipse</a>\eclipse.exe -vm <span style="color: #0000ff;">&#8220;<a href="c:%5CProgram%20Files" target="_blank">C:\Program Files</a>\Java\jdk1.5.0_08\bin\javaw.exe&#8221;</span></div>
<p>Now I&#8217;m sure that Eclipse will launch with Java 5 and (hopefully) speed things up a bit. Double-click on the short-cut, and sure enough, we&#8217;re down to about 8 seconds.</p>
<p>The next thing I wanted to do is increase the default min and max memory settings. In c:\eclipse\eclipse.ini, you&#8217;ll see</p>
<div class="code">-vmargs<br />
-Xms40M<br />
-Xmx256M</div>
<p>I changed these to</p>
<div class="code">-vmargs<br />
-Xms256m<br />
-Xmx768m</div>
<p>This increases the minimum memory space to 256M and the maximum to 768M. You can also do this by adding these vmargs to the shortcut target:</p>
<div class="code"><a href="c:%5Ceclipse" target="_blank">C:\eclipse</a>\eclipse.exe -vm <span style="color: #0000ff;">&#8220;<a href="c:%5CProgram%20Files" target="_blank">C:\Program Files</a>\Java\jdk1.5.0_08\bin\javaw.exe&#8221;</span> -vmargs -Xms256M -Xmx768M</div>
<p>If you have a multi-processor computer (and I believe this includes dual-core systems, though I haven&#8217;t read the docs on this), you can use some of the new VM ergonomics to self-tune garbage collection by adding this switch:</p>
<div class="code">-XX:+UseParallelGC</div>
<p>One last handy parameter is &#8220;-showlocation&#8221; which shows the current location of your workspace. If you have different workspaces, this is handy.</p>
<p>If you want to read more about some JVM garbage collection (and who doesn&#8217;t) here are some helpful links:</p>
<ul>
<li><a href="http://java.sun.com/javase/technologies/hotspot.jsp">Java SE HotSpot at a Glance</a></li>
<li><a href="http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html">Garbage Collector Ergonomics</a></li>
<li><a href="http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html">Tuning Garbage Collection with the 5.0 Java Virtual Machine</a></li>
<li><a href="http://java.sun.com/docs/performance/">Java Performance Documentation</a></li>
<li><a href="http://blogs.sun.com/watt/resource/jvm-options-list.html">A Collection of JVM Options</a> (check out the references at the bottom of the page)</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.liquidfoot.com/2006/09/07/tweaking-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

