<?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>Under Development :: Life in the Virtual World &#187; Ubuntu</title>
	<atom:link href="http://underdevelopment.maravillaclan.net/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://underdevelopment.maravillaclan.net</link>
	<description>Learning to do it a little better</description>
	<lastBuildDate>Wed, 09 Dec 2009 12:23:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Who are you? : Finding out WM_NAME in Linux</title>
		<link>http://underdevelopment.maravillaclan.net/2008/01/05/who-are-you-finding-out-wm_name-in-linux/</link>
		<comments>http://underdevelopment.maravillaclan.net/2008/01/05/who-are-you-finding-out-wm_name-in-linux/#comments</comments>
		<pubDate>Sat, 05 Jan 2008 14:22:47 +0000</pubDate>
		<dc:creator>Bong-Bong</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://underdevelopment.maravillaclan.net/?p=10</guid>
		<description><![CDATA[Problem:
I&#8217;ve been using Ubuntu in quite a while. I missed the windows tiling capability that is available in Windoze OS. This doesn&#8217;t come easy in Ubuntu. You would have to download a deb package from http://freshmeat.net/projects/wmtile/ or http://ostatic.com/wmtile and install tile into your system. It&#8217;s a command line tool that allows tilling of all unmaximized [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong></p>
<p>I&#8217;ve been using Ubuntu in quite a while. I missed the windows tiling capability that is available in Windoze OS. This doesn&#8217;t come easy in Ubuntu. You would have to download a deb package from <span style="text-decoration: line-through;"><a href="http://freshmeat.net/projects/wmtile/" target="_blank">http://freshmeat.net/projects/wmtile/</a></span> or <a href="http://ostatic.com/wmtile" target="_blank">http://ostatic.com/wmtile</a> and install tile into your system. It&#8217;s a command line tool that allows tilling of all unmaximized and unminimized X windows either vertically or horizontally. A simple command used in Ubuntu would be similar to this:</p>
<p>tile -w</p>
<p>Just create a launcher  somewhere that is easily accessible and you&#8217;re good to go.</p>
<p>Not quite yet! This doesn&#8217;t work well in Ubuntu with the default X window manager, Metacity, yet. It keeps on tilling all the wrong X windows. Even the panel is being tiled.</p>
<p>In Ubuntu tile stores its settings in two files found in /usr/share/tile/. The &#8220;rc&#8221; file would be the one important for our discussion. This file stores the X windows to be avoided by the tile program. To exclude certain X window, include codes similar to this:</p>
<p>avoid WM_NAME Bottom Panel<br />
avoid WM_NAME Desktop<br />
avoid WM_NAME gkrellm<br />
avoid WM_NAME gbuffy<br />
avoid WM_CLASS FrontPanel</p>
<p>However, I have no idea how to get this informations. I hated this as tile command messes up my desktop. It moves around my top panel and Avant Window Navigator which is a huge deal cause this renders the tile command useless.</p>
<p><strong>Solution:</strong> <span id="more-10"></span></p>
<p>After plunging into the net for about two days I finally got what I&#8217;ve been looking for, a way to get WM_NAME and/or WM_CLASS. Just run the following code into your terminal:</p>
<p>xprop | grep -E &#8220;^(WM_NAME)|(WM_WINDOW_ROLE)|(WM_CLASS)&#8221;</p>
<p>Your cursor would change into a cross hair. Click on any window/object on your screen and voila! You&#8217;ll be able to see WM_NAME and/or WM_CLASS on your terminal. I got the following for my top panel and Avant Window Navigator:</p>
<p>avoid WM_NAME Top Expanded Edge Panel<br />
avoid WM_NAME avant-window-navigator<br />
avoid WM_NAME awn_elements</p>
<p><strong>Screenshots:</strong></p>
<p><a title="TIle (Gnome, Metacity with Avant-Window-Navigator)" href="http://underdevelopment.maravillaclan.net/wp-content/uploads/2008/01/tilegnomemetacityavant-window-navigator.png"><img src="http://underdevelopment.maravillaclan.net/wp-content/uploads/2008/01/tilegnomemetacityavant-window-navigator.thumbnail.png" alt="TIle (Gnome, Metacity with Avant-Window-Navigator)" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://underdevelopment.maravillaclan.net/2008/01/05/who-are-you-finding-out-wm_name-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
