<?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>Meandering Life! &#187; gnome</title>
	<atom:link href="http://manku.thimma.org/tag/gnome/feed/" rel="self" type="application/rss+xml" />
	<link>http://manku.thimma.org</link>
	<description>Hither, Thither ...</description>
	<lastBuildDate>Sat, 21 Jan 2012 06:07:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Exercise in futility &#8230; err &#8230; zenity</title>
		<link>http://manku.thimma.org/2008/08/exercise-in-futility-err-zenity/</link>
		<comments>http://manku.thimma.org/2008/08/exercise-in-futility-err-zenity/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 07:06:30 +0000</pubDate>
		<dc:creator>shashi</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[zenity]]></category>

		<guid isPermaLink="false">http://manku.thimma.org/?p=51</guid>
		<description><![CDATA[The other day, while working with some shell scripts I thought I could add some better usability into the mix &#8211; and hence whip up some dialogs using zenity (gdialog&#8217;s new avatar). And while at it, I had an enjoyable &#8230; <a href="http://manku.thimma.org/2008/08/exercise-in-futility-err-zenity/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The other day, while working with some shell scripts I thought I could add some better usability into the mix &#8211; and hence whip up some dialogs using <noindex><a href="http://live.gnome.org/Zenity">zenity</a></noindex> (gdialog&#8217;s new avatar). And while at it, I had an enjoyable 20 minutes with good old unix concepts. Here:</p>
<p>I needed to figure out how to use zenity, the man pages didn&#8217;t tell much. So I went on a hunt for other scripts in the system that might use zenity; I was on Debian Etch system running the usual Gnome Desktop and quite a few applications from the Gnome bunch.</p>
<p><code><br />
shashi@anacoluthon:~$ for p in `echo $PATH|sed 's/:/ /g'`; do find $p -type f|xargs grep -il zenity; done<br />
/usr/bin/zenity<br />
/usr/bin/gdialog</code></p>
<p>Eh! Only two programs and that too zenity itself and a wrapper over zenity for backward compliance. It&#8217;s not much popular is it ? If it isn&#8217;t why don&#8217;t I remove it from my system ?</p>
<p><code>$ su -c 'apt-get remove zenity'</p>
<p>Password:<br />
Reading package lists... Done<br />
Building dependency tree... Done<br />
The following packages will be REMOVED:<br />
gnome-desktop-environment zenity</code></p>
<p>uh! oh!! gnome-desktop-environment!!!??? WTF ? So, what dependencies does this package have ?</p>
<p><code>shashi@anacoluthon:~$ apt-cache rdepends zenity<br />
zenity<br />
Reverse Depends:</p>
<p>|ssft<br />
gnuvd-gnome<br />
|peercast-handlers<br />
|eclipse-platform<br />
eclipse-platform<br />
eclipse<br />
gnomemeeting<br />
powersaved<br />
gdm</p>
<p>gnome-desktop-environment</code></p>
<p>heh! heh!! So much for a core dependency. Should it be such a core dependency in the first place ?? Anyway it has it&#8217;s own place in the software trove.</p>
<p>An interesting tidbit about zenity. This was the first program I translated to Kannada way back in 2002-2003. But it never made it to the repository.</p>
<p>BTW, another interesting program: <noindex><a href="http://freshmeat.net/projects/pyschoolclock/?branch_id=75175&amp;release_id=283309">PySchoolClock</a></noindex></p>
]]></content:encoded>
			<wfw:commentRss>http://manku.thimma.org/2008/08/exercise-in-futility-err-zenity/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

