<?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>kevingillan.info &#187; Techblog</title>
	<atom:link href="http://www.kevingillan.info/category/techblog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kevingillan.info</link>
	<description></description>
	<lastBuildDate>Wed, 30 Jun 2010 14:42:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Six Tips for Linux Happiness</title>
		<link>http://www.kevingillan.info/techblog/127</link>
		<comments>http://www.kevingillan.info/techblog/127#comments</comments>
		<pubDate>Sun, 06 Dec 2009 16:59:47 +0000</pubDate>
		<dc:creator>kev</dc:creator>
				<category><![CDATA[Techblog]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.kevingillan.info/?p=127</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Six+Tips+for+Linux+Happiness&amp;rft.aulast=Gillan&amp;rft.aufirst=Kevin&amp;rft.subject=Techblog&amp;rft.source=kevingillan.info&amp;rft.date=2009-12-06&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.kevingillan.info/techblog/127&amp;rft.language=English"></span>
So, you&#8217;re starting to be convinced of the benefits of linux? Keen to experience the increased speed and power and to try out some of the thousands of pieces of free software available? Like the thought of being secure from viruses and spyware? But still a little attached to your Windows operating system? Here&#8217;s a [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Six+Tips+for+Linux+Happiness&amp;rft.aulast=Gillan&amp;rft.aufirst=Kevin&amp;rft.subject=Techblog&amp;rft.source=kevingillan.info&amp;rft.date=2009-12-06&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.kevingillan.info/techblog/127&amp;rft.language=English"></span>
<p>So, you&#8217;re starting to be convinced of the benefits of linux? Keen to experience the increased speed and power and to try out some of the thousands of pieces of free software available? Like the thought of being secure from viruses and spyware? But still a little attached to your Windows operating system? Here&#8217;s a few tips for making the best of both worlds.</p>
<p><span id="more-127"></span></p>
<p><strong>1. Use Ubuntu</strong></p>
<p>There are loads of distributions available and it may be difficult to make a decision. Ubuntu has rapidly become the most popular and this must be due in part to its ease of installation and use for newcomers. So why not follow the crowd and try Ubuntu first? Go on, <a title="get ubtunu" href="http://www.ubuntu.com/GetUbuntu/download" target="_blank">go and download the latest release</a>.</p>
<p><strong>2. Dual boot Windows/OSX and Linux</strong></p>
<p>Dual booting means that when you power on your machine you get a choice of going into either of two or more operating systems. There are lots of articles around on how to set up a dual-boot machine <a title="dual boot windows xp and ubuntu" href="https://help.ubuntu.com/8.04/switching/dualboot.html" target="_blank">with XP</a>, or <a title="dual boot windows 7 and ubuntu" href="http://lifehacker.com/5403100/dual+boot-windows-7-and-ubuntu-in-perfect-harmony" target="_blank">with Windows 7</a>, or <a title="dual boot osx and ubuntu" href="http://www.philroche.net/archives/osx-and-ubuntu-dual-boot/" target="_blank">with OSX</a>. My own experience is dual booting Windows XP Pro and various versions of Ubuntu, Fedora, OpenSuse and whatever else took my fancy at the time. The obvious benefit is that you have all your familiar applications there, and you can take your time learning linux without jumping in at the deep end and having to learn everything at once. Remember:</p>
<ul>
<li>If starting with a clean computer install Windows first (the same seems to go for OSX). Windows isn&#8217;t designed to play well with other operating systems. Ubuntu certainly is.</li>
<li>If you&#8217;ve already got Windows installed:
<ul>
<li>Backup everything. Time-consuming, yes. But there are dangers in the install process, especially the first time you do it, so don&#8217;t leave anything to chance. Remember to backup data that is stored by your applications in locations other than My Documents. Some applications have decent data export tools; for others you may need to search through folders within C:\Documents and Settings\your-user-profile, such as &#8216;Application Data&#8217; and &#8216;Local Settings&#8217;.</li>
<li>Clean up your Windows install. Most important is to <a title="defrag hard disk windows xp" href="http://support.microsoft.com/kb/314848" target="_blank">defragment your hard disk</a>. Your files are scattered across the disk, especially if you&#8217;ve been using the operating system a while. Your Ubuntu installation may require moving a lot of that mess into one place to make room for your new OS. Get XP to do it first so that it can keep track of where everything is stored. It is probably also useful to use a utility like <a title="Get CCleaner" href="http://www.filehippo.com/download_ccleaner/" target="_blank">CCleaner</a> to get rid of temporary files and oodles of accumulated crap.</li>
<li>Make sure you&#8217;ve got access to a proper install/restore disk for your pre-existing operating system.</li>
</ul>
</li>
</ul>
<p>An alternative to dual booting is virtualization. Installing a program like VBox-OSE on Ubuntu lets you install a full copy of Windows or OSX operating systems plus your favourite applications right inside Ubuntu. There&#8217;s clearly a benefit here of not having to reboot to use other programmes but there&#8217;s a penalty in the speed your applications run.</p>
<p><strong>3. Separate Data and Software</strong></p>
<p>If you are dual booting it makes sense to put all of your data on a separate partition that can be accessed and written to by both operating systems. But even if you&#8217;re not dual booting, keeping your data separate may make operating system upgrades easier and lets you experiment with confidence. Keeping your data separate is more secure and if anything goes wrong you can simply insert a linux live CD to get a temporary operating system and get straight to your data. Points to bear in mind:</p>
<ul>
<li>You can use the linux utility gparted to create additional hard disk partitions. Its not included in a default Ubuntu install (although you can get it easily through the System-&gt;Administration-&gt;Synaptic Package Manager). It is included on an Ubuntu live CD though. I prefer to use it from a live CD &#8211; that means you&#8217;re not using any of the hard disk for running the OS so you can easily change any of the existing partitions.</li>
<li>If dual booting with Windows the logical thing is probably to format the partition as ntfs, since both Windows and linux can read and write from that filesystem. Choosing linux&#8217;s favourite ext3 filesystem format is fine too, but you&#8217;ll need to <a title="install ext2ifs for windows" href="http://www.fs-driver.org/" target="_blank">install Ext2IFS on Windows</a> to be able to write to it from within Windows. (IFSdrives seems to be super-reliable and after a two minute set up you can just forget its there. Though because it writes from windows as if the ext3 partition is ext2 it doesn&#8217;t keep the journalling up to date &#8211; I don&#8217;t really know what this means but it doesn&#8217;t seem to matter!)</li>
<li>Once you&#8217;ve created your data partition you might want, in Ubuntu, to change the text file located at /etc/fstab. You can then reliably mount your data partition in the same location meaning that you can create links to place on your desktop or wherever is convenient. The following commands in Terminal do the trick:
<ul>
<li>sudo mkdir /media/choose-name-for-data-store-here &#8211; this creates the place you&#8217;ll go to for your data.</li>
<li>sudo blkid &#8211; this gets a list of partitions on physical drives, and you need to note down the UUID of the partition you want to automount. Labels like /dev/sda1 (meaning the first partition on the first SATA harddrive) correspond to labelling in the gparted graphical interface, so you could always use that to work out which partition you&#8217;re aiming for.</li>
<li>sudo cp /etc/fstab /etc/fstab.bak &#8211; this backs up your fstab file in case of errors.</li>
<li>gksu gedit /etc/fstab &#8211; this opens a text editor to edit your fstab file. Add something like the following at the bottom, then save and close.</li>
</ul>
</li>
</ul>
<p><code># mount data store partition<br />
UUID=b7296b71-b1bd-4e73-9b7f-077dd37902c5    /media/filestore    ext2    rw,user,auto    0    0</code></p>
<ul>
<li>
<ul>
<li>You&#8217;ll need to make a few changes to that example: change the long UUID number to whichever you found with the blkid command (don&#8217;t include quote marks); change /media/filestore to whatever you named your data store directory; and change ext2 to whichever filesystem you formatted your partition with (probably ntfs or ext3).</li>
<li>Back in the Terminal run &#8220;sudo mount -a&#8221;. If there are no errors you should now be able to navigate in the file manager to the directory you created in /media to see the data on your additional partition.</li>
<li>NB If for any reason you want to unmount your data partition in Ubuntu then you&#8217;ll need to do it as root, i.e. use the command &#8220;sudo umount /media/your-data-store-directory&#8221;.</li>
</ul>
</li>
</ul>
<p><strong>4. Investigate problems (and note down the solutions!)</strong></p>
<p>Its always possible that some particular configurations of hardware don&#8217;t work as easily as one would hope. Hardware manufacturers might share information with Microsoft that they don&#8217;t with linux developers. (Although the biggest manufacturers are getting much better in this regard.) But if you&#8217;ve got a problem with your installation it might be relatively simple to fix and somewhere has likely been there before. Get googling and be very specific about your searches. (Searching &#8216;choppy graphics&#8217; is clearly not going to be very useful &#8211; know your hardware so you can search, say, &#8216;NVidia 8500 ubuntu 9.10 video mplayer bug&#8217;.) Remember that you can trust information on the official sites (say the <a title="ubuntu bug tracking" href="https://launchpad.net/ubuntu" target="_blank">Ubuntu bug tracking</a> website or <a title="ubuntu community documentation" href="https://help.ubuntu.com/community" target="_blank">community wiki</a>) much more than random blogs (like this one!).</p>
<p>Most importantly, when you get your fix, note down exactly what you&#8217;ve done so you can a) undo it if it causes other problems and b) redo it if, say, you decide to install a different or newer version of your operating system. An obvious point perhaps, but its a lesson its taken me longest to learn.</p>
<p><strong>5. Use the Cloud</strong></p>
<p>Using  cloud services &#8211; i.e. places available through the internet where you store some of your data &#8211; is a good way of separating data from software. It not only gives you a handy backup of your data but also makes it available from whatever computer you happen to be using &#8211; as long as you can keep track of all those passwords. Services I like include:</p>
<ul>
<li>Dropbox. This quietly keeps your files synchronised across any computer that you&#8217;ve installed it on and you can get an installer for linux, Windows or OSX. There&#8217;s also a web interface where you can access all of your files and even roll back to earlier versions of them. A free account gets 2GB of storage space so you&#8217;re not going to be backing up your whole hard drive this way, but its useful for those worky files you always want with you. (<a title="referral to dropbox" href="https://www.dropbox.com/referrals/NTMwOTM3MDY5" target="_blank">This link</a> gets us both a bit of extra free storage space if you sign up).</li>
<li>Xmarks add-on for Firefox. Keeps my bookmarks, keyword searches, passwords etc securely synchronised across computers. Lovely.</li>
<li>Also, as a researcher I use <a title="try out zotero" href="http://www.zotero.org/" target="_blank">Zotero</a> to keep track of my reading notes, bibliographic data and so on. The v.2 beta version now includes the possibility of synchronising your metadata, notes and your pdf copies of readings, websites and so on. At present this seems to provide unlimited storage space for free!</li>
<li>GMail contact data can be kept in sync with Thunderbird with the <a title="google contacts addon" href="https://addons.mozilla.org/en-US/thunderbird/addon/7307" target="_blank">Google Contacts add-on</a>. Even if you don&#8217;t use GMail I think its worth signing up for an account just to use its contacts as a central point to sync multiple copies of Thunderbird (or Evolution for that matter) and perhaps your mobile phone too.</li>
</ul>
<p>Depending on what sort of data you want to look after and/or share there are plenty of other services out there: Flixr is an obvious one for photographers and is often linked into photo management software like F-Spot and Picasa.</p>
<p><strong>6. Keep up to date (but be careful of upgrades!)</strong></p>
<p>Software updates are now a vital part of computing. Ubuntu installs with its Update Manager configured to run as soon as you turn on your computer. The updates only rarely require a computer restart so you can generally accept the suggested updates and leave the system to it. One warning, however, is that Ubuntu releases a new version of the operating system every six months. These upgrades won&#8217;t happen automatically, although the Update Manager will let you know when they&#8217;re available. But upgrading is a bigger job than simply accepting software updates &#8211; especially if you&#8217;ve got an odd selection of hardware or have heavily customised your operating system. The potential instability of system upgrades has caused some controversy among linux fans. The best practical advice is probably not to upgrade as soon as its available (in April and October each year) but to wait a month or so. When you do upgrade make sure you&#8217;ve got a little bit of time to iron out any wrinkles and go back to those installation notes you made so meticulously.</p>
<p>These tips are hardly an exhaustive how-to. But the purpose is to suggest some  of the easy practical steps to feeling secure about your linux use. Keep things organised and your data secure and you can be free to experiment. <a title="customize ubuntu" href="https://help.ubuntu.com/community/UbuntuEyeCandy" target="_blank">Customize your desktop</a>, set your visual effects to do <a title="compiz effects in ubuntu" href="http://www.youtube.com/watch?v=bMUQ_nja39c&amp;feature=related" target="_blank">something pointlessly cool</a>, install a wide range of applications or even create another partition and install an entirely new operating system just because its looks take your fancy. The excitement of linux is in the experimentation &#8211; just take a few precautions before you hurl yourself in.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingillan.info/techblog/127/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eeePC Internet Connection via Mobile Phone</title>
		<link>http://www.kevingillan.info/techblog/125</link>
		<comments>http://www.kevingillan.info/techblog/125#comments</comments>
		<pubDate>Sat, 05 Dec 2009 23:44:16 +0000</pubDate>
		<dc:creator>kev</dc:creator>
				<category><![CDATA[Techblog]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.kevingillan.info/?p=125</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=eeePC+Internet+Connection+via+Mobile+Phone&amp;rft.aulast=Gillan&amp;rft.aufirst=Kevin&amp;rft.subject=Techblog&amp;rft.source=kevingillan.info&amp;rft.date=2009-12-06&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.kevingillan.info/techblog/125&amp;rft.language=English"></span>
I came across various instructions for connecting an Ubuntu powered laptop to the internet through your mobile phone&#8217;s data connection. My first thought was &#8216;brilliant&#8217;, followed rapidly by &#8216;ooh this&#8217;ll be fiddly&#8217;. It requires a bit of manual coding, but using Rahid Hasan&#8217;s excellent how-to it just worked first time (that link looks broken now, [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=eeePC+Internet+Connection+via+Mobile+Phone&amp;rft.aulast=Gillan&amp;rft.aufirst=Kevin&amp;rft.subject=Techblog&amp;rft.source=kevingillan.info&amp;rft.date=2009-12-06&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.kevingillan.info/techblog/125&amp;rft.language=English"></span>
<p>I came across various instructions for connecting an Ubuntu powered laptop to the internet through your mobile phone&#8217;s data connection. My first thought was &#8216;brilliant&#8217;, followed rapidly by &#8216;ooh this&#8217;ll be fiddly&#8217;. It requires a bit of manual coding, but using <a title="laptop mobile broadband via bluetooth phone" href="http://ubuntu-help.co.cc/index.php/ubuntu-help/35-internet/46-mobile-broadband-internet-over-bluetooth" target="_blank">Rahid Hasan&#8217;s excellent how-to</a> it just worked first time (that link looks broken now, its <a title="bluetooth mobile internet" href="http://www.astahost.com/info.php/Mobile-Broadband-Ubuntu-Bluetooth_t19728.html" target="_blank">also copied here</a>). I can now enable my bluetooth on my eeePC, turn off the wifi, and a get a reasonable connection speed via my Nokia E71 on three. Grand &#8211; no more hotspot charges.</p>
<p>UPDATE: This is a little more complicated in Ubuntu 9.10. For some reason pairing the phones doesn&#8217;t result in a bond on the refcomm channel. I get the error &#8220;In file /etc/ppp/peers/BluetoothDialup: unrecognized option &#8216;/dev/rfcomm0&#8242;&#8221;. The following seems to solve it.<em></em></p>
<p>To get it working, follow the instructions linked above with the following modifications:</p>
<ol>
<li>All of the required packages were already installed on Ubuntu 9.04 and 9.10 Netbook Remix, so no need to do any of the sudo apt-get ing</li>
<li>The command to restart bluez-utils is now <code>/etc/init.d/bluetooth restart</code></li>
<li>Phone specific information: the apn for three is three.co.uk and the data profile number is 1</li>
<li>Check what devices you have with <code>ls /dev</code> Is there one listed as rfcomm? If not, then the following command is required: <code>sudo rfcomm bind 0 xx:xx:xx:xx:xx:xx z</code>Replace the x&#8217;s with your phone&#8217;s mac number and the z with your dialup channel number (both found when you follow the linked how to). This command only seems to be required once per session, then you can, in theory, pon and poff as much as you like. Perhaps the solution is to run the command at startup.</li>
<li>I get permission errors unless I run the launch command (pon or poff) with sudo</li>
<li>On launching the connection I get a permission error (only members of group &#8220;dip&#8221; can use this command) &#8211; but no group dip seems to exist. So, use sudo to launch instead.</li>
<li>Start the connection with <code>sudo pon BluetoothDialup</code> And stop it with <code>sudo poff BluetoothDialup</code> NB these commands can be written into custom application launchers through Preferences-&gt;Main Menu; but use gksu instead of sudo.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingillan.info/techblog/125/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Getting the NVidia linux driver working with odd monitors</title>
		<link>http://www.kevingillan.info/techblog/122</link>
		<comments>http://www.kevingillan.info/techblog/122#comments</comments>
		<pubDate>Sun, 27 Sep 2009 13:20:42 +0000</pubDate>
		<dc:creator>kev</dc:creator>
				<category><![CDATA[Techblog]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xorg.conf]]></category>

		<guid isPermaLink="false">http://www.kevingillan.info/?p=122</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Getting+the+NVidia+linux+driver+working+with+odd+monitors&amp;rft.aulast=Gillan&amp;rft.aufirst=Kevin&amp;rft.subject=Techblog&amp;rft.source=kevingillan.info&amp;rft.date=2009-09-27&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.kevingillan.info/techblog/122&amp;rft.language=English"></span>
The latest edition of Ubuntu (9.04) is generally excellent. There are continuing problems with graphics cards, however, that probably flow more from the proprietary (closed source) drivers provided than anything that Ubuntu folks can control. For me, its the NVidia driver that&#8217;s the baddy, failing to recognise any accurate information from my Acer widescreen monitor. [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Getting+the+NVidia+linux+driver+working+with+odd+monitors&amp;rft.aulast=Gillan&amp;rft.aufirst=Kevin&amp;rft.subject=Techblog&amp;rft.source=kevingillan.info&amp;rft.date=2009-09-27&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.kevingillan.info/techblog/122&amp;rft.language=English"></span>
<p>The latest edition of Ubuntu (9.04) is generally excellent. There are continuing problems with graphics cards, however, that probably flow more from the proprietary (closed source) drivers provided than anything that Ubuntu folks can control. For me, its the NVidia driver that&#8217;s the baddy, failing to recognise any accurate information from my Acer widescreen monitor. This required manually writing a new xorg.conf file pretty much from scratch &#8211; here&#8217;s the solution for pairing NVidia 8500 GT with an Acer P193w<span id="more-122"></span></p>
<p>NB The following sample xorg.conf file is set specifically for a particular hardware set up. Because this configuration doesn&#8217;t allow the graphics card to take required information from the monitor (becuase it seems to get this wrong) <span style="color: #ff0000;">using this configuration in a different system could cause serious hardware damage.</span> In particular, it is essential to get the correct modelines for your monitor, using the modeline calculator referenced in the file.</p>
<p><a href="http://www.kevingillan.info/wp-content/uploads/2009/09/xorg.conf">sample xorg.conf for nvidia</a></p>
<pre><small># xorg.conf (X.Org X Window System server configuration file)
#
# NB this is kev's hand edited version making use of xorg.conf manual and
# nvidia linux driver manual
# http://www.x.org/archive/X11R6.8.0/doc/xorg.conf.5.html
# http://http.download.nvidia.com/XFree86/Linux-x86/1.0-8178/README/chapter-03-section-02.html
# keyboard and mouse sections were pasted in from an xorg found on the ubuntu wiki,
# hopefully they're applicable here
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg</pre>
<pre>Section "Module"
  Load            "glx"
Endsection</pre>
<pre>Section "InputDevice"
  Identifier      "Keyboard0"
  Driver          "kbd"
  Option          "XkbRules"      "xorg"
  Option          "XkbModel"      "pc105"
  Option          "XkbLayout"     "gb"
EndSection</pre>
<pre>Section "InputDevice"
  Identifier      "Mouse0"
  Driver          "mouse"
  Option          "CorePointer"
EndSection</pre>
<pre>Section "Device"
  Identifier    "NVidia0"
  Driver        "nvidia"
  Screen        0
  Option        "NoLogo"    "true"
# set false to use freqs set in xorg.conf, default is true
  Option        "UseEdidFreqs"    "false"
# true could damage monitor if incorrect info specified in xorg.conf,
# but may be necessary if driver misidentifies all edid info from monitor
# default is false
  Option        "IgnoreEDID"    "false"
# nvidia's proprietary alternative to xinerama for multiple monitors,
# default is false
  Option        "TwinView"    "false"</pre>
<pre>EndSection</pre>
<pre>Section "Monitor"
  Identifier    "Monitor0"
  VendorName    "Acer"
  ModelName    "P193w"
  HorizSync    30-81
  VertRefresh    55-76
  DisplaySize    428 278
# modeline calculated by http://www.arachnoid.com/modelines/
  Modeline    "1440x900" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
  Modeline    "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync
  Modeline     "960x600" 45.98 960 1000 1096 1232 600 601 604 622 -HSync +Vsync
EndSection</pre>
<pre>Section "Screen"
  Identifier    "Screen0"
  Device        "NVidia0"
  Monitor        "Monitor0"
  DefaultDepth    24
    SubSection    "Display"
      Depth        24
      Modes        "1440x900" "1280x800" "960x600"
    EndSubSection
EndSection</pre>
<pre>Section "ServerLayout"
  Identifier     "Default Server Layout"
  Screen        "Screen0"
  InputDevice    "Keyboard0"
  InputDevice    "Mouse0"
Endsection</small></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingillan.info/techblog/122/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adventures in Thin</title>
		<link>http://www.kevingillan.info/techblog/119</link>
		<comments>http://www.kevingillan.info/techblog/119#comments</comments>
		<pubDate>Fri, 03 Apr 2009 17:52:03 +0000</pubDate>
		<dc:creator>kev</dc:creator>
				<category><![CDATA[Techblog]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source software]]></category>

		<guid isPermaLink="false">http://www.kevingillan.info/?p=119</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Adventures+in+Thin&amp;rft.aulast=Gillan&amp;rft.aufirst=Kevin&amp;rft.subject=Techblog&amp;rft.source=kevingillan.info&amp;rft.date=2009-04-03&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.kevingillan.info/techblog/119&amp;rft.language=English"></span>
NB This adventure has been postponed due to my lack of knowledge/skills to make it work Moving from a flat to a house so no longer will the same room function as lounge, dining room, study and guest room. Simply having a very long cable on a widescreen monitor meant that one PC used to [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Adventures+in+Thin&amp;rft.aulast=Gillan&amp;rft.aufirst=Kevin&amp;rft.subject=Techblog&amp;rft.source=kevingillan.info&amp;rft.date=2009-04-03&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.kevingillan.info/techblog/119&amp;rft.language=English"></span>
<p>NB This adventure has been postponed due to my lack of knowledge/skills to make it work <img src='http://www.kevingillan.info/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Moving from a flat to a house so no longer will the same room function as lounge, dining room, study and guest room. Simply having a very long cable on a widescreen monitor meant that one PC used to serve both work and entertainment functions, but alas no more. So, how to have a satisfactory work-from-home PC and a media PC without spending too much moolah? One (theoretical) answer is to scrounge a basic &#8216;obsolete&#8217; PC and use it as a <a title="wikipedia thin client" href="http://en.wikipedia.org/wiki/Thin_client" target="_blank">thin client</a> &#8211; meaning it is just a gateway to using the resources on my current, decent quality PC. The software to make this possible is really oriented to businesses, schools or colleges running clusters of computers cheaply but the principles are (probably) applicable at home. And I hope you don&#8217;t need to be a veteran sysadmin to make it work. This post, is going to be a running commentry on what I&#8217;ve learned as I go through the stages.<span id="more-119"></span></p>
<p><strong>The Scrounge</strong></p>
<p>A thin client doesn&#8217;t need much in the way of processor speed or memory and has no use for a harddrive, but it does need decent network card (and it&#8217;ll be much easier if its PXE-bootable).</p>
<p>Scrounging hint: given that software licensing and data protection are the things that are likely to make an IT department nervous about giving stuff away, just ask for the machine without the hard drive. Sorted.</p>
<p>Lucky me &#8211; my workplace was refurbishing old computers and had a box to throw my way (Dell Optiplex GX280). Its 3GHz processor and 512MB RAM would actually make for a very reasonable linux machine without the need for any of this thin client business. But it doesn&#8217;t have a hardrive, and anyway, the thing client&#8217;s the whole point. So&#8230;</p>
<p><strong>Exploring the PC</strong></p>
<p>What have you got your hands on? Download a linux live CD like <a title="xubuntu live cd" href="http://www.xubuntu.org/" target="_blank">Xubuntu</a> to find out (NB get the larger full disc, the alternate install disc is no use without a hard drive). If you&#8217;ve got an older machine try <a title="Damn Small Linux" href="http://damnsmalllinux.org/" target="_blank">DSL</a>. Load to the BIOS, slide the CD in, and hit F2/F12/Del or whatever to change the boot order. Save and exit.</p>
<p>Have a play, does everything seem to work? Good&#8230;</p>
<p>Now, open the terminal and type:</p>
<p><code>lspci</code></p>
<p>This gives you the lowdown on some of the important components. Look for &#8216;Ethernet controller&#8217; and write down the full description of the controller because you&#8217;ll need it later.</p>
<p>Personal hurdle 1: No BIOS! eek. Some info about the graphics chip appears and then nothing, nadda, sweet FA. Turned out that the person donating the machine had kindly put in some extra RAM from another identical looking machine also being decomissioned. But non-matching (or maybe just malfunctioning) RAM made the machine halt before it had even managed to load the BIOS. Apparently this is usually a sign of a hardware problem so try unplugging things if you run into it. I removed the offending hardware and all&#8217;s rosey.</p>
<p><strong>BIOS settings</strong></p>
<p>As yet the only BIOS setting I&#8217;ve needed to change is to enable the PXE bootable thing, which was pretty easy to find after hitting F2 and looking around. If the card isn&#8217;t PXE-bootable, you&#8217;ll either have to invest in a new NIC or try one of the <a title="ltsp alternative boot methods" href="https://help.ubuntu.com/community/UbuntuLTSP/LTSPBootingClientsWithoutPxe" target="_blank">alternative methods</a>.</p>
<p>Personal hurdle 2: BIOS settings locked! Okay, so this is pretty likely on a machine scrounged from a business. Try to find your PC&#8217;s manual. Mine described a jumper on the motherboard to resent admin and system passwords for the BIOS. Open the box, pull the jumper connection, close the box, power on, no more mister password. For fuller advice try this <a title="bios settings" href="http://www.dewassoc.com/support/bios/bios_password.htm" target="_blank">random website on BIOS settings</a>.</p>
<p>Well okay, that&#8217;s as far as I&#8217;ve got so far. But it all looks plain sailing from here. Yup, gonna be a breeze&#8230;</p>
<p><strong>Networking 1 &#8211; setting up a static IP address</strong></p>
<p>Usually this kind of network would run with two network cards in the server PC, one getting an internet connection and one connected to a switch. But a very useful blog post from <a title="life revived ltsp ubuntu" href="http://liferevived.blogspot.com/2008/06/howto-run-windowsxp-on-pentium486-using.html" target="_blank">Life, Revived</a> suggested that you can make do simply with an existing ADSL router as long as it has two or more ports. So, physically you just need a cable running from the router to both server and client(s).</p>
<p>The more complex bit is about how the computers do their IP addressing. The server needs a static IP. This means putting appropriate settings (which should be available from you Internet provider) in the configuration screen found, under Ubuntu. Check the router&#8217;s IP by putting it in the address bar of a browser &#8211; for Speedtouch routers this is 192.168.1.254 &#8211; you should see your router configuration application. Now do this:</p>
<ol>
<li> System-&gt;Preferences-&gt;Network Configuration</li>
<li>Under the &#8216;Wired&#8217; tab select your connection &#8211; probably eth0</li>
<li>Hit &#8216;Edit&#8217; and go to the IPv4 settings tab.</li>
<li>Change Method to &#8216;Manual&#8217; and hit &#8216;Add&#8217;</li>
<li>Fill in the details.</li>
</ol>
<ul>
<li>&#8216;Address&#8217; is the static IP of your PC. The first three figures should be the same as that for the router and the last must be different. (There are some useful guides to networking at <a title="port forward ip guides" href="http://www.portforward.com/guides.htm" target="_blank">PortForward.com</a>, including information specific to different router models.) If you&#8217;ve got other computers using the router, either wired or wireless turn them on and have a look at the router config webpage &#8211; you should see the range of IP addresses dynamically assigned to your PCs &#8211; choose a static IP that is well outside of that range.</li>
<li>Netmask always seems to be 255.255.255.0.</li>
<li>Gateway is the IP address of the router.</li>
<li>DNS Server addresses come from your Internet provider &#8211; you can enter more than one address here, separated with a space.</li>
</ul>
<p>Keep a note of all those numbers &#8211; they&#8217;ll come in handy in a moment.</p>
<p>Personal hurdle 3: There&#8217;s a silly bug in Ubuntu 8.10 which means that after a reboot the network reverts to the automatic settings. There are a couple of <a title="ubuntu 8.10 static ip settings bug" href="http://linhost.info/2008/11/how-to-set-a-static-ip-on-ubuntu-810/" target="_blank">workaround suggestions here</a>, but they didn&#8217;t work on my system. Instead, the following workaround from the <a title="ubuntu 8.10 static ip settings bug" href="https://bugs.edge.launchpad.net/ubuntu/+source/network-manager/+bug/284298/comments/4" target="_blank">official bug report</a> worked:</p>
<blockquote><p>check the &#8220;system settings&#8221; checkbox, THEN uncheck the &#8220;connect automatically&#8221; checkbox, check &#8220;connect automatically&#8221; again&#8230; wait for sometime and then click on &#8220;Authenticate&#8221; [OK in my system]: n-m should trigger the sudo authentication dialog box and let you save the settings.</p></blockquote>
<p><strong>Setting up the server</strong></p>
<p>Now its a case of hopefully following the instructions at the <a title="life revived ltsp ubuntu" href="http://liferevived.blogspot.com/2008/06/howto-run-windowsxp-on-pentium486-using.html" target="_blank">Life, Revived post</a>, which I&#8217;ve copied in parts below.</p>
<p>Install the ltsp server:</p>
<p><code>sudo apt-get install ltsp-server-standalone openssh-server</code></p>
<p>Edit your dhcp configuration file which will tell the client where to look for an operating system:</p>
<p><code>gksudo gedit /etc/ltsp/dhcpd.conf</code></p>
<p>Enter the network information you used above. Mine looks like this:<br />
<code><br />
#<br />
# Default LTSP dhcpd.conf config file.<br />
#<br />
authoritative;<br />
subnet 192.168.1.0 netmask 255.255.255.0 {<br />
range 192.168.1.200 192.168.1.230;<br />
# option domain-name "example.com";<br />
option domain-name-servers 212.139.132.6;<br />
option broadcast-address 192.168.1.255;<br />
option routers 192.168.1.254;<br />
#    next-server 192.168.0.1;<br />
#    get-lease-hostnames true;<br />
option subnet-mask 255.255.255.0;<br />
option root-path "/opt/ltsp/i386";<br />
if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {<br />
filename "/ltsp/i386/pxelinux.0";<br />
} else {<br />
filename "/ltsp/i386/nbi.img";<br />
}<br />
}<br />
</code><br />
Restart the dhcp server with:<br />
<code>sudo /etc/init.d/dhcp3-server restart</code><br />
If all is okay, then great. Time to build the image for the client to boot from:<br />
<code>sudo ltsp build-client</code></p>
<p><strong>Setting up the client</strong></p>
<p>The final job is to write the boot instructions for the client to a floppy disc. Dig out your note of the ethernet controller info and visit <a title="bootable floppy rom utility" href="http://www.rom-o-matic.net/" target="_blank">rom-o-matic.net</a>. Have a look at the list of network cards and select the appropriate ROM type, hit &#8216;Get ROM&#8217; and save somewhere sensible. To write the disc use a terminal command like this:</p>
<p><code>dd if=file-you've-downloaded.dsk of=/dev/fd0</code></p>
<p>Personal hurdle 4: My server PC doesn&#8217;t have a floppy drive. Unfortunately,  running a Xubuntu live CD on the client machine doesn&#8217;t seem to allow access to the floppy, so I&#8217;ve had to physically swap the floppy drive into the new machine to write the boot disc. Alternatively using a CD might have been easier (choosing a .iso instead of a .dsk download from rom-o-matic), but ideally I&#8217;d like to be able to use the CD drive in the client machine without the minor faff of remembering to put the put CD in on every shut down.</p>
<p><strong>Go, Go, Go!</strong></p>
<p>Now its time to start the client machine, hit F2/DEL to get into the BIOS. Choose to boot from the floppy you&#8217;ve just inserted and give it a whirl.</p>
<p>My results so far: &#8216;Non-system disk or disk error&#8217;. Shucks, time to revist rom-o-matic&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingillan.info/techblog/119/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu-eee on the eee PC 901</title>
		<link>http://www.kevingillan.info/techblog/115</link>
		<comments>http://www.kevingillan.info/techblog/115#comments</comments>
		<pubDate>Mon, 05 Jan 2009 15:36:47 +0000</pubDate>
		<dc:creator>kev</dc:creator>
				<category><![CDATA[Techblog]]></category>
		<category><![CDATA[eeepc]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.kevingillan.info/?p=115</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Ubuntu-eee+on+the+eee+PC+901&amp;rft.aulast=Gillan&amp;rft.aufirst=Kevin&amp;rft.subject=Techblog&amp;rft.source=kevingillan.info&amp;rft.date=2009-01-05&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.kevingillan.info/techblog/115&amp;rft.language=English"></span>
So a new year&#8217;s gift to myself for 2009: an Asus eee PC 901. After a quick play with the Xandros-based operating system that came pre-installed I decided to give the eee-specific Ubuntu distro a whirl. Despite the claim on their wiki that it would work &#8216;out of the box&#8217; for the 901, there were [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Ubuntu-eee+on+the+eee+PC+901&amp;rft.aulast=Gillan&amp;rft.aufirst=Kevin&amp;rft.subject=Techblog&amp;rft.source=kevingillan.info&amp;rft.date=2009-01-05&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.kevingillan.info/techblog/115&amp;rft.language=English"></span>
<p>So a new year&#8217;s gift to myself for 2009: an Asus eee PC 901. After a quick play with the Xandros-based operating system that came pre-installed I decided to give the <a title="Ubuntu eee" href="http://ubuntu-eee.com" target="_blank">eee-specific Ubuntu distro</a> a whirl. Despite the claim <a title="ubuntu eee wiki" href="http://www.ubuntu-eee.com/wiki/index.php5?title=Introduction_to_Ubuntu_Eee" target="_blank">on their wiki</a> that it would work &#8216;out of the box&#8217; for the 901, there were a few issues with my installation (Ubuntu Hardy Heron v 8.04.1 on Asus model no. EEEPC-BK006) that I&#8217;ve resolved with the help of posts on the wiki and the <a href="http://forum.eeeuser.com/" target="_blank">eeepc users&#8217;s forum</a>. So, largely because I might need to do it again, here&#8217;s my step-by-step guide on how to get the thing running as I like it:</p>
<p><strong>UPDATE</strong>: ubuntu-eee, used in the description below, has rebranded itself as <a title="easy peasy" href="http://www.geteasypeasy.com/" target="_blank">easy peasy</a>. It seems to contain more license restricted software than the standard ubuntu installation and looks pretty swish. But ubuntu are clearly pushing their own netbook-remix so I&#8217;ve installed v9.04 (Jaunty Jackalope) from <a title="Ubuntu Netbook Remix" href="http://www.ubuntu.com/getubuntu/download-netbook" target="_blank">Ubuntu&#8217;s main site</a>. Where necessary I&#8217;ve updated the advice below for that, and added tips on Firefox and Mobile Broadband. Incidentally, Ubuntu Netbook Remix on the eee-pc absolutely rocks.</p>
<p>N.B. I&#8217;ve mostly included eee-pc specific things here &#8211; there are other necessary steps with Ubuntu (like making flash work properly, and getting drivers to play .mp3 files). These all relate to using software with restricted licenses, but that software is available and works very well and Ubuntu now generally offers wizards to do these things which should pop up when you need them.</p>
<ol>
<li><a title="install ubuntu-eee" href="http://www.kevingillan.info/techblog/115#install" target="_self">Install the OS</a></li>
<li><a title="make drives recognisable" href="http://www.kevingillan.info/techblog/115#drives" target="_self">Recognise removable drives (N.B. Not necessary since Ubuntu 9.10)<br />
</a></li>
<li><a title="wifi" href="http://www.kevingillan.info/techblog/115#wifi" target="_self">Wifi (N.B. Not necessary since Ubuntu 9.04)<br />
</a></li>
<li><a title="webcam" href="http://www.kevingillan.info/techblog/115#webcam" target="_self">Webcam</a></li>
<li><a title="bluetooth" href="http://www.kevingillan.info/techblog/115#bluetooth" target="_self">Make bluetooth work</a> and <a title="bluetooth-push" href="http://www.kevingillan.info/techblog/115#bluetooth" target="_self">enable other devices to push files via bluetooth</a></li>
<li><a title="lock after standby" href="http://www.kevingillan.info/techblog/115#lock" target="_self">Password lock after standby (N.B. Not necessary since Ubuntu 9.04)<br />
</a></li>
<li><a title="home" href="http://www.kevingillan.info/techblog/115#home" target="_self">Make &#8216;home&#8217; key show desktop</a></li>
<li><a title="eee-control" href="http://www.kevingillan.info/techblog/115#eee-control" target="_self">Install eee-control (N.B. Currently trickier after 9.10)</a></li>
<li><a title="launchy" href="http://www.kevingillan.info/techblog/115#launchy" target="_self">Install Launchy (N.B. Gnome Do is probably preferable since 9.04)<br />
</a></li>
<li><a title="fonts" href="http://www.kevingillan.info/techblog/115#fonts" target="_self">New fonts</a></li>
<li><a title="firefox" href="http://www.kevingillan.info/techblog/115#launchy" target="_self">Firefox 3.5 (N.B. Not necessary since Ubuntu 9.10)<br />
</a></li>
<li><a title="mobilebb" href="http://www.kevingillan.info/techblog/115#launchy" target="_self">Mobile Broadband</a></li>
</ol>
<p><span id="more-115"></span></p>
<p><a name="install"><strong>Install the OS</strong></a></p>
<p>I first attempted to dual boot Ubuntu and Xandros by installing Ubuntu on an additional SDHC card plugged into the card reader. In principle, this is achievable. However, the installation messes up the boot loader so I ran into an error at the grub that meant that I just couldn&#8217;t run either operating system. There are some hints on <a title="ubuntu eee grub problem" href="http://ubuntuforums.org/showthread.php?t=1015176" target="_blank">solving the grub error 21 </a><a title="ubuntu eee grub problem" href="http://ubuntuforums.org/showthread.php?t=1015176" target="_blank">issue</a> but I decided just to go for a clean install. The following method requires a windows or linux PC with an internet connection and a blank USB flash drive. <strong>NB Doing the following will completely remove your standard Xandros installation and any files you have saved!</strong></p>
<ol>
<li>You&#8217;ll need to enter the Asus&#8217;s BIOS several times, but its quickboot mode, on by default, makes this tricky. So, first enter the BIOS to turn quickboot off. After hitting the on button you&#8217;ll have to tap Esc and/or F2 very quickly to get to the BIOS settings. It took me about five attempts of rapid and repeated tapping to get in. Now you&#8217;re in, use cursor keys to navitage to &#8216;Boot&#8217;, then &#8216;Boot Settings Configuration&#8217; then set both the &#8216;Quick Boot&#8217; entries to &#8216;Disabled&#8217;. Hit F10 to save, exit and reboot.</li>
<li>On another PC download the ubuntu-eee iso file and the appropriate utility (called unetbootin) for making a USB flash drive bootable from the <a title="ubuntu eee website" href="http://ubuntu-eee.com/" target="_blank">Ubuntu eee website</a>.</li>
<li>Run unetbootin and use the interface to select the source file (i.e. the iso just downloaded) and the destination (i.e. a blank USB flash drive).</li>
<li>Insert USB drive to Asus, turn on, and hit F2 to enter BIOS.</li>
<li>Change boot priorities to boot from USB drive. First navigate to Boot-&gt;Hard Disk Drives; select 1st Drive, hit enter, and select USB. Second, Boot-&gt;Boot Device Priority; select 1st Boot Device and choose &#8216;Removable Dev.&#8217;</li>
<li>Hit F10 to save changes, exit and reboot.</li>
<li>You should now be presented with Ubuntu&#8217;s live CD boot loader. You can run the operating system to test it without affecting your current Xandros installation, but don&#8217;t expect everything to work straight off. To bite the bullet and actually install ubuntu over the top of Xandros select the option to install.</li>
<li>Most of the following screens should be very straightforward, except partitioning. Select manual partitioning.</li>
<li>Select the 4GB drive (probably sda) and choose to use the whole drive as the root filesystem (labelled &#8216;/&#8217;). I selected Ext 2.<br />
<small>N.B Ext 3 is the standard for linux now, and may be more stable through its journalling system &#8211; but that system requires very frequent disk writes which may noticably shorten the life of the SSD.</small></li>
<li>Select the larger SSD drive, 8 or 16GB depending on model. This is probably labelled sdb. Choose to use this as the user&#8217;s home filesystem (labelled &#8216;/home&#8217;) &#8211; this is where all of your local files will be stored. Again I chose Ext 2, although Ext 3 is the more standard option.<br />
<small>NB most linux installations would also include a &#8216;swap&#8217; partition &#8211; equivalent to Windows&#8217; &#8216;virtual memory&#8217; &#8211; but again to reduce the frequency of writes to disc most people seem to recommend not having a swap on the eeePC. If you&#8217;re intended to use very memory-heavy applications for which 1GB ram is not enough you might like to reconsider this and put a swap partition (1GB?) on the larger SSD drive.</small></li>
<li>Finish working through the installation wizard and wait while it installs. Choose to reboot. I had an issue here where the machine wouldn&#8217;t turn off properly, I think because it had been tricked into thinking it was installing from a CD and wanted me to remove the CD. So, I used a hard turn off (press and hold the power button), removed the flash drive and turned on again.</li>
</ol>
<p>Hey presto &#8211; working ubuntu. And doens&#8217;t it look so much more natty than the grey of Asus&#8217;s custom Xandros? But, it doens&#8217;t work in entirity. So I had to apply the following fixes&#8230;</p>
<p><a name="drives"><strong>Make Ubuntu recognise removable drives</strong></a></p>
<p>UPDATE: This is not necessary on the Ubuntu 9.10 release.</p>
<p>As <a title="Tombuntu eee pc" href="http://tombuntu.com/index.php/2008/09/01/installing-ubuntu-804-on-the-eee-pc-901/" target="_blank">explained on Tombuntu</a>, something about installing from a flash drive messes with Ubuntu&#8217;s ability to recognise and mount new removable media. To solve it, simply do this:</p>
<ol>
<li>Open a terminal window (Accessories-&gt;Terminal) and type the following:</li>
<p><code>$ gksudo gedit /etc/fstab</code></p>
<li>In the text editor window that should&#8217;ve opened, go to the line that references a CD drive (something like &#8216;/dev/sdc1     /media/cdrom0 &#8230;&#8217;. Comment out that line by putting a # at the beginning).</li>
<li>Save, close, reboot. Sorted.</li>
</ol>
<p>N.B. If it is important that a particular device can be referenced in the same location, no matter what combination of things you have plugged in, you can set a specific mount point Right click the device in the file manager to get its properties. Unfold settings and change mount point to whatever you want &#8211; it should still be located in /media though, unless there&#8217;s a good reason why not.</p>
<p><a name="wifi"><strong>Make Wifi work</strong></a></p>
<p>UPDATE: This is not necessary with Ubuntu 9.04 or 9.10 &#8211; simply go to System-&gt;Administration-&gt;Network Connections and put the relevant information in the &#8216;Wireless&#8217; tab.</p>
<p>I used the <a title="ndiswrapper wifi ubuntu eee" href="http://ubuntu-eee.com/wiki/index.php5?title=Getting_the_network_drivers_working_on_the_901" target="_blank">ndiswrapper method explained here</a>, plus <a title="rt2860 for ubuntu eee" href="http://forum.eeeuser.com/viewtopic.php?pid=329055#p329055" target="_blank">info about the driver from here</a>. Specifically&#8230;</p>
<ol>
<li>Using another PC download <a title="ndiswrapper wifi ubuntu eee" href="http://packages.ubuntu.com/hardy/i386/misc/ndiswrapper-common/download" target="_blank">ndiswrapper-common</a>, <a title="ndiswrapper wifi ubuntu eee" href="http://packages.ubuntu.com/hardy/i386/misc/ndiswrapper-utils-1.9/download" target="_blank">ndiswrapper-utils</a> and <a title="ndiswrapper wifi ubuntu eee" href="http://packages.ubuntu.com/hardy/i386/net/ndisgtk/download" target="_blank">ndisgtk</a>. Copy them to a USB flash drive. (Full version numbers from link above, you could install these programmes through Administration-&gt;Synaptic if you have a working wired internet connection.)</li>
<li>Also download the <em>Windows </em>wifi driver for the hardware. (ndiswrapper is a utility for running windows wifi drivers on linux.) <a title="rt2860 driver" href="http://rs221.rapidshare.com/files/130793344/wireless.zip" target="_blank">Download the driver here</a>. Unpack the .zip folder &#8211; you&#8217;ll just need the file rt2860.inf &#8211; copy it over to your USB drive.</li>
<li>Insert the USB drive into your Asus, navigate to the files you just downloaded. The three ndiswrapper files are .deb format, meaning you can just click to install. You&#8217;ll get a warning that there are other versions in your software repositories. Don&#8217;t worry about it. The status should be marked as &#8216;all dependencies met&#8217; or similar. (If not, and there are dependencies listed, you&#8217;ll have to download these as .deb files and install them first.) All being well, install each in turn.</li>
<li>Now go to Administration-&gt;Windows Wireless Drivers. Click &#8216;Install New Driver&#8217; and navigate to the rt2860.inf file. Select and you&#8217;re done. To configure your wireless network go to Administration-&gt;Network. Or, if in roaming mode, just click the network icon in the taskbar.</li>
</ol>
<p><a name="webcam"><strong>Make Webcam work</strong></a></p>
<p>I had to change a BIOS setting for this, but that was all.</p>
<ol>
<li>Restart and hit F2 on boot.</li>
<li>Navigate to Advanced-&gt;Onboard Devices. Go to Onboard Camera and mark as enabled. (While you&#8217;re there you might want to do the same for bluetooth.)</li>
<li>F10 to save and reboot.</li>
</ol>
<p>While the Cheese application does work to take snapshots and short videos it is, perhaps, not quite as it should be. Taking pics or video should result in a thumbnail turning up at the bottom of the app window. On mine it doesn&#8217;t. But then closing and restarting the app does display the previously taken pics and video. There appears to be an issue with the sound recording level as well, although it is doing something.</p>
<p><a name="bluetooth"><strong>Make bluetooth work</strong></a></p>
<p>I had to change a BIOS setting for this, but that was all.</p>
<ol>
<li>Restart and hit F2 on boot.</li>
<li>Navigate to Advanced-&gt;Onboard Devices. Go to Onboard Bluetooth and mark as enabled.</li>
<li>F10 to save and reboot.</li>
</ol>
<p>N.B. the second of the special silver keys at the top of the keyboard (marked with arrows pointing out of a screen) is a quick way to enable/disable bluetooth.</p>
<p><a name="bluetooth-push"><strong>Enable devices to push files over bluetooth</strong></a></p>
<p>The built in bluetooth utility is good for pairing up devices and for browsing files on other devices, but doesn&#8217;t allow for other devices to push files to your eeePC. For this you need the package gnome-user-share. So,</p>
<ol>
<li>Open a terminal and type: sudo apt-get install gnome-user-share. (Or use the Synaptic Package Manager)</li>
<li>Go to the System-&gt;Preferences-&gt;Personal File Sharing</li>
<li>Select &#8216;Receive files in Downloads folder over Bluetooth&#8217; and any other options that seem appropriate. NB I accept files only for bonded devices, which means you need to use the standard bluetooth utility (System-&gt;Preferences-&gt;Bluetooth-&gt;Set up a new device) to bond your device to the PC. It has to be this way around, bonding from the device to the eee isn&#8217;t the same thing.</li>
</ol>
<p><a name="lock"><strong>Password lock after standby/screensaver etc</strong></a><strong><br />
</strong></p>
<p>UPDATE: No issues with this in Ubuntu 9.04. I just used Preferences-&gt;Power Management to ensure that the computer goes to standby on shutting the lid, and the power button immediately shuts down. The first silver button now turns off the screen and has a password lock.</p>
<p>Having previously had problems with this, its great that standby works as it should. Using Preferences-&gt;Power Management accesses settings for what to do when shutting lid, hitting power button etc. (Note that if you haven&#8217;t got a swap partition you probably can&#8217;t use hibernate.) But no options in the GUI for password locks. Point 1 below is a reasonable method, but runs into a seemingly common ubuntu bug, for which a quick fix follows.</p>
<ol>
<li>Use the terminal command: gconf-editor</li>
<li>Navigate apps-&gt;gnome-power-manager-&gt;lock.</li>
<li>Select appropriate option. I seem to be having problems with the screensaver so have gone just for ticking &#8216;suspend&#8217;.</li>
<li>Using this, though, results in ubuntu not recognising the password. Choosing &#8216;switch user&#8217; gets you to the gdm login screen which should allow logging in as usual.</li>
<li>For me, the quick fix on <a title="suspend lock bug ubuntu-eee" href="https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/163525" target="_blank">this bug report</a> worked, i.e. use a terminal to run:</li>
<p><code>$ sudo chown root:shadow /sbin/unix_chkpwd<br />
$ sudo chmod 2755 /sbin/unix_chkpwd</code></p>
<li>I had previously tried the solution posted on <a title="suspend lock bug ubuntu-eee" href="https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/227994" target="_blank">this other report of the same bug</a>, although it didn&#8217;t work for me. But hey, it clearly works on some systems.</li>
</ol>
<p>N.B. The first of the silver keys at the top of the keyboard turns off the screen. It&#8217;s not a standby though, so no password.</p>
<p><a name="home"><strong>Make the &#8216;Home&#8217; key show desktop/home</strong></a></p>
<p><a title="ubuntu-eee make home key work" href="http://www.ubuntu-eee.com/wiki/index.php5?title=How_to:_Set_Super_button_to_show_desktop" target="_blank">Info from the ubuntu-eee wiki</a>.</p>
<ol>
<li> From Home, select the <strong>Preferences</strong> menu, followed by <strong>Keyboard Shortcuts</strong></li>
<li> Scroll down and click on <strong>Hide all windows and focus desktop</strong> (it&#8217;s in the <em>Windows Management</em> section)</li>
<li> Press the &#8216;Home&#8217; button (shown as &#8216;Super&#8217;)</li>
</ol>
<p>N.B. As of Ubuntu 9.10 this no longer works as the Super key is recognised as &#8216;Mod3&#8242;, presumably standing for modifier. That means that only key combinations are accepted in the Keyboard Shortcuts tool, not the single Mod3 key. I feel a bug report coming on&#8230;</p>
<p><a name="eee-control"><strong>Install eee-control</strong></a></p>
<p>eee-control is a small utility that sits in the system tray and gives you quick access to turning on and off bluetooth, wifi etc, as well as allowing you to set the performance mode of your CPU. This package is not in the repositories, but for Ubuntu 9.04 <a title="download eee-control" href="http://greg.geekmind.org/eee-control/" target="_blank">instructions and a download are available here</a>. As yet there&#8217;s no download for Ubuntu 9.10 &#8211; I&#8217;ll have a go at building it from source and report further.</p>
<p><a name="launchy"><strong>Install Launchy<br />
</strong></a></p>
<p>UPDATE: Launchy is not currently included in the repositories for Ubuntu 9.04 and installing from the <a title="Launchy downloads" href="http://sourceforge.net/projects/launchy/files/" target="_blank">Launchy .deb </a>file caused conflicts on keyboard shortcuts that I couldn&#8217;t solve. Instead I&#8217;ve gone for <a title="gnome-do application launcher" href="http://do.davebsd.com/" target="_blank">gnome-do</a> from the repositories which works just as well. Just replace &#8216;launchy&#8217; with &#8216;gnome-do&#8217; in the below code to install.</p>
<p>Gotta love this application launcher, whatever the OS. Now included in ubuntu repositories, so:</p>
<ol> <code>$ sudo apt-get update<br />
$ sudo apt-get install launchy</code></ol>
<p><a name="fonts"><strong>Installing new fonts</strong></a></p>
<p>UPDATE: The microsoft core fonts are now included in the &#8216;ubuntu-restricted-extras&#8217; package, that also includes support for flash and various audio and video formats. Go to Favourites-&gt;Ubuntu Software Centre and use the quick search box to find &#8216;restricted extras&#8217; for the appropriate package. Bingo.</p>
<p><a title="ubuntu install fonts" href="https://wiki.ubuntu.com/Fonts" target="_blank">Info on fonts from the Ubuntu Wiki</a>.</p>
<ol>
<li>Make a directory to store them in.</li>
<p><code>$ sudo mkdir /usr/share/fonts/truetype/new-fonts</code></p>
<li>Copy the font file to the new directory.</li>
<p><code>$ sudo cp ~/Downloads/new-font-file.ttf</code></p>
<li>Refresh the fonts list.</li>
<p><code>$ sudo fc-cache -f -v</code></ol>
<p>N.B. Some apps may not recognise the new fonts until after a reboot.</p>
<p><a name="firefox"><strong>Firefox 3.5</strong></a></p>
<p>UPDATE: Firefox 3.5 is included in 9.10 by default. These instructions may be adaptable if a big new Firefox release comes along before the next version of Ubuntu.</p>
<p>Ubuntu 9.04 includes Firefox 3 by default. For the latest and greatest it is possible to install Firefox 3.5 from the repositories. But, note that it will be installed as &#8216;Shiretoko&#8217; without the usual branding, which is the Ubuntu way until 3.5 becomes the officially supported browser (which will happen in version 9.10). When using 9.04 do not uninstall Firefox 3.</p>
<ol>
<li>Administration-&gt;Synaptic Package Manager</li>
<li>Search for &#8216;firefox-3.5&#8242;</li>
<li>From the long list of related applications I just marked the packages &#8216;firefox-3.5&#8242;, &#8216;firefox-3.5-gnome-support&#8217;, and &#8216;firefox-3.5-branding&#8217; for installation.</li>
<li>Click &#8216;Apply&#8217;.</li>
</ol>
<p>You&#8217;ll find &#8216;Shiretoko&#8217; with a generic icon in the &#8216;Internet&#8217; section. You can always right-click the icon and choose &#8216;Add to Favourites&#8217; to make it more quickly available.</p>
<p><a name="mobilebb"><strong>Mobile Broadband</strong></a></p>
<p>Well this is a pretty exciting development for netbook users. Ubuntu now has built in, &#8216;out of the box&#8217; support for mobile broadband dongles. Using an O2 dongle this was pretty straightforward.</p>
<ol>
<li>If testing this somewhere where you usually have a wifi connection simplify things by right-clicking your signal strength icon and uncheck the &#8216;enable wireless&#8217; option.</li>
<li>Plug in the dongle</li>
<li>A wizard should open up, select your network operator and follow on-screen instructions.</li>
<li>This resulted in incorrect settings for me, but easily fixed.</li>
<li>Right-click the signal strength icon and select &#8216;Edit Connections&#8217;</li>
<li>Go to the &#8216;Mobile Broadband&#8217; tab.</li>
<li>Select your connection and click &#8216;Edit&#8217;.</li>
<li>Fill in the right details from the bumf you got with the dongle. For me this required changes to the Username, Password and APN fields. (For other O2 users, the username might be &#8216;o2bb&#8217; and the APN might be m-bb.o2.co.uk &#8211; the username you will have chosen yourself.)</li>
<li>And then&#8230; it just works!</li>
</ol>
<p>N.B. For more functionality (like sending texts) I&#8217;ve seen the <a title="mobile broadband linux" href="http://umtsmon.sourceforge.net/" target="_blank">UMTSmon package</a> recommended. Not tested it though and generally prefer not to install software that is not in the repositories.</p>
<p>UPDATE: It is possible to get mobile broadband through a bluetooth-enabled 3G phone, provided you have a sensible data plan with your mobile company. See <a title="mobile broadband via phone on eee pc" href="http://www.kevingillan.info/techblog/125" target="_self">this post for info</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingillan.info/techblog/115/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Theme-tastic</title>
		<link>http://www.kevingillan.info/techblog/51</link>
		<comments>http://www.kevingillan.info/techblog/51#comments</comments>
		<pubDate>Thu, 03 Apr 2008 13:10:38 +0000</pubDate>
		<dc:creator>kev</dc:creator>
				<category><![CDATA[Techblog]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://localhost/wordpress-test/?p=25</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Theme-tastic&amp;rft.aulast=Gillan&amp;rft.aufirst=Kevin&amp;rft.subject=Techblog&amp;rft.source=kevingillan.info&amp;rft.date=2008-04-03&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.kevingillan.info/techblog/51&amp;rft.language=English"></span>
Time to bodge together my own theme? It’ll probably be yellow. Some useful links: http://codex.wordpress.org/Theme_Development http://codex.wordpress.org/Stepping_Into_Templates http://codex.wordpress.org/Template_Tags http://codex.wordpress.org/The_Loop_in_Action http://codex.wordpress.org/Template_Hierarchy These are progressively more advanced topics. Some early lessons… Theme Structure There are really four elements of a basic theme, that are written into separate php files (representing templates). These are the header, footer, sidebar (kind [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Theme-tastic&amp;rft.aulast=Gillan&amp;rft.aufirst=Kevin&amp;rft.subject=Techblog&amp;rft.source=kevingillan.info&amp;rft.date=2008-04-03&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.kevingillan.info/techblog/51&amp;rft.language=English"></span>
<p>Time to bodge together my own theme?</p>
<p>It’ll probably be yellow.</p>
<p>Some useful links:</p>
<ul>
<li><a href="http://codex.wordpress.org/Theme_Development" target="_blank">http://codex.wordpress.org/Theme_Development</a></li>
<li><a href="http://codex.wordpress.org/Stepping_Into_Templates" target="_blank">http://codex.wordpress.org/Stepping_Into_Templates</a></li>
<li><a href="http://codex.wordpress.org/Template_Tags" target="_blank">http://codex.wordpress.org/Template_Tags</a></li>
<li><a href="http://codex.wordpress.org/The_Loop_in_Action" target="_blank">http://codex.wordpress.org/The_Loop_in_Action</a></li>
<li><a href="http://codex.wordpress.org/Template_Hierarchy" target="_blank">http://codex.wordpress.org/Template_Hierarchy</a></li>
</ul>
<p>These are progressively more advanced topics. Some early lessons…</p>
<p><span id="more-51"></span></p>
<h3>Theme Structure</h3>
<p>There are really four elements of a basic theme, that are written into separate php files (representing templates). These are the header, footer, sidebar (kind of optional) and ‘the loop’. The loop is what brings content into the page on the basis of what the viewer has clicked. Each of these templates may optionally call other templates to be displayed within them.</p>
<h3>Template pages</h3>
<p>But, there are quite a few different ways of viewing the content &#8211; single posts, category views, tag views, search results etc. What this translates into is the need for the following template files:</p>
<ul>
<li>index.php &#8211; the basic essential item, all other views fall back to using this template if the more specific ones don&#8217;t exist</li>
<li>header.php</li>
<li>footer.php</li>
<li>archive.php &#8211; essential multi-post view, I think (though falls back to index if necessary).</li>
<li>category.php &#8211; Optional, falls back to archive if unavailable.</li>
<li>tag.php &#8211; Falls back to archive if unavailable.</li>
<li>home.php &#8211; a possibility for a static homepage? In theory it doesn&#8217;t even have to call header or footer if you wanted a different start page. Optional, falls back to index.</li>
</ul>
<p>They&#8217;re pretty much the major ones to think about, starting with index.php and then making mods for different views. Additionally, it may be necessary to think about:</p>
<ul>
<li>author.php</li>
<li>date.php</li>
<li>404.php &#8211; note need for .htaccess to get this fully working</li>
<li>search.php</li>
</ul>
<p>And don&#8217;t forget, we&#8217;ll also need a styles.css.</p>
<h3>Widget Complications</h3>
<p>Widgets allow for the easy addition of new functions to the sidebar. Its essential if you&#8217;re going to share your theme. I&#8217;m not so sure its essential for a personal theme, although the very wide range of handy widgets out there (and the fact that more will come along all the time), mean that it would be preferable. So, must learn about <a title="widget theme" href="http://automattic.com/code/widgets/themes/" target="_blank">widgetizing themes</a>.</p>
<p>Primarily, the content of the sidebar should be organised with unordered lists, and include a function call (to a function defined within the theme in functions.php). functions.php itself just calls a function defined elsewhere, that presumable checks what widgets have been enabled and in what order, and grabs the necessary content.</p>
<p>Each widget as a unique id name for styling in CSS, but of course individually styling every widget in styles.css is going to be a pain and really defeats the easy plugin nature of widgets in the first place. Much better to set the styles for something like #sidebar.ul.li and then hope they cascade properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingillan.info/techblog/51/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Desktop Search Comparison &#8211; Google vs. Copernic</title>
		<link>http://www.kevingillan.info/techblog/23</link>
		<comments>http://www.kevingillan.info/techblog/23#comments</comments>
		<pubDate>Mon, 11 Jul 2005 12:05:44 +0000</pubDate>
		<dc:creator>kev</dc:creator>
				<category><![CDATA[Techblog]]></category>

		<guid isPermaLink="false">http://localhost/wordpress-test/?p=20</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Desktop+Search+Comparison+%26%238211%3B+Google+vs.+Copernic&amp;rft.aulast=Gillan&amp;rft.aufirst=Kevin&amp;rft.subject=Techblog&amp;rft.source=kevingillan.info&amp;rft.date=2005-07-11&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.kevingillan.info/techblog/23&amp;rft.language=English"></span>
Desktop search tools create an index of all your files allowing you to quickly search them using keywords from anywhere in the the file &#8211; just like an internet search engine. So, you&#8217;d have thought that search maestro&#8217;s Google would produce the best of tools. You&#8217;d be wrong&#8230; Both Google Desktop Search and Copernic Desktop [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Desktop+Search+Comparison+%26%238211%3B+Google+vs.+Copernic&amp;rft.aulast=Gillan&amp;rft.aufirst=Kevin&amp;rft.subject=Techblog&amp;rft.source=kevingillan.info&amp;rft.date=2005-07-11&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.kevingillan.info/techblog/23&amp;rft.language=English"></span>
<p>Desktop search tools create an index of all your files allowing you to quickly search them using keywords from anywhere in the the file &#8211; just like an internet search engine. So, you&#8217;d have thought that search maestro&#8217;s Google would produce the best of tools. You&#8217;d be wrong&#8230;<span id="more-23"></span></p>
<p>Both <a href="http://desktop.google.com/" target="_blank">Google Desktop Search</a> and <a href="http://www.copernic.com/" target="_blank">Copernic Desktop Search</a> are available for free to download and use, in a fully functional, unlimited package. Copernic says that it will be producing a pro version of its search software but that it will always maintain and update a free version &#8211; a distribution model that has worked pretty well for a number of common applications. Google on the other hand is funding the programme through its &#8216;premium support&#8217; package for its enterprise edition. If you don&#8217;t want to know the details of my comparison of the packages, skip to <a href="http://www.kevingillan.info/techblog.php?subaction=showfull&amp;id=1121092134&amp;archive=&amp;start_from=&amp;ucat=16&amp;#bit">the interesting bit</a>. I&#8217;ve been using both for about three weeks on Windows XP Pro on a fast laptop.</p>
<h3>Size and speed.</h3>
<p>Both programmes may be downloaded and installed in between 10 and 20 minutes, a trivial process. When unpacked Google DS takes up about 2.6 Mb, whereas Copernic a slightly heavier 7.5 Mb. This is entirely explained by the fact that Copernic is an independent application, with its own graphics and so on, whereas Google uses your browser for an interface. In any case, this is nothing compared to the size of the index. For my 35Gb of info on my harddrive both programmes created indexes of about 250Mb, the initial indexing process taking around 10 hours &#8211; it can be done in the background but its almost certainly worth letting your computer run overnight after installation.</p>
<p>Both programmes are best opened on startup, can run in the background and can index your files &#8216;on the fly&#8217;, i.e. updating the index as you use them. On this score Google seemed to outperform Copernic, which doesn&#8217;t seem to index my internet history very successfully.</p>
<h3>Interface and options.</h3>
<p>Google uses your browser interface and looks just like you&#8217;d expect, i.e. the google front page with a few extra links around the search box that take you to options. You use the normal Google syntax for your search terms. Your results appear, again, exactly as you&#8217;d expect, ranked by relevancy with a very short excerpt of the file indicating the context of the keywords. An icon on the left gives you a quick reference to what sort of file you&#8217;re looking at. Some files have an additional small preview image. Click on the link and the appropriate application starts up. Perhaps the biggest plus point with the Google desktop search is that your desktop results can be integrated with a web search, so if you get in the habit of searching the web via Google DS, you&#8217;re most likely to surprise yourself by finding the right bit of information at the right time.</p>
<p><a href="http://www.kevingillan.info/wp-content/uploads/2008/04/copernic1.jpg"><img class="alignleft size-medium wp-image-44" title="copernic1" src="http://andygillan.info/kev-wp/wp-content/uploads/2008/04/copernic1-300x213.jpg" alt="Copernic Screenshot 1" width="300" height="213" /></a>Copernic on the other hand, has a dedicated application window, which is far more useful. You can use the normal Googlesque syntax for a simple search, but like your (painfully slow) windows file search, there are a bunch of other buts of information you can specify (date modified and so on). Results are firstly divided into the types of information you have (emails, files, images and so on), and you can navigate the results by either large friendly buttons or the handy links that display the number of results in each type. Within that display results may be listed by folder, date or filetype. A double click runs the application, but more usefully a single click opens the file in a preview screen within Copernic. It only takes a moment to open and the formatting of the display, while not of course matching the file&#8217;s native application, is pretty impressive. It is certainly clear enough to be able to scan through tables, quickly spot headings and even recognise long forgotten documents by their layout. Within the preview there are handy buttons to let you skip through the document to occurances of any of your search terms.</p>
<p><a href="http://www.kevingillan.info/wp-content/uploads/2008/04/copernic2.jpg"><img class="alignright size-medium wp-image-45" title="copernic2" src="http://andygillan.info/kev-wp/wp-content/uploads/2008/04/copernic2-299x300.jpg" alt="Copernic Screenshot 2" width="299" height="300" /></a>On the options front, Copernic&#8217;s dedicated application is, again, a lot more useful. Either programmes specify folders for indexing (meaning you can exclude your finances/porn/plans for world domination) and you can also specify filetypes to index. Incidentally, neither can cope with relational databases, which is a bit of a pain. It will, of course, search any reports you output in other formats, so you get to add in a layer of selection before the desktop search gets to the information. For me this meant getting in the habit of rather needlessly outputting my data in a reasonably useable format. Both have &#8216;integration&#8217; options that allow you to clog up your taskbar or your desktop with not only shortcuts but a search box &#8211; I&#8217;ve found this merely clogs things up, but its a pretty personal preference. Copernic gives you more choices about when to index information and (to a limited extent) how much of the computers&#8217; resources to use when running in the background. Google gives you neither of these, it also installs to run from start up by default, and I found that I could not stop this behaviour (no icon in the Startup folder). This is frustrating because &#8216;on the fly&#8217; indexing slows down your machine &#8211; Google does so more noticeably than Copernic, I think, but I didn&#8217;t actually measure this. The option to turn off the &#8216;on the fly&#8217; when you want to run a load of applications simultaneously is essential. You can, of course, turn off the whole programme. However, while copernic has easy to access &#8216;update index&#8217; buttons for each of the types of information, Google has no equivalent. It is, therefore, far more reliant on the on-the-fly option, making it a big no-no for older, slower machines.</p>
<h3>The interesting bit.</h3>
<p>The interesting and surprising difference between these two programmes was the usability of the results. Google has become the biggest search engine by putting the right results at the top of the pile, time and time again. However, what Google has failed to recognise is that your relationship with your desktop is very different from your relationship with the web. No matter how much of a web-surfing geek you are, you simply don&#8217;t have an overview of the structure of the information out there, and given the speed at which its growing, you never will. Information on your harddrives, on the contrary, are structured in a way that you designed. Having results grouped by where they appear should let all but the very messiest be able to filter whole groups out on their own criteria, without consciously thinking about it. Your are just as likely to find those satisfying surprise results &#8211; I&#8217;ve come across folders full of files that I&#8217;d forgotten about and have been genuinely useful now. Google may well make better use of the information it can gather from your desktop, but Copernic lets you make better use of the information you&#8217;re carrying in your brain.</p>
<p><small> Incidentally, the next stage in accessing your data is already available for smug mac users, see  <a href="http://www.stevenberlinjohnson.com/movabletype/archives/000230.html" target="_blank">Stephen Johnson&#8217;s review</a> of <a href="http://www.devon-technologies.com/products/devonthink/overview.php" target="_blank">Devon Think</a>. If anyone passing reader knows where I can get something similar for the PC, let me know!</small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingillan.info/techblog/23/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thinking &#8217;bout &#8216;web-safe&#8217; fonts.</title>
		<link>http://www.kevingillan.info/techblog/17</link>
		<comments>http://www.kevingillan.info/techblog/17#comments</comments>
		<pubDate>Sun, 29 May 2005 12:10:17 +0000</pubDate>
		<dc:creator>kev</dc:creator>
				<category><![CDATA[Techblog]]></category>

		<guid isPermaLink="false">http://localhost/wordpress-test/?p=23</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Thinking+%26%238217%3Bbout+%26%238216%3Bweb-safe%26%238217%3B+fonts.&amp;rft.aulast=Gillan&amp;rft.aufirst=Kevin&amp;rft.subject=Techblog&amp;rft.source=kevingillan.info&amp;rft.date=2005-05-29&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.kevingillan.info/techblog/17&amp;rft.language=English"></span>
Suddenly seeing your website on a machine that doesn&#8217;t include your favorite fonts can leave a bit of a sinking feeling. But the information is all out there to compile sensible font-families, here&#8217;s a quick guide. Choosing Fonts The important differences that are likely to mess up your font choice are first the operating system [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Thinking+%26%238217%3Bbout+%26%238216%3Bweb-safe%26%238217%3B+fonts.&amp;rft.aulast=Gillan&amp;rft.aufirst=Kevin&amp;rft.subject=Techblog&amp;rft.source=kevingillan.info&amp;rft.date=2005-05-29&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.kevingillan.info/techblog/17&amp;rft.language=English"></span>
<p>Suddenly seeing your website on a machine that doesn&#8217;t include your favorite fonts can leave a bit of a sinking feeling. But the information is all out there to compile sensible font-families, here&#8217;s a quick guide. <span id="more-17"></span></p>
<h3>Choosing Fonts</h3>
<p>The important differences that are likely to mess up your font choice are first the operating system that your site&#8217;s readers are using, and secondly the age. How do you know what fonts people are likely to have installed? You can find out which fonts are included as standard from different operating systems from <a href="http://www.microsoft.com/typography/fonts/" target="_blank">microsoft</a>. More helpful, though, is <a href="http://www.codestyle.org/" target="_blank">CodeStyle&#8217;s Font Survey</a>. You may have to spend five minutes actually filling out the survey first, and then you can see their cumulative results &#8211; since 2001 &#8211; of what font&#8217;s people have available to their browsers. They have results broken down by operating system and by type (serif, sans-serif etc).</p>
<p>But the popularity of a font is not everything, after all, the reason other people&#8217;s browsers can upset the budding designer is that things don&#8217;t look how they&#8217;d like them to. Codestyle does offer images of some of the most popular fonts, so you can see them even though you haven&#8217;t got them installed. But, its far from comprehensive, and the survey doesn&#8217;t even include all of the fonts provided with the latest versions of the major operating systems. So, if you want to see what the font&#8217;s actually look like, go to <a href="http://www.myfonts.com/search" target="_blank">My Fonts</a> to check them out.</p>
<h3>Accessibilitiy Issues</h3>
<p>Most professional fonts will scale up to large sizes and still look reasonable for the visually impaired and those with serious sight problems will be using software that overrides your style decisions anyway. However, there does seem to be some general agreement that sans-serif fonts are more readable than serif fonts (which is a shame, as you might be able to tell, I just prefer serif fonts). Dyslexia can be ameliorated with good font choice though, according to <a href="http://www.dyslexic.com/database/articles/fonts.html" target="_blank">Dyslixic.com</a> sans-serif fonts with long ascenders and descenders (the uprights extending up from a &#8216;d&#8217; and down from a &#8216;p&#8217;) make reading easiest for dyslexics. Some prefer &#8216;comic sans&#8217; for readability, but that style definitely provokes strong reactions from those who don&#8217;t like it. Dyslexic.com&#8217;s recommended fonts are trebuchet, arial and geneva and suggest avoiding Verdana, despite the latter being produced by M$ as an accessible font. The three recommendations should cover practically all mac and windows users with at least two of the three coming in at over 90% popularity in the CodeStyle survey. However, it leaves unix users a little in the cold, with Arial installed on less than 70% of machines.</p>
<p>There are fonts specifically designed with dislexics in mind: Sasoon, Read Regular and Lexia Readable. You might expect that dislexics are likely to have these installed, and the latter is free so might be the most popular. Because these are unlikely to be found on many other machines, you might safely add these to your font families, on the grounds that hopefully those who need them, will see them, and those who don&#8217;t will get whatever the designer really intends. Unfortunately, there are no stats availabel on how many people are using them.</p>
<p>An important point on accessibility is that people may set up reader style sheets that insist on particular colours and fonts that they prefer. These rules should have been marked with the !important declaration. However, in CSS1 an !important declaration in the author style sheet would override this, so while this continues to be common you should avoid marking either fonts or colours (font and background) with the !important declaration, to leave a bit of freedom for the user.</p>
<p>One last accessibility and style issue: don&#8217;t use cursive or fantasy fonts for body text! I mean really, they&#8217;re ugle. Apart from comic sans, none of them are particularly common and their sizing can be a bit random, throwing other page elements out of kilter. The best thing to do with flashy fonts is to turn them into an image, so you know exactly how they will look and how big they will be.</p>
<p>So, looking thought all this, what font-families am I using? Well, when I get around to updating them, I shall probably continue to bloody-mindedly use common serif fonts, because I like them. I&#8217;m considering using &#8216;Lexia Readable&#8217; as my first choice in all families &#8211; its an attractive font in any case. However, I&#8217;d like some info on exactly how many people have installed it first. Bearing in mind that not all serif fonts are exchangable (some are tall and thin, others short and fat) and the same goes with sans-serif fonts, here are some suggested families, that take in popular fonts from Windows, Mac and Unix machines.</p>
<h3><a name="recom">Recommendations</a></h3>
<blockquote><p>//my favorite &#8216;serious&#8217; serif fonts<br />
BODY {font-family: &#8220;Palatino Linotype&#8221;, &#8220;Palatino&#8221;, &#8220;Georgia&#8221;, &#8220;Century Schoolbook&#8221;, serif;}</p>
<p>//more styled serif fonts<br />
BODY {font-family: &#8220;Book Antiqua&#8221;, &#8220;Garamond&#8221;, &#8220;URW Antiqua&#8221;, &#8220;Hoefler Text&#8221;, &#8220;New York&#8221;, serif ;}</p>
<p>//wide serif fonts<br />
BODY {font-family: &#8220;Bookman Old Style&#8221;, &#8220;Bitstream Vera Serif&#8221;, serif ;}</p>
<p>//standard sans-serif fonts<br />
BODY {font-family: &#8220;Trebuchet MS&#8221;, &#8220;Geneva&#8221;, &#8220;Tahoma&#8221;, &#8220;Arial&#8221;, &#8220;Helvetica&#8221;, sans-serif ;}</p>
<p>//rounded sans-serif fonts<br />
BODY {font-family: &#8220;Lucida Sans&#8221;, &#8220;Helvetica&#8221;, &#8220;Futura&#8221;, &#8220;Bitstream Vera Sans&#8221;, &#8220;Trebuchet MS&#8221;, sans-serif ;}</p>
<p>//squarer sans-serif fonts<br />
BODY {font-family: &#8220;Monaco&#8221;, &#8220;Lucida Sans Typewriter&#8221;, sans-serif ;}</p>
<p>//narrow sans-serif fonts<br />
BODY {font-family: &#8220;URW Grotesk&#8221;, &#8220;Arial Narrow&#8221;,  sans-serif ;}</p>
<p>//angular sans-serif fonts<br />
BODY {font-family: &#8220;skia&#8221;, &#8220;Myriad Condensed Web&#8221;, &#8220;Arial Narrow&#8221;, sans-serif ;}</p>
<p>//dark, heavy sans-serif fonts<br />
BODY {font-family: &#8220;Charcoal&#8221;, &#8220;Arial Black&#8221;, sans-serif; }</p>
<p>//common monotype fonts<br />
BODY {font-family: &#8220;Courier New&#8221;, &#8220;Courier&#8221;, monotype ;}</p>
<p class="artsub">
<p>//attractive monotype fonts &#8211; not terribly common<br />
BODY {font-family: &#8220;Andale Mono&#8221;, &#8220;Bitstream Vera Sans Mono&#8221;, monotype ;}</p></blockquote>
<p>Want to see the fonts? Checkout <a href="http://www.codestyle.org/" target="_blank">CodeStyle</a> or <a href="http://www.myfonts.com/search" target="_blank">My Fonts</a> for images.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingillan.info/techblog/17/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EasyPHP &#8211; How good is that?</title>
		<link>http://www.kevingillan.info/techblog/16</link>
		<comments>http://www.kevingillan.info/techblog/16#comments</comments>
		<pubDate>Sat, 28 May 2005 12:12:06 +0000</pubDate>
		<dc:creator>kev</dc:creator>
				<category><![CDATA[Techblog]]></category>

		<guid isPermaLink="false">http://localhost/wordpress-test/?p=24</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=EasyPHP+%26%238211%3B+How+good+is+that%3F&amp;rft.aulast=Gillan&amp;rft.aufirst=Kevin&amp;rft.subject=Techblog&amp;rft.source=kevingillan.info&amp;rft.date=2005-05-28&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.kevingillan.info/techblog/16&amp;rft.language=English"></span>
EasyPHP is a set of the most useful software known to the web: apache , mySql and PHP. Together these come in a package of less than 8Mb. Here&#8217;s my really easy guide to setting it up. Download the package from here . Find where you put it and click the .exe file to install. [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=EasyPHP+%26%238211%3B+How+good+is+that%3F&amp;rft.aulast=Gillan&amp;rft.aufirst=Kevin&amp;rft.subject=Techblog&amp;rft.source=kevingillan.info&amp;rft.date=2005-05-28&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.kevingillan.info/techblog/16&amp;rft.language=English"></span>
<p><a href="http://www.easyphp.org/" target="_blank">EasyPHP</a> is a set of the most useful software known to the web:  <a href="http://httpd.apache.org/docs/misc/FAQ.html#what">apache</a> ,  <a href="http://www.mysql.com/">mySql</a> and <a href="http://www.php.net/" target="_blank">PHP</a>. Together these come in a package of less than 8Mb. Here&#8217;s my really easy guide to setting it up.<span id="more-16"></span></p>
<ol>
<li>Download the package from <a href="http://www.easyphp.org/telechargements.php3%20target=">here</a> .</li>
<li>Find where you put it and click the .exe file to install.</li>
<li>You need to install this in your windows equivalent of a root directory, so change the default C://Program Files/EasyPHP to this:<br />
C://PHP (but use backslashes)</li>
<li>Now move all of your webfiles into a folder created by Easy PHP, which you&#8217;ll find here:<br />
C://PHP/www (but use backslashes)</li>
</ol>
<p>That&#8217;s your lot. Now start up EasyPHP from the start menu, open your favourite browser, and type the following into the address bar:<br />
/localhost/www/LOCATIONOF/FILE.php (forward slashes)</p>
<p>With a fast internet connection this took less than 30 minutes to set up, including the download time. Now that, is pretty damned cool.</p>
<p class="artsub">Setting Up Dreamweaver with EasyPHP</p>
<p>This is pretty easy too. All you have to do is go into the &#8216;Edit Sites&#8217; dialogue. Presumably you&#8217;ve already got a site set up, or create a new one.</p>
<ol>
<li>Select the appropriate site and click &#8216;Edit&#8217;.</li>
<li>Choose the &#8216;Advanced&#8217; tab, and click &#8216;Testing Server&#8217; on the left hand side.</li>
<li>Enter the obvious details: Server model is PHP/SQL; Access is Local/Network; and the Testing Server Folder is your local folder for your webside, e.g. C:/PHP/www/sitename/ (but use back slashes)</li>
<li>Then your url prefix includes the local host, as above: http://localhost/sitename/ (forward slashes)</li>
<li>Now just hit F12 in your php files and see them fly!</li>
</ol>
<p><small>N.B. The forward slashes in the windows file references should, of course, be backslashes. But some unavoidable slash stripping in my blogware won&#8217;t let me print em that way</small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingillan.info/techblog/16/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
