<?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; 8.10</title>
	<atom:link href="http://mcmlxxii.co.uk/tag/810/feed/" rel="self" type="application/rss+xml" />
	<link>http://mcmlxxii.co.uk</link>
	<description></description>
	<lastBuildDate>Thu, 22 Jul 2010 17:13:17 +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>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>
	</channel>
</rss>
