<?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>soledad penadés &#187; linux</title>
	<atom:link href="http://soledadpenades.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://soledadpenades.com</link>
	<description>repeat 4[fd 100 rt 90]</description>
	<lastBuildDate>Sun, 29 Jan 2012 23:03:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Distro/desktop (s)hopping, part 2: XFCE</title>
		<link>http://soledadpenades.com/2011/10/23/distrodesktop-shopping-part-2-xfce/</link>
		<comments>http://soledadpenades.com/2011/10/23/distrodesktop-shopping-part-2-xfce/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 22:34:30 +0000</pubDate>
		<dc:creator>sole</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[arch linux]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xfce]]></category>

		<guid isPermaLink="false">http://soledadpenades.com/?p=3781</guid>
		<description><![CDATA[So since my Ubuntu installation was behaving idiotically I decided to stop delaying the unavoidable, and made a fresh install of Arch Linux on an spare disk. I completed the installation of the basic system in a couple of hours, but I could have finished way earlier if the neighbours didn&#8217;t create so much interference [...]]]></description>
			<content:encoded><![CDATA[<p>So since my Ubuntu installation was behaving idiotically I decided to stop delaying the unavoidable, and made a fresh install of Arch Linux on an spare disk. I completed the installation of the basic system in a couple of hours, but I could have finished way earlier if the neighbours didn&#8217;t create so much interference with my Wi-Fi.</p>
<p>Even if mrdoob is tempting me with GNOME 3, arguing that <q>it&#8217;s not that bad!</q>, I want to test by myself the other alternatives and see if I can work with them.</p>
<p>Since I can choose what I install, the system is a sort of <em>lightweight Frankenstein</em>:</p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Ext3">ext3</a>. Recent Ubuntu versions use <a href="http://en.wikipedia.org/wiki/Ext4">ext4</a> by default, and I did use it for a while, but stopped doing so when I discovered that if the system crashed, some files got reduced to <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/317781">0 bytes</a> (that is: their contents were lost). Not nice! So I&#8217;m opting for the tradition here.</li>
<li><a href="http://www.freedesktop.org/wiki/Software/LightDM">LightDM</a> as login manager. This is the same that Ubuntu uses, and is based on WebKit so I can customise its appearance by editing HTML if I want to. But what is really interesting is that it&#8217;s <em>super</em> fast, so the login screen shows up almost immediately after the X are started. Win!</li>
<li>I have only installed <a href="http://www.alsa-project.org/">ALSA</a>, and not <a href="http://www.pulseaudio.org/">PulseAudio</a>, for the time being. I also set its daemon to load up asynchronously, so that speeds up a little bit the load process.</li>
<li>I&#8217;m using <a href="http://wicd.sourceforge.net/">WiCD</a> for managing my wireless connection. In the past I used <a href="http://projects.gnome.org/NetworkManager/">NetworkManager</a> but I wanted to try this one. It&#8217;s slightly ugly compared to NetworkManager, but does its work spotlessly so I won&#8217;t complain!</li>
<li><a href="http://www.xfce.org/">XFCE</a>. It&#8217;s very fast but also a bit rough, compared to GNOME2. Semiwin, read on for more on why!</li>
<li><a href="http://live.gnome.org/Nautilus">Nautilus</a> as File Manager. <a href="http://thunar.xfce.org/">Thunar</a> (XFCE&#8217;s &#8216;native&#8217; file manager) is very fast but doesn&#8217;t have tabs. I also tried <a href="http://pcmanfm.sourceforge.net/">pcmanFM</a> which does indeed have tabs, but it was slightly buggy.</li>
<li><a href="http://www.mozilla.org/en-US/firefox/">Firefox</a>. The current version packaged in Arch is 7, whereas the builds from source are already on 10. I used to build my own version with Ubuntu, every week or so, and I tried to do the same but it failed. Since I&#8217;m not yet used to the build process in Arch I decided I would just use the repo version for now. In any case, it starts up almost instantaneously. Win!</li>
<li><a href="http://www.chromium.org/">Chromium</a>. The Arch repo doesn&#8217;t include <a href="http://www.google.com/chrome">Chrome</a>, but Chromium. It therefore doesn&#8217;t have a Flash plug-in&#8211;but that&#8217;s OK. I&#8217;m going to try and avoid using Flash as much as I can; the only problem I&#8217;ve found so far is that Google&#8217;s StreetView requires Flash. I demand a WebGL version!</li>
<li>Talking about WebGL, I&#8217;m using the <a href="http://nouveau.freedesktop.org/wiki/">nouveau</a> open source nvidia driver. I thought it was going to be problematic just by looking at their compatibility <a href="http://nouveau.freedesktop.org/wiki/FeatureMatrix">table</a>, but so far I just got a WebGL issue, and I&#8217;m not sure if it&#8217;s because of Chromium or because of the driver itself. We&#8217;ll see when I experiment more with WebGL.</li>
<li>Graphics stuff: I installed <a href="http://www.gimp.org/">GIMP</a> (2.6) and <a href="http://inkscape.org/">Inkscape</a>. I also installed the <a href="https://github.com/auris/gimp-save-for-web">Save for web</a> GIMP plug-in, which is pretty useful as you can choose to strip EXIF data, adjust the output size based on the compression level, etc&#8230; This is packaged in a set with more plug-ins in Ubuntu, but I had to compile it from source here, as it&#8217;s not in Arch repositories. It wasn&#8217;t difficult though, and allowed me to submit a documentation <a href="https://github.com/auris/gimp-save-for-web/pull/5">patch</a> too, which is already merged into the project! I love github! ^^</li>
<li>For video, I&#8217;m using <a href="http://www.videolan.org/vlc/">VLC</a>, and for audio, <a href="http://audacious-media-player.org/">Audacious</a>. I learned today how to compile the <a href="http://soledadpenades.com/articles/arch-linux/building-the-xmp-plugin-for-audacious/">XMP plug-in for Audacious</a> straight from the GIT tree, so I can listen to tracked music (modules) with Audacious too. Yay!</li>
<li>For quick image viewing I installed <a href="http://mirageiv.berlios.de/">Mirage</a>. It&#8217;s <em>super</em> fast but doesn&#8217;t show EXIF data, so when I want to browse/view images with more detail I use <a href="http://live.gnome.org/gthumb">gThumb</a>, which I already used in Ubuntu. But the default is to open images with Mirage.</li>
<li>I also installed <a href="http://en.wikipedia.org/wiki/GNOME_Terminal">GNOME terminal</a>, as I&#8217;m used to it. <a href="http://invisible-island.net/xterm/">xterm</a> was a bit too basic! Win if only because of the tabs!</li>
<li>And <a href="https://www.virtualbox.org/">VirtualBox</a>. I want to experiment with having a couple of virtual machines for certain things such as web development, so I can just fire it up when I need it, and the rest of the time I won&#8217;t have an Apache daemon process waiting on the background (you can replace Apache with MySQL, nginx, etc&#8230; you get the idea). That way the system is very lean, and also I can copy the virtual machine to another computer and keep working without having to set up another environment! Therefore&#8230; double win!</li>
</ul>
<p>So what do I think of XFCE after using it for a couple of days? Well, it&#8217;s good that it&#8217;s sooo fast, but it also feels excessively rough sometimes. Specially when editing or customising things such as panels I find myself right clicking on things and not really getting the sort of contextual menu I would expect to see.</p>
<p>I guess I&#8217;ve been spoiled by the Ubuntu eyecandy and now everything else feels ugly. The problem is that as these interfaces are GTK-based and whoever designed GTK themes apparently was high when doing it, making custom GTK themes is just so complicated that I guess you need to be on drugs too if you want to create a GTK theme. It&#8217;s so unnecessarily confusing. So after trying to install the Ambiance theme from Ubuntu and not getting too far, I decided to just look for a very simple XFCE theme and see how it would work. At least is not punching my face every time I look at the screen, unlike other themes that I saw :-)</p>
<p>However I think I&#8217;ll succumb and test GNOME 3 soon, because of two reasons:</p>
<ol>
<li>I found about about <a href="http://code.google.com/p/tint2/">tint2</a>, a GNOME panel. That alleviates my initial G3 reluctance.</li>
<li>In theory G3 can be customised using Javascript. So maybe, only <em>maybe</em>, I could tweak it to my tastes (centered window titles, excessively padded windows and huge icons, I&#8217;m looking at you all!)</li>
</ol>
<p>Meanwhile I&#8217;ve noticed my computer is way quieter than usual. Specially I hardly hear the hard disk&#8211;I literally have to look at the led to see if it&#8217;s working or not. With Ubuntu it was considerably noisier, but it could be because it was fragmented &#8211;don&#8217;t know! It&#8217;s just a random fact that I&#8217;ve observed.</p>
<p>Previously on the Distro/desktop (s)hopping &#8220;saga&#8221;: <a href="http://soledadpenades.com/2011/10/20/distrodesktop-shopping-part-1-kde/">KDE</a>.<br />
Next: we&#8217;ll see! I&#8217;ll update when it happens.</p>
 <p><a href="http://soledadpenades.com/?flattrss_redirect&amp;id=3781&amp;md5=8ee1685bcaed5400d3e62cdb3a593418" title="Flattr" target="_blank"><img src="http://soledadpenades.com/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://soledadpenades.com/2011/10/23/distrodesktop-shopping-part-2-xfce/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Distro/desktop (s)hopping, part 1: KDE</title>
		<link>http://soledadpenades.com/2011/10/20/distrodesktop-shopping-part-1-kde/</link>
		<comments>http://soledadpenades.com/2011/10/20/distrodesktop-shopping-part-1-kde/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 10:32:15 +0000</pubDate>
		<dc:creator>sole</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unity]]></category>

		<guid isPermaLink="false">http://soledadpenades.com/?p=3764</guid>
		<description><![CDATA[One year after, and I&#8217;m still running Ubuntu 10.10. I have tested Unity and GNOME 3 both on Virtual Boxes and on real computers and I disliked them both&#8211;they convert perfectly capable machines into piles of obsolete hardware. It&#8217;s a shame, but it&#8217;s their decision. Thankfully, since it&#8217;s Linux, we have many choices, and so [...]]]></description>
			<content:encoded><![CDATA[<p>One year after, and I&#8217;m still running Ubuntu 10.10. I have tested <a href="http://unity.ubuntu.com/">Unity</a> and <a href="http://www.gnome.org/gnome-3/">GNOME 3</a> both on Virtual Boxes and on real computers and I disliked them both&#8211;they convert perfectly capable machines into piles of obsolete hardware. It&#8217;s a shame, but it&#8217;s their decision.</p>
<p>Thankfully, since it&#8217;s Linux, we have many choices, and so I&#8217;m currently experimenting with several options in order to replace this Ubuntu installation with something more akin to my tastes. I&#8217;ve decided I&#8217;ll use <a href="http://www.archlinux.org/">Arch Linux</a>, since I have some experience with it and it follows a <a href="http://en.wikipedia.org/wiki/Rolling_release">rolling release</a> model, which means the system shouldn&#8217;t break every 6 months (as with Ubuntu), because packages are regularly updated. Or at least, if it breaks, it should happen in a granular way, and I <em>should</em> be able to roll back the problematic packages.</p>
<p>I also considered using <a href="http://www.linuxmint.com/download_lmde.php">Mint Debian</a> Edition (which is &#8216;rolling&#8217; too, but based on Debian Testing), and had a look at other distributions such as <a href="http://crunchbanglinux.org/">CrunchBang</a> and etc, but Debian Testing seemed a little outdated the last time I tested it (sorry about the redundancy!). And the other distributions don&#8217;t seem to have such an excellent <a href="https://wiki.archlinux.org/index.php/Main_Page">support</a> and community such as Arch&#8217;s. Plus I like the <a href="https://wiki.archlinux.org/index.php/Rc.conf">rc.conf</a> way of configuring the system! ;-)</p>
<p>As I have already decided on the distribution I&#8217;ll use, it&#8217;s now time for the desktop part. I&#8217;m looking for something that:</p>
<ul>
<li>doesn&#8217;t get on my way</li>
<li>doesn&#8217;t distract me</li>
<li>allows me to place things where I want</li>
<li>has a decent file manager (tabs! gvfs support! thumbnails! drag and drop!)</li>
<li>&lt;insert more subjective features here&gt;</li>
</ul>
<p>Ubuntu was headed in that direction (they released the Ubuntu font, cleared up the GTK theme, etc&#8230;), until they went crazy for Unity and ruined everything.</p>
<p>I had a look at <a href="http://kde.org/workspaces/plasmadesktop/">KDE</a>&#8216;s website. Apparently they haven&#8217;t gone &#8216;tablet crazy-only&#8217; yet, and still keep a desktop friendly version of their desktop manager, so I thought I would give it a go&#8230; and I found an embarrassingly tacky environment with all manners of distracting stuff.</p>
<p>Proof:</p>
<p><a href="/imgs/2011/kde01_.png"><img src="/imgs/2011/kde01_.png" alt="KDE" /></a></p>
<p><img src="/imgs/2011/kde02_.png" alt="KDE" /></p>
<p><img src="/imgs/2011/kde03_.png" alt="KDE" /></p>
<p>Of course I should be able to change the theme and configure it to my liking, but there are so many wrong things with the default experience that it&#8217;s been enough for making me reject the idea of using KDE.</p>
<p>Sorry about the harsh criticism, KDE devs, but this is a mess&#8211;and that&#8217;s a pity, because the system ran reasonably fast, even with all those unnecessary animations and transitions everywhere.</p>
<p>&#8212;</p>
<p>Next up in the testing/criticising queue: XFCE, LXDE, &#8230;</p>
<p>PS Isn&#8217;t it funny+sad that <em>Unity</em> is managing to <em>segregate</em> the Ubuntu community? </p>
 <p><a href="http://soledadpenades.com/?flattrss_redirect&amp;id=3764&amp;md5=5128902b15aa552a58e7472e1ee7f97a" title="Flattr" target="_blank"><img src="http://soledadpenades.com/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://soledadpenades.com/2011/10/20/distrodesktop-shopping-part-1-kde/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;insufficient permissions for device&#8221;</title>
		<link>http://soledadpenades.com/2011/07/18/insufficient-permissions-for-device/</link>
		<comments>http://soledadpenades.com/2011/07/18/insufficient-permissions-for-device/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 14:07:44 +0000</pubDate>
		<dc:creator>sole</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[adb]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[udev]]></category>

		<guid isPermaLink="false">http://soledadpenades.com/?p=3596</guid>
		<description><![CDATA[Yes, another of those note-to-self posts, since each time I try to connect a new device to the computer I&#8217;ve already forgotten how this is done :-) Here are the official instructions, with a list of vendor IDs. If your vendor is not on this list, try to find out the vendor id by connecting [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, another of those <em>note-to-self</em> posts, since each time I try to connect a new device to the computer I&#8217;ve already forgotten how this is done :-)<br />
<span id="more-3596"></span><br />
Here are the <a href="http://developer.android.com/guide/developing/device.html">official instructions</a>, with a list of vendor IDs. If your vendor is not on this list, try to find out the vendor id by connecting the device with USB and running:</p>
<div class="syhi_block"><code>lsusb</code></div>
<p>For example, if we got this output:</p>
<div class="syhi_block"><code>Bus 001 Device 008: ID 0fce:615d Sony Ericsson Mobile Communications AB</code></div>
<p>the vendor ID is <strong>0fce</strong>, i.e. the four numbers to the left of the semicolon on the left of the Vendor name (gee! this is overcomplicated!)</p>
<p>Then /etc/udev/rules.d/51-android.rules must be edited (by root) and the proper vendor must be added. For example:</p>
<div class="syhi_block"><code>SUBSYSTEM==&quot;usb&quot;, ATTR{idVendor}==&quot;0fce&quot;, MODE=&quot;0666&quot;, GROUP=&quot;plugdev&quot;</code></div>
<p>Now I still haven&#8217;t exactly found which steps are really necessary and in which order, but seems that you might need to do some or all of the following actions so that the device is finally recognised:</p>
<ul>
<li>unplug the phone, maybe disable and enable USB debugging in it</li>
<li>kill and restart the adb server:
<div class="syhi_block"><code>adb kill-server; adb start-server</code></div>
</li>
<li>restart the udev service:
<div class="syhi_block"><code><span style="color: #c20cb9; font-weight: bold;">sudo</span> restart udev</code></div>
</li>
</ul>
 <p><a href="http://soledadpenades.com/?flattrss_redirect&amp;id=3596&amp;md5=af43e24f944d4c63b2327ece803d3013" title="Flattr" target="_blank"><img src="http://soledadpenades.com/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://soledadpenades.com/2011/07/18/insufficient-permissions-for-device/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>aafm &#8211; the Android ADB file manager</title>
		<link>http://soledadpenades.com/2011/07/18/aafm-the-android-adb-file-manager/</link>
		<comments>http://soledadpenades.com/2011/07/18/aafm-the-android-adb-file-manager/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 08:41:30 +0000</pubDate>
		<dc:creator>sole</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[aafm]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[file manager]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[honeycomb]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mtp]]></category>
		<category><![CDATA[nautilus]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[xds]]></category>

		<guid isPermaLink="false">http://soledadpenades.com/?p=3588</guid>
		<description><![CDATA[Complaining is cheap&#8211;acting is for the brave ones! So I took the brave, proactive path and wrote aafm: an ADB based file manager, for those of us which can&#8217;t get MTP to work, no matter how many voodoo rituals we perform in front of the Sacred Droid Puppet beforehand. I&#8217;ve made sure that the project&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://github.com/sole/aafm"><img src="http://sole.github.com/aafm/screenshot.png" alt="aafm screenshot" /></a></p>
<p><a href="http://soledadpenades.com/2011/06/12/honeycomb-mtp-and-linux/">Complaining</a> is cheap&#8211;acting is for the brave ones! So I took the brave, proactive path and wrote <a href="https://github.com/sole/aafm">aafm</a>: an ADB based file manager, for those of us which can&#8217;t get MTP to work, no matter how many voodoo rituals we perform in front of the <em>Sacred Droid Puppet</em> beforehand.</p>
<p>I&#8217;ve made sure that the project&#8217;s <a href="https://github.com/sole/aafm/blob/master/README.md">README</a> has <em>very</em> detailed instructions on how to install and use it, but please let me know if there&#8217;s still something obscure or simply not working.<br />
<span id="more-3588"></span></p>
<h3>The tools</h3>
<p>I&#8217;ve learnt quite a lot of GTK stuff with this little project, and I&#8217;ll probably learn a lot more in the future when I implement what is missing (that is, unless things get resolved, MTP starts working everywhere and this project isn&#8217;t needed any more). Python and the PyGTK bindings make working with GTK a very smooth experience, totally unlike using just pure C.</p>
<p>I also used <a href="http://glade.gnome.org/">Glade</a> &#8220;seriously&#8221; for the first time, although I had tinkered with it a couple years ago, but never did anything serious. It is so far <strong>the easiest GUI builder I&#8217;ve ever used</strong>, and the only one in which you can prototype and refactor things without fearing that you&#8217;ll end up with a corrupted binary interface file that you can&#8217;t recover. So props up to the GNOME, Glade and PyGTK developers&#8211;it&#8217;s a pleasure to build software with that team. That said, it&#8217;s got some oddities, but they can be worked around.</p>
<h3>90s called, they want their interface back!</h3>
<p>As a funny anecdote, initially there were two buttons with arrows at the center of the application. One pointing right (for transferring files to the device) and another one pointing left (for transferring them to the computer). But <a href="http://mrdoob.com">mrdoob</a> said that it looked like a Nokia application from the 90s, and I felt ashamed at that comparison. It was unacceptable!</p>
<p>Therefore I removed the buttons and reworked things so that you can drag and drop files, or use contextual menus if you prefer. You can also drag and drop between the device and <a href="http://live.gnome.org/Nautilus">Nautilus</a> (the GNOME file explorer) or any file explorer that supports the <a href="http://www.newplanetsoftware.com/xds/">XDS</a> protocol for copying files. I&#8217;ve read that the default KDE explorer supports it too, as well as many other managers, so you should be OK even if you don&#8217;t use Nautilus.</p>
<p>That &#8220;mildly harsh&#8221; criticism was actually a good thing, since the application looks way nicer now, and I find dragging and dropping files much more natural and comfortable than selecting what I want to transfer, navigate to the place I want to transfer things to, and then clicking a button to initiate the transfer.</p>
<h3>If you like it&#8230;</h3>
<p>&#8230; spread the word about it or help me <a href="https://github.com/sole/aafm">improve it</a> (<q>patches welcome</q>)!</p>
 <p><a href="http://soledadpenades.com/?flattrss_redirect&amp;id=3588&amp;md5=8eb8b059e4ba1281834de016c7d9dfb2" title="Flattr" target="_blank"><img src="http://soledadpenades.com/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://soledadpenades.com/2011/07/18/aafm-the-android-adb-file-manager/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Honeycomb, MTP and Linux</title>
		<link>http://soledadpenades.com/2011/06/12/honeycomb-mtp-and-linux/</link>
		<comments>http://soledadpenades.com/2011/06/12/honeycomb-mtp-and-linux/#comments</comments>
		<pubDate>Sun, 12 Jun 2011 11:09:46 +0000</pubDate>
		<dc:creator>sole</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[galaxy tab]]></category>
		<category><![CDATA[honeycomb]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[samsung]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://soledadpenades.com/?p=3536</guid>
		<description><![CDATA[TL;DR If you want to transfer files between your computer and your tablet, get aafm, an application I&#8217;ve written to work around MTP issues with Linux. Honeycomb ends with the tradition of allowing users to mount the phone&#8217;s SD card as an USB mass storage device, and replaces that with MTP. Or, in other words, [...]]]></description>
			<content:encoded><![CDATA[<h2>TL;DR</h2>
<p>If you want to <strong>transfer files between your computer and your tablet</strong>, get <a href="https://github.com/sole/aafm">aafm</a>, an application I&#8217;ve written to work around MTP issues with Linux.</p>
<hr />
<p><a href="http://developer.android.com/sdk/android-3.0-highlights.html">Honeycomb</a> ends with the tradition of allowing users to mount the phone&#8217;s SD card as an USB mass storage device, and replaces that with <a href="http://en.wikipedia.org/wiki/Media_Transfer_Protocol">MTP</a>. Or, in other words, &#8220;Media Transfer Protocol&#8221;, a Microsoft protocol for transferring files between portable devices and a computer.</p>
<p>Why? Because in theory MTP allows the computer to access single files and directories at the same time that the device can still access them. So you can forget about &#8220;dismounting&#8221; the SD card and getting some applications to stop in your Android device. It sounds too good to be true&#8230; and as expected, it doesn&#8217;t work.</p>
<p><span id="more-3536"></span></p>
<p>There&#8217;s hardly been any mention to this change in all the Honeycomb announcements, and it certainly is a disruptive change. Because this new protocol relies in the manufacturers getting their act together to provide proper drivers that are able to communicate with the device, it seems everybody is having problems. Not only in Linux &#8211;which is my case&#8211;, but in Mac and Windows too. They have to install &#8220;Samsung KIES&#8221;, which sounds absolutely like an iTunes counterpart, and restart the computer and device several times, and maybe update something else. So we had been able to run away from having to use a dedicated program to transfer files to our Android devices, and we have to end up installing some special software to do that with Honeycomb. Boo.</p>
<p>I&#8217;ve been following several tutorials to get MTP working with the Samsung Galaxy Tab 10.1 that I was given on the Google I/O, such as <a href="http://forum.xda-developers.com/showthread.php?t=981774">this one</a>. I&#8217;ve even managed to get the tablet to show up and automount, and I can copy files. Yet when I re-mount the tablet again, the files are &#8220;gone&#8221;, nowhere to be seen, although they are accessible from the point of view of the tablet.</p>
<p>I tried upgrading the tablet to 3.1 as the update was available. And for that, I had to register for a Samsung account <em>first</em>, and click on an agreement. Again locking people in. Not nice, and there wasn&#8217;t much of an improvement. Except I could change the time zone at last, which was a bug I noticed before.</p>
<p>Now, for transferring files you need to disable USB debugging mode. But let&#8217;s say you want to enable debug, for developing on the device. Hah! The tablet won&#8217;t allow you to do so unless you <em>physically</em> unplug the cable first.</p>
<p>And here comes the finest surprise of all: once you enable USB debugging, and connect the tablet again, you can see those mysteriously disappeared files, using ADB or DDMS (from the SDK toolkit). I wonder if some sort of utility could be built to transfer stuff using adb as the low level connection method instead of this MTP &#8220;thing&#8221;&#8211;to describe it somehow without resorting to rude epithets. <strong>UPDATE:</strong> <em>I&#8217;ve started developing such utility. If you want to take an early stab at it, have a look at <a href="https://github.com/sole/aafm">aafm</a> &#8211; Android ADB File Manager :)</em></p>
<p>I wonder if the commercial version of Galaxy 10.1 has this sort of problems. Some people are suggesting that Google are trying to get people to use &#8220;the cloud&#8221; instead of simply using plain old storage, so maybe commercial tabs have this <em>feature</em> too.</p>
<p>If that&#8217;s the case, that renders Honeycomb devices utterly unattractive.</p>
 <p><a href="http://soledadpenades.com/?flattrss_redirect&amp;id=3536&amp;md5=3df504e76034e177bde0ed4b6440adf2" title="Flattr" target="_blank"><img src="http://soledadpenades.com/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://soledadpenades.com/2011/06/12/honeycomb-mtp-and-linux/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

