<?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>arjuna del toso</title>
	<atom:link href="http://arjuna.deltoso.net/feed" rel="self" type="application/rss+xml" />
	<link>http://arjuna.deltoso.net</link>
	<description></description>
	<lastBuildDate>Thu, 07 Apr 2011 21:30:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Usability of Everyday Things &#8211; Traffic Lights</title>
		<link>http://arjuna.deltoso.net/articles/usability-of-everyday-things-traffic-lights</link>
		<comments>http://arjuna.deltoso.net/articles/usability-of-everyday-things-traffic-lights#comments</comments>
		<pubDate>Sat, 30 Oct 2010 16:44:56 +0000</pubDate>
		<dc:creator>Arjuna Del Toso</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[cognitive load]]></category>
		<category><![CDATA[dublin]]></category>
		<category><![CDATA[traffic light]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://arjuna.deltoso.net/?p=352</guid>
		<description><![CDATA[In my way back home from the office sometimes I have to pass this traffic light, it’s at one end of Butt Bridge at the corner with Eden Quay, in Dublin (Ireland). The driver that arrives at the stop from the bridge can choose between three directions: left turn, right turn and straight. When the [...]]]></description>
			<content:encoded><![CDATA[<p>In my way back home from the office sometimes I have to pass <a href="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=Dublin,+Ireland&amp;sll=37.0625,-95.677068&amp;sspn=32.748002,79.013672&amp;ie=UTF8&amp;hq=&amp;hnear=Dublin,+County+Dublin+City,+Ireland&amp;ll=53.348158,-6.255055&amp;spn=0.000376,0.001206&amp;t=h&amp;z=20" target="_blank">this traffic light</a>,  it’s at one end of Butt Bridge at the corner with Eden Quay, in Dublin  (Ireland). The driver that arrives at the stop from the bridge can  choose between three directions: left turn, right turn and straight.  When the “system” is in “full green” status (Figure 1) there are no  problems on understanding what to do, you can pick one of the three  options (right, left, straight) and continue your journey.</p>
<div id="attachment_353" class="wp-caption aligncenter" style="width: 410px"><img class="size-full wp-image-353" title="TrafficLightDublin01" src="http://arjuna.deltoso.net/wp-content/uploads/2010/10/TrafficLightDublin01.jpg" alt="" width="400" height="533" /><p class="wp-caption-text">Figure 1 - Green Light</p></div>
<p>But  when the “system” is in “mixed colors mode” (Figure 2 and 3) I’m almost  sure that more than one driver is left in a status of confusion.</p>
<div id="attachment_354" class="wp-caption aligncenter" style="width: 410px"><img class="size-full wp-image-354" title="TrafficLightDublin02" src="http://arjuna.deltoso.net/wp-content/uploads/2010/10/TrafficLightDublin02.jpg" alt="" width="400" height="533" /><p class="wp-caption-text">Figure 2 - Green and Red, wtf?</p></div>
<div id="attachment_355" class="wp-caption aligncenter" style="width: 410px"><img class="size-full wp-image-355" title="TrafficLightDublin03" src="http://arjuna.deltoso.net/wp-content/uploads/2010/10/TrafficLightDublin03.jpg" alt="" width="400" height="533" /><p class="wp-caption-text">Figure 3 - Detail</p></div>
<p>From  the distance the big red light will catch your attention, both because  red is the color of danger and also because we are used to recognise a  pattern of three vertical lights on traffic lamps (with only one light  on at any time). You will be tempted to reduce the speed and stop and  this is what really happens quite often, with just a wait of a couple of  minutes close to that cross is enough to realize it. Most of the time  it takes some seconds for the car driver to understand that the green  arrows on the left are eventually giving him/her the right to turn left  or go straight.</p>
<p>On  top of this, if you think that Dublin is a touristic destination for  many Europeans that are used to drive their cars on the right side of  the street and not on the left like in Ireland, it’s easy to imagine  that just the task of driving on the “wrong side” will consume a lot of  cognitive resources of a driver that will end in a frustrating  experience. In my opinion, adding also a confusing street sign can lead  to major problems (namely car accidents).</p>
<p>You  don’t need a degree on usability to understand the big mistakes made  designing this interaction: why using the sign “stop everybody”/red  light to only stop cars turning right?, why using two more lights to  override the main sign building thus a very strange and unusual  configuration of the system?</p>
<p>Funny enough I’m not the first one spotting bad traffic lamps in the Dublin area, here an article <a href="http://www.iqcontent.com/blog/2007/06/the-usability-of-traffic-lights/" target="_blank">http://www.iqcontent.com/blog/2007/06/the-usability-of-traffic-lights</a> about Dun Laoghaire (south Dublin Bay)</p>
]]></content:encoded>
			<wfw:commentRss>http://arjuna.deltoso.net/articles/usability-of-everyday-things-traffic-lights/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>svn &#8211; Valid UTF-8 data followed by invalid UTF-8 sequence</title>
		<link>http://arjuna.deltoso.net/articles/subversion-messy-encoding-valid-utf-8-data-followed-by-invalid-utf-8-sequence</link>
		<comments>http://arjuna.deltoso.net/articles/subversion-messy-encoding-valid-utf-8-data-followed-by-invalid-utf-8-sequence#comments</comments>
		<pubDate>Tue, 29 Jun 2010 23:15:14 +0000</pubDate>
		<dc:creator>Arjuna Del Toso</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[encoding]]></category>
		<category><![CDATA[iso-8859]]></category>
		<category><![CDATA[latin-1]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[utf-8]]></category>

		<guid isPermaLink="false">http://arjuna.deltoso.net/?p=334</guid>
		<description><![CDATA[This happened to me some time ago while working with a subversion repository in which there were some files created in Windows with a strange encoding. Issuing a simple svn status gave me this error message: svn status svn: Valid UTF-8 data (hex: 4b) followed by invalid UTF-8 sequence (hex: fc 63 68 65) I [...]]]></description>
			<content:encoded><![CDATA[<p>This happened to me some time ago while working with a <strong>subversion  repository</strong> in which there were some files created in Windows with a  strange encoding. Issuing a simple svn status gave me this error  message:</p>
<pre>svn  status
svn:  Valid UTF-8  data
(hex: 4b)
followed by invalid UTF-8 sequence
(hex:  fc 63 68  65)</pre>
<p>I searched for a solution but the best tip that I could  find was to remove the files causing the error (see<br />
<a href="http://ryanerwin.com/2007/04/09/valid-utf-8-data-hex-followed-by-invalid-utf-8-sequence/" target="_blank">this for example</a>), but that wasn&#8217;t my case. I needed those files.</p>
<h4><strong>Discover the encoding of the filename</strong>s</h4>
<p>So if you want to save your files and use them in subversion, you first need to discover  the directory in which the files are stored. I just <code>cd</code> inside all the dirs checking if the error message was still relevant (may not be stylish but for me did worked). If you have a longer valid UTF-8 sequence than <code>4b</code> you can try with:</p>
<pre>
echo "\x4b\x6f\x72\x5f" | xargs -0 printf
</pre>
<p>and it will give you the starting part of the corrupted filename (<code>Kor_</code> in this example).</p>
<p>Once you have spotted the directory containing the files causing the error you need to <strong>discover the encoding of the filename</strong>s. Using the  simple <code>ls</code> you should be able to spot strange files, for discovering the encoding of those files you can use the <code>file</code> command like this (if you  have only one file you can try to substitute the * with the filename, but I don&#8217;t know if it works since I had all the files in that dir with the wrong encoding):</p>
<pre>ls * | file -
/dev/stdin:  ISO-8859 text</pre>
<p>in normal circumstances (debian/ubuntu)  the filename should be UTF-8 like this  simple test shows</p>
<pre>$ echo "test" &gt; /tmp/cioé.txt
$ ls /tmp/cioé.txt | file -
/dev/stdin:  UTF-8  Unicode text</pre>
<p>In my situation it happened that the filenames were <em>latin1</em> but the content of the file was UTF-8, to be sure of this I used the <code>isutf8</code> command (found in the <code>moreutils</code> package)</p>
<pre>isutf8 *</pre>
<p>that  gives no output if everything is fine.</p>
<h4><strong>Convert the filenames to utf-8 encoding</strong></h4>
<p>At this point you need  to<strong> convert the filenames to utf-8 encoding</strong>,  this is easily achieved with <code>convmv</code> (on the man page you can read &#8220;converts filenames from one encoding to another&#8221; that is exactly what we need). The usage  is simple:</p>
<pre>convmv  -f latin1 -t utf-8 *</pre>
<p>and this is an  example output:</p>
<pre>Your Perl version has fleas #37757 #49830
Starting  a dry run without changes...
mv "./Cefal�txt"        "./Cefalù.txt"
mv "./Badem�el-Badschr�ke.txt"  "./Bademöbel-Badschränke.txt"
mv "./Blutzuckermessger�e.txt"  "./Blutzuckermessgeräte.txt"</pre>
<p>beware  that by default this is a dry run, you have to add the <code>--notest</code> flag to actually change the filenames.</p>
<p>Hope this helps.</p>
<p><em>References</em><br />
<a href="http://joey.kitenet.net/code/moreutils/" target="_blank">http://joey.kitenet.net/code/moreutils/</a><br />
<a href="http://www.j3e.de/linux/convmv/" target="_blank">http://www.j3e.de/linux/convmv/</a></p>
<p>﻿</p>
]]></content:encoded>
			<wfw:commentRss>http://arjuna.deltoso.net/articles/subversion-messy-encoding-valid-utf-8-data-followed-by-invalid-utf-8-sequence/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Upgrade and Migration</title>
		<link>http://arjuna.deltoso.net/articles/upgrade-and-migration</link>
		<comments>http://arjuna.deltoso.net/articles/upgrade-and-migration#comments</comments>
		<pubDate>Sat, 05 Jun 2010 12:53:20 +0000</pubDate>
		<dc:creator>Arjuna Del Toso</dc:creator>
				<category><![CDATA[articles]]></category>

		<guid isPermaLink="false">http://arjuna.deltoso.net/?p=314</guid>
		<description><![CDATA[Today I&#8217;ve upgraded the version of wordpress to the last one, this site was still running on wp 2.6 due to the Gengo plugin (an old and discontinued multilingual plugin). From today I&#8217;m using wpml, let&#8217;s see if it works. If you find that there are some errors (broken links, feeds not working, &#8230;) please [...]]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;ve upgraded the version of wordpress to the last one, this site was still running on wp 2.6 due to the Gengo plugin (an old and discontinued multilingual plugin). From today I&#8217;m using wpml, let&#8217;s see if it works.</p>
<p>If you find that there are some errors (broken links, feeds not working, &#8230;) please drop me a message (use the contact page or leave a comment to this post).</p>
<p>Thanks,<br />
Arjuna</p>
]]></content:encoded>
			<wfw:commentRss>http://arjuna.deltoso.net/articles/upgrade-and-migration/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inst. El. s.n.c. &#8211; Hydroelectric Energy</title>
		<link>http://arjuna.deltoso.net/projects/inst-el-snc-hydroelectric-energy</link>
		<comments>http://arjuna.deltoso.net/projects/inst-el-snc-hydroelectric-energy#comments</comments>
		<pubDate>Mon, 01 Mar 2010 10:25:52 +0000</pubDate>
		<dc:creator>Arjuna Del Toso</dc:creator>
				<category><![CDATA[projects]]></category>
		<category><![CDATA[freelance]]></category>
		<category><![CDATA[inst. el.]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://arjuna.deltoso.net/?p=281</guid>
		<description><![CDATA[http://www.inst-el.org/ Using WordPress as a CMS allowed to quickly build a full featured website for a small but dynamic company, WordPress also ensures that all the future needs and changes on the web presence of the company (i.e. blogs, newsletters, forums, &#8230;) will be easily deployed using it&#8217;s powerful plugin system. Inst.El. snc. is an [...]]]></description>
			<content:encoded><![CDATA[<h4><a title="Inst.El. snc - Hydroelectric Energy" href="http://www.inst-el.org/">http://www.inst-el.org/</a></h4>
<p style="text-align: center;">
<p><em>Using WordPress as a CMS allowed to quickly build a full featured website for a small but dynamic company, WordPress also ensures that all the future needs and changes on the web presence of the company (i.e. blogs, newsletters, forums, &#8230;) will be easily deployed using it&#8217;s powerful plugin system.</em></p>
<p><a title="Inst.El. snc - Hydroelectric Energy" href="http://www.inst-el.org/">Inst.El. snc.</a> is an Italian company specialized in the production of <a href="http://www.inst-el.org/energia-pulita-energia-idroelettrica/">Hydroelectric Energy</a> using the best technology on the market, the so called <a href="http://www.inst-el.org/energia-pulita-energia-idroelettrica/come-funziona-la-coclea-idraulica-o-vite-di-archimede-e-applicazioni/">Archimedes screw turbines</a>. Inst.El. has also a wide experience on <a href="http://www.inst-el.org/altri-servizi/">solar photovoltaic systems and electric plants for home and business</a>.</p>
<p><em>Note: the website is in Italian language only</em></p>
]]></content:encoded>
			<wfw:commentRss>http://arjuna.deltoso.net/projects/inst-el-snc-hydroelectric-energy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google pushes advertisement on new design</title>
		<link>http://arjuna.deltoso.net/articles/google-pushes-advertisement-on-new-design</link>
		<comments>http://arjuna.deltoso.net/articles/google-pushes-advertisement-on-new-design#comments</comments>
		<pubDate>Tue, 01 Dec 2009 06:12:53 +0000</pubDate>
		<dc:creator>Arjuna Del Toso</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[advertising]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[hci]]></category>

		<guid isPermaLink="false">http://arjuna.deltoso.net/?p=247</guid>
		<description><![CDATA[Recently Google started testing a new massive redesign of the search engine interface (here instructions on how to activate the new design), Peter Van Dijck wrote a comprehensive article on the major changes (sidebar, input field, &#8230;). Here I would like to point out some details about the new design of the &#8220;Sponsored links&#8221; banner [...]]]></description>
			<content:encoded><![CDATA[<p>Recently Google started testing a new massive redesign of the search engine interface (<a title="External link (new window)" href="http://blogoscoped.com/archive/2009-11-25-n78.html" target="_blank">here</a> instructions on how to activate the new design), <a title="External link (new window)" href="http://poorbuthappy.com/ease/archives/2009/11/30/4670/the-new-google-design-nothing-between-me-and-my-search-bar" target="_blank">Peter Van Dijck</a> wrote a comprehensive article on the major changes (sidebar, input field, &#8230;). Here I would like to point out some details about the new design of the &#8220;Sponsored links&#8221; banner (Hey it&#8217;s where the G makes money).</p>
<p>First of all the old interface:</p>
<p style="text-align: center;"><a href="http://arjuna.deltoso.net/wp-content/uploads/2009/12/screenshot-7.png"><img class="size-medium wp-image-250 aligncenter" title="Google search results - Old design" src="http://arjuna.deltoso.net/wp-content/uploads/2009/12/screenshot-7-300x270.png" alt="" width="300" height="270" /></a></p>
<p>And now the new design:</p>
<p style="text-align: center;"><a href="http://arjuna.deltoso.net/wp-content/uploads/2009/12/screenshot-91.png"><img class="alignnone size-medium wp-image-252" title="Google search results - New disgn" src="http://arjuna.deltoso.net/wp-content/uploads/2009/12/screenshot-91-300x270.png" alt="" width="300" height="270" /></a></p>
<p>And a detail of the main advertisement area:</p>
<div id="attachment_253" class="wp-caption aligncenter" style="width: 409px"><a href="http://arjuna.deltoso.net/wp-content/uploads/2009/12/ads-old.png"><img class="size-full wp-image-253" title="Old Ads design" src="http://arjuna.deltoso.net/wp-content/uploads/2009/12/ads-old.png" alt="Old Ads design" width="399" height="122" /></a><p class="wp-caption-text">Old Ads design</p></div>
<p style="text-align: center;">
<div id="attachment_254" class="wp-caption aligncenter" style="width: 409px"><a href="http://arjuna.deltoso.net/wp-content/uploads/2009/12/ads-new.png"><img class="size-full wp-image-254" title="New Ads design" src="http://arjuna.deltoso.net/wp-content/uploads/2009/12/ads-new.png" alt="New Ads design" width="399" height="126" /></a><p class="wp-caption-text">New Ads design</p></div>
<p><strong>Some thoughts</strong></p>
<p>As you can see, the new left sidebar forces the width of the light yellow box to a shorter version, the effect is that now it is more likely for an <strong>ad description text to be splitted in 2 lines</strong>, using more vertical space and thus having a higher probability to attract the eye of the user (compare the first and second ads on the two designs).</p>
<p>Without the horizontal bar (the one with &#8220;Web + Show options&#8221; button and the count of search results) the <strong>sponsor listing are much more closer</strong> to the input box, where the users is supposed to have the mouse pointer as he was just writing the search query text there (if he was already on a search result page).</p>
<p>The &#8220;Sponsored links&#8221; text now has a <strong>reduced font size </strong>(11px), it&#8217;s much less prominent and, with the use of a gray text color, it&#8217;s more difficult to spot it out at a first quick <span class="clickable" onclick="dr4sdgryt(event,&quot;Ox&quot;)"><span class="sg"><span class="se1"><span class="trn">sight</span>.</span></span></span></p>
<p>On the right ad box (the vertical one, without background color) there is an <strong>increased line height and white space</strong> between the sponsor listings. The law of proximity (from the <a title="External link (new window)" href="http://www.interaction-design.org/encyclopedia/gestalt_principles_of_form_perception.html" target="_blank">gestalt principles</a>) tells us that the single add will still be perceived as a unit, due to the bigger distance from one ad to the other, but now with more white space between the lines that perception is less strong, IMHO. Note also that the last ads, the less valuable, are more or less still under the fold.</p>
<p>Looking at the big screenshot, the map now occupies all the width of the central column; I think that this is done to <strong>discourage the user from scrolling</strong> and have him<strong> focusing on the sponsored listing</strong>. Such a strong visual block will for sure break the user&#8217;s &#8220;scan&#8221; of the page avoiding, or trying to avoid, him to &#8220;jump&#8221; under the map. For reference read the interesting research &#8220;<a title="External link (new window)" href="http://www.cxpartners.co.uk/thoughts/the_myth_of_the_page_fold_evidence_from_user_testing.htm" target="_blank">The myth of the page fold: evidence from user testing</a>&#8221; by <em>cxpartners</em>, where they found that &#8220;Stark, horizontal lines discourage scrolling&#8221;.</p>
<p>Last thing to note is that the <strong>first organic result is really close to the page fold</strong>, of course, it&#8217;s not paying <img src='http://arjuna.deltoso.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I personally believe that a lot of these changes are aimed to <strong>increase the <a title="External link (new window)" href="http://en.wikipedia.org/wiki/Click-through_rate" target="_blank">CTR</a></strong> on the first 3 ads on google&#8217;s search results pages. What do you think?</p>
<p><em>Double disclaimer: if you have read this post up to here you may have guessed that I&#8217;m not so good in english, so report any error on the comments. More important, I&#8217;m not a interaction designer nor hci expert or wathever, these are only thought of a web programmer but I would like to know the opinion of the experts.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://arjuna.deltoso.net/articles/google-pushes-advertisement-on-new-design/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My configuration of xmonad window manager with xmobar and trayer</title>
		<link>http://arjuna.deltoso.net/articles/my-configuration-of-xmonad-window-manager-with-xmobar-and-trayer</link>
		<comments>http://arjuna.deltoso.net/articles/my-configuration-of-xmonad-window-manager-with-xmobar-and-trayer#comments</comments>
		<pubDate>Wed, 12 Aug 2009 22:06:07 +0000</pubDate>
		<dc:creator>Arjuna Del Toso</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[window manager]]></category>
		<category><![CDATA[xmonad]]></category>

		<guid isPermaLink="false">http://arjuna.deltoso.net/?p=242</guid>
		<description><![CDATA[I&#8217;ll write here my configuration of xmonad in order to find it easily in the future. xmonad is a dynamically tiling X11 window manager that is written and configured in Haskell (http://xmonad.org/). I find xmonad really useful on systems with small screens and on laptops to avoid using the touchpad. Software xmonad (0.8) &#8211; the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll write here my configuration of xmonad in order to find it easily in the future. xmonad is a dynamically tiling X11 window manager that is written             and configured in Haskell (<a href="http://xmonad.org/" target="_blank">http://xmonad.org/</a>). I find xmonad really useful on systems with small screens and on laptops to avoid using the touchpad.</p>
<h3>Software</h3>
<ol>
<li><a href="http://xmonad.org/" target="_blank">xmonad</a> (0.8) &#8211; the window manager</li>
<li><a href="http://code.haskell.org/~arossato/xmobar/" target="_blank">xmobar</a> (0.9) &#8211; a status bar also in haskell</li>
<li>trayer (1.0) &#8211; small app for a systray</li>
<li><a href="http://linuxbrit.co.uk/feh/" target="_blank">feh</a> (1.3.4) -to set the background image</li>
<li>gdm, kmix, network-manager, &#8230;</li>
</ol>
<h3>How to install stuff</h3>
<p>You&#8217;ll find more or less all the software needed on the repositories of the distribution of your choice (if you use ubuntu, like me, this should install the window manager <em><code>apt-get install xmonad libghc6-xmonad-contrib-dev libghc6-xmonad-dev dwm-tools</code></em>).</p>
<h3>Configuration</h3>
<p>Following the config files of the various softwares:</p>
<p><strong>xmonad</strong> &#8211; <code>~/.xmonad/xmonad.hs</code></p>
<pre>import XMonad
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Util.Run(spawnPipe)
import XMonad.Util.EZConfig(additionalKeys)
import System.IO

myManageHook = composeAll
    [ className =? "Gimp"      --&gt; doFloat
    , className =? "Vncviewer" --&gt; doFloat
    ]

main = do
    xmproc &lt;- spawnPipe "xmobar"
    xmonad $ defaultConfig
        { manageHook = manageDocks &lt;+&gt; myManageHook -- make sure to include myManageHook definition from above
                        &lt;+&gt; manageHook defaultConfig
        , layoutHook = avoidStruts  $  layoutHook defaultConfig
        , logHook = dynamicLogWithPP $ xmobarPP
                        { ppOutput = hPutStrLn xmproc
                        , ppTitle = xmobarColor "green" "" . shorten 50
                        }
        , modMask = mod4Mask     -- Rebind Mod to the Windows key
        } `additionalKeys`
        [ ((controlMask, xK_Print), spawn "sleep 0.2; scrot -s")
        , ((0, xK_Print), spawn "scrot")
        ]</pre>
<p><strong>xmobar</strong> &#8211; <code>~/.xmobarrc</code></p>
<pre>Config { font = "-misc-fixed-*-*-*-*-13-*-*-*-*-*-*-*"
       , bgColor = "black"
       , fgColor = "grey"
       , position = TopW L 85
       , commands = [ Run Network "wlan0" ["-L","0","-H","32","--normal","green","--high","red"] 10
                    , Run Cpu ["-L","15","-H","50","--normal","green","--high","red"] 10
                    , Run Memory ["-t","Mem: %"] 10
                    , Run Swap [] 10
                    , Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
                    , Run StdinReader
                    ]
       , sepChar = "%"
       , alignSep = "}{"
       , template = "%StdinReader% }{ %cpu% | %memory% * %swap% | %wlan0% | %date%"
       }</pre>
<p><strong>gdm</strong> &#8211; <code>/usr/share/xsessions/xmonad.desktop</code></p>
<pre>[Desktop Entry]
Encoding=UTF-8
Name=XMonad
Comment=Leightweight tiling window manager
Exec=xmonad.start
Icon=xmonad.png
Type=XSession</pre>
<p><em>xmonad.start</em> is a custom script.</p>
<p><strong>xmonad.start</strong> &#8211; <code>/usr/local/bin/xmonad.start</code></p>
<pre>#!/bin/bash

xrdb -merge .Xresources

trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 15 --height 12 --transparent true --tint 0x000000 &amp;

gnome-screensaver

gnome-settings-daemon

if [ -x /usr/bin/gnome-power-manager ] ; then
   sleep 1
   gnome-power-manager
fi

if [ -x /usr/bin/nm-applet ] ; then
   nm-applet --sm-disable &amp;
fi

kmix --keepvisibility

#feh --bg-scale /mnt/archivio/foto/2008-2009-dublino/2009-04-10-stefano/hapenny-desktop.jpg &amp;

exec xmonad</pre>
<p>Notes:</p>
<ul>
<li>using gnome-settings-daemon (i.e. for multimedia keys) the use of feh for setting the background image is <span class="clickable" onclick="dr4sdgryt(event,&quot;Ox&quot;)"><span class="sg"><span class="se1"><span class="trn">unnecessary.</span></span></span></span></li>
</ul>
<h3>Screenshots</h3>
<p>A screenshot of the desktop without applications (only xmonad and trayer), the background image is the Ha&#8217;Penny Bridge, Dublin, by <a href="http://www.panoramio.com/user/2081797" target="_blank">Steve</a>:</p>
<p><a href="http://arjuna.deltoso.net/wp-content/uploads/2009/08/2009-08-08-134614_1280x800_scrot.jpg"><img class="alignnone size-thumbnail wp-image-237" title="xmonad" src="http://arjuna.deltoso.net/wp-content/uploads/2009/08/2009-08-08-134614_1280x800_scrot-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>now with some apps:</p>
<p><a href="http://arjuna.deltoso.net/wp-content/uploads/2009/08/2009-08-08-142957_1280x800_scrot.jpg"><img class="alignnone size-thumbnail wp-image-239" title="xmonad, xmobar, traye, emacs, xterm, ..." src="http://arjuna.deltoso.net/wp-content/uploads/2009/08/2009-08-08-142957_1280x800_scrot-150x150.jpg" alt="" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://arjuna.deltoso.net/articles/my-configuration-of-xmonad-window-manager-with-xmobar-and-trayer/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Ecofont, reduce ink consumption saving the green (and money)</title>
		<link>http://arjuna.deltoso.net/articles/ecofont-reduce-ink-consumption-saving-the-green-and-money</link>
		<comments>http://arjuna.deltoso.net/articles/ecofont-reduce-ink-consumption-saving-the-green-and-money#comments</comments>
		<pubDate>Sat, 14 Feb 2009 17:52:32 +0000</pubDate>
		<dc:creator>Arjuna Del Toso</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[font]]></category>

		<guid isPermaLink="false">http://arjuna.deltoso.net/?p=227</guid>
		<description><![CDATA[Quick post only to point out a nice project of Spranq.nl called Ecofont. The aim of the project is to help people reducing the amount of ink used for printing, and save money too &#8220;The font produced uses up to 20% less ink&#8221; &#8211; they say. You can download it for free here http://www.ecofont.eu/downloads_en.html, instructions [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-228" title="ecofont_logo_witte_bg" src="http://arjuna.deltoso.net/wp-content/uploads/2009/02/ecofont_logo_witte_bg.jpg" alt="" width="200" height="108" />Quick post only to point out a nice project of <a href="http://www.spranq.nl/" target="_blank">Spranq.nl</a> called <a href="http://www.ecofont.eu/ecofont_en.html" target="_blank">Ecofont</a>. The aim of the project is to help people reducing the amount of ink used for printing, and save money too <img src='http://arjuna.deltoso.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>&#8220;The font produced uses <a href="http://www.ecofont.eu/results.html" target="_blank">up to 20% less</a> ink&#8221; &#8211; they say. You can download it for free here <a href="http://www.ecofont.eu/downloads_en.html" target="_blank">http://www.ecofont.eu/downloads_en.html</a>, instructions on how to install under Linux can be found at this page <a href="http://www.ecofont.eu/linux_en.html" target="_blank">http://www.ecofont.eu/linux_en.html</a> (little tip: if you are on Ubuntu and don&#8217;t have <code>ttmkfdir</code> just <code>sudo apt-get install ttmkfdir</code> on a terminal).</p>
]]></content:encoded>
			<wfw:commentRss>http://arjuna.deltoso.net/articles/ecofont-reduce-ink-consumption-saving-the-green-and-money/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pligg Italian Language for version 9.9.5</title>
		<link>http://arjuna.deltoso.net/projects/pligg-italian-language-for-version-995</link>
		<comments>http://arjuna.deltoso.net/projects/pligg-italian-language-for-version-995#comments</comments>
		<pubDate>Wed, 28 Jan 2009 22:36:16 +0000</pubDate>
		<dc:creator>Arjuna Del Toso</dc:creator>
				<category><![CDATA[projects]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[pligg]]></category>
		<category><![CDATA[translation]]></category>

		<guid isPermaLink="false">http://arjuna.deltoso.net/?p=218</guid>
		<description><![CDATA[Pligg is a MYODLWSMS (Make Your Own Digg Like Web Site Management System) written in PHP and it is used to make digg-like websites (this can&#8217;t surprise you, right?). Since I wasn&#8217;t able to find a translation into Italian, I made one by myself starting from a previous version (I can&#8217;t remember where I found [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Pligg Home Page" href="http://www.pligg.com/" target="_blank">Pligg</a> is a MYODLWSMS (Make Your Own Digg Like Web Site Management System) written in PHP and it is used to make <a title="Digg - A web site with something social" href="http://digg.com/" target="_blank">digg</a>-like websites (this can&#8217;t surprise you, right?).</p>
<p>Since I wasn&#8217;t able to find a translation into Italian, I made one by myself starting from a previous version (I can&#8217;t remember where I found that translation, if you recognize it as yours drop a message and I will give credit).</p>
<p>Here you can download the file:</p>
<h4><a href="http://file.deltoso.net/language_italian_pligg_9_9_5.zip">Pligg 9.9.5 Italian Translation</a></h4>
]]></content:encoded>
			<wfw:commentRss>http://arjuna.deltoso.net/projects/pligg-italian-language-for-version-995/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>&#8220;The Fundamentals of Graphic Design&#8221; WordPress Theme</title>
		<link>http://arjuna.deltoso.net/projects/the-fundamentals-of-graphic-design-wordpress-theme-2</link>
		<comments>http://arjuna.deltoso.net/projects/the-fundamentals-of-graphic-design-wordpress-theme-2#comments</comments>
		<pubDate>Wed, 24 Dec 2008 23:58:21 +0000</pubDate>
		<dc:creator>Arjuna Del Toso</dc:creator>
				<category><![CDATA[projects]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://arjuna.deltoso.net/?p=153</guid>
		<description><![CDATA[Recently I have bought a book called &#8220;The Fundamentals of Graphic Design&#8221; by Gavin Ambrose &#38; Paul Harris (AVA Academia). Finding the design of the book interesting I used it as an inspiration for this wordpress theme. The theme has been selected by WordPress authors and now you can grab it from the official wordpress [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I have bought a book called &#8220;<a href="http://www.avabooks.ch/index.php/ava/bookdetails/978-2-940373-82-6" target="_blank">The Fundamentals of Graphic Design</a>&#8221; by Gavin Ambrose &amp; Paul Harris  (AVA Academia).</p>
<p>Finding the design of the book interesting I used it as an inspiration for this wordpress theme.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-208" title="The Fundamentals of Graphics Design" src="http://arjuna.deltoso.net/wp-content/uploads/2009/01/screenshot.png" alt="" width="300" height="225" /></p>
<p style="text-align: left;">The theme has been selected by WordPress authors and now you can grab it from the official wordpress themes directory: <a title="The Fundamentals of graphic design wordpress theme" href="http://wordpress.org/extend/themes/the-fundamentals-of-graphic-design">http://wordpress.org/extend/themes/the-fundamentals-of-graphic-design</a></p>
<p style="text-align: left;">The theme features:</p>
<ul>
<li> a <strong>widgetized</strong> bottom sidebar;</li>
<li><strong>excerpts</strong> exposed before the post content;</li>
<li><strong>hierachical</strong> categories;</li>
<li>customizable <strong>colors</strong> and blog <strong>position</strong>.</li>
</ul>
<p>For support please use the official wordpress forum at <a href="http://wordpress.org/tags/the-fundamentals-of-graphic-design?forum_id=10#postform" target="_blank">http://wordpress.org/tags/ the-fundamentals-of-graphic-design ?forum_id=10#postform</a></p>
]]></content:encoded>
			<wfw:commentRss>http://arjuna.deltoso.net/projects/the-fundamentals-of-graphic-design-wordpress-theme-2/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Automatic Oracle 10g Startup and Shutdown at Ubuntu Linux system boot</title>
		<link>http://arjuna.deltoso.net/articles/automatic-oracle-10g-startup-and-shutdown-at-ubuntu-linux-system-boot</link>
		<comments>http://arjuna.deltoso.net/articles/automatic-oracle-10g-startup-and-shutdown-at-ubuntu-linux-system-boot#comments</comments>
		<pubDate>Wed, 15 Oct 2008 13:09:56 +0000</pubDate>
		<dc:creator>Arjuna Del Toso</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://arjuna.deltoso.net/?p=111</guid>
		<description><![CDATA[Set the restart flag to &#8220;Y&#8221; in /etc/oratab, from something like this dbname:/u01/app/oracle/product/10.2.0/db_1:N to something like dbname:/u01/app/oracle/product/10.2.0/db_1:Y Copy&#38;paste the boot script code that follows into /etc/init.d/dbora (the file dbora doesn&#8217;t exists, so create it) and modify the bold values to reflect your installation: #!/bin/sh # description: Oracle auto start-stop script. # # Set ORA_HOME to [...]]]></description>
			<content:encoded><![CDATA[<p>Set the restart flag to &#8220;Y&#8221; in /etc/oratab, from something like this</p>
<p>dbname:/u01/app/oracle/product/10.2.0/db_1:<strong>N</strong></p>
<p>to something like</p>
<p>dbname:/u01/app/oracle/product/10.2.0/db_1:<strong>Y</strong></p>
<p>Copy&amp;paste the boot script code that follows into /etc/init.d/dbora (the file dbora doesn&#8217;t exists, so create it) and modify the bold values to reflect your installation:</p>
<pre>#!/bin/sh
# description: Oracle auto start-stop script.
#
# Set ORA_HOME to be equivalent to the $ORACLE_HOME
# from which you wish to execute dbstart and dbshut;
#
# Set ORA_OWNER to the user id of the owner of the
# Oracle database in ORA_HOME.

ORACLE_HOME=<strong>/u01/app/oracle/product/10.2.0/db_1</strong>
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_HOME PATH

ORA_HOME=<strong>/u01/app/oracle/product/10.2.0/db_1</strong>
ORA_OWNER=oracle

if [ ! -f $ORA_HOME/bin/dbstart ]
then
    echo "Oracle startup: cannot start"
    exit
fi

case "$1" in
    'start')
        # Start the Oracle databases:
        # The following command assumes that the oracle login
        # will not prompt the user for any values
        su $ORA_OWNER -c "$ORA_HOME/bin/dbstart $ORA_HOME"
        ;;
    'stop')
        # Stop the Oracle databases:
        # The following command assumes that the oracle login
        # will not prompt the user for any values
        su $ORA_OWNER -c "$ORA_HOME/bin/dbshut $ORA_HOME"
        ;;
esac</pre>
<p>Assign proper script privileges:</p>
<p><code>chmod 750 /etc/init.d/dbora</code></p>
<p>Create the symbolic links related to boot runlevels [since I'm a long-time-Slackware-user and pretty new to Ubuntu, I'm not well versed about Ubuntu boot system so feel free to correct me (the comments are at the end of the post)]:</p>
<pre>ln -s /etc/init.d/dbora /etc/rc0.d/k01dbora
ln -s /etc/init.d/dbora /etc/rc1.d/k01dbora
ln -s /etc/init.d/dbora /etc/rc2.d/S99dbora
ln -s /etc/init.d/dbora /etc/rc3.d/S99dbora
ln -s /etc/init.d/dbora /etc/rc4.d/S99dbora</pre>
<p>at the end you should have something like this:</p>
<pre>lrwxrwxrwx 1 root root   17 2008-07-16 14:16 /etc/rc0.d/k01dbora -&gt; /etc/init.d/dbora
lrwxrwxrwx 1 root root   17 2008-07-16 14:16 /etc/rc1.d/k01dbora -&gt; /etc/init.d/dbora
lrwxrwxrwx 1 root root   17 2008-07-16 14:16 /etc/rc2.d/S99dbora -&gt; /etc/init.d/dbora
lrwxrwxrwx 1 root root   17 2008-07-16 14:16 /etc/rc3.d/S99dbora -&gt; /etc/init.d/dbora
lrwxrwxrwx 1 root root   17 2008-07-16 14:16 /etc/rc4.d/S99dbora -&gt; /etc/init.d/dbora</pre>
<p>Release 2 bug: inside /u01/app/oracle/product/10.2.0/db_1/bin/dbstart there is a bug that will prevent the listener to start (<em>Failed to auto-start Oracle Net Listener using /ade/vikrkuma_new/oracle/bin/tnslsnr</em>); to solve change line 78 from</p>
<pre>ORACLE_HOME_LISTNER=/ade/vikrkuma_new/oracle/bin/tnslsnr</pre>
<p>to</p>
<pre>ORACLE_HOME_LISTNER=$ORACLE_HOME</pre>
<p><em>(in this article a modified version of the script at <a href="http://www.oracle-base.com/articles/linux/AutomatingDatabaseStartupAndShutdownOnLinux.php" target="_blank">http://www.oracle-base.com/articles/linux/ AutomatingDatabaseStartupAndShutdownOnLinux.php</a>)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://arjuna.deltoso.net/articles/automatic-oracle-10g-startup-and-shutdown-at-ubuntu-linux-system-boot/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
