<?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>G0UQT</title>
	<atom:link href="http://www.g0uqt.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.g0uqt.co.uk</link>
	<description>The Virtual Home of G0UQT</description>
	<lastBuildDate>Wed, 07 Mar 2012 22:37:30 +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>PDW File Browser plugin</title>
		<link>http://www.g0uqt.co.uk/wordpress/plugins/ckeditor/pdw-file-browser-plugin/</link>
		<comments>http://www.g0uqt.co.uk/wordpress/plugins/ckeditor/pdw-file-browser-plugin/#comments</comments>
		<pubDate>Sat, 03 Mar 2012 16:11:45 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[CKEditor]]></category>

		<guid isPermaLink="false">http://www.g0uqt.co.uk/?p=94</guid>
		<description><![CDATA[I use the CKEditor plugin for WordPress on a number of websites that I run.  Whilst CKEditor provides a much richer editor it does lack a good file browser for uploading files and managing them. When using WordPress to power a website I need to be able to upload files (such as images) to specific <a href='http://www.g0uqt.co.uk/wordpress/plugins/ckeditor/pdw-file-browser-plugin/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I use the CKEditor plugin for WordPress on a number of websites that I run.  Whilst CKEditor provides a much richer editor it does lack a good file browser for uploading files and managing them.</p>
<p>When using WordPress to power a website I need to be able to upload files (such as images) to specific locations and reference them easily in my page or post.  As WordPress was originally designed as a Blogging package it uploads images to folders based on date such as /upload/2012/01.  This is not ideal for a general website.</p>
<p>Whilst you can purchase CKFinder for CKEditor, I think it is rather expensive for what you get, especially if you run multiple websites.</p>
<p>I have researched various options on the Internet and so far the best option I have come across is to integrate a package called PDW File Browser into the CKEditor Plugin for WordPress.  It does involve a bit of code tweaking but it is fairly straight forward, just follow the instructions below:</p>
<p>These instructions have been tested with:</p>
<ul>
<li>WordPress 3.3.1</li>
<li>CKEditor for WordPress 3.6.2.5</li>
<li>PDW File Browser 1.3 (Beta)</li>
</ul>
<p>1. Ensure that WordPress and all plugins are up to date.</p>
<p>2. Install the CKEditor for WordPress plugin.</p>
<p>3. Download the PDW File browser from:</p>
<p><a title="PDW File Browser Download" href="http://sourceforge.net/projects/pdwfilebrowser/files/V1.3/" target="_blank">http://sourceforge.net/projects/pdwfilebrowser/files/V1.3/</a></p>
<p>4. Locate your WordPress plugins directory (on your webserver) and under the ckeditor-for-wordpress folder you should unpack the PDW File Browser.</p>
<p>So you such have something like:</p>
<p style="padding-left: 30px;">/var/www/wordpress/wp-contennt/plugins/ckeditor-for-wordpress/pdw_file_browser</p>
<p>Make sure all the files you unpacked have the same ownership as existing WordPress files.</p>
<p>5. Go to your ckeditor-for-wordpress directory and edit the following files:</p>
<p>includes/upload.php &#8211; Insert the following after line 157:</p>
<pre> &lt;option value="pdw"&lt;?php echo ($this-&gt;options['upload']['browser'] == 'pdw'?' selected="selected"':'') ?&gt;&gt;&lt;?php _e('PDW File Browser', 'ckeditor_wordpress'); ?&gt;&lt;/option&gt;</pre>
<p>ckeditor_class.php &#8211; Locate the method generate_js_options (line 590) and insert the following from the end of line 611:</p>
<pre>else if ($options['upload']['browser'] == 'pdw') {
           $ck_browser_url = $this-&gt;plugin_path . 'pdw_file_browser/index.php?editor=ckeditor';
           $ck_upload_url = $this-&gt;plugin_path . 'pdw_file_browser/upload.php';
           $settings['filebrowserBrowseUrl'] = $ck_browser_url;
           $settings['filebrowserImageBrowseUrl'] = $ck_browser_url . '&amp;type=Images';
           $settings['filebrowserFlashBrowseUrl'] = $ck_browser_url . '&amp;type;=flash';
           $settings['filebrowserUploadUrl'] = $ck_upload_url;
           $settings['filebrowserImageUploadUrl'] = $ck_upload_url . '?type=Images';
           $settings['filebrowserFlashUploadUrl'] = $ck_upload_url . '?type=Flash';
         }</pre>
<p>6. Edit pdw_file_browser/config.php and set $uploadpath to point to the top directory that you want to upload files to (from the context of the webserver).</p>
<p>So if you want to be able to upload files to http://mywebserver/media/ then the config file should read:</p>
<pre>$uploadpath = "/media/"; // absolute path from root to upload folder (DON'T FORGET SLASHES)</pre>
<p style="text-align: left;">7. Finally got to you WordPress Admin console and under the CKEditor group select &#8220;Upload options&#8221;.  Then in the File Browser drop down box select &#8220;PDW File Browser&#8221;.  At the bottom of the page click &#8220;Update Options&#8221;.</p>
<p style="text-align: left;">Finally, to test everything:</p>
<p style="text-align: left;">Create a test Post/Page.  Click the Image icon in the CKEditor toolbar and then click &#8220;Browse Server&#8221; in the dialog box.  If everything is working you should see a PDW File Browser window.</p>
<p style="text-align: left;">If you find this useful then drop me an email to let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.g0uqt.co.uk/wordpress/plugins/ckeditor/pdw-file-browser-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centos 5.x under Parallels Desktop 7 for Mac</title>
		<link>http://www.g0uqt.co.uk/parellels-desktop-of-mac/centos-5-x-under-parallels-desktop-7-for-mac/</link>
		<comments>http://www.g0uqt.co.uk/parellels-desktop-of-mac/centos-5-x-under-parallels-desktop-7-for-mac/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 20:53:31 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Parellels Desktop of Mac]]></category>

		<guid isPermaLink="false">http://www.g0uqt.co.uk/?p=87</guid>
		<description><![CDATA[Here are my latest Xmodap settings that I use with my iMac and Wireless Apple (UK) Wireless keyboard for running Centos 5.x under Parallels Desktop 7 (on OS X Lion): keycode 11 = 2 at twosuperior oneeighth twosuperior oneeighth keycode 94 = 0x60 0x7e keycode 48 = apostrophe quotedbl dead_circumflex dead_caron dead_circumflex dead_caron keycode 49 <a href='http://www.g0uqt.co.uk/parellels-desktop-of-mac/centos-5-x-under-parallels-desktop-7-for-mac/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Here are my latest Xmodap settings that I use with my iMac and Wireless Apple (UK) Wireless keyboard for running Centos 5.x under Parallels Desktop 7 (on OS X Lion):</p>
<pre>keycode 11 = 2 at twosuperior oneeighth twosuperior oneeighth
keycode 94 = 0x60 0x7e
keycode 48 = apostrophe quotedbl dead_circumflex dead_caron dead_circumflex dead_caron
keycode 49 = numbersign plusminus</pre>
<p>You can place these in your home directory, e.g. $HOME/.xmodmap, or you could place them in something like /etc/X11/Xmodmap and add the following line to /etc/X11/xinitrc/Xsession</p>
<pre>[ -f /etc/X11/Xmodmap ] &amp;&amp; xmodmap /etc/X11/Xmodmap</pre>
<p>The key mappings have been tested on Centos 5.7 and 6.1, although making it global, as in the line above, on seems to work on Centos 5.7.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.g0uqt.co.uk/parellels-desktop-of-mac/centos-5-x-under-parallels-desktop-7-for-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recent CentOS 5.7 perl update broke sa-update</title>
		<link>http://www.g0uqt.co.uk/programming/recent-centos-5-7-perl-update-broke-sa-update/</link>
		<comments>http://www.g0uqt.co.uk/programming/recent-centos-5-7-perl-update-broke-sa-update/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 00:27:32 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Fix]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.g0uqt.co.uk/?p=82</guid>
		<description><![CDATA[I recently noticed that a Perl update on my CentOS 5.7 servers broke the sa-update script for Spamassassin 3.3.1 2.el5.  The error trace given was: "name2labels" is not exported by the Net::DNS module Can't continue after import errors at /usr/lib/perl5/vendor_perl/5.8.8/Net/DNS/RR/NSEC3.pm line 24 BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/Net/DNS/RR/NSEC3.pm line 24. Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/RR.pm <a href='http://www.g0uqt.co.uk/programming/recent-centos-5-7-perl-update-broke-sa-update/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I recently noticed that a Perl update on my CentOS 5.7 servers broke the sa-update script for Spamassassin 3.3.1 2.el5.  The error trace given was:</p>
<pre>"name2labels" is not exported by the Net::DNS module
Can't continue after import errors at /usr/lib/perl5/vendor_perl/5.8.8/Net/DNS/RR/NSEC3.pm line 24
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/Net/DNS/RR/NSEC3.pm line 24.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/RR.pm line 172.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/RR.pm line 185.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/Packet.pm line 16.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/Packet.pm line 16.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/Resolver/Base.pm line 26.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/Resolver/Base.pm line 26.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/Resolver/UNIX.pm line 9.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/Resolver/UNIX.pm line 9.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/Resolver.pm line 19.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/Resolver.pm line 22.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS.pm line 67.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS.pm line 67.
Compilation failed in require at /usr/bin/sa-update line 80.
BEGIN failed--compilation aborted at /usr/bin/sa-update line 80.</pre>
<p>Searching Google seems to suggest that this is caused by a security update by RedHat to the perl-Net-DNS that ships as part of RedHat EL 5.7, which CentOS 5.7 is derived from.  I did try updating the Perl Net::DNS module via cpan but this did not fix the issue.</p>
<p>Though I&#8217;m not a big Perl programmer I decided to have a look at the sa-update script to see if I could fix it myself.  So what I decided to do was replace line 24 in NSEC3.pm.</p>
<p>Old line:</p>
<pre>use Net::DNS qw( name2labels );</pre>
<p>New line:</p>
<pre>use Net::DNS;</pre>
<p>So now sa-update -v displays:</p>
<pre>Update available for channel updates.spamassassin.org
Update was available, and was downloaded and installed successfully</pre>
<p>I know this is probably not the best fix to apply for the given problem, but it does fix my problem for now.  Hopefully others will find this useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.g0uqt.co.uk/programming/recent-centos-5-7-perl-update-broke-sa-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessible Computing Foundation</title>
		<link>http://www.g0uqt.co.uk/accessibility/accessible-computing-foundation/</link>
		<comments>http://www.g0uqt.co.uk/accessibility/accessible-computing-foundation/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 22:10:49 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Accessibility]]></category>

		<guid isPermaLink="false">http://www.g0uqt.co.uk/?p=65</guid>
		<description><![CDATA[I recently listened to a podcast from Linux Outlaws (episode 246) where they were covering accessibility as the main subject.  As someone who has Cerebral Palsy I have found it frustrating that some of the devices that I use are not supported fully under Linux. For example: I use the Kensington Expert Mouse (which is actually a trackerball), which <a href='http://www.g0uqt.co.uk/accessibility/accessible-computing-foundation/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I recently listened to a podcast from Linux Outlaws (episode 246) where they were covering accessibility as the main subject.  As someone who has Cerebral Palsy I have found it frustrating that some of the devices that I use are not supported fully under Linux.</p>
<p>For example: I use the Kensington Expert Mouse (which is actually a trackerball), which has four buttons; so I can program one as a drag-lock and one as a double-click.  This device is fully support under OS X as well as another known proprietary, unstable, operating system.  On occasions I have emailed Kensington to ask about bring support to Linux; and each time they just respond saying that there isn&#8217;t enough demand for it; they won&#8217;t even release a spec to help the Opensource community write the appropriate software/driver.</p>
<p>I have experimented with the accessibility options under a few Linux distributions and have had some limited success in making the Kensington Expert Mouse functional.  Setting one of the buttons as a double-click is fairly simple but trying to set one button to toggle drag-lock on and off, as I do with OS X, I have not yet mastered.</p>
<p>Getting back to the title of this post; I was pleased to here that the <a title="Accessible Computing Foundation" href="http://www.accessiblecomputingfoundation.org" target="_blank">Accessible Computing Foundation</a> has been set up to try and make Computers, particularly running Linux / Opensource Software, more accessible to people with disabilities.  I recommend and anyone reading this post go and check out their site for more details.  But the basic idea is that the ACF will take donations so they can pay programmers to develop software/drivers to make using computers more accessible; and the software will be given to the Opensource community, most likely licensed under something like <a title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html" target="_blank">GPL</a>.</p>
<p>If you would like to see the Kensington Expert Mouse working under Linux then I urge you to email Kensington with your request and also let me know either through email or twitter. I also urge you to give support to ACF, either by donation, some time, or some coding if you can.</p>
<p>I want to see Linux become fully accessible to everyone, so nobody has to depend on proprietary software for everyday computing needs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.g0uqt.co.uk/accessibility/accessible-computing-foundation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The iMac 27&#8243;</title>
		<link>http://www.g0uqt.co.uk/osx/the-imac-27/</link>
		<comments>http://www.g0uqt.co.uk/osx/the-imac-27/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 22:25:56 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.g0uqt.co.uk/?p=48</guid>
		<description><![CDATA[Having recently purchased a new 27&#8243; iMac I am pleased to say that so far I am thoroughly pleased with it.  Running Parallels Desktop 7 makes it fairly east to run virtual Linux guests, I did have to fiddle with Xmodmap to get some useable key mappings, but I had expected to do that anyway. <a href='http://www.g0uqt.co.uk/osx/the-imac-27/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Having recently purchased a new 27&#8243; iMac I am pleased to say that so far I am thoroughly pleased with it.  Running Parallels Desktop 7 makes it fairly east to run virtual Linux guests, I did have to fiddle with Xmodmap to get some useable key mappings, but I had expected to do that anyway.</p>
<p>For anyone interested the my .Xmodmap (under the Linux guest) contains:</p>
<pre>keycode 94 = 0x60 0x7e
keycode 49 = numbersign plusminus</pre>
<p><em>Note:</em> This is for the Apple Wireless (UK) 2011 keyboard an maps the <strong>tilda</strong> and <strong>reverse tick</strong> to the key left of <strong>Z</strong> and the <strong>hash</strong> and <strong>plus/minus</strong> to the key below <strong>esc</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.g0uqt.co.uk/osx/the-imac-27/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

