<?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>mcmlxxii &#187; intrepid</title>
	<atom:link href="http://mcmlxxii.co.uk/tag/intrepid/feed/" rel="self" type="application/rss+xml" />
	<link>http://mcmlxxii.co.uk</link>
	<description></description>
	<lastBuildDate>Tue, 13 Mar 2012 19:53:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Gedit document words autocompletion plugin</title>
		<link>http://mcmlxxii.co.uk/2009/02/01/gedit-document-words-autocompletion-plugin/</link>
		<comments>http://mcmlxxii.co.uk/2009/02/01/gedit-document-words-autocompletion-plugin/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 00:22:54 +0000</pubDate>
		<dc:creator>mcmlxxii</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[8.10]]></category>
		<category><![CDATA[autocomplete]]></category>
		<category><![CDATA[autocompletion]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[gedit]]></category>
		<category><![CDATA[ibex]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://mcmlxxii.co.uk/?p=153</guid>
		<description><![CDATA[I followed a submission to reddit the other day highlighting a few choice plugins for gedit, as I am fond of using the default GNOME text editor. One plugin in particular caught my eye, the document words autocompletion plugin, written by Perriman. Retyping my inventive variable names (not to mention the oft flowery default php [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://mcmlxxii.co.uk/wp-content/uploads/2009/02/geditdocwords.jpg"><img class="size-medium wp-image-154 alignright" title="geditdocwords" src="http://mcmlxxii.co.uk/wp-content/uploads/2009/02/geditdocwords-300x174.jpg" alt="Gedit autocompletion plugin in action" width="300" height="174" /></a></p>
<p>I followed a submission to reddit the other day highlighting a <a href="http://www.makeuseof.com/tag/top-plugins-to-extend-and-make-gedit-a-more-useful-text-editor-linux/">few choice plugins</a> for gedit, as I am fond of using the default GNOME text editor. One plugin in particular caught my eye, the document words autocompletion plugin, written by Perriman. Retyping my inventive variable names (not to mention the oft flowery default php function names) is both error-prone and onerous and this plugin is the perfect remedy.</p>
<p>The following applies to Ubuntu Intrepid. I&#8217;m using 64 bit, but there&#8217;s no difference for 32 bit.</p>
<p>The plugin is not packaged in with the gedit-plugins package and needs to be compiled. It depends on quite a few packages. I chose to cheat a little when installing the required development libraries by first installing the build dependencies for gedit itself. If you haven&#8217;t already installed it, the build-essential package will install the most commonly used compilation tools too:</p>
<p><code>sudo apt-get install build-essential<br />
sudo apt-get build-dep gedit gedit-plugins</code></p>
<p>Then download the source. The document auto completion plugin depends on Perriman&#8217;s gtksourcecompletion, which also needs to be compiled first. The source is available from <a href="http://sourceforge.net/project/showfiles.php?group_id=212508&amp;package_id=255603&amp;release_id=647663">this Sourceforge page</a>.</p>
<p>Once extracted and in the directory:</p>
<p><code>./configure --prefix=/usr<br />
make<br />
sudo make install</code></p>
<p>The plugin itself is also on Sourceforge, the 0.51 version is now on the <a href="http://sourceforge.net/project/showfiles.php?group_id=212508&amp;release_id=657711&amp;package_id=257859">download page</a>.  Again, once extracted and in the directory:</p>
<p><code>./configure --prefix=/usr<br />
make<br />
sudo make install</code></p>
<p>and assuming there are no errors, the plugin should appear in the gedit plugins list (Edit &gt; Preferences &gt; Plugins). Now all I need to do it try to train my left hand pinky not to keep stabbing the tab key for autocompletion!</p>
]]></content:encoded>
			<wfw:commentRss>http://mcmlxxii.co.uk/2009/02/01/gedit-document-words-autocompletion-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nvidia 180 on Ubuntu Intrepid Ibex</title>
		<link>http://mcmlxxii.co.uk/2008/12/26/nvidia-180-on-ubuntu-intrepid-ibex/</link>
		<comments>http://mcmlxxii.co.uk/2008/12/26/nvidia-180-on-ubuntu-intrepid-ibex/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 00:11:37 +0000</pubDate>
		<dc:creator>mcmlxxii</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[180]]></category>
		<category><![CDATA[8.10]]></category>
		<category><![CDATA[gutsy]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[titlebar]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://mcmlxxii.co.uk/?p=109</guid>
		<description><![CDATA[EDIT: It seems the packages needed are in Intrepid updates now, so as long as they are enabled in System &#62; Applications &#62; Software Sources they should be installed with a simple sudo apt-get update &#38;&#38; sudo apt-get install nvidia-glx-180 As a long-time (since Gutsy) follower of Ubuntu bug 99508, the one about the badly [...]]]></description>
			<content:encoded><![CDATA[<p>EDIT: It seems the packages needed are in <a href="https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/99508/comments/285" target="_blank">Intrepid updates</a> now, so as long as they are enabled in System &gt; Applications &gt; Software Sources they should be installed with a simple sudo apt-get update &amp;&amp; sudo apt-get install nvidia-glx-180</p>
<p>As a long-time (since Gutsy) follower of Ubuntu bug <a href="https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/99508" target="_blank">99508</a>, <a href="http://mcmlxxii.co.uk/wp-content/uploads/2008/12/hardytitlebar.jpg"><img class="size-medium wp-image-110 alignright" title="Titlebar" src="http://mcmlxxii.co.uk/wp-content/uploads/2008/12/hardytitlebar-300x213.jpg" alt="Gnome-terminal showing titlebar problems" width="180" height="128" /></a> the one about the badly drawn window decoration (see right), I was thrilled to see that Nvidia&#8217;s 180 Beta driver fixed the problem. The driver is packaged up and available in the alpha of Jaunty&#8217;s next release, 9.04. However, running the alpha as your main OS is folly, not to mention a pain in the butt if you just want to get something done and it&#8217;s a bit broken at that moment.</p>
<p>One can always install nvidia&#8217;s driver from a shell using the installer provided, but I&#8217;m always happier using a .deb, and luckily the 180 debs are coming to Intrepid&#8217;s backports. Just not yet. So if you want to try the 180 driver, you can use the Jaunty .debs.</p>
<p><a href="http://mcmlxxii.co.uk/wp-content/uploads/2008/12/compiz.jpg"><img class="alignleft size-medium wp-image-118" title="compiz" src="http://mcmlxxii.co.uk/wp-content/uploads/2008/12/compiz-300x187.jpg" alt="compiz" width="210" height="131" /></a>I&#8217;ve tested it on my laptop under Intrepid, with its integral Nvidia 6100 Go chipset, and it works very well. <a href="http://ubuntuforums.org/showthread.php?t=1002500&amp;highlight=nvidia" target="_blank">Some Jaunty testers</a> have reported increased temperatures and odd black spots, but all is ok here. In fact I ran a full screen video on each desktop under compiz (left) without issue.<br />
The debs are available from the Jaunty repos, and the packages required are <a href="http://packages.ubuntu.com/jaunty/nvidia-glx-180" target="_blank">nvidia-glx-180</a> and <a href="http://packages.ubuntu.com/jaunty/nvidia-180-kernel-source" target="_blank">nvidia-180-kernel-source</a>. At present, these contain the 180.11 beta driver &#8211; there is a newer one available from nvidia and no doubt the packages in the Jaunty repos will be updated shortly. Once downloaded, a few commands (i386 users will need to alter the architecture part of the filename):</p>
<p><code>sudo apt-get remove nvidia-glx-177<br />
cd Desktop (if this is where the debs are)<br />
sudo dpkg -i nvidia-180-kernel-source_180.11-0ubuntu1_amd64.deb<br />
sudo dpkg -i nvidia-glx-180_180.11-0ubuntu1_amd64.deb<br />
</code></p>
<p>And a reboot and (fingers x!) you&#8217;re done <img src='http://mcmlxxii.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://mcmlxxii.co.uk/2008/12/26/nvidia-180-on-ubuntu-intrepid-ibex/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Synaptics touchpad, SHMConfig, xorg.conf and Ubuntu Intrepid 8.10</title>
		<link>http://mcmlxxii.co.uk/2008/11/07/synaptics-touchpad-shmconfig-xorgconf-and-ubuntu-intrepid-810/</link>
		<comments>http://mcmlxxii.co.uk/2008/11/07/synaptics-touchpad-shmconfig-xorgconf-and-ubuntu-intrepid-810/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 08:55:04 +0000</pubDate>
		<dc:creator>mcmlxxii</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[8.10]]></category>
		<category><![CDATA[ibex]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[SHMConfig]]></category>
		<category><![CDATA[synaptics]]></category>
		<category><![CDATA[touchpad]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xorg.conf]]></category>

		<guid isPermaLink="false">http://mcmlxxii.co.uk/?p=67</guid>
		<description><![CDATA[EDIT &#8211; Please note that this post only refers to the 64 bit version of Ubuntu. Some significant changes have been happening to the X server over the past couple of releases of Ubuntu. One of the most noticeable alterations has been the removal of the xorg.conf file from the default Ubuntu install (edit &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>EDIT &#8211; Please note that this post only refers to the 64 bit version of Ubuntu.</p>
<p>Some significant changes have been happening to the X server over the past couple of releases of Ubuntu. One of the most noticeable alterations has been the <strong>removal</strong> of the <strong>xorg.conf</strong> file from the default Ubuntu install (edit &#8211; it was removed during the development cycle but reappeared in the release version).</p>
<p>It is a great thing that X is now at the stage where it knows devices well enough to <strong>configure</strong> them with no user input, but occasionally a device may be incorrectly set up, or one may want to <strong>customise</strong> beyond default settings.</p>
<p>Such is the case with my <strong>synaptics touchpad</strong>. I really like the fact that in Linux I can configure the touchpad to trigger a middle mouse button event when it is tapped with 3 fingers. Left click &#8211; one finger, right click &#8211; two fingers, middle click &#8211; three fingers. In addition, I want to be able to <strong>disable</strong> the touchpad while <strong>typing</strong>.</p>
<p><span id="more-67"></span></p>
<p>In the past, disabling the touchpad temporarily when the keyboard is in use was done by adding a line:</p>
<p><code>SHMConfig On</code></p>
<p>to the synaptics device section of the xorg.conf (/etc/X11/xorg.conf), and running the command:</p>
<p><code>syndaemon -i 0.7 -m 50 -d</code></p>
<p>at the start of every session (best done by adding it to System&gt;Preferences&gt;Sessions as a new startup program). Things are done slightly differently now, and there is no need to add the line to xorg.conf. Or at least there isn&#8217;t if you use the synaptics driver provided by Ubuntu developer William Grant on <a href="http://ubuntuforums.org/showthread.php?t=948250">this forum thread</a>, .deb available <a href="http://launchpadlibrarian.net/18664539/xserver-xorg-input-synaptics_0.15.2-0ubuntu7~wgrant3_amd64.deb">here</a>.</p>
<p>You may have to remove the existing driver first:</p>
<p><code>sudo apt-get remove xserver-xorg-input-synaptics</code></p>
<p>I had to lock the version to prevent the default Intrepid driver appearing as an update. This can easily be done in Synaptic Package Manager, by searching for synaptics, highlighting the xserver-xorg-input-synaptics package and selecting Package&gt;Lock Version. Now after restarting the X server (Ctrl, Alt and Backspace)  and issuing the syndaemon command, the touchpad should be disabled when typing without having to enable SHMConfig.</p>
<p>In order to adjust the various custom settings for the  synaptics touchpad, one can enter a section in xorg.conf. One also needs a ServerLayout section, similar to the one below.</p>
<p><code>Section "InputDevice"<br />
Identifier	"Synaptics Touchpad"<br />
Driver		"synaptics"<br />
Option		"SendCoreEvents"	"true"<br />
Option		"Device"	"/dev/psaux"<br />
Option		"Protocol"	"auto-dev"<br />
Option		"LeftEdge"	"1900"<br />
Option		"RightEdge"	"5000"<br />
Option		"TopEdge"	"1400"<br />
Option		"BottomEdge"	"4500"<br />
Option		"FingerLow"	"25"<br />
Option		"FingerHigh"	"35"<br />
Option		"MaxTapTime"	"180"<br />
Option		"MaxTapMove"	"220"<br />
Option		"ClickTime"	"0"<br />
Option		"VertEdgeScroll"	"1"<br />
Option		"VertScrollDelta"	"45"<br />
Option		"HorizEdgeScroll"	"1"<br />
Option		"HorizScrollDelta"	"45"<br />
Option		"MinSpeed"	"0.08"<br />
Option		"MaxSpeed"	"0.60"<br />
Option		"AccelFactor"	"0.003"<br />
Option		"EdgeMotionMinSpeed"	"200"<br />
Option		"EdgeMotionMaxSpeed"	"200"<br />
Option		"TapButton1"	"1"<br />
Option		"TapButton2"	"3"<br />
Option		"TapButton3"	"2"<br />
EndSection<br />
</code><br />
<code><br />
Section "ServerLayout"<br />
Identifier	"Default Layout"<br />
Inputdevice	"Synaptics Touchpad"<br />
EndSection<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://mcmlxxii.co.uk/2008/11/07/synaptics-touchpad-shmconfig-xorgconf-and-ubuntu-intrepid-810/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>RT73 on Ubuntu 8.10 Intrepid Ibex</title>
		<link>http://mcmlxxii.co.uk/2008/10/22/rt73-ubuntu-intrepid-8-10/</link>
		<comments>http://mcmlxxii.co.uk/2008/10/22/rt73-ubuntu-intrepid-8-10/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 21:41:24 +0000</pubDate>
		<dc:creator>mcmlxxii</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ibex]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[ralink]]></category>
		<category><![CDATA[rt73]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[WICD]]></category>

		<guid isPermaLink="false">http://www.mcmlxxii.co.uk/?p=1</guid>
		<description><![CDATA[If you&#8217;ve used the Ralink RT73 chipset under Ubuntu for any length of time, you&#8217;ll know that the default drivers aren&#8217;t yet perfect (some supporting evidence). Some may have had more success, but in my experience they drop out regularly and transfer rates are pretty mediocre. The modules used are the rt2x00usb and rt73usb. These [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve used the <strong>Ralink RT73</strong> chipset under Ubuntu for any length of time, you&#8217;ll know that the default drivers <strong>aren&#8217;t yet perfect</strong> (<a href="https://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.22/+bug/134660" target="_blank">some supporting evidence</a>). Some may have had more success, but in my experience they <strong>drop out</strong> regularly and <strong>transfer rates</strong> are pretty mediocre. The modules used are the rt2x00usb and rt73usb. These are the next generation of Ralink drivers from <strong>Serialmonkey</strong>, and to be fair they have improved a great deal over the past couple of years. However, there is a <strong>more stable driver</strong>, which, although <strong>requiring some sacrifice</strong>, rewards the user with good injection support, great transfer speeds and no drop-outs.</p>
<p>Step forward the <strong>rt73 legacy driver</strong>&#8230;.<br />
<span id="more-1"></span></p>
<p>This &#8220;legacy&#8221; driver is still supported by Serialmonkey, as I myself witnessed when I found the module <strong>no longer compiled</strong> on <strong>Intrepid&#8217;s kernel</strong>. Vern, one of the developers, fixed the issue and the module now compiles without complaints. I was approached on the forum by someone wanting to know how to go about using this older module so I thought I&#8217;d write a quick how to. <a href="http://ubuntuforums.org/showthread.php?t=400236" target="_blank">There is one already</a> on the ubuntu forums, but it is a little dated and doesn&#8217;t include details about <strong>WICD</strong>.</p>
<p>First the bad news. The legacy driver doesn&#8217;t work with network-manager. This is more of a shame now network manager has actually started to justify its extra cpu usage, with decent support for mobile network connections, but there are ways to configure and use those without it.</p>
<p><strong>The howto:</strong></p>
<p>First <strong>download</strong> the tar.gz file for the rt73 driver (you can find it on the <a href="http://rt2x00.serialmonkey.com/wiki/index.php/Downloads" target="_blank">downloads page</a> of the rt2x00 site).</p>
<p>Next download <a href="http://sourceforge.net/project/showfiles.php?group_id=194573" target="_blank">WICD</a>. There is a <strong>.deb</strong> available. I can&#8217;t get version 1.5.3 to work, but others have not had problems. There&#8217;s probably a .deb of version 1.4.x floating around the net, if not I have one somewhere (update: <a href="/wicd_1.4.2-1-all.deb">here</a>). I personally have to alter the file /opt/wicd/networking.py in version 1.4.2 to get it to work (I comment out line 365 which puts the interface down), but again no-one else seems to suffer with this glitch. You can add wicd to your <strong>sources list</strong> &#8211; I don&#8217;t just in case I lose connection and can&#8217;t download it when network-manager is removed:</p>
<p><code>sudo apt-get remove network-manager network-manager-gnome</code></p>
<p>Next you need to <strong>blacklist</strong> the existing ralink drivers that Intrepid uses. Edit the file:</p>
<p><code>/etc/modprobe.d/blacklist</code></p>
<p>and add these lines:</p>
<p><code>#Ralink, we're using the legacy driver now<br />
blacklist rt73usb<br />
blacklist rt2x00usb<br />
blacklist rt2500usb<br />
blacklist rt2x00lib</code></p>
<p>then <strong>remove the modules</strong> as they&#8217;ll currently be loaded into the kernel:</p>
<p><code>sudo ifconfig wlan0 down</code></p>
<p>(I&#8217;m guessing your wireless interface is <strong>wlan0</strong> &#8211; you need to put it down first or the kernel won&#8217;t let you unload the module. You can find out for sure what it is called using <strong>ifconfig -a</strong>)</p>
<p><code>sudo modprobe -r rt73usb<br />
sudo modprobe -r rt2500usb<br />
sudo modprobe -r rt2x00usb</code></p>
<p>Okay now we can <strong>compile</strong> the module. cd to the directory containing the driver you downloaded. Then:</p>
<p><code>tar -xvzf rt73-cvs-daily.tar.gz<br />
cd rt73-cvs-THE_TIMESTAMP/Module/<br />
make<br />
sudo make install<br />
sudo modprobe -v rt73</code></p>
<p>..where THE_TIMESTAMP is the date part of the extracted directory. Then:</p>
<p><code>ifconfig -a</code></p>
<p>to find out the name of the interface (probably wlan0)</p>
<p><strong>install</strong> and open up WICD and open the <strong>preferences</strong>. Select <strong>&#8220;ralink legacy&#8221;</strong> and type in the interface name in the &#8220;wireless interface&#8221; box.</p>
<p>Then you should be able to &#8220;refresh&#8221; and see your network. Add the <strong>encryption key</strong> if needed and <strong>connect</strong>.</p>
<p><em>Remember if it all goes wrong you&#8217;ll need to reinstall network manager (try rebooting first!)<br />
</em></p>
<p><em><code>sudo apt-get install network-manager network-manager-gnome</code></em></p>
<p><em>and comment out the lines you added to /etc/modprobe/blacklist (In fact if you&#8217;ve successfully loaded the rt73 driver you&#8217;ll need to blacklist that instead of the others: blacklist rt73 &#8211; in order for it not to conflict with the default Intrepid modules.)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://mcmlxxii.co.uk/2008/10/22/rt73-ubuntu-intrepid-8-10/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>

