{"id":229,"date":"2004-09-11T18:13:17","date_gmt":"2004-09-11T23:13:17","guid":{"rendered":"http:\/\/ywwg.com\/wordpress\/?p=229"},"modified":"2004-09-11T18:13:17","modified_gmt":"2004-09-11T23:13:17","slug":"making-metacity-a-little-more-like-sawfish-but-in-a-good-way","status":"publish","type":"post","link":"https:\/\/ywwg.com\/wordpress\/archives\/229","title":{"rendered":"making metacity a little more like sawfish &#8212; but in a good way!"},"content":{"rendered":"<p>Sawfish is dead.  I know, I love the million keybinding options, and the cool regexp-based window matching, but as the xorg server moves forward, sawfish stays maddeningly still.  So here are some things I&#8217;ve figured out to make metacity a little more like home for us sawfish people.<br \/>\n<!--more--><br \/>\nThere are a ton of options for metacity that can only be found in gconf-editor.  Fire it up and navigate to apps\/metacity.  You&#8217;ll find a whole lot of things you can change that aren&#8217;t apparant from the bare-bones preferences pane.  You&#8217;ll find a lot of keybindings and some advanced behavior.<\/p>\n<p>If you love matched windows, get <a href=\"http:\/\/www.burtonini.com\/blog\/computers\/devilspie\">Devilspie<\/a>.  It&#8217;s not quite as insanely featureful as Matched Windows, and you can&#8217;t configure it with a user interface, but it gets the job done.  With the sample configuration and a bit of experimenting, you can figure out how to duplicate most of the effects you&#8217;re used to.<\/p>\n<p>If you wish metacity had edge resistance or magnetism when moving windows, there&#8217;s a <a href=\"http:\/\/bugzilla.gnome.org\/show_bug.cgi?id=81704\">bug<\/a> in bugzilla that has a <a href=\"http:\/\/bugzilla.gnome.org\/attachment.cgi?id=25228&#038;action=view\">patch<\/a> to add these features to metacity.  If you&#8217;re trying to compile metacity from CVS, I made my own version of the <a href=\"http:\/\/ywwg.com\/src\/resistance-cvs.diff\">patch<\/a> that applies correctly.  If you&#8217;re not comfortable applying patches, then you&#8217;re going to have to learn.  Get the source from cvs, and <b>build it once normally*<\/b>.  Then go to the metacity\/ directory, and type<\/p>\n<blockquote><p>cat [location of patch] | patch -p 1<\/p><\/blockquote>\n<p>You should be able to build it just fine.<\/p>\n<p>The last thing I really missed from metacity was the &#8220;maximize to fill&#8221; keybindings that sawfish has.  I filed my own <a href=\"http:\/\/bugzilla.gnome.org\/show_bug.cgi?id=151842\">bug<\/a> and even made my own <a href=\"http:\/\/bugzilla.gnome.org\/attachment.cgi?id=31494&#038;action=view\">patch<\/a> against CVS which adds the keybindings to the list.  You can apply it after my resistance patch above.  It&#8217;ll talk about &#8220;hunk offsets&#8221; but that&#8217;s normal.<\/p>\n<p>I&#8217;m a gnome hacker now!<\/p>\n<p><font size=\"-3\">*The resistance patch affects a file that doesn&#8217;t seem to exist until the program is built once.<\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sawfish is dead. I know, I love the million keybinding options, and the cool regexp-based window matching, but as the xorg server moves forward, sawfish stays maddeningly still. So here are some things I&#8217;ve figured out to make metacity a little more like home for us sawfish people.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"_links":{"self":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/posts\/229"}],"collection":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/comments?post=229"}],"version-history":[{"count":0,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/posts\/229\/revisions"}],"wp:attachment":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/media?parent=229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/categories?post=229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/tags?post=229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}