<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>urukrama's weblog</title>
	<atom:link href="http://urukrama.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://urukrama.wordpress.com</link>
	<description></description>
	<lastBuildDate>Sun, 08 Jan 2012 22:09:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='urukrama.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>urukrama's weblog</title>
		<link>http://urukrama.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://urukrama.wordpress.com/osd.xml" title="urukrama&#039;s weblog" />
	<atom:link rel='hub' href='http://urukrama.wordpress.com/?pushpress=hub'/>
		<item>
		<title>2011: The year in screenshots</title>
		<link>http://urukrama.wordpress.com/2012/01/02/2011-the-year-in-screenshots/</link>
		<comments>http://urukrama.wordpress.com/2012/01/02/2011-the-year-in-screenshots/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 19:16:11 +0000</pubDate>
		<dc:creator>urukrama</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://urukrama.wordpress.com/?p=361</guid>
		<description><![CDATA[About a year ago I retired most of my computers, and am now left with only two: Loka, my old desktop (now with a new 23&#8243; screen), and Savitar, a Thinkpad X41 I bought about 18 months ago. Both computers run Debian Testing. My main desktop environments and window managers on Loka have been Xfce [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=361&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>About a year ago I retired most of my computers, and am now left with only two: Loka, my old desktop (now with a new 23&#8243; screen), and Savitar, a Thinkpad X41 I bought about 18 months ago.</p>
<p>Both computers run Debian Testing. My main desktop environments and window managers on Loka have been Xfce with Openbox and WindowMaker, which I rediscovered this year. On Savitar, I used only Openbox and Awesome.</p>
<h2>Loka</h2>
<p><a href="http://urukrama.files.wordpress.com/2011/12/alghattas.jpg"><img src="http://urukrama.files.wordpress.com/2011/12/alghattas.jpg?w=300&#038;h=168" alt="" title="Alghattas" width="300" height="168" class="aligncenter size-medium wp-image-362" /></a></p>
<p>Xfce 4.6 with Openbox, using the <a href="http://box-look.org/content/show.php/Alghattas?content=134480">Alghattas</a> Openbox and Gtk theme, and the Elementary icons.  I don&#8217;t remember where I found the wallpaper.</p>
<p><a href="http://urukrama.files.wordpress.com/2011/12/alghattas_sea.png"><img src="http://urukrama.files.wordpress.com/2011/12/alghattas_sea.png?w=300&#038;h=168" alt="" title="Alghattas_sea" width="300" height="168" class="aligncenter size-medium wp-image-364" /></a></p>
<p>Xfce 4.6 with Openbox, using the <a href="http://box-look.org/content/show.php/Alghattas?content=134480">Alghattas</a> Openbox and Gtk theme, the Elementary icons, and <a href="http://interfacelift.com/wallpaper/details/2229/a_moment_of_silence.html">this wallpaper</a>.</p>
<p><a href="http://urukrama.files.wordpress.com/2011/12/j91p4.jpg"><img src="http://urukrama.files.wordpress.com/2011/12/j91p4.jpg?w=300&#038;h=168" alt="" title="Erthe" width="300" height="168" class="aligncenter size-medium wp-image-365" /></a></p>
<p>Xfce 4.8 with Openbox, using the <a href="http://box-look.org/content/show.php/Erthe?content=142686">Erthe Openbox and Gtk theme</a>, the AnyColorYouLike icons, and part of <a href="http://www.tarfandestan.com/forum/attachments/94124d1312192448-201109053330-20450.jpg">this image</a> as wallpaper.</p>
<p><a href="http://urukrama.files.wordpress.com/2011/12/caitanya01.jpg"><img src="http://urukrama.files.wordpress.com/2011/12/caitanya01.jpg?w=300&#038;h=168" alt="" title="caitanya01" width="300" height="168" class="aligncenter size-medium wp-image-366" /></a></p>
<p>Xfce 4.8 with Openbox, using the <a href="http://box-look.org/content/show.php/Erthe?content=142686">Erthe Openbox and Gtk theme</a>, and the AnyColorYouLike icons. </p>
<p><a href="http://urukrama.files.wordpress.com/2011/12/wmaker02.jpg"><img src="http://urukrama.files.wordpress.com/2011/12/wmaker02.jpg?w=300&#038;h=168" alt="" title="wmaker02" width="300" height="168" class="aligncenter size-medium wp-image-367" /></a></p>
<p>WindowMaker, with the <a href="http://box-look.org/content/show.php/ShikiBlack?content=144353">ShikiBlack WindowMaker theme</a>, the <a href="http://gnome-look.org/content/show.php/Shiki-JetBlack?content=121433">Shiki-JetBlack Gtk theme</a>, and the <a href="http://packages.debian.org/wheezy/moblin-icon-theme">Moblin icons</a>. I don&#8217;t remember where I found the wallpaper.</p>
<h2>Savitar</h2>
<p><a href="http://urukrama.files.wordpress.com/2011/12/awesome_coe.jpg"><img src="http://urukrama.files.wordpress.com/2011/12/awesome_coe.jpg?w=300&#038;h=225" alt="" title="Awesome_coe" width="300" height="225" class="aligncenter size-medium wp-image-370" /></a></p>
<p>Awesome, with the Children of the Earth Awesome theme, Gtk theme, and icons, and Caspar David Friedrich&#8217;s <em>Monk am See</em>.</p>
<p><a href="http://urukrama.files.wordpress.com/2011/12/prabhupada01.png"><img src="http://urukrama.files.wordpress.com/2011/12/prabhupada01.png?w=300&#038;h=225" alt="" title="prabhupada01" width="300" height="225" class="aligncenter size-medium wp-image-374" /></a></p>
<p>Openbox with the <a href="http://box-look.org/content/show.php/Children+of+the+Earth?content=86011">Children of the Earth Openbox theme</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/urukrama.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/urukrama.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/urukrama.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/urukrama.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/urukrama.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/urukrama.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/urukrama.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/urukrama.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/urukrama.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/urukrama.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/urukrama.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/urukrama.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/urukrama.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/urukrama.wordpress.com/361/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=361&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://urukrama.wordpress.com/2012/01/02/2011-the-year-in-screenshots/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6ef3844c098679155cbce972030275b?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">urukrama</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2011/12/alghattas.jpg?w=300" medium="image">
			<media:title type="html">Alghattas</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2011/12/alghattas_sea.png?w=300" medium="image">
			<media:title type="html">Alghattas_sea</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2011/12/j91p4.jpg?w=300" medium="image">
			<media:title type="html">Erthe</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2011/12/caitanya01.jpg?w=300" medium="image">
			<media:title type="html">caitanya01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2011/12/wmaker02.jpg?w=300" medium="image">
			<media:title type="html">wmaker02</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2011/12/awesome_coe.jpg?w=300" medium="image">
			<media:title type="html">Awesome_coe</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2011/12/prabhupada01.png?w=300" medium="image">
			<media:title type="html">prabhupada01</media:title>
		</media:content>
	</item>
		<item>
		<title>2010: The year in screenshots</title>
		<link>http://urukrama.wordpress.com/2012/01/02/2010-the-year-in-screenshots/</link>
		<comments>http://urukrama.wordpress.com/2012/01/02/2010-the-year-in-screenshots/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 18:19:46 +0000</pubDate>
		<dc:creator>urukrama</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://urukrama.wordpress.com/?p=285</guid>
		<description><![CDATA[I had written this a year ago, but somehow forgot to post it. But here are my screenshots from two years ago. As I&#8217;ve been doing for a few years now, I am posting screenshots of my desktops of the past year, to amuse you (nearly everyone likes to look at screenshots), to document my [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=285&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>I had written this a year ago, but somehow forgot to post it. But here are my screenshots from two years ago.</em></p>
<p>As I&#8217;ve been doing for a few years now, I am posting screenshots of my desktops of the past year, to amuse you (nearly everyone likes to look at screenshots), to document my changing aesthetics, and to capture my mood of the year as reflected in these images. </p>
<p>Below are the screenshots of the computers I&#8217;ve used in the past year. Aryaman is a Thinkpad 240 I bought on ebay for £10. I used it particularly when travelling, or when working in a library. I no longer use Mitra (<a href="http://urukrama.wordpress.com/2008/10/26/giving-new-life-to-an-old-computer/">my 11 year old Dell Inspiron 2500</a>) and Yantra (my 10 year old Compaq Presario), but recently gave them away to others who found some good use for them. Loka is my old desktop.</p>
<h2>Aryaman</h2>
<p><a href="http://urukrama.files.wordpress.com/2010/05/heart01.png"><img src="http://urukrama.files.wordpress.com/2010/05/heart01.png?w=300&#038;h=225" alt="" title="heart01" width="300" height="225" class="aligncenter size-medium wp-image-290" /></a><br />
<a href="http://urukrama.files.wordpress.com/2010/05/heart02.jpg"><img src="http://urukrama.files.wordpress.com/2010/05/heart02.jpg?w=300&#038;h=225" alt="" title="heart02" width="300" height="225" class="aligncenter size-medium wp-image-291" /></a></p>
<p>Musca 0.9.24</p>
<h2>Loka</h2>
<p><a href="http://urukrama.files.wordpress.com/2010/05/duke01.jpg"><img class="aligncenter size-medium wp-image-286" title="duke01" src="http://urukrama.files.wordpress.com/2010/05/duke01.jpg?w=300&#038;h=225" alt="" width="300" height="225" /></a></p>
<p>Openbox 3.4.10 in Xfce 4.6, with the Fearless Openbox theme, the Umbra Gtk theme, and the Iris icon theme.</p>
<p><a href="http://urukrama.files.wordpress.com/2010/05/elegance_new01.jpg"><img src="http://urukrama.files.wordpress.com/2010/05/elegance_new01.jpg?w=300&#038;h=225" alt="" title="elegance_new01" width="300" height="225" class="aligncenter size-medium wp-image-287" /></a></p>
<p>Pekwm 0.1.11, with the Elegance Pekwm and Gtk theme, and the Iris icon theme.</p>
<p><a href="http://urukrama.files.wordpress.com/2010/05/groove_stars01.png"><img src="http://urukrama.files.wordpress.com/2010/05/groove_stars01.png?w=300&#038;h=225" alt="" title="Groove_stars01" width="300" height="225" class="aligncenter size-thumbnail wp-image-289" /></a></p>
<p>Pekwm 0.1.12, with an updated Groove Pekwm and Gtk theme, and the nuoveXT-1.7 icon theme.</p>
<p><a href="http://urukrama.files.wordpress.com/2010/05/groove01.jpg"><img src="http://urukrama.files.wordpress.com/2010/05/groove01.jpg?w=300&#038;h=225" alt="" title="Groove01" width="300" height="225" class="aligncenter size-medium wp-image-288" /></a></p>
<p>Pekwm 0.1.12, with the Groove Pekwm and Gtk theme. The icons are from the Any Colour You Like icon theme.</p>
<p><a href="http://urukrama.files.wordpress.com/2010/05/domore_groove01.jpg"><img src="http://urukrama.files.wordpress.com/2010/05/domore_groove01.jpg?w=300&#038;h=225" alt="" title="domore_groove01" width="300" height="225" class="aligncenter size-medium wp-image-295" /></a></p>
<p>Pekwm 0.1.12, with the Groove Pekwm and Gtk theme. The wallpaper is home made.</p>
<p><a href="http://urukrama.files.wordpress.com/2010/06/brume_02.png"><img src="http://urukrama.files.wordpress.com/2010/06/brume_02.png?w=300&#038;h=225" alt="" title="Brume_02" width="300" height="225" class="aligncenter size-medium wp-image-301" /></a></p>
<p>Openbox 3.4.10, with the Brume Openbox and Gtk theme.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/urukrama.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/urukrama.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/urukrama.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/urukrama.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/urukrama.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/urukrama.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/urukrama.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/urukrama.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/urukrama.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/urukrama.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/urukrama.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/urukrama.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/urukrama.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/urukrama.wordpress.com/285/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=285&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://urukrama.wordpress.com/2012/01/02/2010-the-year-in-screenshots/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6ef3844c098679155cbce972030275b?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">urukrama</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/05/heart01.png?w=300" medium="image">
			<media:title type="html">heart01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/05/heart02.jpg?w=300" medium="image">
			<media:title type="html">heart02</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/05/duke01.jpg?w=300" medium="image">
			<media:title type="html">duke01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/05/elegance_new01.jpg?w=300" medium="image">
			<media:title type="html">elegance_new01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/05/groove_stars01.png?w=150" medium="image">
			<media:title type="html">Groove_stars01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/05/groove01.jpg?w=300" medium="image">
			<media:title type="html">Groove01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/05/domore_groove01.jpg?w=300" medium="image">
			<media:title type="html">domore_groove01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/06/brume_02.png?w=300" medium="image">
			<media:title type="html">Brume_02</media:title>
		</media:content>
	</item>
		<item>
		<title>Autohide xfce4-panel with a keybinding in Openbox</title>
		<link>http://urukrama.wordpress.com/2011/11/26/autohide-xfce4-panel-with-a-keybinding-in-openbox/</link>
		<comments>http://urukrama.wordpress.com/2011/11/26/autohide-xfce4-panel-with-a-keybinding-in-openbox/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 12:29:33 +0000</pubDate>
		<dc:creator>urukrama</dc:creator>
				<category><![CDATA[openbox]]></category>

		<guid isPermaLink="false">http://urukrama.wordpress.com/?p=353</guid>
		<description><![CDATA[Since version 4.6, Xfce uses a settings editor, similar to Gnome&#8217;s gconf. You can edit the settings in xfconf from the command-line with its command-line utility xfconf-query. This is handy if you want to control certain aspects of Xfce through Openbox&#8217; keybindings. On Loka, my desktop computer, I use Openbox as the window manager in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=353&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Since version 4.6, Xfce uses a settings editor, similar to Gnome&#8217;s gconf. You can edit the settings in xfconf from the command-line with its command-line utility <a href="http://wiki.xfce.org/settings4.6">xfconf-query</a>. This is handy if you want to control certain aspects of Xfce through Openbox&#8217; keybindings. On Loka, my desktop computer, I use Openbox as the window manager in Xfce, and use the xfce4-panel, which is set to be always visible. Occasionally, however, I want to hide the panel, and thanks to xfconf-query I can do that with a simple keybinding.</p>
<p>Here is what I use in the keyboard section of my rc.xml:</p>
<pre>
&#060;keybind key&#061;&#034;W&#045;o&#034;&#062;
&#060;&#033;&#045;&#045;Autohide xfce4&#045;panel&#045;&#045;&#062;
      &#060;keybind key&#061;&#034;h&#034;&#062;
        &#060;action name&#061;&#034;Execute&#034;&#062;
          &#060;execute&#062;xfconf&#045;query &#045;c xfce4&#045;panel &#045;p &#047;panels&#047;panel&#045;0&#047;autohide &#045;s true&#060;&#047;execute&#062;
        &#060;&#047;action&#062;
      &#060;&#047;keybind&#062;
      &#060;keybind key&#061;&#034;S&#045;h&#034;&#062;
        &#060;action name&#061;&#034;Execute&#034;&#062;
          &#060;execute&#062;xfconf&#045;query &#045;c xfce4&#045;panel &#045;p &#047;panels&#047;panel&#045;0&#047;autohide &#045;s false&#060;&#047;execute&#062;
        &#060;&#047;action&#062;
      &#060;&#047;keybind&#062;
   &#060;&#047;keybind&#062;
</pre>
<p>This makes the Win+o+h keychain (auto)hide the xfce4-panel and Win+o+Shift+h make the panel visible again. (<a href="http://urukrama.wordpress.com/2008/07/22/my-openbox-keybindings/">In my configuration</a>, W-o starts the keychain for all Openbox and DE related keybindings)</p>
<p>Note that if you run more than one xfce4-panel, this keybinding will only hide the first panel (panel-0). If you want to hide a different panel, change <em>/panels/panel-0/</em> to the appropriate value (<em>/panel/panel-1/</em> for example). You can find out the panel number in the &#8220;Panel preferences&#8221; dialog (where &#8220;Panel 1&#8243; will be named &#8220;panel-0&#8243; in xfconf, &#8220;Panel 2&#8243; will be &#8220;panel-1&#8243;, and so on), or you can check it in <em>xfce4-settings-editor</em>. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/urukrama.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/urukrama.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/urukrama.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/urukrama.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/urukrama.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/urukrama.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/urukrama.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/urukrama.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/urukrama.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/urukrama.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/urukrama.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/urukrama.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/urukrama.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/urukrama.wordpress.com/353/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=353&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://urukrama.wordpress.com/2011/11/26/autohide-xfce4-panel-with-a-keybinding-in-openbox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6ef3844c098679155cbce972030275b?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">urukrama</media:title>
		</media:content>
	</item>
		<item>
		<title>Configuring the alt-tab dialog in Openbox 3.5</title>
		<link>http://urukrama.wordpress.com/2011/11/01/reverting-to-the-old-alt-tab-dialog-in-openbox-3-5/</link>
		<comments>http://urukrama.wordpress.com/2011/11/01/reverting-to-the-old-alt-tab-dialog-in-openbox-3-5/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 13:24:44 +0000</pubDate>
		<dc:creator>urukrama</dc:creator>
				<category><![CDATA[openbox]]></category>

		<guid isPermaLink="false">http://urukrama.wordpress.com/?p=333</guid>
		<description><![CDATA[By default, Openbox 3.5 has a vertical alt-tab dialog. If you prefer the old alt-tab icon dialog, you can revert to it by adding the &#60;dialog&#62;icons&#60;/dialog&#62; to the PreviousWindow and NextWindow actions in your Alt-Tab (and, for me, Win-Tab) keybindings in your rc.xml, as follows: &#60;!-- Keybindings for window switching --&#62; &#60;keybind key=&#034;A-Tab&#034;&#62; &#60;action name=&#034;NextWindow&#034;&#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=333&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>By default, Openbox 3.5 has a vertical alt-tab dialog. If you prefer the old alt-tab icon dialog, you can revert to it by adding the <em>&lt;dialog&gt;icons&lt;/dialog&gt;</em> to the <a href="http://openbox.org/wiki/Help:Actions#NextWindow">PreviousWindow and NextWindow actions</a> in your Alt-Tab (and, for me, Win-Tab) keybindings in your rc.xml, as follows:</p>
<pre>
&lt;!-- Keybindings for window switching --&gt;
&lt;keybind key=&#034;A-Tab&#034;&gt;
      &lt;action name=&#034;NextWindow&#034;&gt;
      &lt;dialog&gt;icons&lt;/dialog&gt;
      &lt;/action&gt;
    &lt;/keybind&gt;
    &lt;keybind key=&#034;A-S-Tab&#034;&gt;
      &lt;action name=&#034;PreviousWindow&#034;&gt;
      &lt;dialog&gt;icons&lt;/dialog&gt;
      &lt;/action&gt;
    &lt;/keybind&gt;
&lt;keybind key=&#034;W-Tab&#034;&gt;
      &lt;action name=&#034;NextWindow&#034;&gt;
        &lt;allDesktops&gt;yes&lt;/allDesktops&gt;
      &lt;dialog&gt;icons&lt;/dialog&gt;
      &lt;/action&gt;
    &lt;/keybind&gt;
    &lt;keybind key=&#034;W-S-Tab&#034;&gt;
      &lt;action name=&#034;PreviousWindow&#034;&gt;
        &lt;allDesktops&gt;yes&lt;/allDesktops&gt;
      &lt;dialog&gt;icons&lt;/dialog&gt;
      &lt;/action&gt;
    &lt;/keybind&gt;
</pre>
<p>Change <em>&lt;dialog&gt;icons&lt;/dialog&gt;</em> to <em>&lt;dialog&gt;list&lt;/dialog&gt;</em> to get the vertical dialog. Change it to <em>&lt;dialog&gt;none&lt;/dialog&gt;</em> to have no dialog.</p>
<p>In the rc.xml there is now also a new setting to configure the font for inactive text in on-screen-displays, like the alt-tab dialog. If you&#8217;ve migrated your old configuration to Openbox 3.5, make sure you delete the <em>OnScreenDisplay</em> font settings in the <em>theme</em> section of your rc.xml and replace it with two settings: one <em>ActiveOnScreenDisplay</em> and one <em>InactiveOnScreenDisplay</em>. This section in my configuration file looks as follows:</p>
<pre>
&lt;font place=&#034;ActiveOnScreenDisplay&#034;&gt;
    &lt;name&gt;Corbel&lt;/name&gt;
    &lt;size&gt;9&lt;/size&gt;
    &lt;!-- font size in points --&gt;
    &lt;weight&gt;bold&lt;/weight&gt;
    &lt;!-- 'bold' or 'normal' --&gt;
    &lt;slant&gt;normal&lt;/slant&gt;
    &lt;!-- 'italic' or 'normal' --&gt;
  &lt;/font&gt;
  &lt;font place=&#034;InactiveOnScreenDisplay&#034;&gt;
    &lt;name&gt;Corbel&lt;/name&gt;
    &lt;size&gt;9&lt;/size&gt;
    &lt;!-- font size in points --&gt;
    &lt;weight&gt;bold&lt;/weight&gt;
    &lt;!-- 'bold' or 'normal' --&gt;
    &lt;slant&gt;normal&lt;/slant&gt;
    &lt;!-- 'italic' or 'normal' --&gt;
  &lt;/font&gt;
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/urukrama.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/urukrama.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/urukrama.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/urukrama.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/urukrama.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/urukrama.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/urukrama.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/urukrama.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/urukrama.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/urukrama.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/urukrama.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/urukrama.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/urukrama.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/urukrama.wordpress.com/333/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=333&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://urukrama.wordpress.com/2011/11/01/reverting-to-the-old-alt-tab-dialog-in-openbox-3-5/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6ef3844c098679155cbce972030275b?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">urukrama</media:title>
		</media:content>
	</item>
		<item>
		<title>Manual Tiling in Openbox</title>
		<link>http://urukrama.wordpress.com/2011/10/30/manual-tiling-in-openbox/</link>
		<comments>http://urukrama.wordpress.com/2011/10/30/manual-tiling-in-openbox/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 11:56:23 +0000</pubDate>
		<dc:creator>urukrama</dc:creator>
				<category><![CDATA[openbox]]></category>

		<guid isPermaLink="false">http://urukrama.wordpress.com/?p=323</guid>
		<description><![CDATA[Occasionally I want to tile two or three windows. In the past I&#8217;ve used tile or whaw for this. I also know of such applications like Pytyle. But all of these require me to have an additional application installed or a daemon running to tile my windows, which is too much work for the few [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=323&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Occasionally I want to tile two or three windows. In the past I&#8217;ve <a href="http://urukrama.wordpress.com/openbox-guide/#Tile">used tile or whaw for this</a>. I also know of such applications like <a href="http://code.google.com/p/pytyle/">Pytyle</a>. But all of these require me to have an additional application installed or a daemon running to tile my windows, which is too much work for the few times I want to tile my windows.</p>
<p>A while ago, <a href="http://ubuntuforums.org/member.php?u=71962">aeiah</a> of the Ubuntu Forums, told me of how he manually tiles windows in Openbox, using its <a href="http://openbox.org/wiki/Help:Actions#MoveResizeTo">MoveResizeTo action</a>. He explains it at some length in <a href="http://ubuntuforums.org/showpost.php?p=10515916&amp;postcount=18">this post</a>. It takes some fiddling to get the settings right for your own monitor, but once you have it set up it is a great tool to quickly tile a handful of windows.</p>
<p>I have these actions bound to a keychain, beginning with Win + a (<a href="http://urukrama.wordpress.com/2008/07/22/my-openbox-keybindings/">which I use for all my window actions</a>), followed by the number of the numeric keypad that corresponds to the place I want the window to appear: 7 is upper left half, 3 the lower right half, 4 the left 60% of the screen, 6 the remainder of the right side of the screen, and so on. This allows me to quickly tile two or three windows, and only the windows I want (rather than all the windows in the current workspace), which is exactly what I wanted.</p>
<p>These are the settings I use for my 2048&#215;1152 monitor:</p>
<pre>   &lt;keybind key=&#034;W-a&#034;&gt;
&lt;!-- Begin the keychains to manage windows --&gt;
      &lt;!-- aeiah's semi-tiling mode --&gt;
      &lt;keybind key=&#034;KP_6&#034;&gt;
        &lt;action name=&#034;UnmaximizeFull&#034;/&gt;
        &lt;action name=&#034;MoveResizeTo&#034;&gt;
          &lt;x&gt;1110&lt;/x&gt;
          &lt;y&gt;0&lt;/y&gt;
          &lt;width&gt;940&lt;/width&gt;
          &lt;height&gt;1108&lt;/height&gt;
        &lt;/action&gt;
      &lt;/keybind&gt;
      &lt;keybind key=&#034;KP_4&#034;&gt;
        &lt;action name=&#034;UnmaximizeFull&#034;/&gt;
        &lt;action name=&#034;MoveResizeTo&#034;&gt;
          &lt;x&gt;0&lt;/x&gt;
          &lt;y&gt;0&lt;/y&gt;
          &lt;width&gt;1108&lt;/width&gt;
          &lt;height&gt;1108&lt;/height&gt;
        &lt;/action&gt;
      &lt;/keybind&gt;
      &lt;keybind key=&#034;KP_8&#034;&gt;
        &lt;action name=&#034;UnmaximizeFull&#034;/&gt;
        &lt;action name=&#034;MoveResizeTo&#034;&gt;
          &lt;x&gt;0&lt;/x&gt;
          &lt;y&gt;0&lt;/y&gt;
          &lt;width&gt;2048&lt;/width&gt;
          &lt;height&gt;576&lt;/height&gt;
        &lt;/action&gt;
      &lt;/keybind&gt;
      &lt;keybind key=&#034;KP_2&#034;&gt;
        &lt;action name=&#034;UnmaximizeFull&#034;/&gt;
        &lt;action name=&#034;MoveResizeTo&#034;&gt;
          &lt;x&gt;0&lt;/x&gt;
          &lt;y&gt;564&lt;/y&gt;
          &lt;width&gt;2048&lt;/width&gt;
          &lt;height&gt;564&lt;/height&gt;
        &lt;/action&gt;
      &lt;/keybind&gt;
      &lt;keybind key=&#034;KP_9&#034;&gt;
        &lt;action name=&#034;UnmaximizeFull&#034;/&gt;
        &lt;action name=&#034;MoveResizeTo&#034;&gt;
          &lt;x&gt;1110&lt;/x&gt;
          &lt;y&gt;0&lt;/y&gt;
          &lt;width&gt;940&lt;/width&gt;
          &lt;height&gt;554&lt;/height&gt;
        &lt;/action&gt;
      &lt;/keybind&gt;
      &lt;keybind key=&#034;KP_3&#034;&gt;
        &lt;action name=&#034;UnmaximizeFull&#034;/&gt;
        &lt;action name=&#034;MoveResizeTo&#034;&gt;
          &lt;x&gt;1110&lt;/x&gt;
          &lt;y&gt;571&lt;/y&gt;
          &lt;width&gt;940&lt;/width&gt;
          &lt;height&gt;546&lt;/height&gt;
        &lt;/action&gt;
      &lt;/keybind&gt;
      &lt;keybind key=&#034;KP_1&#034;&gt;
        &lt;action name=&#034;UnmaximizeFull&#034;/&gt;
        &lt;action name=&#034;MoveResizeTo&#034;&gt;
          &lt;x&gt;0&lt;/x&gt;
          &lt;y&gt;440&lt;/y&gt;
          &lt;width&gt;720&lt;/width&gt;
          &lt;height&gt;420&lt;/height&gt;
        &lt;/action&gt;
      &lt;/keybind&gt;
      &lt;keybind key=&#034;KP_7&#034;&gt;
        &lt;action name=&#034;UnmaximizeFull&#034;/&gt;
        &lt;action name=&#034;MoveResizeTo&#034;&gt;
          &lt;x&gt;0&lt;/x&gt;
          &lt;y&gt;0&lt;/y&gt;
          &lt;width&gt;720&lt;/width&gt;
          &lt;height&gt;420&lt;/height&gt;
        &lt;/action&gt;
      &lt;/keybind&gt;
&lt;!-- other keychains to manage windows --&gt;
    &lt;/keybind&gt;
</pre>
<p>As aeiah mentioned, this method does not let you &#8216;untile&#8217; windows. I have added another action to my rc.xml to allow me to untile the window, using the <a href="http://openbox.org/wiki/Help:Actions#MoveResizeTo">MoveResizeTo action</a>. This action, bound to Win + a + r, moves the window to the centre of the screen and resizes it to a 800&#215;1100 size, which is about the size I have most of my windows. Here is the relevant part of my rc.xml:</p>
<pre>   &lt;keybind key=&#034;W-a&#034;&gt;
&lt;!-- Begin the keychains to manage windows --&gt;
    &lt;keybind key=&#034;r&#034;&gt;
    &lt;action name=&#034;MoveResizeTo&#034;&gt;
	&lt;x&gt;center&lt;/x&gt;
	&lt;y&gt;center&lt;/y&gt;
	&lt;height&gt;800&lt;/height&gt;
	&lt;width&gt;1100&lt;/width&gt;
    &lt;/action&gt;
    &lt;/keybind&gt;
&lt;!-- other keychains to manage windows --&gt;
    &lt;/keybind&gt;
</pre>
<p>If you generally maximize your windows, as I do on my much smaller laptop screen, you could easily add a command to maximize the window again, using the <a href="http://openbox.org/wiki/Help:Actions#Maximize">Maximize</a> or <a href="http://openbox.org/wiki/Help:Actions#ToggleMaximize">ToggleMaximize</a> actions. If there are only a few applications you do not maximize, you can use the really nifty <a href="http://openbox.org/wiki/Help:Actions#If">if</a> action. (This works only in Openbox 3.5) For example, if I want to maximize all windows except Thunar, which I want to move to the centre and resize to a 800&#215;600 size, I could use the following keybinding:</p>
<pre>
 &lt;keybind key=&#034;W-a&#034;&gt;
&lt;!-- Begin the keychains to manage windows --&gt;
&lt;keybind key=&#034;r&#034;&gt;
 &lt;action name=&#034;If&#034;&gt;
     &lt;title&gt;* File Manager&lt;/title&gt;
  &lt;then&gt;
   &lt;action name=&#034;MoveResizeTo&#034;&gt;
	&lt;x&gt;center&lt;/x&gt;
	&lt;y&gt;center&lt;/y&gt;
	&lt;height&gt;600&lt;/height&gt;
	&lt;width&gt;800&lt;/width&gt;
    &lt;/action&gt;
  &lt;/then&gt;
  &lt;else&gt;
     &lt;action name=&#034;Maximize&#034;/&gt;
  &lt;/else&gt;
 &lt;/action&gt;
&lt;/keybind&gt;
&lt;!-- other keychains to manage windows --&gt;
&lt;/keybind&gt;
</pre>
<p>To navigate between tiled windows you could use the <a href="http://openbox.org/wiki/Help:Actions#DirectionalTargetWindow">DirectionalTargetWindow</a> or the <a href="http://openbox.org/wiki/Help:Actions#DirectionalCycleWindows">DirectionalCycleWindows</a> actions (if you want to see a dialog). I had these bound to Win + the appropriate numeric keypad key, but never use them. Someone else might find these actions useful, though.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/urukrama.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/urukrama.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/urukrama.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/urukrama.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/urukrama.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/urukrama.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/urukrama.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/urukrama.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/urukrama.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/urukrama.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/urukrama.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/urukrama.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/urukrama.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/urukrama.wordpress.com/323/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=323&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://urukrama.wordpress.com/2011/10/30/manual-tiling-in-openbox/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6ef3844c098679155cbce972030275b?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">urukrama</media:title>
		</media:content>
	</item>
		<item>
		<title>Xelatex and Gedit</title>
		<link>http://urukrama.wordpress.com/2011/02/07/xelatex-and-gedit/</link>
		<comments>http://urukrama.wordpress.com/2011/02/07/xelatex-and-gedit/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 12:03:51 +0000</pubDate>
		<dc:creator>urukrama</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://urukrama.wordpress.com/?p=311</guid>
		<description><![CDATA[For all my Tex needs, I use Gedit with the excellent Latex plugin. For a while I used Texworks. I particularly liked its &#8220;Jump to pdf&#8221; and &#8220;Jump to source&#8221; feature (which I wish more Latex editors would implement), but in the end, its sparse customisability or lack of extensibility and its fairly basic default [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=311&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For all my Tex needs, I use Gedit with the excellent <a href="http://www.michaels-website.de/gedit-latex-plugin/">Latex plugin</a>. For a while I used <a href="http://www.tug.org/texworks/">Texworks</a>. I particularly liked its &#8220;Jump to pdf&#8221; and &#8220;Jump to source&#8221; feature (which I wish more Latex editors would implement), but in the end, its sparse customisability or lack of extensibility and its fairly basic default features led me back to Gedit (after a brief stop at <a href="http://gummi.midnightcoding.org/">Gummi</a>, a young, but promising Latex editor). </p>
<p>The Gedit Latex plugin uses rubber to build the pdf of your text file. I write my documents in Xelatex, however, and not in Latex, because I need Unicode fonts (for Devanagari and diacritics). As it turns out, it is really easy to use rubber with Xelatex. Simply add the following line to your .tex file:</p>
<p><code>% rubber: set program xelatex</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/urukrama.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/urukrama.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/urukrama.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/urukrama.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/urukrama.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/urukrama.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/urukrama.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/urukrama.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/urukrama.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/urukrama.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/urukrama.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/urukrama.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/urukrama.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/urukrama.wordpress.com/311/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=311&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://urukrama.wordpress.com/2011/02/07/xelatex-and-gedit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6ef3844c098679155cbce972030275b?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">urukrama</media:title>
		</media:content>
	</item>
		<item>
		<title>Making Linux remind me to meditate</title>
		<link>http://urukrama.wordpress.com/2010/11/27/making-linux-remind-me-to-meditate/</link>
		<comments>http://urukrama.wordpress.com/2010/11/27/making-linux-remind-me-to-meditate/#comments</comments>
		<pubDate>Sat, 27 Nov 2010 15:10:24 +0000</pubDate>
		<dc:creator>urukrama</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://urukrama.wordpress.com/?p=306</guid>
		<description><![CDATA[When I&#8217;m working on my computer, I often lose track of time. In itself I don&#8217;t mind this, but the downside is that I often am not aware of the different sandhyas, the different phases of the day (sunrise, noon and sunset) at which I should meditate on the Gayatri mantras I received at initiation. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=306&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When I&#8217;m working on my computer, I often lose track of time. In itself I don&#8217;t mind this, but the downside is that I often am not aware of the different <i>sandhyas</i>, the different phases of the day (sunrise, noon and sunset) at which I should meditate on the Gayatri mantras I received at initiation.</p>
<p>Luckily, with Linux it is very easy to have your computer remind you that it is nearly time to chant. All you need is crontab and gxmessage. Crontab is part of the default installation of many distributions, and gxmessage is easily installed (. Here is how you would do it.</p>
<p>First of all, you&#8217;ll need to create a Gxmessage script. Here is what I use:</p>
<p><code>#!/bin/sh</p>
<p>gmessage "It is time to chant your Gayatri mantras" -center -title "Take action" -font "Sans bold 7" -geometry 300x100 -default "Remind me later" -center -buttons "_Remind me later":1,"I'll _chant now":2 &gt;/dev/null</p>
<p>case $? in<br />
	1)<br />
		(sleep 10m  &amp;&amp; /home/USERNAME/.scripts/Gayatri_gmessage);;</p>
<p>	2)<br />
		echo "Exit";;</p>
<p>esac</code></p>
<p>Save the file in a convenient location as (I keep it in ~/.scripts/) as Gayatri_reminder or whatever else you like, and make the file executable with the following command:</p>
<p><code>	chmod +x /home/USERNAME/.scripts/Gayatri_reminder</code></p>
<p>(Wherever you save it, make sure that the line which reads &#8220;sleep 10m  &amp;&amp; /home/USERNAME/.scripts/Gayatri_gmessage&#8221; in the above example points to the location of your script.)</p>
<p>If you&#8217;d like to test the script, you should be able to either double click on the file, or to enter the full path to the file in a terminal to launch Gxmessage. The script should launch a window that looks like this (it should follow your general Gtk theme):</p>
<p>If you click &#8220;Remind me later&#8221; the window will pop up again 10 minutes later; if you click &#8220;I&#8217;ll chant now&#8221; the message will simply close. You can change those settings (including the text that is displayed) by editing the script I gave above.</p>
<p>Now you&#8217;ll need to tell your operating system that you want this script to be run every day at noon and at 6pm. To accomplish this, you can use cron and crontab. Cron is a daemon that executes scheduled commands. It is normally started automatically when you start your computer. Crontab is a little application that allows you to add or remove scheduled commands for individual users. To add an entry for your Gayatri reminder message, start crontab in the edit mode with the following command:</p>
<p><code>	crontab -e</code></p>
<p>If you have never used crontab before, an empty file should open that looks like this:</p>
<p><code>	# m h  dom mon dow   command</code></p>
<p>This indicates the structure you need to use for crontab entries: for each entry you can specify the minute (0-59), the hour (0-23, 0 = midnight), the day of the month (1-31),the  month (1-12), and the day of the week (0-6, 0 = Sunday), and finally the command you want to be executed at that time. If you want to run a command every day of the month, or every day of the week, you can enter an asterisk (*) as the value to that setting.If you want to cron to launch an application with a graphical user interface, such as Gxmessage, you need to specify what screen to display it on with the command <i>export DISPLAY=:0</i>. If you only have a single screen, you need to use <i>DISPLAY=:0</i>; if you have more than one screen and would like the message to appear not on the first screen change the number accordingly (to :1 or :2).</p>
<p> So if you want this Gxmessage script to be run every day at noon,and at 6pm, you would add two entries in crontab that looks like this:</p>
<p><code>	00 12 * * * export DISPLAY=:0 &amp;&amp; /home/USERNAME/.scripts/Gayatri_reminder<br />
	00 18 * * * export DISPLAY=:0 &amp;&amp; /home/USERNAME/.scripts/Gayatri_reminder</code></p>
<p>This will run the script every day of every month and every day of the week (the three *s) at 00 minutes past 12 and 18 hours. The command part of each line (<i> export DISPLAY=:0 &amp;&amp; /home/USERNAME/.scripts/Gayatri_gmessage</i>) specifies that the Gayatri_reminder script is to be run on the first screen.</p>
<p>There are some obvious drawbacks to this system. If you want to be very strict and meditate on the Gayatri mantras at the exact <i>sandhya</i> times, this method is not very practical, unless you live close to the equator where the sunrise, sunset and when the sun reaches its zenith are nearly at the same time of day all year round. I started writing a script that took the exact sunset times into consideration, and had some success, but lost that script and can&#8217;t be bothered to rewrite it. Maybe I&#8217;ll revisit it in the future, but for now this system works fine. I&#8217;d rather chant my Gayatri mantras slightly off time, than forget them entirely.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/urukrama.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/urukrama.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/urukrama.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/urukrama.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/urukrama.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/urukrama.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/urukrama.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/urukrama.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/urukrama.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/urukrama.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/urukrama.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/urukrama.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/urukrama.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/urukrama.wordpress.com/306/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=306&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://urukrama.wordpress.com/2010/11/27/making-linux-remind-me-to-meditate/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6ef3844c098679155cbce972030275b?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">urukrama</media:title>
		</media:content>
	</item>
		<item>
		<title>A simple timer</title>
		<link>http://urukrama.wordpress.com/2010/06/16/a-simple-timer/</link>
		<comments>http://urukrama.wordpress.com/2010/06/16/a-simple-timer/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 22:11:03 +0000</pubDate>
		<dc:creator>urukrama</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://urukrama.wordpress.com/?p=297</guid>
		<description><![CDATA[This post is really meant for me, to remind me later how to do this, but perhaps you&#8217;ll find something useful in it too. This is a little script using zenity that functions as a timer . When I run the script I am asked to enter a task description and then in how many [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=297&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post is really meant for me, to remind me later how to do this, but perhaps you&#8217;ll find something useful in it too.</p>
<p>This is a little script using zenity that functions as a timer . When I run the script I am asked to enter a task description and then in how many minutes I want to be reminded of that (&#8220;10&#8243; is ten seconds, &#8220;10m&#8221; is ten minutes). When the time is up, a simple dialog appears that reminds me to do the task I set myself.</p>
<pre class="brush: bash;">#!/bin/bash
#
REMINDER=`zenity --entry --title="Timer" \
 --text="What should I do?"`
WAIT=`zenity --entry --title="Timer" \
 --text="When should I do this?"`
sleep $WAIT
zenity --info --title="Timer" --text="$REMINDER"</pre>
<p><a href="http://urukrama.files.wordpress.com/2010/06/timer.png"><img src="http://urukrama.files.wordpress.com/2010/06/timer.png?w=460" alt="" title="timer"   class="aligncenter size-full wp-image-298" /></a></p>
<p>Now I no longer need to launch a panel to run a timer panel applet (which I am sorry to admit I did for a while). This is simple and works great.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/urukrama.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/urukrama.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/urukrama.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/urukrama.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/urukrama.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/urukrama.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/urukrama.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/urukrama.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/urukrama.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/urukrama.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/urukrama.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/urukrama.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/urukrama.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/urukrama.wordpress.com/297/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=297&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://urukrama.wordpress.com/2010/06/16/a-simple-timer/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6ef3844c098679155cbce972030275b?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">urukrama</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/06/timer.png" medium="image">
			<media:title type="html">timer</media:title>
		</media:content>
	</item>
		<item>
		<title>2009: The year in screenshots</title>
		<link>http://urukrama.wordpress.com/2010/05/20/2009-the-year-in-screenshots/</link>
		<comments>http://urukrama.wordpress.com/2010/05/20/2009-the-year-in-screenshots/#comments</comments>
		<pubDate>Thu, 20 May 2010 07:41:40 +0000</pubDate>
		<dc:creator>urukrama</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://urukrama.wordpress.com/?p=254</guid>
		<description><![CDATA[And here, with some delay, is my review of 2009. As I mentioned a year ago my desktops generally reflect my mood. I chose a particular wallpaper and a matching theme or colour scheme that speaks to me at the time. The pictures that follow thus capture 2009, as I lived it. Last year I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=254&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>And here, with some delay, is my review of 2009.</p>
<p><a href="http://urukrama.wordpress.com/2009/01/04/2008-the-year-in-screenshots/">As I mentioned a year ago</a> my desktops generally reflect my mood. I chose a particular wallpaper and a matching theme or colour scheme that speaks to me at the time. The pictures that follow thus capture 2009, as I lived it.</p>
<p>Last year I did not change my desktop that much. I found a few themes I really liked (<a href="http://box-look.org/content/show.php/Umbra?content=114084">Umbra</a>, <a href="http://box-look.org/content/show.php/Children+of+the+Earth?content=86011">Children of the Earth</a>, <a href="http://gnome-look.org/content/show.php/Eidolon?content=91361">Eidolon</a> and <a href="http://box-look.org/content/show.php/Salvage?content=82383">Salvage</a> on the four computers I&#8217;ve used last year) and stuck with them or repeatedly revisited them.</p>
<p>I&#8217;ve mainly used Openbox last year, but when I discovered Musca, that became the default window manager on Mitra (and the only screenshot you see of that was my desktop for a very long time).</p>
<p>Yantra and Mitra are laptops (an 8 year old Compaq and a 9 year old Dell respectively). Loka is a desktop of a similar age, while Grantha is my office computer. Yantra was my main computer up until October, when I began to use Loka more (after neglecting it for a few years). The screenshots are grouped per computer and ordered chronologically (oldest first), as good as I could remember.</p>
<p>All the screenshots of Mitra and Loka below are of Debian Testing (first Lenny, then Squeeze), with the exception of the first Loka screenshot which is still of an Ubuntu 6.06 (Dapper) install. Yantra and Grantha run Ubuntu 8.04 (Hardy). </p>
<p><span id="more-254"></span></p>
<h2>Yantra</h2>
<p><a href="http://urukrama.files.wordpress.com/2010/01/lighthouse_hue01.png"><img src="http://urukrama.files.wordpress.com/2010/01/lighthouse_hue01.png?w=300&#038;h=225" alt="" title="Lighthouse_hue01" width="300" height="225" class="aligncenter size-medium wp-image-274" /></a></p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/lighthouse_ob01.png"><img src="http://urukrama.files.wordpress.com/2010/01/lighthouse_ob01.png?w=300&#038;h=225" alt="" title="Lighthouse_OB01" width="300" height="225" class="aligncenter size-medium wp-image-273" /></a></p>
<p>Openbox 3.4.7, with the Hue de Spa Openbox and Gtk theme (modifications of the <a href="http://box-look.org/content/show.php/HueTheSpa?content=96056">HueTheSpa</a> themes), the Gnome Alternative icon theme, and a wallpaper from deviantart. I also had a <a href="http://urukrama.files.wordpress.com/2010/01/lighthouse_hue02.png">similar setup with Sithwm</a>.</p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/jambudvipa01.png"><img src="http://urukrama.files.wordpress.com/2010/01/jambudvipa01.png?w=300&#038;h=225" alt="" title="Jambudvipa01" width="300" height="225" class="aligncenter size-medium wp-image-276" /></a></p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/verve011.png"><img src="http://urukrama.files.wordpress.com/2010/01/verve011.png?w=300&#038;h=225" alt="" title="Verve01" width="300" height="225" class="aligncenter size-medium wp-image-278" /></a></p>
<p>Openbox 3.4.7, with the Verve Openbox and Gtk theme, Iris icons, and a home-made wallpaper.</p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/chairs01.jpg"><img src="http://urukrama.files.wordpress.com/2010/01/chairs01.jpg?w=300&#038;h=225" alt="" title="chairs01" width="300" height="225" class="aligncenter size-medium wp-image-264" /></a></p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/chairs02.jpg"><img src="http://urukrama.files.wordpress.com/2010/01/chairs02.jpg?w=300&#038;h=225" alt="" title="chairs02" width="300" height="225" class="aligncenter size-medium wp-image-265" /></a></p>
<p>Openbox 3.4.7, with the Children of the Earth Openbox, Gtk and icon theme. The wallpaper is a picture I took in the cathedral of Colmar, France. I&#8217;ve long used a very similar setup of Grantha.</p>
<h2>Mitra</h2>
<p><a href="http://urukrama.files.wordpress.com/2010/01/awesome_refugee02.jpg"><img src="http://urukrama.files.wordpress.com/2010/01/awesome_refugee02.jpg?w=300&#038;h=225" alt="" title="awesome_refugee02" width="300" height="225" class="aligncenter size-medium wp-image-268" /></a></p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/awesome_refugee01.png"><img src="http://urukrama.files.wordpress.com/2010/01/awesome_refugee01.png?w=300&#038;h=225" alt="" title="awesome_refugee01" width="300" height="225" class="aligncenter size-medium wp-image-269" /></a></p>
<p>Awesome 2.3.6</p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/lands.png"><img src="http://urukrama.files.wordpress.com/2010/01/lands.png?w=300&#038;h=225" alt="" title="lands" width="300" height="225" class="aligncenter size-medium wp-image-266" /></a></p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/musca_06_09.png"><img src="http://urukrama.files.wordpress.com/2010/01/musca_06_09.png?w=300&#038;h=225" alt="" title="musca_06_09" width="300" height="225" class="aligncenter size-medium wp-image-267" /></a></p>
<p>Musca 0.9.24 with the Eidolon Gtk theme.</p>
<h2>Loka</h2>
<p><a href="http://urukrama.files.wordpress.com/2010/01/monk01.png"><img src="http://urukrama.files.wordpress.com/2010/01/monk01.png?w=300&#038;h=225" alt="" title="monk01" width="300" height="225" class="aligncenter size-medium wp-image-270" /></a></p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/monk02.png"><img src="http://urukrama.files.wordpress.com/2010/01/monk02.png?w=300&#038;h=225" alt="" title="monk02" width="300" height="225" class="aligncenter size-medium wp-image-271" /></a></p>
<p>Xfce 4.4.1 and Openbox 3.4.4, with the Groove Gtk and Openbox theme, nuoveXT icons, and a favourite painting by Caspar David Friedrich.</p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/umbra01.jpg"><img src="http://urukrama.files.wordpress.com/2010/01/umbra01.jpg?w=300&#038;h=225" alt="" title="umbra01" width="300" height="225" class="aligncenter size-medium wp-image-260" /></a></p>
<p>Openbox 3.4.7, with the Umbra Openbox and Gtk theme, and the Iris icon theme.</p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/windowlabpe01.jpg"><img src="http://urukrama.files.wordpress.com/2010/01/windowlabpe01.jpg?w=300&#038;h=225" alt="" title="windowlabPE01" width="300" height="225" class="aligncenter size-medium wp-image-256" /></a></p>
<p>Windowlab 1.37</p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/e16_om.jpg"><img src="http://urukrama.files.wordpress.com/2010/01/e16_om.jpg?w=300&#038;h=225" alt="" title="e16_om" width="300" height="225" class="aligncenter size-medium wp-image-257" /></a></p>
<p>Enlightenment (E16), with the eGirl theme.</p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/spectrum01.jpg"><img src="http://urukrama.files.wordpress.com/2010/01/spectrum01.jpg?w=300&#038;h=225" alt="" title="spectrum01" width="300" height="225" class="aligncenter size-medium wp-image-258" /></a></p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/spectrum02.jpg"><img src="http://urukrama.files.wordpress.com/2010/01/spectrum02.jpg?w=300&#038;h=225" alt="" title="spectrum02" width="300" height="225" class="aligncenter size-medium wp-image-259" /></a></p>
<p>Openbox 3.4.7, with the Umbra Openbox and Gtk theme, and the Iris icon theme.</p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/adams01.jpg"><img src="http://urukrama.files.wordpress.com/2010/01/adams01.jpg?w=300&#038;h=225" alt="" title="adams01" width="300" height="225" class="aligncenter size-medium wp-image-253" /></a></p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/adams02.jpg"><img src="http://urukrama.files.wordpress.com/2010/01/adams02.jpg?w=300&#038;h=225" alt="" title="adams02" width="300" height="225" class="aligncenter size-medium wp-image-255" /></a></p>
<p>Openbox 3.4.7, with the Umbra Openbox and Gtk theme, Iris icons, and a photograph by <a href="http://www.anseladams.com/">Ansel Adams</a> as wallpaper.</p>
<h2>Grantha</h2>
<p><a href="http://urukrama.files.wordpress.com/2010/01/star_grantha01.jpg"><img src="http://urukrama.files.wordpress.com/2010/01/star_grantha01.jpg?w=300&#038;h=225" alt="" title="star_grantha01" width="300" height="225" class="aligncenter size-medium wp-image-262" /></a></p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/star_grantha02.jpg"><img src="http://urukrama.files.wordpress.com/2010/01/star_grantha02.jpg?w=300&#038;h=225" alt="" title="star_grantha02" width="300" height="225" class="aligncenter size-medium wp-image-263" /></a></p>
<p>Openbox 3.4.7, with the Salvage Openbox and Gtk theme and Eikon icons.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/urukrama.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/urukrama.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/urukrama.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/urukrama.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/urukrama.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/urukrama.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/urukrama.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/urukrama.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/urukrama.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/urukrama.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/urukrama.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/urukrama.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/urukrama.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/urukrama.wordpress.com/254/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=254&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://urukrama.wordpress.com/2010/05/20/2009-the-year-in-screenshots/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6ef3844c098679155cbce972030275b?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">urukrama</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/lighthouse_hue01.png?w=300" medium="image">
			<media:title type="html">Lighthouse_hue01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/lighthouse_ob01.png?w=300" medium="image">
			<media:title type="html">Lighthouse_OB01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/jambudvipa01.png?w=300" medium="image">
			<media:title type="html">Jambudvipa01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/verve011.png?w=300" medium="image">
			<media:title type="html">Verve01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/chairs01.jpg?w=300" medium="image">
			<media:title type="html">chairs01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/chairs02.jpg?w=300" medium="image">
			<media:title type="html">chairs02</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/awesome_refugee02.jpg?w=300" medium="image">
			<media:title type="html">awesome_refugee02</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/awesome_refugee01.png?w=300" medium="image">
			<media:title type="html">awesome_refugee01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/lands.png?w=300" medium="image">
			<media:title type="html">lands</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/musca_06_09.png?w=300" medium="image">
			<media:title type="html">musca_06_09</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/monk01.png?w=300" medium="image">
			<media:title type="html">monk01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/monk02.png?w=300" medium="image">
			<media:title type="html">monk02</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/umbra01.jpg?w=300" medium="image">
			<media:title type="html">umbra01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/windowlabpe01.jpg?w=300" medium="image">
			<media:title type="html">windowlabPE01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/e16_om.jpg?w=300" medium="image">
			<media:title type="html">e16_om</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/spectrum01.jpg?w=300" medium="image">
			<media:title type="html">spectrum01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/spectrum02.jpg?w=300" medium="image">
			<media:title type="html">spectrum02</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/adams01.jpg?w=300" medium="image">
			<media:title type="html">adams01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/adams02.jpg?w=300" medium="image">
			<media:title type="html">adams02</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/star_grantha01.jpg?w=300" medium="image">
			<media:title type="html">star_grantha01</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/star_grantha02.jpg?w=300" medium="image">
			<media:title type="html">star_grantha02</media:title>
		</media:content>
	</item>
		<item>
		<title>Watching Youtube videos in Elinks</title>
		<link>http://urukrama.wordpress.com/2010/01/02/watching-youtube-videos-in-elinks/</link>
		<comments>http://urukrama.wordpress.com/2010/01/02/watching-youtube-videos-in-elinks/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 23:49:15 +0000</pubDate>
		<dc:creator>urukrama</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[elinks]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://urukrama.wordpress.com/?p=249</guid>
		<description><![CDATA[Elinks is a great browser, but rather limited when it comes to websites that use more than just text. Youtube, or other websites that host flash videos, are fairly useless in Elinks, as you can&#8217;t access that what they are all about (and, let&#8217;s admit, no one really wants to read the comments on Youtube&#8230;) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=249&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Elinks is a great browser, but rather limited when it comes to websites that use more than just text. Youtube, or other websites that host flash videos, are fairly useless in Elinks, as you can&#8217;t access that what they are all about (and, let&#8217;s admit, no one really wants to read the comments on Youtube&#8230;)</p>
<p>It is, however, possible to use Elinks in combination with other applications to access and view the flash videos on Youtube and other such sites. I will describe two ways here, one using <a href="http://bitbucket.org/rg3/youtube-dl/wiki/Home">youtube-dl</a> (wholly following <a href="http://mmanu.info/blog/?p=3">finferlu&#8217;s explanations</a>) and the other <a href="http://packages.debian.org/squeeze/clive">clive</a> (or <a href="http://code.google.com/p/cclive/">cclive</a> if you prefer that). Both methods use mplayer to play the video, though you could adapt both to use any other media player that plays flash videos if you so prefer.</p>
<h2>Youtube-dl</h2>
<p>First download and install youtube-dl, which is available in the repositories of most distros. If you use Debian Testing, download <a href="http://packages.debian.org/sid/youtube-dl">the package from the sid repostories</a> and install that (<i>dpkg -i youtube-dl_2009.09.13-2_all.deb</i>), as for some reason it has not made its way to the Testing repos.</p>
<p>Once youtube-dl is installed, create the following script:</p>
<blockquote><p><code>#!/bin/bash</p>
<p>video_url=`youtube-dl -g $1`<br />
mplayer -vc ffflv -ac mp3 -cache 300 -prefer-ipv4 $video_url &gt; /dev/null 2&gt;&amp;1</code></p>
</blockquote>
<p>Save the script somewhere in one of your executable paths (I have it in /usr/local/bin as <i>utube</i>), and make it executable (<i>chmod +x <i>filename</i></i>).</p>
<p>Now start elinks, and go to the &#8220;Options manager&#8221; by pressing <i>o</i> or through the menu (press Escape) in Setup &gt; Options manager. Select the category &#8220;Document&#8221; and press <i>+</i> to show all the options. At the very end of the the list (just before the next section, ECMAScript) there is an subsection called &#8220;URI passing&#8221;. Navigate to that section and press <i>a</i> to add an entry, and give it an appropriate name (I called mine <i>youtube</i>). Select the newly created entry and press <i>e</i> to edit it. You should see the following window:</p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/elinks_add.png"><img src="http://urukrama.files.wordpress.com/2010/01/elinks_add.png?w=300&#038;h=231" alt="" title="elinks_add" width="300" height="231" class="aligncenter size-medium wp-image-243" /></a></p>
<p>Add the command <i>utube %c</i> (replace <i>utube</i> with whatever you called the above script)  into the &#8220;Value&#8221; field as in the above picture, press Enter, and press <i>v</i> to save the new settings.</p>
<p>Now you need to assign a keybinding to this script, so that you can tell Elinks to launch it when you want to view a Youtube video. Close the Options manager if you haven&#8217;t done so already (press <i>c</i>) and open the &#8220;Keybindings manager&#8221; (press <i>k</i> or go to &#8220;Setup &gt; Keybindings manager&#8221; in the menu). Open the first section called &#8220;Main mapping&#8221; with the <i>+</i> key.</p>
<p>You now have two options (or three if you decide to use both). You can assign a keybinding to tell Elinks to view the Youtube video of either the selected link, or of the current page. With the former, you don&#8217;t actually have to browse to the page of the Youtube video you want to view, but can just select the link to that page from your Youtube search results list. With the latter you&#8217;d have to be on the page that contains the video.</p>
<p>To assign a keybinding to play the video of the selected link, select the &#8220;Pass URI of current link to external command&#8221; and press <i>a</i> to add a keybinding, and enter the keybinding you want to use in the &#8220;Keystroke&#8221; field.</p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/elinks_add_keybinding.png"><img src="http://urukrama.files.wordpress.com/2010/01/elinks_add_keybinding.png?w=300&#038;h=231" alt="" title="elinks_add_keybinding" width="300" height="231" class="aligncenter size-medium wp-image-244" /></a></p>
<p>To play the video of the current page, select the &#8220;Pass URI of current tab to external command&#8221; and add your keybinding there. Inverting finferlu&#8217;s choice, I use &#8220;Alt-p&#8221; for the current link, and &#8220;Alt-o&#8221; for the current page or tab.</p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/elinks_keybinding.png"><img src="http://urukrama.files.wordpress.com/2010/01/elinks_keybinding.png?w=300&#038;h=231" alt="" title="elinks_keybinding" width="300" height="231" class="aligncenter size-medium wp-image-245" /></a></p>
<p>Once all the above is done, you&#8217;re all set to watch Youtube videos with Elinks and Mplayer.  Simply press &#8220;Alt-o&#8221; to view the video of the current page, or &#8220;Alt-p&#8221; to view the video that is linked to by the selected link, and Mplayer should stream the video nearly instantly.</p>
<h2>Clive</h2>
<p>Using youtube-dl to watch Youtube videos has a few disadvantages. First of all, it is limited to Youtube (though you could modify the above with <a href=" ">metacafe-dl</a> or <a href="http://packages.debian.org/search?keywords=nicovideo-dl">nicovideo-dl</a> to watch videos from metacafe.com and the to me entirely unknown nicoveo.jp). Secondly, though mplayer streams the videos very fast (much faster than the flash player in a graphical browser on my old computers!), it is hard to jump ahead with this method, as the mplayer first stutters and then freezes whenever I attempt that.</p>
<p>Using <a href="http://code.google.com/p/clive/">clive</a> instead of youtube-dl handles both of these better. According to the website, clive supports the following websites (most of which I had never heard of): Youtube, Google, Sevenload, Break, Liveleak, Evisor TV, Dailymotion, CCTV (not to be confused with &#8220;closed-circuit television&#8221;), Redtube,  Vimeo, Spiegel.de, Golem, ehrensenf.de, Clipfish, Funyhub, adn Myubo. Secondly, fast forwarding with clive works really well (as long as it has streamed that far ahead), and results in smoother playback. Clive does have some disadvantages. It will download the video file to your harddisk, and it takes a little longer before Mplayer starts playing the video.</p>
<p>The method to use clive instead is largely similar to that of youtube-dl. Open the Options manager in Elinks, go to the  &#8220;URI passing&#8221; subsection of the &#8220;Document&#8221; section and create a new entry: press <i>a</i> and name the new entry &#8220;clive&#8221;. Select the new entry, press <i>e</i> to edit it, and add the following command in the &#8220;Value&#8221; field:</p>
<blockquote><p><code>clive -q --save-dir=/tmp --stream-exec=\"mplayer -really-quiet %i\" --stream=10 %c</code></p></blockquote>
<p>If you would prefer to let clive stream more before mplayer starts to play, increase the value after the &#8220;&#8211;stream&#8221; option (in percentage). If you want to view the best quality of the video available add &#8220;&#8211;format=best&#8221; to the above command (before &#8220;%c&#8221;!). For more options, see <i>man clive</i>.</p>
<p>If you have used both the clive and youtube-dl methods (or if you have created some other URI passing options), you will be presented with a list of commands that appears at the position of your cursor when you press Alt-o or Alt-p. Select the one you prefer, and press enter. If you only have one &#8220;URI passing&#8221; command, that one will automatically load when you press your keybinding.</p>
<p>And so you can watch your favourite Youtube (or Google Video, or Vimeo, or &#8230;) clips without having to rely on Flash, or even X. Now <a href="http://kmandla.wordpress.com">K.Mandla</a> can finally watch his favourite slug races on the framebuffer! <img src='http://s2.wp.com/wp-includes/images/smilies/icon_twisted.gif' alt=':twisted:' class='wp-smiley' /> </p>
<p><a href="http://urukrama.files.wordpress.com/2010/01/elinks_snails.png"><img src="http://urukrama.files.wordpress.com/2010/01/elinks_snails.png?w=300&#038;h=225" alt="" title="elinks_snails" width="300" height="225" class="aligncenter size-medium wp-image-248" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/urukrama.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/urukrama.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/urukrama.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/urukrama.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/urukrama.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/urukrama.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/urukrama.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/urukrama.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/urukrama.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/urukrama.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/urukrama.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/urukrama.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/urukrama.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/urukrama.wordpress.com/249/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=urukrama.wordpress.com&amp;blog=1573851&amp;post=249&amp;subd=urukrama&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://urukrama.wordpress.com/2010/01/02/watching-youtube-videos-in-elinks/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6ef3844c098679155cbce972030275b?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">urukrama</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/elinks_add.png?w=300" medium="image">
			<media:title type="html">elinks_add</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/elinks_add_keybinding.png?w=300" medium="image">
			<media:title type="html">elinks_add_keybinding</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/elinks_keybinding.png?w=300" medium="image">
			<media:title type="html">elinks_keybinding</media:title>
		</media:content>

		<media:content url="http://urukrama.files.wordpress.com/2010/01/elinks_snails.png?w=300" medium="image">
			<media:title type="html">elinks_snails</media:title>
		</media:content>
	</item>
	</channel>
</rss>
