<?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>Matt Cutts: Gadgets, Google, and SEO &#187; Linux/Ubuntu</title>
	<atom:link href="http://www.mattcutts.com/blog/type/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mattcutts.com/blog</link>
	<description>neat fun stuff</description>
	<lastBuildDate>Thu, 19 Nov 2009 23:19:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>30 day challenge for October: No Microsoft Software</title>
		<link>http://www.mattcutts.com/blog/30-days-no-microsoft-software/</link>
		<comments>http://www.mattcutts.com/blog/30-days-no-microsoft-software/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 19:26:35 +0000</pubDate>
		<dc:creator>Matt Cutts</dc:creator>
				<category><![CDATA[30 days]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Linux/Ubuntu]]></category>

		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=3130</guid>
		<description><![CDATA[In September I didn&#8217;t do a 30 day challenge because, frankly, I had a lot of work that I really needed to crunch through at the Googleplex and I didn&#8217;t have much spare time. But October is a new month, and so it&#8217;s time for a new 30 day challenge.
For October, I&#8217;m not going to [...]]]></description>
			<content:encoded><![CDATA[<p>In September I didn&#8217;t do a <a href="http://www.mattcutts.com/blog/30-day-reports/">30 day challenge</a> because, frankly, I had a lot of work that I really needed to crunch through at the Googleplex and I didn&#8217;t have much spare time. But October is a new month, and so it&#8217;s time for a new 30 day challenge.</p>
<p>For October, I&#8217;m not going to use any Microsoft software. No Microsoft operating systems (WinXP, Vista, or Windows 7) and no Microsoft Office allowed. I will continue to use their keyboards, because they make <a href="http://www.microsoft.com/hardware/mouseandkeyboard/ProductDetails.aspx?pid=043">very nice keyboards</a>, and I will allow myself to use their websites&#8211;sometimes I need to do a query on Bing to test how well they do, for example.</p>
<p>I don&#8217;t plan to switch to Apple, although I might try a Mac for a week. Apple products are polished and usable, so why not switch to Apple? That would be a much longer blog post. Apple makes great design decisions for the majority of people, but if you don&#8217;t like a particular decision, it can be very difficult to change it. Have you ever wanted to see the exact time (including seconds) on an iPhone? It&#8217;s hard to do, and <a href="http://www.mattcutts.com/blog/top-5-signs-you-are-anal-retentive/">I&#8217;m that kind of guy</a>. Another big reason is just that I&#8217;m huge believe in free and open-source software, and I want to support that sort of software.</p>
<p>So on Friday I installed Ubuntu on my Windows XP laptop. On Saturday, I downloaded all the data from my <a href="http://www.mattcutts.com/blog/my-favorite-pedometer-omron-hj-720itc/">pedometer</a> (the software only runs in Windows) and shut down my home Windows XP machine. I already had a machine running Ubuntu at home, but I managed to get it driving two out of my three monitors:</p>
<p><center><img src="http://www.mattcutts.com/images/ubuntu-desktop.jpg" alt="Ubuntu Desktop" /></center></p>
<p>What have I learned so far? The current version of <a href="http://www.ubuntu.com/">Ubuntu</a> (called &#8220;Jaunty Jackalope&#8221;) is really quite nice. There&#8217;s a lot of polish to the UI and the day-to-day tasks work very smoothly. At the same time, it&#8217;s possible to tinker around with something so much (I&#8217;m thinking about fonts right now) that you mess things up. But the <a href="http://dev.chromium.org/getting-involved/dev-channel">dev version of Chrome for Linux</a> has been really fast and stable, even though Chrome for Linux isn&#8217;t <a href="http://www.google.com/chrome/intl/en/linux.html">officially supported yet</a>. I spend a large chunk of each day in a web browser, so having Chrome as an option was critical.</p>
<p>I&#8217;ll let you know how the 30 days turns out, but right now I&#8217;m optimistic. <img src='http://www.mattcutts.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcutts.com/blog/30-days-no-microsoft-software/feed/</wfw:commentRss>
		<slash:comments>98</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.04 boots in 7.83 seconds!</title>
		<link>http://www.mattcutts.com/blog/ubuntu-904-boots-in-175-seconds/</link>
		<comments>http://www.mattcutts.com/blog/ubuntu-904-boots-in-175-seconds/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 06:22:22 +0000</pubDate>
		<dc:creator>Matt Cutts</dc:creator>
				<category><![CDATA[Gadgets/Hack]]></category>
		<category><![CDATA[Linux/Ubuntu]]></category>

		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=2340</guid>
		<description><![CDATA[Recently I treated myself to a solid-state drive (SSD). That&#8217;s essentially a hard-drive made out of memory chips. I bought the Intel X25-E Extreme, which uses faster single-level cell (SLC) memory chips instead of slower multi-level cell (MLC) memory chips.
I wanted to put the drive through its paces, so I decided to see how fast [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I treated myself to a solid-state drive (SSD). That&#8217;s essentially a hard-drive made out of memory chips. I bought the <a href="http://www.intel.com/design/flash/nand/extreme/index.htm">Intel X25-E Extreme</a>, which uses faster single-level cell (SLC) memory chips instead of slower multi-level cell (MLC) memory chips.</p>
<p>I wanted to put the drive through its paces, so I decided to see how fast I could boot Ubuntu and start Firefox. It turns out that Ubuntu 9.04, code-named Jaunty Jackalope, is <a href="http://www.ubuntu.com/testing/jaunty/beta">just a few days away</a>, and one of the features listed is &#8220;significantly improved boot performance.&#8221; Perfect! I installed Ubuntu 8.10 from a CD and then followed the <a href="http://www.ubuntu.com/testing/jaunty/beta#Upgrading%20from%20Ubuntu%208.10">incredibly easy instructions</a> to upgrade to the beta of 9.04.</p>
<p>So how fast did Ubuntu 9.04 boot with a solid-state drive? <strong>Really freaking fast</strong>. Like, &#8220;I can&#8217;t believe it&#8217;s already done&#8221; fast. Well, here, watch for yourself:</p>
<p><center><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/5GKohxZHNg4&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/5GKohxZHNg4&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"></embed></object></center></p>
<p>Total boot time from pressing power to Firefox loaded was about 22.5 seconds, with about 5 seconds of BIOS display on a Thinkpad. Subtracting out the Thinkpad BIOS display time, that means that Ubuntu 9.04 booted into Firefox in about 17.5 seconds. I think I&#8217;m going to have a lot of fun with this hard drive. Oh, and Ubuntu 9.04 looks really interesting too. <img src='http://www.mattcutts.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>For the folks that are curious, I <a href="http://www.howtogeek.com/howto/ubuntu/change-the-grub-menu-timeout-on-ubuntu/">changed the GRUB boot loader time out</a> from three seconds to zero, <a href="http://thirderror.com/article/enable-auto-login-for-ubuntu/">enabled automatic login</a> to my account, then I added Firefox to default list of startup services.</p>
<p><strong>Added</strong>: I collected a couple <a href="http://www.mattcutts.com/images/ubuntu-ssd-jaunty-20090413-1.png">boot</a> <a href="http://www.mattcutts.com/images/ubuntu-ssd-jaunty-20090413-2.png">charts</a> by using <a href="http://www.bootchart.org/">bootchart</a>. As Ryan said in a comment, I ran sudo apt-get install pybootchartgui bootchart , then rebooted, then collected the image in /var/log/bootchart . If I&#8217;m reading the images correctly, it&#8217;s claiming 8.67 seconds for one boot-up and 8.69 seconds for the other boot-up.</p>
<p><strong>Added</strong>: Okay, I reinstalled Ubuntu 9.04 so I could use ext4 and it shaved almost a second off the boot time! Check out <a href="http://www.mattcutts.com/images/ubuntu-ssd-jaunty-jaunty-20090413-3.png">this image</a> which shows a 7.83 second boot time. <img src='http://www.mattcutts.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcutts.com/blog/ubuntu-904-boots-in-175-seconds/feed/</wfw:commentRss>
		<slash:comments>78</slash:comments>
		</item>
		<item>
		<title>Trying (and failing) to get Ubuntu to work</title>
		<link>http://www.mattcutts.com/blog/intrepid-ibex-failing/</link>
		<comments>http://www.mattcutts.com/blog/intrepid-ibex-failing/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 05:20:19 +0000</pubDate>
		<dc:creator>Matt Cutts</dc:creator>
				<category><![CDATA[Linux/Ubuntu]]></category>

		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=1521</guid>
		<description><![CDATA[I really want to run Ubuntu, but it shouldn&#8217;t be this hard. Plugging in an SD card reader that I picked up from Best Buy shouldn&#8217;t cause a hard freeze of my system (on both Gutsy Gibbon and Intrepid Ibex):

The card reader works fine in Windows. At this point, I&#8217;m honestly thinking about crashing the [...]]]></description>
			<content:encoded><![CDATA[<p>I really want to run Ubuntu, but it shouldn&#8217;t be this hard. Plugging in an SD card reader that I picked up from Best Buy shouldn&#8217;t cause a hard freeze of my system (on both Gutsy Gibbon and Intrepid Ibex):</p>
<p><center><img src="http://www.mattcutts.com/images/sd-card-reader.jpg" alt="SD Card Reader" /></center></p>
<p>The card reader works fine in Windows. At this point, I&#8217;m honestly thinking about crashing the <a href="http://osdir.com/ml/linux.ubuntu.devel.announce/2008-07/msg00004.html">Ubuntu Developer Summit</a> that will be held in December at the Googleplex in Mountain View, CA to pick peoples&#8217; brains.</p>
<p>Okay, so Ubuntu freezes hard when you plug in the card reader (sometimes). Unless you report that bug, no one will know to fix it. So I&#8217;m trying to follow these <a href="https://wiki.ubuntu.com/DebuggingRemovableDevices">instructions for debugging removable devices</a> to do a good Ubuntu bug report, and finding that the instructions are pretty out-of-date.</p>
<p>For example, you&#8217;re supposed to kill, then start gnome-volume-manager in a foreground mode to see debugging messages. Except that the latest version of Ubuntu (Intrepid Ibex) doesn&#8217;t even install gnome-volume-manager. Oh, you can install it (and you&#8217;ll get the sound-juicer package with it). But when you try to run it, you&#8217;ll get this helpful message:</p>
<blockquote><p>
$ /usr/lib/gnome-volume-manager/gnome-volume-manager -n<br />
manager.c/685: setting[0]: string: filemanager = nautilus -n &#8211;no-desktop %m<br />
manager.c/690: setting[1]: bool: autophoto = 0<br />
manager.c/685: setting[2]: string: autophoto_command = f-spot-import<br />
manager.c/690: setting[3]: bool: autovideocam = 0<br />
manager.c/685: setting[4]: string: autovideocam_command =<br />
manager.c/690: setting[5]: bool: autowebcam = 0<br />
manager.c/685: setting[6]: string: autowebcam_command = cheese &#8211;hal-device=%h<br />
manager.c/690: setting[7]: bool: autopalmsync = 0<br />
manager.c/685: setting[8]: string: autopalmsync_command = gpilotd-control-applet<br />
manager.c/690: setting[9]: bool: autopocketpc = 0<br />
manager.c/685: setting[10]: string: autopocketpc_command = multisync<br />
manager.c/690: setting[11]: bool: autoprinter = 0<br />
manager.c/685: setting[12]: string: autoprinter_command =<br />
manager.c/690: setting[13]: bool: autoscanner = 0<br />
manager.c/685: setting[14]: string: autoscanner_command = xsane<br />
manager.c/690: setting[15]: bool: autokeyboard = 0<br />
manager.c/685: setting[16]: string: autokeyboard_command =<br />
manager.c/690: setting[17]: bool: automouse = 0<br />
manager.c/685: setting[18]: string: automouse_command =<br />
manager.c/690: setting[19]: bool: autotablet = 0<br />
manager.c/685: setting[20]: string: autotablet_command =<br />
manager.c/699: settings[21]: float: percent_threshold = 0.050000<br />
manager.c/699: settings[22]: float: percent_used = 0.010000<br />
manager.c/664: daemon exit: live and let die
</p></blockquote>
<p>It&#8217;s easy to find the <a href="http://gnome-volume-manager.sourcearchive.com/documentation/2.24.0-0ubuntu1/manager_8c-source.html">source code of gnome-volume-manager</a> online, but the relevant function is more cute than informative. Searching for ["live and let die" gnome-volume-manager] finds <a href="http://imc.livejournal.com/183672.html?thread=491640">this post</a> where someone tries to guess what the message means:</p>
<blockquote><p>Fedora no longer uses gnome-volume-manager to auto-mount removable media — it&#8217;s now built into Nautilus. I am guessing that &#8220;live and let die&#8221; means &#8220;hey, someone else is already managing this&#8221; but that is pure speculation on my part. So if you get that error message it just means that you shouldn&#8217;t have been running it in the first place.</p></blockquote>
<p>With that clue, you can go back and find <a href="http://ubuntuforums.org/showthread.php?p=5925651">this thread</a> where Ubuntu developer wgrant helpfully lets someone know &#8220;gnome-volume-manager is no longer necessary either &#8211; nautilus does the mounting now.&#8221; It is good to find an Ubuntu developer posting answers online. But now I&#8217;m not sure how to generate Nautilus debugging logs akin to the gnome-volume-manager logs that fellow Ubuntu folks could use to debug the hard freeze. At least I do know how to generate <a href="http://www.mattcutts.com/blog/udevadm-udevmonitor/">udevmonitor logs using the new udevadm program</a>.</p>
<p>Please pardon the melancholy tone. It&#8217;s just frustrating that plugging in an SD card reader can cause sporadic freezes on my Ubuntu computer. And if you plug in the SD card reader often enough, you may <a href="http://www.mattcutts.com/blog/ubuntu-freeze-no-resume-image/">corrupt your system</a>. I do see progress from Hardy Heron to Intrepid Ibex with <a href="http://www.mattcutts.com/blog/six-annoyances-in-hardy-heron-ubuntu/">several annoyances</a> fixed, but there&#8217;s still a way to go.</p>
<p><strong>Update</strong>: If any Linux/Ubuntu folks want to dig into it, I put all the log files I could think of at <a href="http://www.mattcutts.com/files/sandisk/">http://www.mattcutts.com/files/sandisk/</a> for folks that want to check it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcutts.com/blog/intrepid-ibex-failing/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
		<item>
		<title>Where did udevmonitor go?</title>
		<link>http://www.mattcutts.com/blog/udevadm-udevmonitor/</link>
		<comments>http://www.mattcutts.com/blog/udevadm-udevmonitor/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 04:18:02 +0000</pubDate>
		<dc:creator>Matt Cutts</dc:creator>
				<category><![CDATA[Linux/Ubuntu]]></category>

		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=1515</guid>
		<description><![CDATA[In case you&#8217;re looking for the &#8220;udevmonitor&#8221; program on the Intrepid Ibex version of Ubuntu, it&#8217;s changed; use &#8220;udevadm monitor&#8221; now:

$ udevadm help
Usage: udevadm COMMAND [OPTIONS]
  info         query sysfs or the udev database
  trigger      request events from the kernel
  [...]]]></description>
			<content:encoded><![CDATA[<p>In case you&#8217;re looking for the &#8220;udevmonitor&#8221; program on the Intrepid Ibex version of Ubuntu, it&#8217;s changed; use &#8220;udevadm monitor&#8221; now:</p>
<blockquote><p>
$ udevadm help<br />
Usage: udevadm COMMAND [OPTIONS]<br />
  info         query sysfs or the udev database<br />
  trigger      request events from the kernel<br />
  settle       wait for the event queue to finish<br />
  control      control the udev daemon<br />
  monitor      listen to kernel and udev events<br />
  test         simulation run<br />
  version      print the version number<br />
  help         print this help text
</p></blockquote>
<p>It looks like udevmonitor was a symlink, and around <a href="http://rpmfind.net/linux/RPM/opensuse/factory/x86_64/udev-128-7.1.x86_64.html">April 2008</a>, that symlink was removed. Someone asked about it on the Linux kernel mailing list and received <a href="http://markmail.org/message/dlluk3wur2ntce34">this reply</a>:</p>
<blockquote><p>All udev tools are in one single binary called &#8220;udevadm&#8221;, which is<br />
always in /sbin, and not like the old tools spread around in /sbin,<br />
/usr/bin, /usr/sbin. See &#8220;man udev&#8221; for the reference to udevadm, and<br />
&#8220;man udevadm&#8221; for the commands, which have been the individual tools<br />
before.</p></blockquote>
<p>So if you have a USB device that causes a hard freeze of your Linux computer when you plug it in, and you want to run udevmonitor to debug it, use udevadm monitor instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcutts.com/blog/udevadm-udevmonitor/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Virtual terminals not working? Check your keyboard.</title>
		<link>http://www.mattcutts.com/blog/virtual-terminal-not-working/</link>
		<comments>http://www.mattcutts.com/blog/virtual-terminal-not-working/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 03:19:56 +0000</pubDate>
		<dc:creator>Matt Cutts</dc:creator>
				<category><![CDATA[Linux/Ubuntu]]></category>

		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=1505</guid>
		<description><![CDATA[(This is a boring post that I&#8217;m writing for people that have this same problem in the future. Just skip it.)
Every good Linux user knows that if you want to drop from X down into a text-based virtual terminal, you can press control-alt-F1 (or any other key up to F6), and control-alt-F7 returns you to [...]]]></description>
			<content:encoded><![CDATA[<p>(This is a boring post that I&#8217;m writing for people that have this same problem in the future. Just skip it.)</p>
<p>Every good Linux user knows that if you want to drop from X down into a text-based virtual terminal, you can press control-alt-F1 (or any other key up to F6), and control-alt-F7 returns you to the graphical mode. But what if that doesn&#8217;t work? In my case, it turned out to be my keyboard. My Microsoft Natural Ergonomic Keyboard 4000 has a key marked &#8220;F Lock&#8221; and unless that FLock key is activated (the &#8220;F&#8221; LED should be on), the wrong keystrokes were being sent to my Linux Ubuntu version of Intrepid Ibex. How can you debug this? Well, it took me a while.</p>
<p>After some Googling, here&#8217;s how I&#8217;d write the flowchart:</p>
<p>- <strong>Try running &#8220;chvt 1&#8243; to switch your console to virtual terminal 1</strong>.<br />
- If &#8220;chvt 1&#8243; does not work, you might get the message &#8220;Couldnt get a file descriptor referring to the console&#8221;. You probably need to be superroot. Once you run as root, that command should work.<br />
- Maybe &#8220;chvt 1&#8243; fails in some other way. Dude, you&#8217;re outside my area of expertise. You could try <a href="http://pennsylvania.ubuntuforums.com/showthread.php?&#038;t=955302&#038;page=2">typing &#8220;sudo modprobe vga16fb; sudo modprobe fbcon&#8221;</a> . Or you could try <a href="http://ralph.n3rds.net/index.php?/archives/202-Blank-ttys.html">typing the command &#8220;setupcon&#8221;</a> to set up the font and keyboard on the Linux console. Or it&#8217;s possible that you need to <a href="https://answers.launchpad.net/ubuntu/+question/35329">edit /boot/grub/menu.lst and tweak the vga= setting or remove the &#8220;splash&#8221; parameter</a>. Or you might want to <a href="http://linuxhelp.blogspot.com/2006/02/determine-virtual-terminal-you-are.html">check your /etc/gdm/gdm.conf file</a>.</p>
<p>- Quick check: you might have the <a href="http://www.x.org/archive/X11R6.8.0/doc/Xorg.1.html">&#8220;DontVTSwitch&#8221; option set in your /etc/X11/xorg.conf file</a>, which would disable virtual terminal switching.</p>
<p>- <strong>If running &#8220;chvt 1&#8243; as superroot does work</strong>, then you probably have an issue with your keyboard mappings somehow.<br />
- If you have a Microsoft Natural Ergonomic Keyboard 4000, make sure that the &#8220;F-Lock&#8221; key near the top-right of the main part of the keyboard is properly engaged. The &#8220;F&#8221; LED below the keyboard should be on.<br />
- Next, run xev (possibly as root) to see raw xevents as you press keys. This <a href="http://www.mail-archive.com/debian-user@lists.debian.org/msg522108.html">thread helped</a>, where the person said</p>
<blockquote><p>Recently I tried to switch to VT (console) and I couldn&#8217;t &#8211; Ctrl+Alt+F1 didn&#8217;t work (and they used to couple of weeks ago). I don&#8217;t even know where to look for the problem; xev detects KeyRelease XF86_Switch_VT_1 event, /etc/inittab contain getty respawns.</p></blockquote>
<p>When I ran xev myself, and pressed control-alt-F1, I saw an event like</p>
<blockquote><p>
KeyPress event, serial 38, synthetic NO, window 0&#215;3400001,<br />
    root 0&#215;1a6, subw 0&#215;3400002, time 1848943, (42,37), root:(1751,59),<br />
    state 0&#215;0, keycode 146 (keysym 0xff6a, <strong>Help</strong>), same_screen YES,<br />
    XLookupString gives 0 bytes:<br />
    XmbLookupString gives 0 bytes:<br />
    XFilterEvent returns: False
</p></blockquote>
<p>The fact that I saw a &#8220;Help&#8221; event rather than &#8220;XF86_Switch_VT_1&#8243; was what made me suspicious. Sure enough, activating the &#8220;F-Lock&#8221; key then triggered this event:</p>
<blockquote><p>
KeyRelease event, serial 34, synthetic NO, window 0&#215;3400001,<br />
    root 0&#215;1a6, subw 0&#215;3400002, time 2873229, (38,51), root:(1747,73),<br />
    state 0xc, keycode 67 (keysym 0&#215;1008fe01, <strong>XF86_Switch_VT_1</strong>), same_screen YES,<br />
    XLookupString gives 0 bytes:<br />
    XFilterEvent returns: False
</p></blockquote>
<p>and life was good. You might also consider <a href="http://lists.debian.org/debian-user/2007/05/msg00033.html">tweaking xmodmap to return the values you expect</a>. Or you might have a <a href="http://pigeonsnest.co.uk/stuff/sarge/vtswitch.html">strange XkbModel or XkbLayout setting where switching your keyboard language or layout</a> (e.g. from pc105 to pc104) might help.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcutts.com/blog/virtual-terminal-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving the locked top panel in Ubuntu/GNOME</title>
		<link>http://www.mattcutts.com/blog/moving-the-locked-top-panel-in-ubuntu-gnome/</link>
		<comments>http://www.mattcutts.com/blog/moving-the-locked-top-panel-in-ubuntu-gnome/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 03:44:14 +0000</pubDate>
		<dc:creator>Matt Cutts</dc:creator>
				<category><![CDATA[Linux/Ubuntu]]></category>

		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=1286</guid>
		<description><![CDATA[A new version of Ubuntu (Intrepid Ibex) is coming out this week, so I&#8217;m trying out the release candidate. Here&#8217;s an annoyance I hit and how to solve it. I keep a list of steps to perform after installing Ubuntu, and one of my steps is

Drag the bottommost taskbar/panel to the right and the topmost [...]]]></description>
			<content:encoded><![CDATA[<p>A new version of <a href="http://www.ubuntu.com/">Ubuntu</a> (Intrepid Ibex) is coming out this week, so I&#8217;m trying out the release candidate. Here&#8217;s an annoyance I hit and how to solve it. I keep a list of steps to perform after installing Ubuntu, and one of my steps is</p>
<blockquote><p>
Drag the bottommost taskbar/panel to the right and the topmost taskbar/panel to the bottom.
</p></blockquote>
<p>I like my &#8220;start menu&#8221; at the bottom of the screen like Windows does rather than at the top of the screen like Apple&#8217;s Mac OS X does. Dragging the bottom panel to the right works fine, but dragging the top panel to the bottom of the screen didn&#8217;t work! So I do what any GNOME user would do: I right-click the panel, select &#8220;Properties,&#8221; and try to set the Orientation from &#8220;Top&#8221; to &#8220;Bottom&#8221; in the General tab. Except I can&#8217;t.</p>
<p>Instead, I see the message &#8220;Some of these properties are locked down&#8221;. So I do a Google search <a href="http://www.google.com/search?q=%22Some+of+these+properties+are+locked+down%22">for that exact phrase</a>. There&#8217;s not many pages that match that phrase, and most of them are translation pages. Grr. That means that not many people have encountered this problem before. After a little query rejiggering, I search for [<a href="http://www.google.com/search?q=gnome+panel+properties+locked+down">gnome panel properties locked down</a>] and find this <a href="http://ubuntuforums.org/showthread.php?t=802039">Ubuntu forum thread</a> in which the person says</p>
<blockquote><p>
It sounds like your gnome-panel is locked down. You can remedy this from gconf-editor. Start it from the quick launch dialogue (ALT+F2) or from the terminal: [with the command] gconf-editor</p>
<p>Once the editor has opened, navigate to &#8220;apps&#8221; > &#8220;panel&#8221; > &#8220;global&#8221;, and uncheck the key called &#8220;locked_down&#8221;.
</p></blockquote>
<p>Great! That sounds easy. I fire up gconf-editor and navigate to that spot, only to find that apps/panel/global isn&#8217;t set to locked_down. Hmm. Maybe there&#8217;s another locked_down value that is superseding things somewhere else? I search for locked_down anywhere else in gconf-editor and find something at /schemas/apps/panel/global/locked_down, but the value for that is a &#8220;&lt;schema&gt;&#8221;, and when I try to edit that, gconf-editor helpfully tells me that &#8220;Currently pairs and schemas can&#8217;t be edited. This will be changed in a later version.&#8221; Grrr. So that schema might be affecting my locked-down panel, but I can&#8217;t edit it? This is roughly where I start cursing in my head.</p>
<p>But that&#8217;s okay, because I&#8217;m a computer science geek. If I have to find a &#8220;locked_down&#8221; text string in the underlying filesystem, I can do that. I search in all the delightful dot directories in my home directory, and I don&#8217;t find any mention of that string. Quick pop quiz: would it be in .dbus, .local, .config, .cache, .gconf, .gconfd, .gnome2, or .gnome2_private? Hey Ubuntu/GNOME developers, do I really need 29 (really!) dot directories after a fresh install?</p>
<p>By the time that I&#8217;ve sudo&#8217;ed to a root shell and I&#8217;m in /etc running &#8220;find .* type -f | xargs -i{} grep -i locked_down {}&#8221; that&#8217;s when I&#8217;m cussing out loud. So I take a deep breath, metaphorically step back, and head to the Google again. This time I search for [<a href="http://www.google.com/search?q=gnome+lock+top+panel">gnome lock top panel</a>] and the #1 result is <a href="https://bugs.launchpad.net/gnome-panel/+bug/83286">this Ubuntu bug</a> which leads me to <a href="http://bugzilla.gnome.org/show_bug.cgi?id=309721">this GNOME bug</a>.</p>
<p>Browsing those bugs makes it clear what happened. Some non-savvy users with really sensitive touch pads were accidentally dragging their panels all over. The solution was to lock the top panel. I can understand why that decision got made. The discussion on the thread didn&#8217;t contain the answer (they were talking about making ALT+drag move the panel and mentioned <a href="https://lists.ubuntu.com/archives/ubuntu-desktop/2008-February/001446.html">another discussion about this issue</a>), but it made me rethink what I was doing. GNOME/Ubuntu people were shooting to make accidental drags impossible, but they must have made it possible to drag the panel somehow. So I go back to the panel, right-click on it, and carefully read through the options. Sure enough, there&#8217;s an option under the right-click menu: &#8220;<strong>Allow Panel to be Moved</strong>&#8220;.</p>
<p>I understand why GNOME or Ubuntu folks decided to lock the top panel: they wanted to avoid accidental click-and-dragging by novice users. And maybe it&#8217;s my responsibility to carefully study every new menu when I install a fresh version of Ubuntu, instead of just quickly working through the instructions that I&#8217;ve written for myself without scouting out every new option. But if I right-click on a panel and select Properties, it&#8217;s pretty utterly useless to tell me &#8220;Some of these properties are locked down&#8221; without giving me any help on where to unlock the properties. There has got to be some user interface principle that says &#8220;<strong>Giving people an error message without any pointer on how to fix the error is frustrating</strong>.&#8221;</p>
<p>Is Intrepid Ibex better in some ways? Absolutely. It identified my display resolution correctly on my <a href="http://www.mattcutts.com/blog/unboxing-the-everex-200-linux-computer/">Wal-Mart PC</a> that I use as my canary for test driving before I install Ubuntu on an important computer. That&#8217;s a first. But for everything that works better in recent versions of Ubuntu, I worry that <a href="http://www.mattcutts.com/blog/six-annoyances-in-hardy-heron-ubuntu/">something else will break</a>. That&#8217;s why I predicted that Apple would <a href="http://www.mattcutts.com/blog/my-2008-predictions/">approach 20% market share</a> this year and not Ubuntu. I still root for Ubuntu and want it to do well, so I&#8217;ll keep you posted on what I find as I play with Intrepid Ibex.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcutts.com/blog/moving-the-locked-top-panel-in-ubuntu-gnome/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Crap. My Ubuntu machine won&#8217;t boot</title>
		<link>http://www.mattcutts.com/blog/ubuntu-freeze-no-resume-image/</link>
		<comments>http://www.mattcutts.com/blog/ubuntu-freeze-no-resume-image/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 16:30:09 +0000</pubDate>
		<dc:creator>Matt Cutts</dc:creator>
				<category><![CDATA[Linux/Ubuntu]]></category>

		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=970</guid>
		<description><![CDATA[This sucks. On some very rare occasions, when I connect an SD card reader to my Ubuntu machine, it freezes. Normally I just reboot and everything is fine. But this time my Ubuntu machine won&#8217;t boot, and it shows a message like

Starting up &#8230;
Loading, please wait&#8230;
kinit: name_to_dev_t(/dev/disk/by-uuid/bd656dcd-04b4-412f-a880-62a6553bd8b) = sda5(8,5)
kinit: trying to resume from /dev/disk/by-uuid/bd656dcd-04b4-412f-a880-62a6553bd8b
kinit: No [...]]]></description>
			<content:encoded><![CDATA[<p>This sucks. On some very rare occasions, when I connect an SD card reader to my Ubuntu machine, it freezes. Normally I just reboot and everything is fine. But this time my Ubuntu machine won&#8217;t boot, and it shows a message like</p>
<blockquote><p>
Starting up &#8230;<br />
Loading, please wait&#8230;<br />
kinit: name_to_dev_t(/dev/disk/by-uuid/bd656dcd-04b4-412f-a880-62a6553bd8b) = sda5(8,5)<br />
kinit: trying to resume from /dev/disk/by-uuid/bd656dcd-04b4-412f-a880-62a6553bd8b<br />
kinit: No resume image, doing normal boot&#8230;
</p></blockquote>
<p>Then it hangs forever. Any Ubuntu/Linux gurus have suggestions on how to repair my system so it will boot?</p>
<p><strong>Update</strong>: I think the machine is fixed now. Thanks to <a href="http://k.blog.com/">Sérgio Carvalho</a> and <a href="http://www.chrisfleming.org/">Chris Fleming</a> for the suggestions. It looks like somehow my swap partition got messed up, which affected things when my Linux machine got confused about whether my machine had hibernated. The fix was:</p>
<p>- When the machine boots up, press &#8216;Esc&#8217; to get to the Grub menu<br />
- Select one of the &#8220;recovery mode&#8221; options. This will boot you up to a single-user root prompt.<br />
- Run &#8220;sudo fdisk /dev/sda&#8221; (this assumes that your hard drive is at sda)<br />
- Type &#8220;p&#8221; to see which hard drive partition is labeled &#8220;Linux swap&#8221;. In my case the partition was /dev/sda5. Type &#8220;q&#8221; to exist fdisk.<br />
- Type these commands:</p>
<blockquote><p>
sudo swapoff /dev/sda5<br />
(Use whatever partition was labeled as &#8220;Linux swap&#8221; in fdisk. For me, this was /dev/sda5)<br />
sudo mkswap /dev/sda5<br />
sudo update-initramfs -u
</p></blockquote>
<p>These commands say &#8220;Stop using /dev/sda5 as a swap partition,&#8221; then mkswap tells your computer to set up /dev/sda5 as a new/fresh swap partition. Finally, update-initramfs with the -u (update) option will generate an initramfs image. The initramfs image is a gzipped blob of data that the Linux kernel unzips into RAM and then mounts to use as an initial file system.<br />
- Type &#8220;reboot&#8221; and cross your fingers for your machine to boot up. For me, it rebooted just fine and started working normally.</p>
<p>Thanks to everyone who chimed in with an opinion on this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcutts.com/blog/ubuntu-freeze-no-resume-image/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Six Annoyances in Hardy Heron Ubuntu</title>
		<link>http://www.mattcutts.com/blog/six-annoyances-in-hardy-heron-ubuntu/</link>
		<comments>http://www.mattcutts.com/blog/six-annoyances-in-hardy-heron-ubuntu/#comments</comments>
		<pubDate>Tue, 20 May 2008 08:13:10 +0000</pubDate>
		<dc:creator>Matt Cutts</dc:creator>
				<category><![CDATA[Linux/Ubuntu]]></category>

		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=944</guid>
		<description><![CDATA[(I&#8217;m going to publish this in rough draft format. I want to get the post live while lots of Ubuntu developers are thinking about Intrepid Ibex.)
I&#8217;m a huge fan of Ubuntu Linux. I&#8217;ve used many flavors of Linux over the years, and Ubuntu is my favorite by far. So it pains me to write this. [...]]]></description>
			<content:encoded><![CDATA[<p>(I&#8217;m going to publish this in rough draft format. I want to get the post live while lots of Ubuntu developers are <a href="https://wiki.ubuntu.com/UDS-Intrepid">thinking about Intrepid Ibex</a>.)</p>
<p>I&#8217;m a <a href="http://www.mattcutts.com/blog/balug-mark-shuttleworth-and-digital-tipping-point/">huge fan</a> of Ubuntu Linux. I&#8217;ve used many flavors of Linux over the years, and Ubuntu is my favorite by far. So it pains me to write this. For my needs, Ubuntu 8.04 (Hardy Heron) is worse than 7.10 (Gutsy Gibbon). I cannot recommend Hardy Heron at this time, and would instead recommend installing 7.10 for the time being. I sincerely hope that Ubuntu/Canonical developers do more work on the &#8220;fit and finish&#8221; of Intrepid Ibex, because that has always been a strong point in Ubuntu&#8217;s favor.</p>
<p>By the way, I&#8217;m not alone in my opinion about Hardy Heron. At <a href="http://superhappydevhouse.org/">SuperHappyDevHouse</a> this past weekend I talked with a fellow techie who had Hardy running on his laptop. He agreed that Hardy has had more issues than Gutsy. And this <a href="http://polishlinux.org/linux/ubuntu/ubuntu-804-not-quite-there-yet/">in-depth post</a> by another Ubuntu fan reaches the same conclusion:</p>
<blockquote><p>The most important question is — do I recommend Ubuntu 8.04? If I were to answer simply ‘yes’ or ‘no’ the answer would be negative. If you need a good system, that ‘just works’, wait a few months before installing Hardy Heron, until it becomes really stable, as the LTS staple suggests.</p></blockquote>
<p>Even when someone posts a positive review, you see commenters show up with <a href="http://fosswire.com/2008/04/24/ubuntu-804-hardy-heron-review/#comment-34137">quite</a> <a href="http://fosswire.com/2008/04/24/ubuntu-804-hardy-heron-review/#comment-34829">a</a> <a href="http://fosswire.com/2008/04/24/ubuntu-804-hardy-heron-review/#comment-35129">bit</a> of complaints.</p>
<p><strong>What are the issues?</strong></p>
<p>I&#8217;ll try to pick out a few examples. Here&#8217;s a small one. I like to use the <a href="http://art.gnome.org/themes/metacity/220">microGUI</a> theme in metacity. Normally I would click System->Preferences->Appearance and select the Theme tab. Then I could drag the microGUI theme from <a href="http://art.gnome.org/themes/metacity/220">this web page</a> and drop it directly onto the Theme tab. Dragging and dropping themes was a wonderful little trick, but it didn&#8217;t work for me in Hardy Heron. Instead, a small dialog box appears and then disappears so quickly that I can&#8217;t even see if it has text on it. <strong>Update, 11/22/2008</strong>: This works in Intrepid Ibex now.</p>
<p>Here&#8217;s a big problem. In Ubuntu 7.10, it was trivially easy to share folders via Samba (SMB) or NFS. You clicked on  System->Administration->Shared Folders and followed simple directions there to configure a shared folder. In Ubuntu 8.04, this menu option is gone. According to <a href="http://ubuntuforums.org/showthread.php?p=4616193">pages on the web</a>, you may have to drop into a command-line, run &#8220;sudo apt-get install nautilus-share&#8221; to install a new package &#8220;nautilus-share&#8221; which has replaced the old shares-admin program, and then reboot or logout/login. Read <a href="https://bugs.launchpad.net/ubuntu/+source/nautilus-share/+bug/215810">this bug where people describe how awful this is</a>, including a very user with the handle Thomas Boutell. Yes, it&#8217;s probably that <a href="http://www.boutell.com/">Thomas Boutell</a>, and if Boutell says that something is suboptimal, Ubuntu developers should listen. Right now the GUI throws out a cryptic error when what the user actually needs to do is reboot their machine or log out and back in. Here&#8217;s what another commenter says:</p>
<blockquote><p>
I can confirm this to be a problem. There is no way to create a share out of the box with the release of 8.04 hardy. This WAS working wonderfully in Gutsy 7.10. There was a folder sharing GUI on the admin menu under system tools, this seems to have been removed from Hardy 8.04.</p>
<p>I happen to agree with the expectations of the [original poster] Thomas Boutell, this should just work out of the box or there should be a readily obvious way to get folder/file sharing working again like it was in Gutsy. Why on earth was a completely functional feature of 7.10 removed from Hardy ?????</p>
<p>[and then the same user later]</p>
<p>This is just plain too much of a hassle: no one should have to go thru this just to share some files on his computer. Help me use linux, not hassle me when I try to use it.
</p></blockquote>
<p>In a related bug about having to <a href="https://bugs.launchpad.net/ubuntu/+source/nautilus-share/+bug/212098">reboot or log out and log in again after installing Samba</a>, another user says:</p>
<blockquote><p>
It can be correct for linux security system. But how I can explain to the user, that he should restart his computer for share a folder?! Former windows users will laugh over me.
</p></blockquote>
<p>It sounds like nautilus-share <a href="https://bugs.launchpad.net/ubuntu/+source/nautilus-share/+bug/214720">doesn&#8217;t let you set your workgroup name either</a>. So I guess you have to edit the smb.conf config file by hand to change your computer&#8217;s workgroup? That led one user to remark:</p>
<blockquote><p>
I guess I&#8217;m just getting over this phenomenon I&#8217;ve started to see in Ubuntu devs and Gnome devs in particular, of just whistling past the graveyard of usability and treating the users like ants at the picnic. The windows shares are BROKEN by any reasonable user&#8217;s standards, and a frank acknowledgment of the problem would go a long way.
</p></blockquote>
<p><strong>Update, 11/22/2008</strong>: A workaround is to press alt-F2, then enter &#8220;shares-admin&#8221; and click &#8220;General Properties&#8221;, click &#8220;Unlock&#8221; and enter your password and click &#8220;Authenticate&#8221;, then change the Workgroup name there. You might need to share a folder first (to install Samba), then reboot, then do this change, then reboot again. I ended up editing smb.conf manually to set the workgroup and add whatever sharing I wanted to do.</p>
<p>To me, this feels like a series of choices by the Ubuntu team which may have been locally optimal (&#8221;this package has security issues or isn&#8217;t maintained &#8212; let&#8217;s turn it off&#8221;) but the net effect of these decisions adds up to a big black eye for Ubuntu. And again, I say this as an Ubuntu fan who wants Ubuntu to succeed. Maybe there wasn&#8217;t enough time to shake out bugs in the latest incarnation of GNOME. Maybe it will take a while to find the right <a href="http://www.markshuttleworth.com/archives/146">pulse rate of software releases</a>. If there&#8217;s a plan by Ubuntu/Canonical developers to improve this situation, I encourage them to talk about the future plan in the comments.</p>
<p>That issue encapsulates the sort of thing I&#8217;m seeing with Hardy, but let&#8217;s talk about a couple more sharing issues I ran into. The problem above was letting other computers connect to Hardy, but what about Hardy connecting to other computers&#8217; shared drives? It used to be that if you click Places->Connect to Server and selected a Windows share, you saw a &#8220;Browse Network&#8221; button. Now that button is gone for me. I guess you need to know the exact name of the Samba or Windows share that you want to connect to? If so, that&#8217;s pretty annoying. It&#8217;s also inconsistent, because when I tried to add a printer on a remote machine, I could browse the network from the printer dialog box.</p>
<p><strong>Update, 11/22/2008</strong>: In Intrepid Ibex, you can click Places->Network to browse the local network.</p>
<p>I want to talk about one more really annoying problem I ran into. In Gutsy I used &#8220;Connect to Server&#8221; to create a folder that was connected via ssh to my webhost. If I took a screenshot I could drop the file into that folder and it would magically be copied into a specific deep directory at my webhost. The feature worked perfectly &#8212; even better than <a href="http://winscp.net/">WinSCP</a> running on a Windows computer.</p>
<p>Now things seem horribly broken. One user asks about it <a href="https://answers.launchpad.net/ubuntu/+source/sshfs-fuse/+question/33141">here</a> and includes an image. Evidently a decision was made to switch from something called &#8220;gnome-vfs&#8221; to something called &#8220;gvfs.&#8221; I like swapping out old code for new code as much as the next guy, but as a user, this switch is a code phrase for &#8220;the stuff that used to work perfectly is now nonfunctional.&#8221;</p>
<p>It also looks like someone in GNOME may have decided to <a href="http://bugzilla.gnome.org/show_bug.cgi?id=522917">change the default location of mounted volumes from $HOME to /</a>, which makes me want to find and punch that person. Or offer them $100 to fix it back to sane behavior.</p>
<p>It&#8217;s really quite hard to find out exactly why this simple, useful ability (to create folders that were SSH-connected directly to a specific directory on a remote machine) became broken in Hardy. It appears to have something to do with &#8220;bookmarks,&#8221; but good luck finding out exactly what&#8217;s going on. By the way, if you upgraded from Gutsy to Hardy, all of your carefully-crafted <a href="https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/198857">existing shortcuts will break too</a>. This gnome-vfs to gvfs issue is impacting regular Linux (including Fedora) users and <a href="http://www.lefred.be/?q=node/83">causing them to complain</a>. And why not? As one GNOME user <a href="http://bugzilla.gnome.org/show_bug.cgi?id=522918">states their case</a>, &#8220;It should be possible for GNOME users to configure the default path of mounted volumes.&#8221; </p>
<p><strong>Are there other annoyances?</strong></p>
<p>As long as I&#8217;ve started a complaint thread, I&#8217;ll mention a few other things that are on my mind.</p>
<ul>
<li>When I run the Update Manager and install updates, eventually I&#8217;m told that &#8220;Your system is up-to-date&#8221; &#8212; but sometimes it isn&#8217;t. If I click the &#8220;Check&#8221; button again, sometimes new updates are found to install. The net result is that I end up checking for updates multiple times, even after I&#8217;ve just been told that I&#8217;m up-to-date, because my system wasn&#8217;t really up-to-date. Please save users the time/effort of checking multiple times for updates and find a way to handle this transparently.</li>
<li>The &#8220;Hardy Heron&#8221; desktop background is sweet, but at 1920&#215;1200 resolution it looks a little fuzzy, as if it had to be scaled up. I would recommend creating a very high-res desktop and then downscaling it so that it&#8217;s always sharp, even at the highest resolution.</li>
</ul>
<p>Okay, that&#8217;s my complaints from playing with Hardy Heron for a couple days on my <a href="http://www.mattcutts.com/blog/unboxing-the-everex-200-linux-computer/">$200 Walmart PC</a>, which I keep around as a guinea pig box for testing. I won&#8217;t be installing Hardy on my main Linux box. I might just keep running Gutsy until Intrepid Ibex comes out.</p>
<p>I&#8217;m giving my raw perspective as a user, and the upshot is that Hardy Heron feels like a step backwards on the things that matter to me. If I were a GNOME/Ubuntu/Canonical dev, my first reaction would be to leave a comment that says &#8220;Matt, you idiot! Don&#8217;t you know that XXXXXX is a simple solution for your problem? You didn&#8217;t even use the terminology right!&#8221; And I&#8217;m sure I&#8217;ve messed something up, like blaming Ubuntu for a problem that really belongs to GNOME or some other project. But the buck stops with Ubuntu and Canonical. If something in GNOME isn&#8217;t ready for prime-time, Ubuntu should hold off until it&#8217;s ready. Don&#8217;t replace shares-admin with nautilus-share until I can set a workgroup from a GUI. Don&#8217;t replace gnome-vfs with gvfs until I can make a drag-and-drop remote folder on my desktop. Don&#8217;t replace a sound system until the new sound system is well supported. It&#8217;s always a judgment call &#8212; I think moving to Firefox 3 was brilliant and acts as a good forcing function to move the community forward. But don&#8217;t go with so many new systems that the user experience suffers and Ubuntu takes a goodwill hit.</p>
<p>I love Ubuntu. I want Ubuntu to do well. I want to believe that Ubuntu can romp against the competition. But Hardy Heron feels like a misstep for some users, including me. Please work on fit and finish to get Ubuntu back to the robust, polished distribution that made me fall in love with it in the first place.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcutts.com/blog/six-annoyances-in-hardy-heron-ubuntu/feed/</wfw:commentRss>
		<slash:comments>70</slash:comments>
		</item>
		<item>
		<title>BALUG: Mark Shuttleworth and Digital Tipping Point</title>
		<link>http://www.mattcutts.com/blog/balug-mark-shuttleworth-and-digital-tipping-point/</link>
		<comments>http://www.mattcutts.com/blog/balug-mark-shuttleworth-and-digital-tipping-point/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 06:27:23 +0000</pubDate>
		<dc:creator>Matt Cutts</dc:creator>
				<category><![CDATA[Linux/Ubuntu]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.mattcutts.com/blog/balug-mark-shuttleworth-and-digital-tipping-point/</guid>
		<description><![CDATA[Last night I drove into San Francisco for a meeting of the BALUG (Bay Area Linux Users Group). I&#8217;d never been to a BALUG meeting before, but Mark Shuttleworth (the founder of the Ubuntu distribution of Linux) was speaking and I wanted to size up Mark in person. He acquitted himself well. He spoke about [...]]]></description>
			<content:encoded><![CDATA[<p>Last night I drove into San Francisco for a meeting of the <a href="http://www.balug.org/">BALUG (Bay Area Linux Users Group)</a>. I&#8217;d never been to a BALUG meeting before, but <a href="http://www.markshuttleworth.com/">Mark Shuttleworth</a> (the founder of the Ubuntu distribution of Linux) was speaking and I wanted to size up Mark in person. He acquitted himself well. He spoke about the good, the bad, and the ugly of open-source as he sees it and then closed with some stories of being the first African into space. Here&#8217;s a (somewhat grainy) photo I took as Mark was speaking:</p>
<p><img src="http://www.mattcutts.com/images/mark-shuttleworth-balug.jpg" alt="Mark Shuttleworth" /></p>
<p>A few impressions that I came away with:</p>
<p>- he cares a lot about the Linux desktop experience and likes to focus on that. That&#8217;s good, because a lot of people in the Linux community pay attention to the kernel and &#8220;user space&#8221; doesn&#8217;t interest them as much.<br />
- he believes that collaboration should be a strong point of open source. Mark mentioned bug tracking as an example: bug reports and debugging logs should flow seamlessly to developers without a lot of extra work.<br />
- Mark did a good job of giving props to Red Hat, Novell, and even Microsoft when he thought they deserved it. I thought this was an especially wise move and gave him more credibility than if he had taken potshots at competitors. Mark pointed out that Microsoft made software cheaper as a good thing Microsoft has done, although he didn&#8217;t see a <a href="http://www.markshuttleworth.com/archives/127">need to license patents from them</a>. I got the idea that Mark thinks that injecting venom into discussions about open-source doesn&#8217;t do favors for the community in the long-term.<br />
- At the same time, Mark said that if open source believes that it has more powerful ideas long-term, open-source proponents shouldn&#8217;t shy away from engaging in productive/respectful conversations that may eventually win over (say) manufacturers of proprietary hardware so that they allow open-source drivers.</p>
<p>Overall, Shuttleworth seemed to espouse a nice balance of principles and pragmatism. He was a polished speaker and handled the after-speaking mob of people with grace and good humor, even when some folks wanted to talk about the minutiae of their favorite Linux project for a few minutes. I came away with a higher level of respect for Mark, <a href="http://www.ubuntu.com/">Ubuntu</a>, and <a href="http://www.canonical.com/">Canonical</a> and my interest level is <a href="http://www.mattcutts.com/blog/type/linux/">already pretty high</a>.</p>
<p>The night brought a few other fortuitous surprises. I got a couple tips about where to start hacking on my <a href="http://laptop.org/">OLPC</a>, which just arrived a couple days ago (thanks for the pointers, <a href="http://truegift.com/index.html">Charles</a>!). I found out about the <a href="http://www.accrc.org/">Alameda County Computer Resource Center</a>, which takes donations of old computers, refurbishes them, and then donates them to school, non-profits, and other people that need a computer.</p>
<p>But my favorite surprise was walking by two people and hearing the phrase &#8220;Digital Tipping Point.&#8221; I&#8217;m a huge fan of the <a href="http://www.digitaltippingpoint.com/">Digital Tipping Point blog</a>. Officially, DTP is an &#8220;open source film project about the big changes that open source software will bring to our world.&#8221; So the film project includes a lot of individual interviews about open-source. But the reason that I love reading the DTP blog is that it provides anecdotes of open-source success without sarcasm, rancor, or the venom that some blogs have. If you&#8217;re a Linux fan, I think you&#8217;ll find that <a href="http://www.digitaltippingpoint.com/">Digital Tipping Point</a> is genuinely uplifting and cheerful. I keep Digital Tipping Point in my &#8220;fun&#8221; folder of Google Reader, so it was a pleasure to meet Christian Einfeldt, the producer of the documentary:</p>
<p><img src="http://www.mattcutts.com/images/digital-tipping-point.jpg" alt="Digital Tipping Point" /></p>
<p>It was great to run into someone by coincidence and to be able to say &#8220;Hey, I love your blog. It brings a smile to my face and is a good example of what I like about the web.&#8221; All in all, it was a fun night.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcutts.com/blog/balug-mark-shuttleworth-and-digital-tipping-point/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Download, slice and dice podcasts on Linux</title>
		<link>http://www.mattcutts.com/blog/download-podcasts-on-linux/</link>
		<comments>http://www.mattcutts.com/blog/download-podcasts-on-linux/#comments</comments>
		<pubDate>Fri, 21 Mar 2008 04:56:42 +0000</pubDate>
		<dc:creator>Matt Cutts</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux/Ubuntu]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.mattcutts.com/blog/download-podcasts-on-linux/</guid>
		<description><![CDATA[I&#8217;m trying to replace my Windows applications with Linux applications. On Windows, I use I use Juice to download podcasts as MP3s. Recently I decided to switch over to Linux for receiving podcasts. After looking around at various podcast catchers (especially ones that ran on the command-line, so that I could automate them with a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying to replace my Windows applications with Linux applications. On Windows, I use <a href="http://www.mattcutts.com/blog/review-juice/">I use Juice</a> to download podcasts as MP3s. Recently I decided to switch over to Linux for receiving podcasts. After looking around at various podcast catchers (especially ones that ran on the command-line, so that I could automate them with a cron job), I ran across <a href="http://podracer.sourceforge.net/">Podracer</a>. I decided to combine Podracer with a script to split long MP3s into shorter MP3s so that I could play them more easily in my car. Here&#8217;s what I did on my Ubuntu Linux machine:</p>
<p><strong>Step 1: Install and configure podracer</strong></p>
<p>I used these commands:<br />
sudo apt-get install podracer<br />
mkdir ~/.podracer<br />
vim ~/.podracer/subscriptions<br />
and add the url of a podcast, e.g. <a href="http://feeds.webmasterradio.fm/tdsc">http://feeds.webmasterradio.fm/tdsc</a> for <a href="http://dailysearchcast.com/">The Daily SearchCast</a>.</p>
<p>cp /etc/podracer.conf ~/.podracer/podracer.conf<br />
Edit ~/.podracer/podracer.conf so that you can pick the download directory you want. I changed<br />
#poddir=$HOME/podcasts/$(date +%Y-%m-%d)<br />
to<br />
poddir=$HOME/rawpodcasts<br />
because I want all my podcasts in one directory where I can do a batch process over them afterwards. Go ahead and run &#8220;mkdir ~/rawpodcasts&#8221; to create the directory that podcasts will be stored in.</p>
<p>sudo vim /usr/bin/podracer<br />
(it&#8217;s okay, Podracer is a shell script). Find the line that says<br />
m3u=$(date +%Y-%m-%d)-podcasts.m3u<br />
and comment it out so that podracer won&#8217;t automatically create an .m3u playlist as it downloads podcasts.</p>
<p>Run podracer in &#8220;catchup&#8221; mode to avoid downloading all the old podcasts from your subscriptions with &#8220;podracer -c&#8221;. podracer will create a file ~/.podracer/podcast.log to keep a record of all the podcasts that have been downloaded (the &#8220;-c&#8221; catchup mode creates this text file without actually downloading the MP3s). If you want to re-download a file (e.g. while you&#8217;re testing your configuration), you can edit the file ~/.podracer/podcast.log and just delete the line for any MP3 you want to re-download.</p>
<p><strong>Step 2: Install and configure mp3splt (optional)</strong></p>
<p>At a terminal window, type &#8220;sudo apt-get install mp3splt&#8221;. In Step 1, we configured Podracer to download podcasts as MP3s into a &#8220;rawpodcasts&#8221; directory. In this step, we&#8217;re going to take those long MP3s and split them into individual segments into a new &#8220;finishedpodcasts&#8221; directory. Make the &#8220;finishedpodcasts&#8221; directory with the command &#8220;mkdir ~/finishedpodcasts&#8221;.</p>
<p>Make a file /home/<em>username</em>/download-mp3s-and-process.sh that looks like this.</p>
<blockquote><p>#!/bin/bash</p>
<p># Run podracer to download any new podcasts<br />
/usr/bin/podracer</p>
<p># Now split the podcasts into segments<br />
for i in /home/<em>username</em>/rawpodcasts/*.mp3<br />
do<br />
  nicename=`basename $i .mp3`<br />
  # Send both stderr and stdout to /dev/null so that this is a quiet cron job<br />
  mp3splt -eqd /home/<em>username</em>/finishedpodcasts -o $nicename-@n $i &&gt; /dev/null<br />
done
</p></blockquote>
<p>This script will run podracer to download any new podcasts. Then we list all the MP3 files in the rawpodcasts directory and run mp3splt on each podcast. If you had a file test.mp3, you would be running the command</p>
<p>&#8220;mp3splt -eqd /home/matt/finishedpodcasts -o test-@n test.mp3 &&gt; /dev/null&#8221;</p>
<p>for example. What do the options to mp3splt mean?</p>
<p>-e means &#8220;split on sync errors.&#8221; If someone created an mp3 by concatenating multiple mp3s (e.g. with a program such as mp3wrap), that could cause sync errors. mp3splt looks at those sync errors to split the concatenated mp3 back into multiple mp3 files.</p>
<p>-q stands for &#8220;quiet.&#8221; Don&#8217;t ask user to respond to any questions. Normally &#8220;-e&#8221; says something like </p>
<blockquote><p>Mp3Splt 2.1 (2004/Sep/28) by Matteo Trotta <matteo .trotta@lib.unimib.it><br />
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!<br />
MPEG 1 Layer 3 &#8211; 44100 Hz &#8211; Joint Stereo &#8211; 256 Kb/s &#8211; Total time: 35m.04s<br />
Processing file to detect possible split points, please wait&#8230;<br />
Total tracks found: 6<br />
Is this a reasonable number of tracks for this file? (y/n)<br />
</matteo></p></blockquote>
<p>Quiet mode suppresses this interactive question on the last two lines above.</p>
<p>-d is the directory to place the split mp3s.</p>
<p>-o lets you specific an output file. &#8220;@n&#8221; stands for the track number after splitting. So if test.mp3 were made out of two mp3 files, the output of the command above would be two files (in the finishedpodcasts directory) named test.mp3-001.mp3 and test.mp3-002.mp3 . It doesn&#8217;t hurt to run mp3splt on existing mp3s because it will just overwrite any old files that had been created.</p>
<p><strong>Step 3: Periodically download and process podcasts</strong></p>
<p>To download podcast files periodically and process them, make a crontab entry for podracer or your script. This will make the cron daemon run your script every few hours to download new mp3s.</p>
<p>I typed &#8220;crontab -e&#8221; and made the file look like this:</p>
<blockquote><p>
# At 3:03 am, 8:03 am, 10:03 am, 12:03 pm, and 4:03 pm, run this script<br />
3 3,8,10,12,16 * * * /home/<em>username</em>/download-mp3s-and-process.sh
</p></blockquote>
<p>Whenever you&#8217;re ready to put the podcasts on some type of media (SD Card, iPod, iPhone, whatever), just copy over anything from the finishedpodcasts directory (if you used mp3splt in step 2) or the rawpodcasts directory if you skipped step 2. Then delete anything left over in either directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattcutts.com/blog/download-podcasts-on-linux/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>
