<?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:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>…for the adult in you &#187; Letters</title>
	<atom:link href="http://blogs.gnome.org/metacity/category/letters/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/metacity</link>
	<description>"Many window managers are like Marshmallow Froot Loops; Metacity is like Cheerios."</description>
	<lastBuildDate>Wed, 04 Nov 2009 10:59:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>		<item>
		<title>Future directions of Cowbell</title>
		<link>http://blogs.gnome.org/metacity/2009/11/04/future-directions-of-cowbell/</link>
		<comments>http://blogs.gnome.org/metacity/2009/11/04/future-directions-of-cowbell/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 10:50:16 +0000</pubDate>
		<dc:creator>Thomas Thurman</dc:creator>
				<category><![CDATA[CSS themes]]></category>
		<category><![CDATA[Letters]]></category>
		<category><![CDATA[Metacity Labs]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/metacity/?p=654</guid>
		<description><![CDATA[Future directions. Here&#8217;s where Cowbell is going next:

 The existing functionality is going to be moved into a library called libcowbell.  Very little will be changed at this point from what we already have.  (But there will be some extra tests.)
A release of the metacity-cowbell branch will be made that can use libcowbell.
A release of [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Traffic signs by Honza Soukup, on Flickr" href="http://www.flickr.com/photos/honzasoukup/2493109170/"><img src="http://farm4.static.flickr.com/3022/2493109170_b7d0c9553f.jpg" alt="Traffic signs" width="500" height="332" align="right" /></a><strong>Future directions. </strong>Here&#8217;s where Cowbell is going next:</p>
<ol>
<li> The existing functionality is going to be moved into a library called libcowbell.  Very little will be changed at this point from what we already have.  (But there will be some extra tests.)</li>
<li>A release of the metacity-cowbell branch will be made that can use libcowbell.</li>
<li>A release of real Metacity will be made that can use either libcowbell or conventional themes.</li>
<li>Development of libcowbell can continue.  (I expect pseudoclasses to be among the first things added.)</li>
</ol>
<p><strong>More more cowbell. </strong>Iain has pointed out <a href="http://more-cowbell.org/index.php/Main_Page">an existing GNOME-based project called cowbell</a>.  I hope the fact that <em>this</em> project will be <em>lib</em>cowbell will be enough to avoid confusion.</p>
<p><strong>Feedback on feedback. </strong>Screwtape has reviewed <a href="http://people.collabora.co.uk/~tthurman/cowbell/doc/">the existing cowbell documentation</a> in a web page <a href="http://zork.net/~st/cowbell-themes.txt">here</a>.  Here is my feedback on the feedback:</p>
<ul>
<li><strong>§3:</strong> I did start out by showing the structure as pseudo-XML, but <a href="http://blogs.gnome.org/metacity/2009/07/18/more-css-thoughts/#comment-1062">people commented as if</a> the window borders were the result of rendering that XML (as if it were <a href="https://developer.mozilla.org/En/XUL">XUL</a>, or something similar), so I think it may be misleading.</li>
<li><strong>§3:</strong> I dithered over using the ID or a class for this sort of thing for quite a while.  In the end I went with a class because we use classes for buttons (since they may repeat) and it seemed as well to use the same design for areas, and because you may have more than one content area visible at once, even if they <em>are</em> on separate windows.  But I may have been wrong, and I invite opposing opinions.</li>
<li><strong>§</strong><strong>3: <em>buttongroup:</em></strong> I really like this idea.  But AFAIK libccss doesn&#8217;t yet support last-child etc (see next&#8230;)</li>
<li><strong>§</strong><strong>3.1<em>:</em></strong> I want our CSS support to be up to level 3 wherever possible.  However, we are constrained partly by what libccss is currently capable of.  Of course we can patch libccss too!  <a href="http://www.w3.org/TR/css3-background/"><em>Backgrounds and Borders</em></a> is largely supported by libccss, though.</li>
<li><strong>§</strong><strong>3.2:<em></em></strong> Unpainted areas are transparent (though if the frame is opaque, you&#8217;ll just see the frame through them).</li>
<li><strong>§</strong><strong>3.3<em></em></strong><strong>:</strong> font-size is important; what should the interaction be between the font size set in Metacity gconf and the font size in the theme?  Just use the theme font size for scaling as in v2?</li>
<li><strong>§</strong><strong>3.3<em></em></strong><strong>:</strong> button heights: I think I didn&#8217;t explain myself properly here.  You can (should) set <em>height</em> and <em>width</em> on buttons.  But these only serve to establish an aspect ratio.  The height is always calculated from the titlebar height at present.  Perhaps this is overly confusing.</li>
<li><strong>§</strong><strong>3.</strong><strong>5:</strong> <em>:focus</em> pseudoclass: perhaps this should be set on <em>all</em> elements in a focused window.  Or perhaps just the frame and we can use the descendant selector.</li>
<li><strong>§</strong><strong>3.5</strong><strong>:</strong> <em>:disabled</em> &#8212; hadn&#8217;t thought of this, good idea.  <a href="http://en.wikipedia.org/wiki/There%27s_more_than_one_way_to_do_it">TMTOWTDI</a>.</li>
<li><strong>§</strong><strong>3.5</strong><strong>:</strong> I&#8217;m not sure libccss supports <em>:not() </em>(but maybe it does!)  If so, yes, we should use it.  It&#8217;s far better to work the way people expect us to work.</li>
<li><strong>§</strong><strong>3.7</strong><strong>:</strong> I hope we support SVG too.  It would be extra nice if it could be styled with the same CSS somehow.</li>
<li><strong>§</strong><strong>3.8</strong><strong>:</strong> I really want mm and em as well as px.  I&#8217;m not certain libccss knows how to do this, but I will check.</li>
<li><strong>§</strong><strong>4</strong><strong>:</strong> Nobody&#8217;s really tried to put Dublin Core data in CSS before, and I&#8217;m probably not doing it the best way.  I worry that including a required custom XML file will be slipping back into using custom formats, though.  Maybe we should use an @rule.  Or specially-formatted comments.  Or maybe we should give up on the whole required metadata idea.</li>
<li><strong>§</strong><strong>4</strong><strong>:</strong> I like the idea of specifying alternative stylesheets, though metadata in the stylesheets themselves could also do this.</li>
<li><strong>§</strong><strong>6.1</strong><strong>:</strong> yes, we really need a default stylesheet.  I&#8217;m not sure what should go into it.  I will think about this and include it in the first libcowbell release.</li>
<li><strong>§</strong><strong>6.2</strong><strong>:</strong> okay, we&#8217;ll avoid data: URLs.</li>
<li><strong>§</strong><strong>6.2</strong><strong>:</strong> let&#8217;s implement <a href="http://people.collabora.co.uk/~tthurman/cowbell/doc/x341.html#single">the single file doctrine</a> by allowing any file in <em>~/.themes/ThemeName/cowbell/ThemeName.tar</em> to be treated as if it was in <em>~/.themes/ThemeName/cowbell/</em>.  I think we can get that in the first libcowbell release too.</li>
<li><strong>§</strong><strong>6.5</strong><strong>:</strong> I really like <a href="http://getfirebug.com/">Firebug</a>.  Are you thinking we could use Firebug itself, or just copy its UI?</li>
<li><strong>§</strong><strong>6.11</strong><strong>:</strong> Maybe we could also modify hue/saturation/value directly in the URL thus: <em>url(&#8217;file:fred.png?hue=#f00&#8242;)</em>?</li>
<li><strong>§</strong><strong>6.13<em></em></strong><strong>:</strong> I was thinking of themes which, say, repeat a pattern an integral number of times on the otherwise empty part of the titlebar, scaled to fit; this wouldn&#8217;t be possible using border-images, but would work fine with <em>filler</em>.  On the other hand, perhaps this is overkill.</li>
</ul>
<p>Feedback from everyone reading this, on the above and on the original document, is very welcome.</p>
<p>Maybe we need to take over a little piece of live.gnome.org to hash all this out.  Or maybe we need a mailing list.  I&#8217;ll wikify all this tonight and then post about it here.</p>
<p><a href="http://www.flickr.com/photos/honzasoukup/2493109170/"><em>Photo © Honza Soukup, cc-by.</em></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/metacity/2009/11/04/future-directions-of-cowbell/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Apologia for CSS</title>
		<link>http://blogs.gnome.org/metacity/2009/07/20/apologia/</link>
		<comments>http://blogs.gnome.org/metacity/2009/07/20/apologia/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 19:05:07 +0000</pubDate>
		<dc:creator>Thomas Thurman</dc:creator>
				<category><![CDATA[CSS themes]]></category>
		<category><![CDATA[Letters]]></category>
		<category><![CDATA[Metacity Labs]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/metacity/?p=633</guid>
		<description><![CDATA[This blog is not about to become devoted to the single topic of experimental CSS theming, but some interesting points were raised in the discussion yesterday, which spilled over to Slashdot.  We should have emphasised the experimental nature of the CSS subsystem in its name: perhaps &#8220;CSS On Window Borders Experimental Layout Language&#8221;.
Why? Some people [...]]]></description>
			<content:encoded><![CDATA[<p><a title="2000 two pence by johninbkk, on Flickr" href="http://www.flickr.com/photos/jinbkk/2540460406/"><img src="http://farm4.static.flickr.com/3194/2540460406_71cbd17b9b.jpg" alt="2000 two pence" width="500" height="332" align="right" /></a>This blog is not about to become devoted to the single topic of <a href="http://blogs.gnome.org/metacity/category/themes/themes-v3/css-themes/">experimental CSS theming</a>, but some interesting points were raised in the discussion yesterday, which <a href="http://slashdot.org/comments.pl?sid=1307903">spilled over to Slashdot</a>.  We should have emphasised the experimental nature of the CSS subsystem in its name: perhaps &#8220;<span style="text-decoration: underline;"><strong>C</strong></span>SS <span style="text-decoration: underline;"><strong>O</strong></span>n <span style="text-decoration: underline;"><strong>W</strong></span>indow <span style="text-decoration: underline;"><strong>B</strong></span>orders <span style="text-decoration: underline;"><strong>E</strong></span>xperimental <span style="text-decoration: underline;"><strong>L</strong></span>ayout <span style="text-decoration: underline;"><strong>L</strong></span>anguage&#8221;.</p>
<p><strong>Why?</strong> Some people have asked why anyone should be interested in CSS theming, given the existence of a stable and mature theme description format.  The answer is that there are perhaps a couple of hundred people in the world who understand the Metacity theme format, and its complexity presents a significant barrier to entry for anyone else attempting to learn it.  By contrast, millions upon millions of people have a basic understanding of CSS.</p>
<p><strong>Efficiency.</strong> Some have pointed out that using CSS may cause great increase in memory footprint or execution time.  Both of these are of primary importance to us.  Furthermore, we know just <a href="http://blogs.gnome.org/metacity/2008/12/29/theme-speed/">how fast every theme renders</a> using the standard engine.  We are not prepared to introduce a new theme engine unless it is at least as efficient as the old one.</p>
<p><strong>Mismatch.</strong> Some complain that <a href="http://blogs.gnome.org/metacity/2009/07/18/more-css-thoughts/">the lists we gave</a> of things we would need to ignore and things which would need to be added proved that there was a mismatch between CSS and what was needed.  This is based on a misunderstanding of CSS as a language to style HTML.  In fact CSS is a general-purpose styling language, and there are only a few places where it does not quite meet our needs.  Even in those places the design is flexible enough to accommodate us.</p>
<p><strong>The balance of power. </strong><a href="http://blogs.gnome.org/metacity/2009/07/18/more-css-thoughts/#comment-1067">Ray asked whether</a> the structure of the window should be under theme control, as well as the styling. Some ask how we decide what is under the control of the CSS.  We always need to find a balance between giving power to themes and giving power to users.  Some things should be under theme control and some under user control, but it&#8217;s not trivial to decide which.  Here are some examples:</p>
<ul>
<li><em>Justification of the text on the titlebar</em>.  Currently this is entirely under theme control; the user can&#8217;t change it.  <a href="http://blogs.gnome.org/metacity/2008/05/31/justifying-window-titles/">Some people would like this to change.</a></li>
<li><em>The arrangement of buttons on the titlebar</em>: which are on the left, which are on the right, and which aren&#8217;t shown at all.  This is currently entirely under user control; the theme can&#8217;t change it.  (This means that <a href="http://www.gnome-look.org/content/show.php/OSX-Tiger+theme?content=56577">themes which attempt to look like OS X</a> have to ask you to reorder your buttons so that close is on the left, since they can&#8217;t do it themselves.)</li>
<li><em>The font on the titlebar.</em> Currently this is entirely under user control; the theme can&#8217;t change it.  This among other things is something we&#8217;d need to reexamine with a CSS theming engine.</li>
</ul>
<p>(&#8221;Under user control&#8221; means set in GConf and, generally, modifiable in the control panel.  Some of these options cannot be set in the control panel at present, but that&#8217;s a separate problem.)</p>
<p>It <em>may be</em> true that windows should have a more flexible structure, and the ability to have the titlebar elsewhere is certainly <a href="http://blogs.gnome.org/metacity/2008/12/28/the-letters-page/#comment-658">something that&#8217;s been asked for</a> from time to time.  But assuming we should add such abilities, should the decision to use them be made by the theme, or should it be something selectable by the user in the control panel?  These are deep questions.</p>
<p><strong>Co-operation with GTK CSS theming.</strong> Yes: a good idea.  Whatever they&#8217;re doing, we should probably try to share in it.</p>
<p><strong>Complexity.</strong> Some have said that CSS is a complex system, and that anything implementing it will therefore also be complex and difficult to implement.  This is an unwarranted assumption.  Take a look at the <a href="http://www.w3.org/TR/CSS2/">table of contents of the CSS specification</a> and see how little of it actually applies to a fully-functional system for description of window borders:</p>
<ul class="toc">
<li class="tocline1"><em><span class="tocxref">Syntax and basic data types; Selectors</span></em>; <em><span class="tocxref">Assigning property values, Cascading, and Inheritance</span></em>; <em><span class="tocxref">Media types</span></em>:  all handled for us already by <a href="http://www.freespiders.org/projects/libcroco/">libcroco</a>.</li>
<li class="tocline1"><em><span class="tocxref">Box model</span></em>: we would need to implement this.  Not terribly complex because we have a simple and unchangeable layout model.</li>
<li class="tocline1"><em><span class="tocxref">Visual formatting model</span>; <span class="tocxref">Visual effects</span></em>: these are complex, and we can ignore them entirely, since our layout needs are simple and unchangeable.</li>
<li class="tocline1"><em><span class="tocxref">Generated <span class="index-def" title="generated content">content</span>, automatic <span class="index-def" title="automatic numbering">numbering</span>, and lists</span></em>: we would need to implement basic generated content (the easy part); we have no content to be numbered, and no lists.</li>
<li class="tocline1"><em><span class="tocxref">Paged media</span></em>: does not apply to us.</li>
<li class="tocline1"><em><span class="tocxref">Colors and Backgrounds</span></em>: the most complex part which we would need to implement.</li>
<li class="tocline1"><em><span class="tocxref">Fonts; Text</span></em>: partially applies to us (since some of it isn&#8217;t theme-controlled); mostly involves passing things into Pango.</li>
<li class="tocline1"><em><span class="tocxref">Tables</span></em>: doesn&#8217;t apply to us; we have no tables.</li>
<li class="tocline1"><em><span class="tocxref">User interface</span></em>: this is about setting cursors and things, and doesn&#8217;t apply to us.</li>
</ul>
<p><strong>Finally</strong>, we should probably reiterate that:</p>
<ul>
<li>this is still an experiment, and not an official direction which Metacity is taking;</li>
<li>even if it ever happens, there&#8217;s certainly no decision to use WebKit.</li>
</ul>
<p><em>Photo © johninbkk, cc-by.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/metacity/2009/07/20/apologia/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Window matching experiment</title>
		<link>http://blogs.gnome.org/metacity/2009/07/10/matches/</link>
		<comments>http://blogs.gnome.org/metacity/2009/07/10/matches/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 14:04:52 +0000</pubDate>
		<dc:creator>Thomas Thurman</dc:creator>
				<category><![CDATA[Bugs and issues]]></category>
		<category><![CDATA[Letters]]></category>
		<category><![CDATA[Metacity Labs]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/metacity/?p=592</guid>
		<description><![CDATA[At the Collabora party, Robert Ancell asked me how difficult it would be to implement window matching in Metacity.  I decided this was an interesting question and spent an hour and a half today working on it.  The results are now in the matching branch in GNOME git.  If you&#8217;d like to [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Saint Patrick's Day Matches by Bob.Fornal, on Flickr" href="http://www.flickr.com/photos/fornal/424716302/"><img src="http://farm1.static.flickr.com/184/424716302_9482c6ae63.jpg" alt="Saint Patrick's Day Matches" width="500" height="375" align="right" /></a>At the <a href="http://www.collabora.co.uk">Collabora</a> <a href="http://www.flickr.com/photos/sebr/3704021948/">party</a>, <a href="http://bobthegnome.blogspot.com/">Robert Ancell</a> asked me how difficult it would be to implement <a href="http://blogs.gnome.org/metacity/2008/11/02/window-matching/">window matching</a> in Metacity.  I decided this was an interesting question and spent an hour and a half today working on it.  The results are now in the <a href="http://git.gnome.org/cgit/metacity/log/?h=matching"><em>matching</em></a> branch in GNOME git.  If you&#8217;d like to download it and give it a try, please feel free.</p>
<p>It currently saves configuration data in a <a href="http://library.gnome.org/devel/glib/stable/glib-Key-value-file-parser.html">keyfile</a> which contains one group per window, in this format:</p>
<blockquote><p><tt>[xlogo]<br />
x=287<br />
y=178<br />
w=250<br />
h=231</tt></p></blockquote>
<p>This isn&#8217;t necessarily how it will end up: we could use GConf or perhaps some database-like format.  It uses a modified version of the system <a href="http://blogs.gnome.org/metacity/2008/11/02/window-matching/#comment-576">suggested</a> by <a href="http://izumi.plan99.net/blog">Hongli Lai</a>: if WM_WINDOW_ROLE is set, we use that to recognise the window, <em>otherwise</em> we use the window title&#8211; otherwise programs like <tt>xclock</tt> wouldn&#8217;t be matchable.  The role or title is currently represented by the group name in the keyfile.  The keyfile is saved at <tt>~/.cache/metacity/matching.conf</tt>.</p>
<p>The system stores the position and size of every window at the moment it was closed.  There is no need to edit configuration files by hand.</p>
<p>There are inevitably some caveats:</p>
<ul>
<li>There is a bug such that when windows are restored they are offset by the size of the top-left hand corner of the frame.  (In other words, the coordinates are misinterpreted as the client window&#8217;s position, not the frame&#8217;s.)</li>
<li>I haven&#8217;t tested this for scalability at all.  Keyfiles might be very inefficient when you have hundreds of records for all I know.</li>
<li>It doesn&#8217;t know about workspaces, and it should; this will probably be the next thing I add.</li>
<li>If your window was minimised or maximised, this will not be restored, and it should be.  This will probably be the next thing after that.</li>
<li>It might not be the best idea to write out the keyfile on every window close.  Probably better to keep it in memory until the WM exits.</li>
<li>It might be useful to have a switch on the window menu to lock the position and size so it restores the same way when you reload it, in case you move it.  On the other hand, this sounds like crack.</li>
</ul>
<p>Should this branch be merged when the bugs are ironed out?  <a href="http://blogs.gnome.org/metacity/2009/02/20/zenity-sessions-and-window-matching/">Should it replace WM-based session files?</a> These are good and interesting questions and ones we should discuss.  Tune in next time, gentle reader!  Or better, comment below.</p>
<p><em>Photo © Bob Fornal, cc-by-nc-sa.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/metacity/2009/07/10/matches/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Notes from Gran Canaria</title>
		<link>http://blogs.gnome.org/metacity/2009/07/09/notes-from-gran-canaria/</link>
		<comments>http://blogs.gnome.org/metacity/2009/07/09/notes-from-gran-canaria/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 15:16:43 +0000</pubDate>
		<dc:creator>Thomas Thurman</dc:creator>
				<category><![CDATA[Letters]]></category>
		<category><![CDATA[Mutter]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/metacity/?p=588</guid>
		<description><![CDATA[
Lots of happy buzz about window managers here at the desktop summit.  Some things people have said:

Someone asked about implementing window matching.  It&#8217;s always been our policy that it should be done with an external tool, but policies can of course be rethought.  We might implement it in a branch and see whether anyone likes [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Gran Canaria Desktop Summit by jcorrius, on Flickr" href="http://www.flickr.com/photos/jcorrius/3692657310/"><img src="http://farm3.static.flickr.com/2542/3692657310_fded9bfc62.jpg" alt="Gran Canaria Desktop Summit" width="500" height="333" align="right" /></a></p>
<p>Lots of happy buzz about window managers here at <a href="http://grancanariadesktopsummit.org">the desktop summit</a>.  Some things people have said:</p>
<ul>
<li>Someone asked about implementing <a href="http://blogs.gnome.org/metacity/2008/11/02/window-matching/">window matching</a>.  It&#8217;s always been our policy that it should be done with <a href="http://burtonini.com/blog/computers/devilspie">an external tool</a>, but policies can of course be rethought.  We might implement it in a branch and see whether anyone likes it.</li>
<li>People are very excited about Mutter.</li>
<li>Some concern was expressed by distros about whether enough machines will be capable of running gnome-shell: not just rather old machines but new ones which don&#8217;t have drivers yet.  Some interest in a version that uses software rendering.</li>
<li>Owen Taylor&#8217;s work on the git migration and on gnome-shell <a href="http://twitter.com/Gnome/statuses/2550044813">got a standing ovation</a> at the AGM.</li>
<li>Several patches got reviewed and committed at last in hack sessions.</li>
<li>Some discussion of <a href="http://blogs.gnome.org/metacity/2009/07/06/libccss/">the use of CSS in theming</a>.</li>
<li>Someone raised the idea of a generalised EWMH testing suite that can be used with Metacity or Mutter.  This sounds like a sterling idea.</li>
</ul>
<p>In addition,</p>
<ul>
<li>the <a href="http://git.gnome.org/cgit/metacity/log/?h=rpnparser">rpnparser</a> branch (which is a simpler and faster theme expression parser) is still viable, but since the theme format for Mutter isn&#8217;t decided, it doesn&#8217;t really make sense to merge it.  But perhaps it still belongs in Metacity 2.  What are your thoughts, gentle reader?</li>
<li>the <a href="http://blogs.gnome.org/metacity/category/bugs-and-issues/bug-of-the-day/">squib of the day</a> section in the blog only deals with enhancements, and since enhancements in Metacity are less likely and moving things to Mutter is more likely, this section may be on hiatus for a bit.</li>
</ul>
<p><em>Photo © jcorrius, cc-by.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/metacity/2009/07/09/notes-from-gran-canaria/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>meta_warning() and dialogue boxes</title>
		<link>http://blogs.gnome.org/metacity/2009/02/28/meta_warning-and-dialogue-boxes/</link>
		<comments>http://blogs.gnome.org/metacity/2009/02/28/meta_warning-and-dialogue-boxes/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 19:16:58 +0000</pubDate>
		<dc:creator>Thomas Thurman</dc:creator>
				<category><![CDATA[Letters]]></category>
		<category><![CDATA[Thought experiments]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/metacity/?p=404</guid>
		<description><![CDATA[I didn&#8217;t expect to get useful suggestions from the Linux Haters&#8217; blogs, but here&#8217;s something that might fly: they point out that warnings from the window manager end up in .xsession-errors where nobody ever sees them. But now that we&#8217;re using Zenity for dialogues throughout, there&#8217;s no reason why we can&#8217;t adapt meta_warning() to put up [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.gnome.org/~tthurman/pics/metacity/meta-warning.png" alt="meta_warning example" align="right" />I didn&#8217;t expect to get useful suggestions from the <a href="http://linux-haters-redux.blogspot.com/2009/02/errors-what-errors.html">Linux Haters&#8217; blogs</a>, but here&#8217;s something that might fly: they point out that warnings from the window manager end up in <tt>.xsession-errors</tt> where nobody ever sees them. But now that <a href="http://blogs.gnome.org/metacity/2008/03/31/zenity/">we&#8217;re using Zenity for dialogues throughout</a>, there&#8217;s no reason why we can&#8217;t adapt <code>meta_warning()</code> to put up a dialogue every time a warning is issued, which might alert users to useful things, such as why they can&#8217;t bind the keystroke they want.  Having a way to turn this off might also be helpful.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/metacity/2009/02/28/meta_warning-and-dialogue-boxes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The answers page</title>
		<link>http://blogs.gnome.org/metacity/2009/01/12/the-answers-page/</link>
		<comments>http://blogs.gnome.org/metacity/2009/01/12/the-answers-page/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 03:46:48 +0000</pubDate>
		<dc:creator>Thomas Thurman</dc:creator>
				<category><![CDATA[Letters]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/metacity/?p=251</guid>
		<description><![CDATA[Feel free to ask more questions, but here are answers to the ones you asked already:

How would you make a Prelude theme? Answered here and now floating around the net.
Will the compositor ever be enabled by default? I&#8217;d like it to be.  There are apparently people it still doesn&#8217;t work for well, though.  Perhaps as [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/nickpix2008/3037372271/" title="Kissing Gate by nickpix2009, on Flickr"><img align="right" src="http://farm4.static.flickr.com/3280/3037372271_e992d7763e.jpg" width="354" height="500" alt="Kissing Gate" /></a><a href="http://blogs.gnome.org/metacity/2008/12/28/the-letters-page/#comments">Feel free to ask more questions</a>, but here are answers to the ones you asked already:</p>
<ul>
<li><strong>How would you make a Prelude theme?</strong> Answered <a href="http://blogs.gnome.org/metacity/2008/12/29/a-simple-theme-prelude/">here</a> and now <a href="http://www.gnome-look.org/content/show.php?content=96232">floating around the net</a>.</li>
<li><strong>Will the compositor ever be enabled by default?</strong> I&#8217;d like it to be.  There are apparently people it still doesn&#8217;t work for well, though.  Perhaps as newer hardware becomes more common this will become less likely.</li>
<li><strong>Will there be new features in the compositor?</strong> Possibly.  It seems to be working fine now, and I don&#8217;t want Metacity turning into a knock-off of Compiz.  But I can imagine some kind of plugin-based thing happening in a wild handwavy future, and in the meantime plenty of people are asking whether the shadows can become adjustable.</li>
<li><strong>What is Metacity&#8217;s role in GNOME Shell?</strong> GNOME Shell uses a fork of Metacity called Mutter (i.e. Metacity with Clutter).  Whether this will become the main Metacity in future, or whether the two will be developed in parallel, or whether it&#8217;ll be merged back upstream and have some way of controlling which control path is taken, is not yet decided.  I need to talk to the Mutter people more, anyway.</li>
<li><strong>How about window matching?</strong> Raise your voice about option 2 of <a href="http://blogs.gnome.org/metacity/2009/01/12/half-finished-code-finishing-marathon-time/">this list</a>.</li>
<li><strong>Can Metacity move the title bar from the tops of windows to the sides?</strong> Not in versions 1 or 2 of the theme format.  Maybe in version 3 this will be possible, if there was any use for it: it&#8217;d be a fairly simple change to the existing system.</li>
<li><strong>Why not merge Metacity and KWin and have one über-window-manager?</strong> Because choice is good.  That&#8217;s why we have EWMH, so you can run KWin with GNOME or Metacity with KDE if you really want.  Trying to reduce choice in window managers, or desktop environments, or whatever, really ends up with the choice of <em>The Non-Free Market Leaders</em> versus <em>Everyone Else</em>, which really isn&#8217;t much of a choice.  (But we do talk to Luboš and the other WM maintainers, and they&#8217;re all fine people, and we&#8217;re not attempting to sabotage one another&#8217;s work.  We&#8217;re even holding the conferences in the same place this year, you know&#8230;)</li>
</ul>
<p>Photo &copy; Nick Ford, cc-by-nc-nd.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/metacity/2009/01/12/the-answers-page/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The letters page</title>
		<link>http://blogs.gnome.org/metacity/2008/12/28/the-letters-page/</link>
		<comments>http://blogs.gnome.org/metacity/2008/12/28/the-letters-page/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 23:45:52 +0000</pubDate>
		<dc:creator>Thomas Thurman</dc:creator>
				<category><![CDATA[Letters]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/metacity/?p=240</guid>
		<description><![CDATA[Open thread: ask us a question, get an answer.
]]></description>
			<content:encoded><![CDATA[<p>Open thread: ask us a question, get an answer.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/metacity/2008/12/28/the-letters-page/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Dragging the window icon</title>
		<link>http://blogs.gnome.org/metacity/2008/12/11/dragging-the-window-icon/</link>
		<comments>http://blogs.gnome.org/metacity/2008/12/11/dragging-the-window-icon/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 15:26:21 +0000</pubDate>
		<dc:creator>Thomas Thurman</dc:creator>
				<category><![CDATA[Letters]]></category>
		<category><![CDATA[nargery]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/metacity/?p=201</guid>
		<description><![CDATA[Listen to this.
A user writes:
At the moment i&#8217;m trying to make a theme for metacity but I have no idea how I can make the document icon drag-able and to interact with the desktop environment i.e. drag to the desktop to save or to the trash to delete.
Firstly, let me thank you for being willing [...]]]></description>
			<content:encoded><![CDATA[<p align="right"><a href="http://marnanel.org/metacity/metacity-08-12-11a.mp3">Listen to this.</a></p>
<p>A user <a href="http://www.linuxquestions.org/questions/linux-desktop-74/how-can-i-make-the-document-icon-of-a-metacity-window-drag-able-689477/?posted=1#post3371717">writes</a>:</p>
<blockquote><p>At the moment i&#8217;m trying to make a theme for metacity but I have no idea how I can make the document icon drag-able and to interact with the desktop environment i.e. drag to the desktop to save or to the trash to delete.</p></blockquote>
<p>Firstly, let me thank you for being willing to work on developing the desktop.</p>
<p>To begin with, this idea was based on <a href="http://tango.freedesktop.org/Window_Experiments">&#8220;Window Experiments&#8221;</a>.  desrt developed this idea into a program called <a href="http://blogs.gnome.org/desrt/2008/08/11/icanhasedit/">icanhasedit</a> back in August, which worked by <a href="http://mail.gnome.org/archives/gtk-devel-list/2008-October/msg00130.html">taking over the responsibility of drawing window decorations from the window manager</a>.  That&#8217;s certainly one way of going about solving the problem, but it brings a whole raft of <a href="http://mail.gnome.org/archives/gtk-devel-list/2008-October/msg00131.html">problems of its own</a>.  So let&#8217;s assume we want to keep the decorator in the window manager here.</p>
<p>Secondly, there is nothing in Metacity corresponding to &#8220;the document icon&#8221; as such.  It happens that most themes draw the icon of the current window on the menu button&#8211; the button which shows the window menu when you click it.  Some themes do it other ways, though: for example, <em>Atlanta</em> draws the icon on the titlebar next to the window&#8217;s name.  But let&#8217;s assume what we want is for the menu button to be draggable.</p>
<p>So you need to <a href="http://library.gnome.org/devel/gtk/stable/gtk-Drag-and-Drop.html">implement drag-and-drop</a> from the widget representing that button.  Once that&#8217;s done, you need to have a way to tell what should actually <em>happen</em> when the button is dragged somewhere.  The trouble is that Metacity doesn&#8217;t know much about what&#8217;s actually in the window: it knows the name and the icon and a few other things, but the actual content is the business of the application.  So you need to invent <a href="http://blogs.gnome.org/metacity/2009/03/16/ewmh/">a way for the WM to tell</a> the application that a drag is happening, and for the application to tell the WM what the data being dragged is, and what its type is.  Then you need to argue it out on <a href="http://mail.gnome.org/mailman/listinfo/wm-spec-list">wm-spec-list</a> and then you need to get applications actually to implement it so it&#8217;s useful.</p>
<p>So: this is possible, but it&#8217;s complicated and probably not an ideal first project.  If you want to try solving it, please go ahead and I&#8217;ll give you what help I can.  If you&#8217;d rather <a href="http://live.gnome.org/GnomeLove">do something easier first and ramp up</a> to this, I can help you with that too.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/metacity/2008/12/11/dragging-the-window-icon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://marnanel.org/metacity/metacity-08-12-11a.mp3" length="1989632" type="audio/mpeg" />
		</item>
		<item>
		<title>metacity-devel-list</title>
		<link>http://blogs.gnome.org/metacity/2008/12/05/metacity-devel-list/</link>
		<comments>http://blogs.gnome.org/metacity/2008/12/05/metacity-devel-list/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 02:57:27 +0000</pubDate>
		<dc:creator>Thomas Thurman</dc:creator>
				<category><![CDATA[Letters]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/metacity/?p=199</guid>
		<description><![CDATA[Apologies to subscribers of metacity-devel-list who have just had a dozen messages come through at once, and also to the authors of those messages for the time they spent in the queue.  I didn&#8217;t have the password to administer the list; I do now.  Now to actually answer them.
]]></description>
			<content:encoded><![CDATA[<p>Apologies to subscribers of <a href="http://mail.gnome.org/mailman/listinfo/metacity-devel-list">metacity-devel-list</a> who have just had a dozen messages come through at once, and also to the authors of those messages for the time they spent in the queue.  I didn&#8217;t have the password to administer the list; I do now.  Now to actually answer them.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/metacity/2008/12/05/metacity-devel-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Who&#8217;s out there?</title>
		<link>http://blogs.gnome.org/metacity/2008/10/17/whos-out-there/</link>
		<comments>http://blogs.gnome.org/metacity/2008/10/17/whos-out-there/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 02:17:03 +0000</pubDate>
		<dc:creator>Thomas Thurman</dc:creator>
				<category><![CDATA[Letters]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/metacity/?p=130</guid>
		<description><![CDATA[Who&#8217;s reading this?  Comment if you like and say hello.  Feel free to ask any questions you&#8217;d like us to answer at the same time.
Do you think everyone who might possibly want to know about day-to-day Metacity life is reading the Metacity blog?  If not, how could we tell them about it?
]]></description>
			<content:encoded><![CDATA[<p>Who&#8217;s reading this?  Comment if you like and say hello.  Feel free to ask any questions you&#8217;d like us to answer at the same time.</p>
<p>Do you think everyone who might possibly want to know about day-to-day Metacity life is reading the Metacity blog?  If not, how could we tell them about it?</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/metacity/2008/10/17/whos-out-there/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
	</channel>
</rss>
