<?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>Marco Barisione's Weblog</title>
	<atom:link href="http://blog.barisione.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.barisione.org</link>
	<description></description>
	<lastBuildDate>Thu, 10 May 2012 13:02:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Better notification support</title>
		<link>http://blog.barisione.org/2012-04/better-notification-support/</link>
		<comments>http://blog.barisione.org/2012-04/better-notification-support/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 08:11:19 +0000</pubDate>
		<dc:creator>barisione</dc:creator>
				<category><![CDATA[collabora]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[empathy]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[gnome-shell]]></category>
		<category><![CDATA[libnotify]]></category>
		<category><![CDATA[message notifier]]></category>
		<category><![CDATA[notify-send]]></category>
		<category><![CDATA[pidgin]]></category>
		<category><![CDATA[xchat]]></category>
		<category><![CDATA[xchat-gnome]]></category>

		<guid isPermaLink="false">http://blog.barisione.org/?p=554</guid>
		<description><![CDATA[Yesterday I released a new version of my message notification extension for gnome-shell (3.2 and 3.4), to install it or to update it just visit its page on extensions.gnome.org. The main feature in the new version is that it just handles notifications coming from well-known applications: Empathy, XChat, XChat-GNOME, Pidgin and notify-send. Handling the Empathy [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I released a new version of my message notification extension for gnome-shell (3.2 and 3.4), to install it or to update it just visit its page on <a href="https://extensions.gnome.org/extension/150/message-notifier/">extensions.gnome.org</a>.</p>
<p>The main feature in the new version is that it just handles notifications coming from well-known applications: Empathy, XChat, XChat-GNOME, Pidgin and notify-send. Handling the Empathy notifications is easy because they are well integrated with the shell, but the other notifications required some hack because all the applications handle notifications in different ways. I did my best to make the notifications as useful as possible, similar to the Empathy ones, but there are some small limitations.<br />
Some of the handled applications require plugins to show notification bubbles:</p>
<ul>
<li><b>Pidgin:</b> Click on the “Tools” menu and then “Plug-ins”. Make sure that the “Libnotify Popups” plugin is enabled. If the plugin is not in the list it means you need to install it. On Debian the package is called “pidgin-libnotify”, other distros should have a package with a similar name.</li>
<li><b>XChat-GNOME:</b> Click on the “Edit” menu and then “Preferences”. In the “Scripts and Plugins” tab make sure that “On-screen display” is enabled.</li>
<li><b>XChat:</b> Click on the “Settings” menu and then “Preferences”. In the “Alerts” tab make sure that “Show tray baloons” is enabled for both “Private Message” and “Highlighted Message”. If the notifications pile up in the bottom right corner of your screen and clicking on them does nothing, it means that XChat is using notify-send because it cannot find libnotify. I don&#8217;t know how to fix this issue on different distros, but I found a <a href="https://bugzilla.redhat.com/show_bug.cgi?id=693362">Red Hat bug explaining the problem</a>.</li>
</ul>
<p align="center" class="img"><a href="https://extensions.gnome.org/extension/150/message-notifier/"><img src="http://farm8.staticflickr.com/7120/6969999096_498aceaa05.jpg" alt="Message notification" /></a><br /><small>Notifications coming from Empathy and XChat-GNOME</small></p>
<p>Is there any other common application that you would like to be handled by my plugin? The only prerequisite is that they somehow use standard notification bubbles (and this means I cannot implement it for Skype).</p>
<p>If you are looking for the source code, it&#8217;s in <a href="http://cgit.collabora.com/git/user/bari/shell-message-notifier.git/">this git repository</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barisione.org/2012-04/better-notification-support/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
		<item>
		<title>Updated message notifier and new cooking blog</title>
		<link>http://blog.barisione.org/2012-04/updated-message-notifier-and-new-cooking-blog/</link>
		<comments>http://blog.barisione.org/2012-04/updated-message-notifier-and-new-cooking-blog/#comments</comments>
		<pubDate>Thu, 19 Apr 2012 15:46:17 +0000</pubDate>
		<dc:creator>barisione</dc:creator>
				<category><![CDATA[collabora]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[cooking]]></category>
		<category><![CDATA[empathy]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[gnocchialpesto.co.uk]]></category>
		<category><![CDATA[gnome-shell]]></category>
		<category><![CDATA[message notifier]]></category>

		<guid isPermaLink="false">http://blog.barisione.org/?p=544</guid>
		<description><![CDATA[A few months ago I wrote a gnome-shell extension that shows how many conversations with unread messages you have, so that I could stop missing incoming messages. I updated the extension so it now works better and it can also show what the incoming notifications are when you press the icon. You can get the [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago I wrote a gnome-shell extension that <a href="http://blog.barisione.org/2011-11/permanent-im-notifications/">shows how many conversations with unread messages you have</a>, so that I could stop missing incoming messages.<br />
I updated the extension so it now works better and it can also show what the incoming notifications are when you press the icon. You can get the new version (and install it with just two clicks) from <a href="https://extensions.gnome.org/extension/150/message-notifier/">extensions.gnome.org</a>. If you previously installed the extension from git and you don&#8217;t have an update button on that page it could mean you need to first manually remove <code>~/.local/share/gnome-shell/extensions/message-notifier@shell-extensions.barisione.org/</code> and reload the shell (ALT-F2 and then type “r”).</p>
<p align="center" class="img"><a href="https://extensions.gnome.org/extension/150/message-notifier/"><img src="http://farm6.staticflickr.com/5447/7090334093_b40dfbf485.jpg" alt="Message notification" /></a></p>
<p>Note that the extension shows the number of conversations with new messages and not the number of messages; I don&#8217;t like seeing “2” up there if somebody just wrote me “hi” and then “how are you?”.</p>
<p>There is still a major problem with the extension. I wanted to be able to also see if somebody pinged me on IRC (I&#8217;m a XChat-GNOME user) so I don&#8217;t limit the count to active chat conversations, but I consider all the active notifications. I find this very useful to avoid missing something, but it means that the red icon will also appear every time banshee or rhythmbox change song. Suggestions on how to solve this?</p>
<p>Changing completely topic, I recently moved to a new home and, having a nice new kitchen (with dishwasher), I started cooking a lot again. I decided to start a new cooking blog called <a href="http://www.gnocchialpesto.co.uk/">gnocchialpesto.co.uk</a> to keep track of my recipes and share them with others. If you like food, in particular Italian one, take a look at it <img src="http://farm1.static.flickr.com/189/458651157_780851832e_o.png" alt=":)" />.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barisione.org/2012-04/updated-message-notifier-and-new-cooking-blog/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Permanent IM notifications</title>
		<link>http://blog.barisione.org/2011-11/permanent-im-notifications/</link>
		<comments>http://blog.barisione.org/2011-11/permanent-im-notifications/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 21:00:33 +0000</pubDate>
		<dc:creator>barisione</dc:creator>
				<category><![CDATA[collabora]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[gnome 3]]></category>
		<category><![CDATA[gnome-sell]]></category>
		<category><![CDATA[IM]]></category>
		<category><![CDATA[telepathy]]></category>

		<guid isPermaLink="false">http://blog.barisione.org/?p=534</guid>
		<description><![CDATA[Update: the extension is now available on extensions.gnome.org. Gnome 3 and the shell look really great, but there are a few things that annoy me. My main complaint is that I keep missing IM messages because there is no visual clue that you got a message (unless you are staring at the bottom of your [...]]]></description>
			<content:encoded><![CDATA[<p><b>Update:</b> the extension is now available on <a href="https://extensions.gnome.org/extension/150/message-notifier/">extensions.gnome.org</a>.</p>
<p>Gnome 3 and the shell look really great, but there are a few things that annoy me. My main complaint is that I keep missing IM messages because there is no visual clue that you got a message (unless you are staring at the bottom of your screen exactly when you receive something).<br />
This problem will probably be fixed in the next version of Gnome, see <a href="https://bugzilla.gnome.org/show_bug.cgi?id=641723">bug #641723</a>, but I wanted something <b>now</b>. That&#8217;s why I wrote a simple <a href="http://cgit.collabora.com/git/user/bari/shell-message-notifier.git/" alt="Message Notifier extension GIT repository">extension</a> that just displays the number of conversations with unread messages. To install it, just clone the git repository and execute “make install”.</p>
<p align="center" class="img"><a href="http://farm7.staticflickr.com/6036/6378479629_9c282628b4_b.jpg"><img src="http://farm7.staticflickr.com/6036/6378479629_9c282628b4_z.jpg" alt="Spot the difference" class="scaled" width="400" /></a><br /><small>Spot the difference</small></p>
<p>The extension is unpolished, it does very little, the code is horrible and I didn&#8217;t pay any attention to usability; I just wanted a quick fix while waiting for upstream to fix the bug properly. Nevertheless, I hope this code will be useful for other people too!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barisione.org/2011-11/permanent-im-notifications/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>Broken GTalk calls</title>
		<link>http://blog.barisione.org/2011-06/broken-gtalk-calls/</link>
		<comments>http://blog.barisione.org/2011-06/broken-gtalk-calls/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 16:19:57 +0000</pubDate>
		<dc:creator>barisione</dc:creator>
				<category><![CDATA[collabora]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[meego]]></category>
		<category><![CDATA[harmattan]]></category>
		<category><![CDATA[jabber]]></category>
		<category><![CDATA[jingle]]></category>
		<category><![CDATA[n9]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[n950]]></category>
		<category><![CDATA[xmpp]]></category>

		<guid isPermaLink="false">http://blog.barisione.org/?p=525</guid>
		<description><![CDATA[Recently Google updated their XMPP servers to use standard Jingle for audio and video calls; see the “Google: The Future is Jingle” post on xmpp.org for some more details. This would be good news for us, except that, by doing so, they broke calls in telepathy-gabble (so in Empathy, the N900 and MeeGo) in multiple [...]]]></description>
			<content:encoded><![CDATA[<p>Recently Google updated their XMPP servers to use <a href="http://xmpp.org/extensions/xep-0166.html" alt="XEP-0166: Jingle">standard Jingle</a> for audio and video calls; see the <a href="http://xmpp.org/2011/06/the-future-is-jingle/">“Google: The Future is Jingle”</a> post on xmpp.org for some more details.<br />
This would be good news for us, except that, by doing so, they broke calls in telepathy-gabble (so in Empathy, the N900 and MeeGo) in multiple ways.</p>
<p>Luckily GTalk developers were really cooperative and they agreed on fixing their servers and <a href="http://blogs.gnome.org/wjjt/">Will</a> and <a href="http://www.ocrete.ca/">Olivier</a> already <a href="https://bugs.freedesktop.org/show_bug.cgi?id=38352">fixed Gabble</a> too. The new version of Gabble (0.12.2 for the stable branch and 0.13.1 for the development one) should make calls work again on the desktop, MeeGo and on Harmattan (i.e. the N9 and N950) too.<br />
For the N900 we don&#8217;t have any way to release updates, but Google will push an update to their servers (in the next week or two hopefully) with a N900-specific workaround.</p>
<p>Sadly video calls on the N900 will keep not working; the version of gst-dsp on the N900 doesn&#8217;t properly handle changes in the parameters of the stream <img src="http://farm1.static.flickr.com/217/458651161_e4a46b807b_o.png" alt=":(" />.</p>
<p><strong>Update:</strong> just to be clear, this affects only calls from GTalk to gabble. Calls in the other direction still work and calls between two devices of Gabble work too.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barisione.org/2011-06/broken-gtalk-calls/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Folks and QtContacts</title>
		<link>http://blog.barisione.org/2010-11/folks-and-qtcontacts/</link>
		<comments>http://blog.barisione.org/2010-11/folks-and-qtcontacts/#comments</comments>
		<pubDate>Wed, 17 Nov 2010 10:40:42 +0000</pubDate>
		<dc:creator>barisione</dc:creator>
				<category><![CDATA[collabora]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[meego]]></category>
		<category><![CDATA[dublin]]></category>
		<category><![CDATA[folks]]></category>
		<category><![CDATA[libfolks]]></category>
		<category><![CDATA[meegoconf]]></category>
		<category><![CDATA[QtContacts]]></category>
		<category><![CDATA[QtFolks]]></category>
		<category><![CDATA[qtmobility]]></category>

		<guid isPermaLink="false">http://blog.barisione.org/?p=399</guid>
		<description><![CDATA[At the moment I&#8217;m at the MeeGo conference in Dublin, finally finding a bit of time to blog on what I have been working on for the past 2 weeks. The conference is really well organised and the location is a bit unusual but awesome. For me, the best thing about this conference seems to [...]]]></description>
			<content:encoded><![CDATA[<p>At the moment I&#8217;m at the MeeGo conference in Dublin, finally finding a bit of time to blog on what I have been working on for the past 2 weeks. The conference is really well organised and <a href="http://en.wikipedia.org/wiki/Aviva_Stadium">the location</a> is a bit unusual but awesome. For me, the best thing about this conference seems to be the possibility of meeting so many people that I know because of GNOME, Collabora and Maemo/MeeGo. Considering that Collabora is now employing several KDE people, this conference is also a good way to meet more KDE developers while awaiting for the Desktop Summit in Berlin.</p>
<p align="center" class="img"><a href="http://farm5.static.flickr.com/4110/5177887607_146b08cbbf_z.jpg"><img src="http://farm5.static.flickr.com/4110/5177887607_146b08cbbf_z.jpg" alt="" class="scaled" width="400" /></a><br /><small>The Aviva stadium</small></p>
<p>Nowadays, Empathy uses <a href="http://telepathy.freedesktop.org/wiki/Folks">libfolks</a> to access contacts and to merge multiple contacts (called personas in Folks) into a single “meta-contact” (called individual).<br />
On MeeGo, on the other hand, it seems that <a href="http://doc.qt.nokia.com/qtmobility-1.1-tp/contacts.html">QtContacts</a> (part of QtMobility) is the future. QtContacts is just an API and relies on backends for the actual access to contacts, so why not trying to have QtContacts using libfolks? In the last weeks I worked a bit on writing a QtFolks backed for QtContacts and a small demo written in QML to show what the backend can do.</p>
<p align="center" class="img"><a href="http://www.flickr.com/photos/barisione/5178092055/"><img src="http://farm5.static.flickr.com/4145/5178092055_9b4d9596f9_z.jpg" alt="The demo showing some of my XMPP contacts" /></a><br /><small>The demo showing some of my XMPP contacts</small></p>
<p>Folks doesn&#8217;t just want to be a library for IM contacts, but a generic library to access all of your contacts. The next logical step was to add extra backends to access more sources of contacts.<br />
If you use the Facebook XMPP server, you can already have access to Facebook friends and chat with them, but you don&#8217;t get all the information that are available through the web API. This is why I modified the <a href="http://git.collabora.co.uk/?p=meego-facebook-plugins.git;a=summary">Facebook libsocialweb plugin</a> to also access Facebook contacts and added new interfaces to libfolks to expose this information. Moreover, we can rely of the Facebook ID to automatically merge the persona from the Facebook XMPP and the one from the Facebook web API into a single individual.</p>
<p align="center" class="img"><a href="http://www.flickr.com/photos/barisione/5178698478/"><img src="http://farm5.static.flickr.com/4154/5178698478_fc5f70044a_z.jpg" alt="A contact with multiple IM addresses and information coming from Facebook too" /></a><br /><small>A contact with multiple IM addresses and information coming from Facebook too</small></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barisione.org/2010-11/folks-and-qtcontacts/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Feature complete custom ringtones</title>
		<link>http://blog.barisione.org/2010-08/feature-complete-custom-ringtones/</link>
		<comments>http://blog.barisione.org/2010-08/feature-complete-custom-ringtones/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 14:38:50 +0000</pubDate>
		<dc:creator>barisione</dc:creator>
				<category><![CDATA[collabora]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[custom ringtones]]></category>
		<category><![CDATA[fremantle]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[ringtoned]]></category>
		<category><![CDATA[ringtones]]></category>
		<category><![CDATA[translations]]></category>

		<guid isPermaLink="false">http://blog.barisione.org/?p=384</guid>
		<description><![CDATA[I finally released a version of “Custom ringtones for your contacts” that implements every basic feature I wanted to have for a first stable version, so I think it deserves being called 1.0 . Apart from some bug fixes, this new version is translatable and allow you to set a ringtone for callers with a [...]]]></description>
			<content:encoded><![CDATA[<p>I finally released a version of  “Custom ringtones for your contacts” that implements every basic feature I wanted to have for a first stable version, so I think it deserves being called 1.0 <img src="http://farm1.static.flickr.com/189/458651157_780851832e_o.png" alt=":)" />.<br />
Apart from some bug fixes, this new version is translatable and allow you to set a ringtone for callers with a hidden phone number and for contacts not in your address book. The new settings are available from the address book settings dialog.</p>
<p align="center" class="img"><a href="http://farm5.static.flickr.com/4135/4944744955_108980613e_b.jpg"><img src="http://farm5.static.flickr.com/4135/4944744955_108980613e_b.jpg" alt="The settings dialog with the extra ringtone buttons" class="scaled" width="400" /></a><br /><small>The settings dialog with the extra ringtone buttons</small></p>
<p>For now there is only an Italian translation, but any help to get more is appreciated. Don&#8217;t worry, there are just 8 strings to translate!<br />
To propose a new translation just go to the <a href="http://www.transifex.net/projects/p/ringtoned/c/per-contact-ringtones/">Transifex component page</a>, download the .pot source file, add the translations to it, login to Transifex, and upload the file by pressing “Add a new translation” and setting as target file “po/XX.po” (where “XX” it the language code, for instance “fi” for Finnish, “de” for German, etc.). If you don&#8217;t know how to use gettext translation files I suggest using <a href="http://www.poedit.net/">Poedit</a> or <a href="http://projects.gnome.org/gtranslator/">gtranslator</a>.</p>
<p>The custom ringtones application is now available both from <a href="http://wiki.maemo.org/Extras-testing">extras-testing</a> and from my personal repository:</p>
<p align="center" class="img"><a href="http://people.collabora.co.uk/~bari/maemo/per-contact-ringtones.install"><img src="http://people.collabora.co.uk/~bari/maemo/ac_install_icon.png" style="border:0px" alt="Install per-contact-ringtones" /></a><br /><small><a href="http://people.collabora.co.uk/~bari/maemo/per-contact-ringtones.install">Install from my personal repository</a><br />(follow the link on the N900 browser)</small></p>
<p><b>Update:</b> I released version 1.0.1 containing some new translations: German (by NightShift79), French (by Alban Crequy), Brazilian Portuguese (by Humberto Sgrott Reis) and Swedish (by Andreas Henriksson). I will add more when I receive more.</p>
<p><b>Update 2:</b> I released version 1.0.2 containing a crasher fix and some new translations: Albanian (by Ilir Gjika), Dutch (by Daniel Holsboer) and Spanish (by Fernando Borrego Polo).</p>
<p><b>Update 3:</b> I released version 1.0.3 containing some new translations: Russian (by Misha Ketslah), Norwegian (by Stian Husemoen), Korean (by KwangHee Cho), Czech (by Pavel Fric), Hungrarian (by Balázs Bárány) and Romanian (by Bogdan Vernescu).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barisione.org/2010-08/feature-complete-custom-ringtones/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>Ringtoned 0.2.4 (now with vibration!)</title>
		<link>http://blog.barisione.org/2010-08/ringtoned-024-now-with-vibration/</link>
		<comments>http://blog.barisione.org/2010-08/ringtoned-024-now-with-vibration/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 15:39:48 +0000</pubDate>
		<dc:creator>barisione</dc:creator>
				<category><![CDATA[collabora]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[contacts]]></category>
		<category><![CDATA[custom ringtones]]></category>
		<category><![CDATA[fremantle]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[ringtones]]></category>
		<category><![CDATA[vibration]]></category>

		<guid isPermaLink="false">http://blog.barisione.org/?p=378</guid>
		<description><![CDATA[I just released ringtoned 0.2.4 with a fix to make the N900 able to vibrate again when a call is received. Ringtoned (displayed in the application manager as “Custom ringtones for your contacts”) is available from extras-devel (that contains a lot of other unstable software!) or from my personal repository: Install from my personal repository(follow [...]]]></description>
			<content:encoded><![CDATA[<p>I just released ringtoned 0.2.4 with a fix to make the N900 able to vibrate again when a call is received.<br />
Ringtoned (displayed in the application manager as “Custom ringtones for your contacts”) is available <a href="http://wiki.maemo.org/Extras-devel">from extras-devel</a> (that contains a lot of other <em>unstable</em> software!) or from my personal repository:</p>
<p align="center" class="img"><a href="http://people.collabora.co.uk/~bari/maemo/per-contact-ringtones.install"><img src="http://people.collabora.co.uk/~bari/maemo/ac_install_icon.png" style="border:0px" alt="Install per-contact-ringtones" /></a><br /><small><a href="http://people.collabora.co.uk/~bari/maemo/per-contact-ringtones.install">Install from my personal repository</a><br />(follow the link on the N900 browser)</small></p>
<p>This release fixes the last major reproducible bugs, but I&#8217;m sure there are more. If you find any please <a href="https://bugs.maemo.org/enter_bug.cgi?product=ringtoned">report them in the bugzilla</a> explaining clearly what you are doing, what you would expect to happen and what happens instead. A log attached to the bugzilla entry is very useful to understand what is going on, and can be easily created by opening a terminal and giving this command:</p>
<pre>
ringtonedctl -d stop startwait > /home/user/MyDocs/ringtoned.log 2>&#038;1
</pre>
<p>Then attach the <code>ringtoned.log</code> file that is in your documents directory to the bug report.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barisione.org/2010-08/ringtoned-024-now-with-vibration/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Ringtoned 0.2.1</title>
		<link>http://blog.barisione.org/2010-08/ringtoned-021/</link>
		<comments>http://blog.barisione.org/2010-08/ringtoned-021/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 16:39:54 +0000</pubDate>
		<dc:creator>barisione</dc:creator>
				<category><![CDATA[collabora]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[canberra]]></category>
		<category><![CDATA[contacts]]></category>
		<category><![CDATA[custom ringtones]]></category>
		<category><![CDATA[fremantle]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[ringtones]]></category>

		<guid isPermaLink="false">http://blog.barisione.org/2010-08/ringtoned-021/</guid>
		<description><![CDATA[The Fremantle daemon that decodes ringtones seems to have a bug that, in some cases, makes it produce wave files with an invalid size in them. These files cannot be played by libcanberra, so it meant that some ringtones couldn&#8217;t be played when you receive a phone call. I just released ringtoned 0.2.1 with a [...]]]></description>
			<content:encoded><![CDATA[<p>The Fremantle daemon that decodes ringtones seems to have a bug that, in some cases, makes it produce wave files with an invalid size in them. These files cannot be played by libcanberra, so it meant that some ringtones couldn&#8217;t be played when you receive a phone call. I just released ringtoned 0.2.1 with a work around for the bug, please let me know if this version works better for you.</p>
<p>Anyway, I got <a href="https://bugs.maemo.org/enter_bug.cgi?product=ringtoned">a new component in the Meamo Bugzilla for ringtoned</a>, so please report bugs there.</p>
<p><b>Update 2:</b> I released ringtoned 0.2.2 that just adds some more debugging info to make my life easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barisione.org/2010-08/ringtoned-021/feed/</wfw:commentRss>
		<slash:comments>44</slash:comments>
		</item>
		<item>
		<title>Faster custom ringtones</title>
		<link>http://blog.barisione.org/2010-08/faster-custom-ringtones/</link>
		<comments>http://blog.barisione.org/2010-08/faster-custom-ringtones/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 16:31:28 +0000</pubDate>
		<dc:creator>barisione</dc:creator>
				<category><![CDATA[collabora]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[contacts]]></category>
		<category><![CDATA[custom ringtones]]></category>
		<category><![CDATA[fremantle]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[ringtones]]></category>

		<guid isPermaLink="false">http://blog.barisione.org/?p=363</guid>
		<description><![CDATA[Several people complained that my custom ringtones application is too slow when receiving calls, so I started analysing what ringtoned does when a new call is received. The three main operations in this case are creating the object that represents a call after retrieving all the needed information (caller ID, etc.) from Telepathy, looking up [...]]]></description>
			<content:encoded><![CDATA[<p>Several people complained that <a href="http://blog.barisione.org/2010-07/custom-ringtones-for-your-contacts/">my custom ringtones application</a> is too slow when receiving calls, so I started analysing what ringtoned does when a new call is received. The three main operations in this case are creating the object that represents a call after retrieving all the needed information (caller ID, etc.) from Telepathy, looking up the contact that matches the caller and playing the ringtone.<br />
The Telepathy bit just needed to be slightly smarter, but was already quite fast. The contact look up was already very fast, unless you have so many contacts to make your address book unusable.<br />
The code that needed more optimisation was the one that plays ringtones. It turned out that using GStreamer with playbin2 (the element able to detect and play all the supported file types) is not fast enough for this use case. I tried different approaches and in the end I decided to always use uncompressed wave files and stream them directly to PulseAudio.<sup>[1]</sup><br />
Note that GStreamer is not the best solution just in <b>this very specific</b> case, for all the other use cases GStreamer is still the best solution.</p>
<p>After these changes I was really expecting to get very good performances, but it was still quite slow. My analysis was showing that, since when ringtoned gets notified from Telepathy of the existence of a new call to when it starts streaming to PulseAudio, less than 0.1 seconds passes, so why was it still slow?<br />
At this point I tried using <a href="http://willthompson.co.uk/bustle/">bustle</a> to generate graphs of the D-Bus activity when a call is received. The graphs showed that the delay was not ringtoned&#8217;s fault, but a bug in Maemo causing a freeze that made the dispatching of new calls about 4 seconds slower when ringtoned was running. Somebody is now working on the bug and trying to figure out why it&#8217;s happening, in the meantime I&#8217;m working around it watching for new calls in a different way.<sup>[2]</sup></p>
<p>Ringtoned and the related packages are available in Maemo extras-devel under the name “Custom ringtones for your contacts”. If you don’t want to add the extras-devel repository (as it contains a lot of unstable software, you have been warned!), you can download ringtoned directly from my personal repository:</p>
<p align="center" class="img"><a href="http://people.collabora.co.uk/~bari/maemo/per-contact-ringtones.install"><img src="http://people.collabora.co.uk/~bari/maemo/ac_install_icon.png" style="border:0px" alt="Install per-contact-ringtones" /></a><br /><small><a href="http://people.collabora.co.uk/~bari/maemo/per-contact-ringtones.install">Install from my personal repository</a><br />(follow the link on the N900 browser)</small></p>
<p>The only known big problem left is that ringtoned breaks vibration, I will fix it in the next days/week.</p>
<p><b>Update:</b> It looks like MyContacts is incompatible with ringtoned, so you cannot use these two programs together.</p>
<p><small><b>[1]</b> The file is uncompressed in background, so you can still use any type of file for ringtones. Just notice that, when you update from a previous version, the first time you receive a call from a contact that already had a custom ringtone you will get the default ringtone and not the custom one as previous versions were not generating the uncompressed file.</small><br />
<small><b>[2]</b> For people interested in Telepathy: the freeze happens if there is an observer running, even if at that point the dispatching to observers didn&#8217;t start yet! The (ugly, but effective) solution was to just listens to the NewChannels signal directly. When the Maemo bug will be fixed I will revert my code to use an observer.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barisione.org/2010-08/faster-custom-ringtones/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Disappearing plugins</title>
		<link>http://blog.barisione.org/2010-08/disappearing-plugins/</link>
		<comments>http://blog.barisione.org/2010-08/disappearing-plugins/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 14:22:16 +0000</pubDate>
		<dc:creator>barisione</dc:creator>
				<category><![CDATA[collabora]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[address book]]></category>
		<category><![CDATA[contacts]]></category>
		<category><![CDATA[contacts merger]]></category>
		<category><![CDATA[file transfer]]></category>
		<category><![CDATA[fremantle]]></category>
		<category><![CDATA[merger]]></category>
		<category><![CDATA[monorail]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[telepathy]]></category>

		<guid isPermaLink="false">http://blog.barisione.org/?p=358</guid>
		<description><![CDATA[If you have any application that adds buttons to the address book (like the contacts merger), you could have noticed that the buttons recently disappeared. This happened because of a bug in Monorail, the IM file transfer application. Alban already fixed this bug and uploaded a new version to extras-devel. This new version also fixes [...]]]></description>
			<content:encoded><![CDATA[<p>If you have any application that adds buttons to the address book (like the <a href="http://blog.barisione.org/2010-06/finding-the-duplicate-contacts-in-your-address-book/">contacts merger</a>), you could have noticed that the buttons recently disappeared. This happened because of a bug in Monorail, the IM file transfer application.<br />
<a href="http://alban.apinc.org/blog/">Alban</a> already fixed this bug and uploaded a new version to extras-devel. This new version also fixes other bugs, including a crash caused by the sharing plugin in Conboy.</p>
<p><b>Update:</b> Note that you need to reboot or kill osso-addressbook after updating monorail to see the plugins again.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barisione.org/2010-08/disappearing-plugins/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

