<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Will's Blog (Posts about gnome)</title><link>https://bluesock.org/~willkg/blog/</link><description></description><atom:link href="https://bluesock.org/~willkg/blog/tag/gnome.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2026 &lt;a href="mailto:willkg@bluesock.org"&gt;Will Kahn-Greene&lt;/a&gt; CC BY-SA 3.0</copyright><lastBuildDate>Fri, 05 Jun 2026 13:54:00 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Letting it run out</title><link>https://bluesock.org/~willkg/blog/gnome/letting_it_run_out.html</link><dc:creator>Will Kahn-Greene</dc:creator><description>&lt;p&gt;A couple of years ago I applied and was granted membership into the
GNOME Foundation. At the time, I was helping out with GNOME Journal
and running GNOME Miro Community.&lt;/p&gt;
&lt;p&gt;Since then, GNOME Miro Community fizzled out and stopped because it didn't
find a compelling reason to exist (wasn't interesting for marketing, didn't
do a good job of indexing conference video, ...). GNOME Journal fizzled
too and I stopped working on it.&lt;/p&gt;
&lt;p&gt;Also, in September, I left PCF where I was working on Miro which uses a lot
of GNOME technologies.&lt;/p&gt;
&lt;p&gt;Given that, I decided not to renew my membership. I'm a little bummed, but
I'm not doing anything. I do wish them well. I will miss the periodic
anti-FSF fireworks.&lt;/p&gt;</description><category>dev</category><category>gnome</category><category>life</category><guid>https://bluesock.org/~willkg/blog/gnome/letting_it_run_out.html</guid><pubDate>Thu, 10 May 2012 18:05:28 GMT</pubDate></item><item><title>Membership accepted!</title><link>https://bluesock.org/~willkg/blog/gnome/membership_accepted.html</link><dc:creator>Will Kahn-Greene</dc:creator><description>&lt;p&gt;I applied to be a member of
the &lt;a class="reference external" href="http://foundation.gnome.org/"&gt;GNOME Foundation&lt;/a&gt; two
days ago and today I was accepted.  I'm excited and happy that I was
accepted.  I hope that my work
on &lt;a class="reference external" href="http://gnome.mirocommunity.org/"&gt;GNOME Miro Community&lt;/a&gt;
helps the greater GNOME community.&lt;/p&gt;</description><category>dev</category><category>gnome</category><category>life</category><guid>https://bluesock.org/~willkg/blog/gnome/membership_accepted.html</guid><pubDate>Fri, 02 Apr 2010 00:01:28 GMT</pubDate></item><item><title>GNOME Miro Community status - 3/31/2010</title><link>https://bluesock.org/~willkg/blog/gnome/gmc_status_20100331.html</link><dc:creator>Will Kahn-Greene</dc:creator><description>&lt;p&gt;The article I wrote for GNOME Journal about GNOME Miro Community went
live yesterday.  You can read
it &lt;a class="reference external" href="http://gnomejournal.org/article/92/gnome-miro-community"&gt;here&lt;/a&gt;.
It's a great introduction to why I created GNOME Miro Community, what
can be done with it, and how you can help.  Many thanks to Sumana and
Paul for their help with getting it published!&lt;/p&gt;
&lt;p&gt;While working on that article and the screenshot, I fixed a few
templates and some of the CSS (with the help of Parker from
&lt;a class="reference external" href="http://openhatch.org/"&gt;OpenHatch&lt;/a&gt;).  There should be RSS feed
links on all of the listing pages now.  Additionally, I did a pass through
all the videos and removed ones that have disappeared.&lt;/p&gt;
&lt;p&gt;Sumana pointed out that in order to submit a video to the site, you had
to be logged in.  That was a mistake--I really apologize.  In order
for this site to be useful to as many people as possible, it's important
not to have barriers to video submission like that.  If you balked at
having to sign in while submitting a video, please try again.&lt;/p&gt;
&lt;p&gt;There are two kinds of videos I'm really interested in adding to the
site:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;up-to-date videos showing GNOME Shell, GNOME Activity Journal, and
Zeitgeist that show new functionality added recently and specify which
version is being demonstrated,&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;howto, tutorial and screencast videos for important things that need
more of a spotlight; for example, accessibility&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you have anything that fills these needs, submit a video or send me
an email!&lt;/p&gt;</description><category>gnome</category><category>miro</category><category>mirocommunity</category><category>work</category><guid>https://bluesock.org/~willkg/blog/gnome/gmc_status_20100331.html</guid><pubDate>Wed, 31 Mar 2010 17:07:32 GMT</pubDate></item><item><title>Thoughts on crowdsourcing development</title><link>https://bluesock.org/~willkg/blog/dev/crowdsourcing.html</link><dc:creator>Will Kahn-Greene</dc:creator><description>&lt;p&gt;Today I read &lt;a class="reference external" href="http://hackervisions.org/?p=613"&gt;You can't crowdsource software&lt;/a&gt;.
The title sums up what it's about.&lt;/p&gt;
&lt;p&gt;I've had this experience with &lt;a class="reference external" href="http://getmiro.com/"&gt;Miro&lt;/a&gt;.  We occassionally
get patches from non-PCF people but most of the work is done by &lt;a class="reference external" href="http://pculture.org/"&gt;PCF&lt;/a&gt;.  We've spent a lot of time and effort over the last
few years on getting more code contributors and reducing the barriers to entry.
We haven't had much success.&lt;/p&gt;
&lt;p&gt;However, there's a lot of other "stuff" that goes into developing an application
and the article only focuses on code.  Some of this "stuff" can be
successfully crowdsourced without a lot of effort.  For example, Miro
crowdsources all of our strings translation work through
&lt;a class="reference external" href="http://launchpad.net/"&gt;Launchpad&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I work on another project called
&lt;a class="reference external" href="http://pyblosxom.sourceforge.net/"&gt;PyBlosxom&lt;/a&gt;.  We have a core group of
developers (right now this is me) who do the bulk of the core code work.  I do
some plugin work, but the bulk of the plugin work is done by users of PyBlosxom
many of whom have never touched the core code.  For PyBlosxom, plugin
development is crowdsourced.&lt;/p&gt;
&lt;p&gt;The article suggests that it's a waste of time to help bring new contributors
come up to speed and contribute because they often don't contribute much.  That
conclusion really concerns me.  How can we get more people helping out if we're
not working on getting people to help out?&lt;/p&gt;
&lt;p&gt;&lt;a class="reference external" href="http://www.jonobacon.org/"&gt;Jono Bacon&lt;/a&gt; wrote an article
titled &lt;a class="reference external" href="http://www.jonobacon.org/2010/02/04/project-awesome-opportunity/"&gt;Project Awesome Opportunity&lt;/a&gt;
which talks about a few projects that are reducing the barriers to
contributing and making it a lot easier.  It's very Launchpad-centric,
though.&lt;/p&gt;
&lt;p&gt;&lt;a class="reference external" href="https://openhatch.org/"&gt;OpenHatch&lt;/a&gt; is a startup working on
building the next generation of contributors and connecting contributors
to projects that need help.  They're wrestling with how to effectively
fix these problems, but without tying the fix to a project development
silo (e.g. Launchpad, GitHub, ...).  I think that's really important.&lt;/p&gt;
&lt;p&gt;I think systems like these will reduce the effort in getting contributors
and make it easier to crowdsource code contribution.&lt;/p&gt;
&lt;p&gt;And if you, dear reader, are looking for a project to help out on that's
written in Python and need someone to mentor you, let me know.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;February 5th, 2010: I should clarify I think the article is fine.  I
don't think the conclusion that code contribution doesn't crowdsource well
is poorly formed or anything like that.  Just that the implications aren't
great.&lt;/p&gt;</description><category>dev</category><category>floss</category><category>gnome</category><category>miro</category><category>python</category><category>software</category><category>work</category><guid>https://bluesock.org/~willkg/blog/dev/crowdsourcing.html</guid><pubDate>Fri, 05 Feb 2010 00:24:40 GMT</pubDate></item><item><title>Handling media keys in GNOME with Python</title><link>https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html</link><dc:creator>Will Kahn-Greene</dc:creator><description>&lt;p&gt;Spent a while figuring out how to get &lt;a class="reference external" href="http://getmiro.com/"&gt;Miro&lt;/a&gt;
to handle media keys in Gnome.  My current understanding (and this could
be entirely wrong) is that as of 2.18, Gnome handles the multimedia keys.
In order for your application to respond to multimedia keys, you have to
connect to the signal through dbus.&lt;/p&gt;
&lt;p&gt;My biggest problem is that my web searching revealed a lot of bugs, but
no documentation.  I did finally find
&lt;a class="reference external" href="http://www.vimtips.org/12/"&gt;Handling multimedia keys in GNOME 2.18&lt;/a&gt;
and then worked out the rest.  I still have no clue where to find the
documentation for it.&lt;/p&gt;
&lt;p&gt;Here's what I got working:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code python"&gt;&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-1" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-1" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-1"&gt;&lt;/a&gt;&lt;span class="kn"&gt;import&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nn"&gt;logging&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-2" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-2" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-2"&gt;&lt;/a&gt;&lt;span class="kn"&gt;import&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nn"&gt;dbus&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-3" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-3" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-3"&gt;&lt;/a&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-4" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-4" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-4"&gt;&lt;/a&gt;&lt;span class="kn"&gt;from&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nn"&gt;miro&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;app&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-5" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-5" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-5"&gt;&lt;/a&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-6" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-6" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-6"&gt;&lt;/a&gt;&lt;span class="k"&gt;class&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nc"&gt;MediaKeyHandler&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;object&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-7" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-7" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-7"&gt;&lt;/a&gt;    &lt;span class="k"&gt;def&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="fm"&gt;__init__&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;window&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-8" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-8" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-8"&gt;&lt;/a&gt;        &lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;app&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"Miro"&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-9" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-9" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-9"&gt;&lt;/a&gt;        &lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;bus&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;dbus&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Bus&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;dbus&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Bus&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;TYPE_SESSION&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-10" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-10" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-10"&gt;&lt;/a&gt;        &lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;bus_object&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;bus&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get_object&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-11" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-11" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-11"&gt;&lt;/a&gt;            &lt;span class="s1"&gt;'org.gnome.SettingsDaemon'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'/org/gnome/SettingsDaemon/MediaKeys'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-12" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-12" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-12"&gt;&lt;/a&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-13" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-13" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-13"&gt;&lt;/a&gt;        &lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;bus_object&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;GrabMediaPlayerKeys&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-14" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-14" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-14"&gt;&lt;/a&gt;            &lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dbus_interface&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'org.gnome.SettingsDaemon.MediaKeys'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-15" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-15" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-15"&gt;&lt;/a&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-16" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-16" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-16"&gt;&lt;/a&gt;        &lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;bus_object&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;connect_to_signal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-17" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-17" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-17"&gt;&lt;/a&gt;            &lt;span class="s1"&gt;'MediaPlayerKeyPressed'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;handle_mediakey&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-18" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-18" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-18"&gt;&lt;/a&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-19" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-19" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-19"&gt;&lt;/a&gt;        &lt;span class="n"&gt;window&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;connect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"focus-in-event"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;on_window_focus&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-20" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-20" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-20"&gt;&lt;/a&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-21" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-21" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-21"&gt;&lt;/a&gt;    &lt;span class="k"&gt;def&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;handle_mediakey&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;application&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;mmkeys&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-22" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-22" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-22"&gt;&lt;/a&gt;        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;application&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-23" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-23" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-23"&gt;&lt;/a&gt;            &lt;span class="k"&gt;return&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-24" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-24" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-24"&gt;&lt;/a&gt;        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;mmkeys&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-25" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-25" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-25"&gt;&lt;/a&gt;            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"Play"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-26" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-26" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-26"&gt;&lt;/a&gt;                &lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;widgetapp&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;on_play_clicked&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-27" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-27" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-27"&gt;&lt;/a&gt;            &lt;span class="k"&gt;elif&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"Stop"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-28" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-28" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-28"&gt;&lt;/a&gt;                &lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;widgetapp&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;on_stop_clicked&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-29" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-29" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-29"&gt;&lt;/a&gt;            &lt;span class="k"&gt;elif&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"Next"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-30" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-30" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-30"&gt;&lt;/a&gt;                &lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;widgetapp&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;on_forward_clicked&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-31" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-31" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-31"&gt;&lt;/a&gt;            &lt;span class="k"&gt;elif&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"Previous"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-32" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-32" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-32"&gt;&lt;/a&gt;                &lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;widgetapp&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;on_previous_clicked&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-33" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-33" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-33"&gt;&lt;/a&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-34" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-34" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-34"&gt;&lt;/a&gt;    &lt;span class="k"&gt;def&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;on_window_focus&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;window&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-35" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-35" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-35"&gt;&lt;/a&gt;        &lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;bus_object&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;GrabMediaPlayerKeys&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-36" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-36" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-36"&gt;&lt;/a&gt;            &lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dbus_interface&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'org.gnome.SettingsDaemon.MediaKeys'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-37" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-37" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-37"&gt;&lt;/a&gt;        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;False&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-38" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-38" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-38"&gt;&lt;/a&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-39" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-39" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-39"&gt;&lt;/a&gt;&lt;span class="k"&gt;def&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nf"&gt;get_media_key_handler&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;window&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-40" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-40" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-40"&gt;&lt;/a&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="sd"&gt;"""&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-41" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-41" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-41"&gt;&lt;/a&gt;&lt;span class="sd"&gt;    Creates and returns a MediaKeyHandler or returns None if such a thing&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-42" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-42" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-42"&gt;&lt;/a&gt;&lt;span class="sd"&gt;    is not available on this platform.&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-43" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-43" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-43"&gt;&lt;/a&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-44" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-44" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-44"&gt;&lt;/a&gt;&lt;span class="sd"&gt;    :param window: a Gtk.Window instance&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-45" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-45" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-45"&gt;&lt;/a&gt;&lt;span class="sd"&gt;    """&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-46" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-46" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-46"&gt;&lt;/a&gt;    &lt;span class="k"&gt;try&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-47" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-47" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-47"&gt;&lt;/a&gt;        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;MediaKeyHandler&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;window&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-48" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-48" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-48"&gt;&lt;/a&gt;    &lt;span class="k"&gt;except&lt;/span&gt; &lt;span class="n"&gt;dbus&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;DBusException&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;a id="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-49" name="rest_code_d1c29d52f8af4de4ba5c56a89192eebd-49" href="https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html#rest_code_d1c29d52f8af4de4ba5c56a89192eebd-49"&gt;&lt;/a&gt;        &lt;span class="n"&gt;logging&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exception&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"cannot load MediaKeyHandler"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;If you see problems with this, let me know so I can ammend the code.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;November 5th, 2010 - Fixed a bug in the code.&lt;/p&gt;
&lt;p&gt;November 9th, 2010 - Tweaked the code to re-assert key handling on focus.&lt;/p&gt;</description><category>dev</category><category>gnome</category><category>miro</category><category>python</category><category>work</category><guid>https://bluesock.org/~willkg/blog/dev/gnome_media_keys.html</guid><pubDate>Mon, 25 Jan 2010 19:11:17 GMT</pubDate></item><item><title>gnome.mirocommunity.org</title><link>https://bluesock.org/~willkg/blog/gnome/gnome_mc_org.html</link><dc:creator>Will Kahn-Greene</dc:creator><description>&lt;p&gt;A little over a week ago, I started
&lt;a class="reference external" href="http://gnome.mirocommunity.org/"&gt;GNOME Miro Community&lt;/a&gt;.  I'm a
Miro developer and we use a ton of Gnome stuff in the application.
The site will index Gnome related videos from around the Internet.  I hope
it'll aid Gnome development.&lt;/p&gt;
&lt;p&gt;I started a few categories:
&lt;a class="reference external" href="http://gnome.mirocommunity.org/category/gnome-shell"&gt;gnome-shell&lt;/a&gt;,
&lt;a class="reference external" href="http://gnome.mirocommunity.org/category/gstreamer"&gt;gstreamer&lt;/a&gt;,
and &lt;a class="reference external" href="http://gnome.mirocommunity.org/category/guadec2009"&gt;GUADEC 2009&lt;/a&gt;.
I'll be adding to these going forward.&lt;/p&gt;
&lt;p&gt;One of the big things that I did was to bulk load the GUADEC 2009 videos
into Gnome MC.  I built an RSS feed, populated it with descriptions of the
talks from the &lt;a class="reference external" href="http://www.grancanariadesktopsummit.org/"&gt;Gran Canaria Desktop Summit&lt;/a&gt;
wiki pages, and pulled it all into Gnome MC.  Today I pulled
down the videos and generated thumbnails for everything and pushed that
up, too.  Took about 5 hours in total, but the data is much more useful now.&lt;/p&gt;
&lt;p&gt;Gnome MC will do searches every night for new material out there.  I'll keep
tabs on this queue.  If you know of videos that haven't been added either
let me know or submit them through the site.&lt;/p&gt;
&lt;p&gt;I'm really excited about this site and I'll do my best to keep it going and
make it as useful as possible.  I hope it helps to make Gnome as awesome
as it can be!&lt;/p&gt;</description><category>gnome</category><category>miro</category><category>mirocommunity</category><category>work</category><guid>https://bluesock.org/~willkg/blog/gnome/gnome_mc_org.html</guid><pubDate>Fri, 13 Nov 2009 03:34:11 GMT</pubDate></item></channel></rss>