<?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>The Hacking Capybara</title>
	<atom:link href="http://blog.strycore.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.strycore.com</link>
	<description>The Zen of Unix thru the eyes of a big Rodent</description>
	<lastBuildDate>Tue, 26 Oct 2010 20:02:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>3 annoying bugs that need to die in Natty</title>
		<link>http://blog.strycore.com/2010/10/3-annoying-bugs-that-need-to-die-in-natty/</link>
		<comments>http://blog.strycore.com/2010/10/3-annoying-bugs-that-need-to-die-in-natty/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 20:02:57 +0000</pubDate>
		<dc:creator>Mathieu Comandon</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.strycore.com/?p=51</guid>
		<description><![CDATA[Ubuntu has made huge progress since I began using it in 2005 and Maverick Meerkat is by far my favorite Linux flavour. I did not see many major changes from Lucid but there were a whole lot of bug fixes and it is very clear to me that the Hundred Papercuts Project (combined with an [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu has made huge progress since I began using it in 2005 and Maverick Meerkat is by far my favorite Linux flavour. I did not see many major changes from Lucid but there were a whole lot of bug fixes and it is very clear to me that the Hundred Papercuts Project (combined with an amazing upstream) is making things better for everyone. Maverick has brought a better SoftwareCenter, a better UbuntuOne and finally suspend / resume support with Nvidia cards!  For the upcoming version, Natty Narwhal, I expect to see things move a bit more than Maverick, and using Unity as the default change is one of these major changes, but I&#8217;d also really like to see Ubuntu getting better in a &#8216;Maverick way&#8217; for Natty and releases to come.  Here I will expose 3 particular points I&#8217;d like to see progress in.  These are mainly bugs or incomplete features that have annoyed me for years and that I would really to see them go away once and for all. In my opinion these issues should not be in a first class citizen OS.  You can consider this to be my top 3 papercuts (which at this point would be more like severe machete cuts).</p>
<p><strong>Lack of XrandR support for the Nvidia driver and Twinview </strong></p>
<p>This first annoyance has very little chance to get fixed by the Ubuntu developers themselves. It&#8217;s Nvidia&#8217;s job to do his job right and I can only hope that Canonical has gained enough weight in order to be able to put some pressure in Nvidia&#8217;s driver development. Here&#8217;s the problem: With multiple monitors you get only one resolution in XrandR which is equal to the size of all your screens. If you want to change the resolution of one or both screens, you either have to do it manually from Nvidia&#8217;s control panel or you can write Modelines in you Xorg with every possible combination of screen resolution you&#8217;d want to use.<br />
These Modelines are annoying to write and I&#8217;ve been copying and pasting the same modelines in my Xorg since Dapper Drake. ATI does it right, Nouveau does it right, now it&#8217;s Nvidia&#8217;s turn. The whole point is not to get XrandR support for the sake of it, the point is that applications should be able to set the resolution of screens individually and that it should be painless to  plug / unplug screens on the fly. If you don&#8217;t play video games, especially old ones, that run in a small resolutions you might not get why this bug is so annoying.</p>
<p><strong>More stability to Nautilus</strong></p>
<p>Let&#8217;s admit it: Nautilus crashes way to often, and when it does it crashes every single window you had opened. The crashes occur mostly while working in Samba shares or with CD-Roms. If the crashes can&#8217;t be fixed then Nautilus should behave like Google Chrome: if one window has to crash, it must be the only one to crash, don&#8217;t bring your friends down with you. The Samba browsing could get some love too, apart from the crashes. I see messages like &#8220;Unable to mount location&#8221; far too often. Ok, my file server may be a little slow to wake up, but it&#8217;s no reason to whine. Just be a little more tolerant, increase the timeout periods by a couple seconds and that should fix it.</p>
<p><strong>Better disk naming<br />
</strong></p>
<p>Disk naming is driving many people crazy and even me with 10 years of Linux experience, I sometimes get confused. We have the standard /dev/sda1 for disk devices, we have the grub convention (hd0), we have uuids, we have disk ids and all of this creates a big mess. I think the most confusing one is the grub naming convention. It&#8217;s confusing because you know that if you mess up things, your computer will not boot and I&#8217;m never sure which drive is (hd0,0).  Things like /media/45755213-1587ABDC215-EF14856 should not happen and it would not happen if Ubuntu&#8217;s drive were given a label when installing and if it was easy<br />
to relabel a drive from Places &gt; Computer. What happens if I try to do so ?  I get this error message :</p>
<pre>The item could not be renamed.
Sorry, could not rename "74 GB Hard Disk: vbox" to "74 GB Hard Disk: vbox2":
Operation not supported by backend</pre>
<p>This is crazy, which backend are you talking about? If it doesn&#8217;t work with *this* backend why don&#8217;t you use another one? Why do you let me &#8216;rename&#8217; the &#8220;74GB Hard Disk&#8221; part?</p>
<p>Fixing the disk naming issue implies :<br />
- giving the system drive a label during the install (ie. &#8216;ubuntu-disk&#8217;)<br />
- having a GUI for fstab and grub.<br />
- fixing the drive renaming in nautilus.</p>
<p>I admit that these issues won&#8217;t affect most users, well maybe the Nautilus stability will, everyone uses it and at some point it will crash. Most people don&#8217;t need to change resolutions on their dual screen setup and most people have one hard drive so the naming issue is not really one. But for each of these problems there is an underlying faulty design, something that needs to be fixed before things get worse and start affecting more people. The goal is not  to have a system that is good enough for the average user. There is no average user, each individual has special needs and each will uncover special cases that need to be treated with much attention.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.strycore.com/2010/10/3-annoying-bugs-that-need-to-die-in-natty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bugsquad Handbook needs your help</title>
		<link>http://blog.strycore.com/2010/04/bugsquad-handbook-needs-your-help/</link>
		<comments>http://blog.strycore.com/2010/04/bugsquad-handbook-needs-your-help/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 14:57:04 +0000</pubDate>
		<dc:creator>Mathieu Comandon</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.strycore.com/?p=38</guid>
		<description><![CDATA[A few weeks ago I started on a project to gather all information needed by the Bugsquad Team and put everything in a nice PDF. I have posted on the Bugsquad&#8217;s mailing list the reasons why I wanted to write this book. The basic idea is to have a single well structured document so you [...]]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_41" class="wp-caption alignright" style="width: 280px"><a href="http://www.flickr.com/photos/hi-phi/35449375/"><img class="size-medium wp-image-41   " style="margin-top: 0px; margin-bottom: 0px; border: 2px solid black;" title="35449375_5ee0ea0457" src="http://blog.strycore.com/wp-content/uploads/2010/04/35449375_5ee0ea0457-300x224.jpg" alt="" width="270" height="202" /></a><p class="wp-caption-text">Photo by phil h</p></div><br />
A few weeks ago I started on a project to gather all information needed by the <a href="https://wiki.ubuntu.com/BugSquad">Bugsquad Team</a> and put everything in a nice PDF. I have posted on the <a href="https://lists.ubuntu.com/archives/ubuntu-bugsquad/2010-January/001784.html">Bugsquad&#8217;s mailing list</a> the reasons why I wanted to write this book. The basic idea is to have a single well structured document so you don&#8217;t get confused trying to read 5 wiki pages at the same time.</p>
<p>Unfortunately, I don&#8217;t have much time to work on this book now, as I have tons of Web development to do. The Open Office document was staying here untouched and unfinished in my Documents directory and I thought this was too bad. This is all about  mutual help and open contributions so I&#8217;m not going to let this idea rot on my computer.</p>
<p>The current document is already almost 100 pages long, but there is still some work to do :</p>
<ul>
<li>Convert the book in a Version Control System friendly format. It can be Latex (like the Ubuntu Manual), markdown, SGML, Docbook or any other format that can easily be exported to PDF. The current Open Office format is inappropriate to work on with multiple contributors.</li>
<li>Add a Tools chapter which is a copy of the Tools section in <a href="https://wiki.ubuntu.com/BugSquad/KnowledgeBase#Bug%20Tools">Bugquad&#8217;s Knowledge base</a></li>
<li>Give a better structure to the document, there should be as little forward references as possible and the reader should be able to stop reading the book at any point and still have valuable knowledge. (<a href="http://engineerwriting.jottit.com/">Check this out</a>). David Tombs made a very good remark <a href="https://lists.ubuntu.com/archives/ubuntu-bugsquad/2010-January/001785.html">on the mailing list</a> , but I do not want this Handbook to be a stripped down version of the Wiki, I should be useful for both beginners <strong>and</strong> experienced team members. A &#8216;lite version&#8217; of the Bugsquad Handbook could easily be made by taking only the first 30 pages or so from the complete book.</li>
<li>This project requires many eyeballs to stay fresh and up-to-date. If you want to be involved, you should subscribe to the mailing list and to some Wiki pages so you get notified when they change.</li>
<li>Be awesome and bring your own ideas !</li>
</ul>
<p>Download the current version of the Bugsquad Handbook : <a href="http://blog.strycore.com/wp-content/uploads/2010/04/bugsquad-handbook.odt.tar.gz">bugsquad-handbook.odt.tar.gz</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.strycore.com/2010/04/bugsquad-handbook-needs-your-help/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Extra folder icons for Humanity Theme</title>
		<link>http://blog.strycore.com/2010/04/extra-folder-icons-for-humanity-theme/</link>
		<comments>http://blog.strycore.com/2010/04/extra-folder-icons-for-humanity-theme/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 12:16:12 +0000</pubDate>
		<dc:creator>Mathieu Comandon</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.strycore.com/?p=29</guid>
		<description><![CDATA[The new deep orange folder icons for Lucid Lynx kick ass. All the default icons in the home directory have nice emblems representing, well not really emblems because emblems have a special meaning in nautilus but you get the point. However, some folders lack a special icon and that makes me a sad sad panda. [...]]]></description>
			<content:encoded><![CDATA[<p>The new deep orange folder icons for Lucid Lynx kick ass. All the default icons in the home directory have nice emblems representing, well not really emblems because emblems have a special meaning in nautilus but you get the point. However, some folders lack a special icon and that makes me a sad sad panda. The Ubuntu One folder is just a regular folder icon and I happen to have a ~/bin folder for my own scripts ans a ~/Devel folder because I&#8217;m a coder <img src='http://blog.strycore.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Now these folders too will get some love, it was very easy to create new icons with inkscape.</p>
<div id="attachment_30" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.strycore.com/wp-content/uploads/2010/04/folders-preview.png"><img class="size-medium wp-image-30 " title="folders-preview" src="http://blog.strycore.com/wp-content/uploads/2010/04/folders-preview-300x60.png" alt="" width="300" height="120" /></a><p class="wp-caption-text">Extra folder icons</p></div>
<p>If you can grab the svgs here : <a href="http://blog.strycore.com/wp-content/uploads/2010/04/humanity-folders-extra.tar.gz">humanity-folders-extra.tar.gz</a></p>
<p>UPDATE: I removed the bin folder icon which was already in the official theme, added icons for Games and Books. I also made alternative icons for UbuntuOne, the original orange on orange one isn&#8217;t that great.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.strycore.com/2010/04/extra-folder-icons-for-humanity-theme/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Using the application indicator in Python</title>
		<link>http://blog.strycore.com/2010/01/using-the-application-indicator-in-python/</link>
		<comments>http://blog.strycore.com/2010/01/using-the-application-indicator-in-python/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 11:30:09 +0000</pubDate>
		<dc:creator>Mathieu Comandon</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[lucid]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.strycore.com/?p=17</guid>
		<description><![CDATA[Yesterday, during the second day of Ubuntu Developer Week, Ted Gould gave a great presentation of the application indicator that will be present in Lucid Lynx. Here I will show you how to use it in your applications with a small application I wrote very quickly. This application shows a Debian logo in the panel [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, during the second day of Ubuntu Developer Week, <a title="Ted Gould" href="http://gould.cx/ted/blog">Ted Gould</a> gave a great presentation of the application indicator that will be present in Lucid Lynx. Here I will show you how to use it in your applications with a small application I wrote very <a href="https://wiki.ubuntu.com/Quickly">quickly</a>.</p>
<p>This application shows a Debian logo in the panel and gives you access to essential documents for packagers and developers : The Debian FAQ, the Developer Reference, the Maintainer&#8217;s guide and the Debian Policy. You can fetch it on the <a href="https://launchpad.net/debiandocmenu">project&#8217;s page</a> or on my <a href="https://launchpad.net/~strycore/+archive/ppa">PPA</a>.</p>
<p>Ok, let&#8217;s start digging in. First thing to do when you want to use libindicator in your Python applications is to install the python-appindicator package (I assume that you are running Lucid Lynx). Once this is done import the module in your program :</p>
<pre>import appindicator</pre>
<p>In the body of your program create a Indicator object</p>
<pre>ind = appindicator.Indicator ("debian-doc-menu","debian-swirl", appindicator.CATEGORY_APPLICATION_STATUS)</pre>
<p>You instantiate an indicator object with 3 parameters, first an unique identifier for your app, then an icon (you can pick any stock icon from your icon theme) and finally a category that will tell libindicate where to place the icon in the panel.<br />
You have 5 categories to choose from :</p>
<ul>
<li>CATEGORY_APPLICATION_STATUS</li>
<li>CATEGORY_COMMUNICATIONS</li>
<li>CATEGORY_SYSTEM_SERVICES</li>
<li>CATEGORY_HARDWARE</li>
<li>CATEGORY_OTHER</li>
</ul>
<p>As you can see, the names are self explanatory.<br />
Then you set the status of your indicator :</p>
<pre>ind.set_status (appindicator.STATUS_ACTIVE)</pre>
<p>Again you have 3 statuses to choose from :</p>
<ul>
<li>STATUS_PASSIVE : The icon is hidden</li>
<li>STATUS_ACTIVE : The icon is visible</li>
<li>STATUS_ATTENTION : The icon changes to the attention icon, requesting some kind of interaction with the user</li>
</ul>
<p>You can set the attention icon with :</p>
<pre>ind.set_attention_icon ("indicator-messages-new")</pre>
<p>Then you&#8217;re likely to want to attach a menu to this icon, it&#8217;s a standard Gtk Menu :</p>
<pre>menu = gtk.Menu()
faq_item = gtk.MenuItem("Debian FAQ")
faq_item.connect("activate", faq_clicked)
faq_item.show()
menu.append(faq_item)
</pre>
<p>You attach the menu with :</p>
<pre>ind.set_menu(menu)</pre>
<p>Of course you have to write some actions for the menu :</p>
<pre>def faq_clicked(widget,data=None):
    os.system("evince /usr/share/doc/debian/FAQ/debian-faq.pdf.gz &amp;")
</pre>
<p>And you&#8217;re done ! Run the gtk.main() and you got your AppIncidator running.</p>
<p>Next thing to do is to find an application using a legacy &#8220;systray&#8221; icon and propose a patch to the developers, maybe <a href="http://parcellite.sourceforge.net/">Parcellite</a> would be a good start, it would be a good way to show how it&#8217;s done in a C project.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.strycore.com/2010/01/using-the-application-indicator-in-python/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Brand new shiny blog</title>
		<link>http://blog.strycore.com/2010/01/brand-new-shiny-blog/</link>
		<comments>http://blog.strycore.com/2010/01/brand-new-shiny-blog/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 17:09:49 +0000</pubDate>
		<dc:creator>Mathieu Comandon</dc:creator>
				<category><![CDATA[The Blog Itself]]></category>
		<category><![CDATA[Hacking]]></category>

		<guid isPermaLink="false">http://blog.strycore.com/?p=4</guid>
		<description><![CDATA[Onk onk, fellow hackers. Here I am on my new blog. The old one, Tweekers&#8217;s Blog was in french and I shall still update  it from time to time. Last night, as I couln&#8217;t get to sleep, I told myself &#8220;That&#8217;s it, I&#8217;m fed up with the French blogosphere, I have to start a new [...]]]></description>
			<content:encoded><![CDATA[<p>Onk onk, fellow hackers.</p>
<p>Here I am on my new blog. The old one,<a title="Tweekers's Blog" href="http://tweekers.free.fr/blog" target="_blank"> Tweekers&#8217;s Blog</a> was in french and I shall still update  it from time to time. Last night, as I couln&#8217;t get to sleep, I told myself &#8220;That&#8217;s it, I&#8217;m fed up with the French blogosphere, I have to start a new blog in English&#8221;.Don&#8217;t get me wrong, there are some great French guys, but quite frankly, I feel that they lack the Hacker culture I want to be a part of. A lot of French blogs talk about Free Software, which is great, but the underlying message is that they try to defend themselves from a great evil power (proprietary software). I don&#8217;t have this feeling. I already have my (software) freedom and no one is going to take it away from me. My only goal is to build awesome Open Source software, that&#8217;s the only way to make people use them.</p>
<p>Yes, this is all about the Open Source VS Free Software debate. Free Software advocates tend to say that Open Source guys only care about the technology and not about the ethics. That&#8217;s not true, I care about the ethics and I&#8217;m aware of them. But to bring Free Software to the people they have to be quite darn good or else nobody would want them. There is only a tiny minority of non-technical people willing to use shitty Free Software instead of good proprietary ones just for freedom&#8217;s sake. All the rest, they don&#8217;t give a rat&#8217;s ass about the ability to hack the source code, they just want something that works.</p>
<p>We, as the hacker community, must bring excellent software to the people or else they won&#8217;t give a shit and they&#8217;ll go buy an iPhone because it&#8217;s a nifty piece of technology that justs works.</p>
<p>This blog doesn&#8217;t target an imaginary reader that would be totally new to Open Source. This blog is meant to be read by hackers, by geeks, by people who actually use their freedom to study and modify the source code of the software they use. I will post some Python code here. You&#8217;d better be prepared to read it. This is not for people who say &#8220;Open Source is great, everybody can modify the software, well not me but someone else with the skills can&#8221;. You don&#8217;t have to be a guru to read this blog, but at least you must have the will to understand things. Understanding how things work is part of the hacker culture and Open Source is our language. I&#8217;m sick and tired to have the feeling that everyone around me can&#8217;t answer my questions on hacking. I clearly had the wrong audience. I&#8217;m finished being at the top of the newbies, now I want to be at the bottom, I want everyone around me to be better than me or at least my equal.</p>
<p>We want to learn, we want to hack and we want to make the best software there is on earth.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.strycore.com/2010/01/brand-new-shiny-blog/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

