<?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>Symbol Engine &#187; GNU/linux</title>
	<atom:link href="http://www.symbolengine.com/index.php/category/gnu_linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.symbolengine.com</link>
	<description>C64, Amiga, GP2x and Wordpress goodness...</description>
	<lastBuildDate>Sat, 05 Sep 2009 20:32:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Useful scripts for wmii on laptops</title>
		<link>http://www.symbolengine.com/index.php/2008/03/22/useful-scripts-for-wmii-on-laptops/</link>
		<comments>http://www.symbolengine.com/index.php/2008/03/22/useful-scripts-for-wmii-on-laptops/#comments</comments>
		<pubDate>Fri, 21 Mar 2008 23:18:01 +0000</pubDate>
		<dc:creator>Jim Qode</dc:creator>
				<category><![CDATA[GNU/linux]]></category>

		<guid isPermaLink="false">http://www.symbolengine.com/index.php/2008/03/22/useful-scripts-for-wmii-on-laptops/</guid>
		<description><![CDATA[wmii has been the my window manager of choice ever since I first saw it. I recently got a shiny Dell M1330 and as anyone can guess Vista did not live longer than 2 hours on it. I had never used wmii on a laptop before and I saw that the default scripts are were ]]></description>
			<content:encoded><![CDATA[<p>wmii has been the my window manager of choice ever since I first saw it. I recently got a shiny Dell M1330 and as anyone can guess Vista did not live longer than 2 hours on it. I had never used wmii on a laptop before and I saw that the default scripts are were obviously coded with desktop user in mind. </p>
<ul>
<li>There is no battery indicator</li>
<li>You can&#39;t watch the CPU temperature</li>
<li>and you can&#39;t set the CPU frequency governor</li>
</ul>
<p><span id="more-41"></span><br />
Of course you can use gkrellm for the first two but it does not play nicely with dynamic window managers like wmii. If I wanted to drag windows around I&#39;d use Gnome, thank you. It is much nicer to change the right side of the status bar to show current temperature and battery status.&nbsp;</p>
<p>Beware! This change is for the sh script version of wmiirc. If you are using the other version this may not work.
<p>In file: ~/.wmii-3.5/wmiirc change the part that says </p>
<div class='code_parent'>
<div class='code_title'>Code:</div>
<div class='code_child'><code>
<div class='pre_container'>
<pre># Status Bar Info
status() {
        echo -n $(uptime | sed 's/.*://; s/,//g') '|' $(date)
}</pre>
</div>
<p></code></div>
</div>
<p>to</p>
<div class='code_parent'>
<div class='code_title'>Code:</div>
<div class='code_child'><code>
<div class='pre_container'>
<pre># Status Bar Info
status() {
	BAT=`acpi -b`
	LEFT=`echo $BAT | cut -d ',' -f 2`
	TEMP=`acpi -t -B -c | cut -d ',' -f 2 | cut -d "." -f 1`
	LOAD=$(uptime | sed 's/.*://; s/,//g')
	DATE=`date +"%d/%m/%y %R:%S"`
	echo -n T: $TEMP '|' B: $LEFT '|' $LOAD '|' $DATE
}</pre>
</div>
<p></code></div>
</div>
<p>You can of course keep the longer date format by changing &quot;$DATE&quot; to $(date) but I like it shorter.</p>
<p>Now on to the Frequency Governor! You can download the script below and put it in ~/.wmii-3.5 . Don&#39;t forget to make it executable. </p>
<p><a href="http://www.symbolengine.com/download-manager.php?id=11">cpufreq @ SymbolEngine</a></p>
<p>Now when you run the cpufreq action you will be asked for your password. This is because CPU governor can only be changed by root user. After that you&#39;ll get a nice dmenu on top of the screen to choose a governor. </p>
<p>I hope you find these scripts useful. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.symbolengine.com/index.php/2008/03/22/useful-scripts-for-wmii-on-laptops/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting up a usb network with GP2X and what you can do with it</title>
		<link>http://www.symbolengine.com/index.php/2007/05/06/setting-up-a-usb-network-with-gp2x-and-what-you-can-do-with-it/</link>
		<comments>http://www.symbolengine.com/index.php/2007/05/06/setting-up-a-usb-network-with-gp2x-and-what-you-can-do-with-it/#comments</comments>
		<pubDate>Sun, 06 May 2007 19:33:06 +0000</pubDate>
		<dc:creator>Jim Qode</dc:creator>
				<category><![CDATA[GNU/linux]]></category>
		<category><![CDATA[GP2x]]></category>

		<guid isPermaLink="false">http://www.symbolengine.com/index.php/2007/05/06/setting-up-a-usb-network-with-gp2x-and-what-you-can-do-with-it/</guid>
		<description><![CDATA[GP2x is a wonderful device for its portability, power consumption and price tag.&#160; You can do pretty amazing stuff with an out of the box unit. Here is a slice of that:

Go to settings/system menu on your GP2x
Make sure the IP Address is 10.1.0.1
Turn on telnet, ftp, samba and web servers (You wont need samba ]]></description>
			<content:encoded><![CDATA[<p>GP2x is a wonderful device for its portability, power consumption and price tag.&nbsp; You can do pretty amazing stuff with an out of the box unit. Here is a slice of that:</p>
<ol>
<li>Go to settings/system menu on your GP2x</li>
<li>Make sure the IP Address is 10.1.0.1</li>
<li>Turn on telnet, ftp, samba and web servers (You wont need samba if you are using a real operating system)</li>
</ol>
<p> <span id="more-35"></span>
<p>If you are running Linux:</p>
<ol>
<li>ifconfig usb0 up 10.1.0.2</li>
<li>now you should be able to ping the device with:<br />ping 10.1.0.1 </li>
</ol>
<p>If you are running m$ windows (Who said windows is easier to manage?):</p>
<ol>
<li>You will probably need USB Gadget driver for windows. Most flavors come without it. Download and install:<a href="http://www.microsoft.com/whdc/device/network/NDIS/rndis.mspx" title="USB Gadget Driver"><br />Download USB Gadget Driver for Windows @ M$</a></li>
<li>Turn on your GP2x. A baloon will pop up (don&#39;t you hate them?) to say connection is established.&nbsp; </li>
<li>Go to Control Panel -&gt; Network Connections.</li>
<li>Open TCP/IP properties of &quot;Linux USB Ethernet / RNDIS</li>
<li>Manually configure it with an IP of &quot;10.1.0.2&quot; and a subnet mask of &quot;255.0.0.0&quot;</li>
<li>You should be now able ping your device from command shell with:<br />ping 10.1.0.1 </li>
</ol>
<p>Now you can also telnet to your GP2x, transfer files with samba (means: windows file sharing) or ftp.</p>
<p>There is also a pretty complete web server with even PHP installed running there. PHP I tell ya! Have fun! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.symbolengine.com/index.php/2007/05/06/setting-up-a-usb-network-with-gp2x-and-what-you-can-do-with-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
