<?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>tolaris.com &#187; jaunty</title>
	<atom:link href="http://www.tolaris.com/tag/jaunty/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tolaris.com</link>
	<description>When the going gets tough, the tough sniff packets.</description>
	<lastBuildDate>Tue, 24 Jan 2012 17:47:01 +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>virt-manager now in repo</title>
		<link>http://www.tolaris.com/2009/12/08/virt-manager-now-in-repo/</link>
		<comments>http://www.tolaris.com/2009/12/08/virt-manager-now-in-repo/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 17:23:46 +0000</pubDate>
		<dc:creator>Tyler Wagner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[repo]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.tolaris.com/?p=665</guid>
		<description><![CDATA[The latest virt-manager package in Ubuntu karmic is broken. We use virt-manager to manage KVM/QEMU virtual machines over an ssh tunnel. This worked fine in hardy and jaunty. But it is partially broken in karmic. The bug appears as: Start virt-manager. Connect to a KVM host server using connection &#8220;Remote tunnel over SSH&#8221; with hypervisor [...]]]></description>
			<content:encoded><![CDATA[<p>The latest virt-manager package in Ubuntu karmic is broken.  We use virt-manager to manage <a href="http://www.linux-kvm.org">KVM</a>/QEMU virtual machines over an ssh tunnel.  This worked fine in hardy and jaunty.  But it is partially broken in karmic.</p>
<p><span id="more-665"></span>The bug appears as:</p>
<ol>
<li>Start virt-manager.</li>
<li>Connect to a KVM host server using connection &#8220;Remote tunnel over SSH&#8221; with hypervisor &#8220;QEMU/KVM&#8221;.</li>
<li>Double-click on a VM to open a VNC connection to console.</li>
<li>The error message &#8220;Error bringing up domain details: invalid argument in virDomainGetXMLDesc&#8221; appears, and no VNC session opens.</li>
</ol>
<p>The problem is with the latest version of virt-manager, 0.7.0.  To work around it I&#8217;ve repackaged virt-manager 0.6.1 from jaunty with the fake version &#8220;0.7.1~really0.6.1-1ubuntu4&#8243;.  Packages for i386 and amd64 are now in my <a href="/apt-repository/">APT repository</a>.</p>
<p>Also, KPackageKit ignores my &#8220;<code>dpkg --set-selections</code>&#8220;, forcing me to do this.  Thanks, KPackageKit, for ignoring the standard!  Otherwise I could install the jaunty package and mark it on hold.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tolaris.com/2009/12/08/virt-manager-now-in-repo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upgrading from Kubuntu 9.04 to 9.10</title>
		<link>http://www.tolaris.com/2009/11/01/upgrading-from-kubuntu-9-04-to-9-10/</link>
		<comments>http://www.tolaris.com/2009/11/01/upgrading-from-kubuntu-9-04-to-9-10/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 14:40:36 +0000</pubDate>
		<dc:creator>Tyler Wagner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.tolaris.com/?p=561</guid>
		<description><![CDATA[Friday I upgraded from Kubuntu 9.04 &#8220;Jaunty Jackalope&#8221; to Kubuntu 9.10 &#8220;Karmic Koala&#8221;. Here are my notes on the upgrade. Jaunty has been my Windows Vista. I wish I had never upgraded, and waited instead for Karmic. For anyone using Intel video (I use a Dell Vostro 1500 with an onboard Intel GM965/GL960), Jaunty and [...]]]></description>
			<content:encoded><![CDATA[<p>Friday I upgraded from Kubuntu 9.04 &#8220;Jaunty Jackalope&#8221; to Kubuntu 9.10 &#8220;Karmic Koala&#8221;.  Here are my notes on the upgrade.</p>
<p><span id="more-561"></span>Jaunty has been my Windows Vista.  I wish I had never upgraded, and waited instead for Karmic.  For anyone using Intel video (I use a Dell Vostro 1500 with an onboard Intel GM965/GL960), Jaunty and KDE4 was a terrible experience.  Compared to Hardy and KDE3, video performance was dramatically worse.  When playing videos frames would drop, 3D acceleration was slower, everything showed more tearing effects, and most KDE4 apps showed graphics corruption in various rarely-updated areas such as the icon toolbar in Kontact.</p>
<p>I had already discovered the video issues when I  wrote my <a href="/2009/08/18/upgrading-from-kubuntu-8-04-to-9-04/">last upgrade post</a>, but hadn&#8217;t yet realised the extend of the wireless issues.  I have two cards in my laptop:</p>
<pre>tyler@baal:~$ lspci | grep -i network
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
0d:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)</pre>
<p>Under Jaunty, the Intel card caused kernel panics on shutdown.  So I blacklisted the driver and used the Atheros card, only to discover problems with both the ath_pci  and ath5k drivers.  The former doesn&#8217;t work with network manager, and with the latter the card would sometimes fail in a state requiring full hardware reset, meaning powering the laptop off and on again.  This would happen on bootup too, causing me to sometimes reboot several times to make wireless work.  It is not good to begin the workday filled with frustration and rage.</p>
<p>I did my best to mitigate the issues under Jaunty, including using the latest KDE backports from the <a href="https://launchpad.net/~kubuntu-ppa">Kubuntu PPA</a>.  But the only real solution to my video problems was to upgrade to the latest kernel, X, and intel video drivers.  I use Ubuntu because I want reasonably recent packages but without the headache of running true alpha / bleeding-edge releases.  Replacing all the critical parts of the distro seemed like the wrong way to go.  So I suffered and waited for the day Karmic came out.</p>
<p>The <a href="http://www.ubuntu.com/getubuntu/releasenotes/910">9.10 release notes</a> cover a number of known issues.  What strikes me about the known issues is how few of them affect me.  Many are related to the netbook remix, or specific to recent netbooks with proprietary hardware.  Support for the general case of mostly Intel hardware released 1-2 years ago is all there.</p>
<p>Upgrading from Jaunty to Karmic was just a matter of doing what the GUI prompted me to do.  This wasn&#8217;t like jumping from KDE 3 to 4, so I didn&#8217;t remove any dotfiles or reformat.  I just made my usual backup and then did the upgrade.  I had a problem and had to stop the upgrade during the post-download, configuration part, so I ran <code>dpkg --configure -a</code> in a terminal and everything finished just fine.</p>
<p>What went wrong:</p>
<p><strong>Synaptics touchpad tap suppression</strong> (syndaemon) stopped working.  This is an artifact of upgrading from Jaunty, where to use syndaemon you have to enable SHMConfig in xorg.conf and then run syndaemon as <code>syndaemon -S -d -t -i 1</code>.  On upgrading to karmic, set SHMConfig to false, restart X, and call syndaemon without -S (the switch doesn&#8217;t exist anymore anyway).  I just removed my xorg.conf altogether, since X doesn&#8217;t seem to need it.</p>
<p><strong>ath_pci</strong>, the madwifi Atheros wireless driver, is gone.  I use this for aircrack and kismet.  It is likely that I can either compile it or use the ath or ath5k drivers for the same thing, but I haven&#8217;t had time to test this.</p>
<p><strong>openvpn with knetworkmanager</strong> still doesn&#8217;t work, at least with certificates that don&#8217;t have a passphrase.  So far, openvpn doesn&#8217;t even start.  From syslog:</p>
<pre>Nov  1 13:51:32 baal NetworkManager: <WARN>  nm_vpn_connection_connect_cb(): VPN connection 'company vpn' failed to connect: 'No VPN secrets!'.</pre>
<p>Even if it did work, the dialog doesn&#8217;t even have a tab for manually setting up routes.  Since when is the equivalent Gnome app <em>more</em> configurable than its KDE counterpart?</p>
<p><strong>Ozone</strong>, the default KDE window theme, doesn&#8217;t use colour to denote the active window.  Instead it uses stripes to the right of the text in the title bar.  Some people say that compositing window managers and transparency are supposed to make this a non-issue, but they are wrong.  I expect my active window to have a blue window border, and the others to be grey.  To fix this, open the Control Centre.  Go to &#8220;Appearance&#8221;, then the &#8220;Windows&#8221; side bar.  Under the &#8220;Window Decoration&#8221; tab, choose &#8220;Ozone&#8221;.  Under the &#8220;Decoration Options&#8221; area, uncheck &#8220;Blend title bar colours with window contents&#8221;.</p>
<p>What went right:</p>
<p><strong>kernel mode setting</strong> is awesome!  This currently works only for those of us that use Intel video, which is perhaps a small reward for suffering through Jaunty.  Switching between X and virtual terminals is fast and seamless.  The console has a gorgeous high-res mode at boot-time.  I haven&#8217;t seen the screen flicker once since GRUB booted the kernel, from X startup to the KDM greeter to Plasma startup.</p>
<p><strong>Booting</strong> is very fast.  On my laptop I see KDM within 15 seconds of the kernel loading.  I have a usable desktop 15 seconds after that.  I&#8217;m sure more things are starting in the background, but they don&#8217;t seem to slow down my login process.</p>
<p><strong>Xorg</strong> just figures everything out.  I no longer have an xorg.conf and all my hardware works. Plus xrandr now has a <a href="/2009/04/14/enabling-1080p-video-on-the-shuttle-x27d-htpc">large virtual area</a> by default:</p>
<pre>tyler@baal:~$ xrandr
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 8192 x 8192</pre>
<p>This should work just fine with multi-monitor setups.</p>
<p><strong>Google Earth</strong> and <strong>Kwin</strong> with compositing work at the same time.  So far I&#8217;ve had no issue with any 3D apps running together, and they are all about 3 times as fast as they were under Jaunty.</p>
<p><strong>qtcurve</strong>, the new KDE/GTK appearance integration engine.  This replaced the deprecated gtk-qt engine which had all kinds of drawing errors especially with firefox.  Qtcurve uses your &#8220;general&#8221; font setting from KDE in GTK apps, and generally makes GTK apps look like KDE ones.  Unfortunately it is <a href="https://bugs.launchpad.net/ubuntu/+bug/414711">broken out of the box</a>.  The solution is to install the &#8220;kcm-gtk&#8221; package, and then use Control Centre to edit your &#8220;general&#8221; font setting.  Set it to something else and then back again, or put this in ~/.kde/share/config/kdeglobals:</p>
<pre>[General]
XftHintStyle=hintmedium
font=DejaVu Sans,8,-1,5,50,0,0,0,0,0</pre>
<p>Wireshark never looked so pretty.</p>
<p><strong>Firefox 3.5</strong>, which really is as fast as you&#8217;ve heard.  KDE users, give up and use the default theme.  All the &#8220;hack it to look like KDE&#8221; themes just don&#8217;t work as well as the one the developers themselves test against.</p>
<p><strong>Plasma</strong> is stable.  This isn&#8217;t a surprise as I&#8217;ve been running 4.3.2 from the PPA under Jaunty.  Since Karmic is stable I&#8217;m not going to use the PPA for bleeding edge KDE releases anymore (until another juicy feature gets released, no doubt).</p>
<p><strong>fish</strong>, the Kioslave for file transfer over SSH, is fast once again.  It no longer generates notifications for normal browsing activity, either, which was extremely irritating under Jaunty.</p>
<p><strong>knetworkmanager</strong> works once again.  It was more than a little annoying to use Gnome&#8217;s network manager.</p>
<p>They finally got it right with <strong>Amarok 2.2</strong>.  iPod support seems complete, the GUI is configurable (why does the playlist default to the right pane?), the collection scanner is much faster than Amarok 1.4, and it hasn&#8217;t crashed yet.</p>
<p>Karmic has been added to the <a href="/apt-repository/">repository</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tolaris.com/2009/11/01/upgrading-from-kubuntu-9-04-to-9-10/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>kregexpeditor now in repo</title>
		<link>http://www.tolaris.com/2009/08/22/kregexpeditor-now-in-repo/</link>
		<comments>http://www.tolaris.com/2009/08/22/kregexpeditor-now-in-repo/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 15:39:21 +0000</pubDate>
		<dc:creator>Tyler Wagner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[repo]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.tolaris.com/?p=473</guid>
		<description><![CDATA[Cleaning up after the KDE 4 upgrade continues. Today I tried to port kregexpeditor from hardy, but pbuilder stopped with a library conflict: kdelibs5-dev: Conflicts: kdelibs4-dev but 4:3.5.10.dfsg.1-1ubuntu8 is to be installed I&#8217;m sure I could have resolved this, but I decided to test the hardy package before spending any more effort. The package installed [...]]]></description>
			<content:encoded><![CDATA[<p>Cleaning up after the <a href="http://www.tolaris.com/2009/08/18/upgrading-from-kubuntu-8-04-to-9-04/">KDE 4 upgrade</a> continues.  Today I tried to port kregexpeditor from hardy, but <a href="http://www.tolaris.com/2009/03/31/backporting-debian-packages-with-pbuilder/">pbuilder</a> stopped with a library conflict:</p>
<pre>kdelibs5-dev: Conflicts: kdelibs4-dev but 4:3.5.10.dfsg.1-1ubuntu8 is to be installed</pre>
<p>I&#8217;m sure I could have resolved this, but I decided to test the hardy package before spending any more effort.  The package installed without complaint, and the binary runs.  I&#8217;ve added the amd64 and i386 packages from hardy-backports to the <a href="http://www.tolaris.com/apt-repository/">repo</a> for jaunty.</p>
<p><span id="more-473"></span>I&#8217;m sad to see kregexpeditor go, as it is the only decent means of visualising complex regular expressions.  It is apparently orphaned upstream, with no plans to port it to KDE 4.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tolaris.com/2009/08/22/kregexpeditor-now-in-repo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upgrading from Kubuntu 8.04 to 9.04</title>
		<link>http://www.tolaris.com/2009/08/18/upgrading-from-kubuntu-8-04-to-9-04/</link>
		<comments>http://www.tolaris.com/2009/08/18/upgrading-from-kubuntu-8-04-to-9-04/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 20:42:54 +0000</pubDate>
		<dc:creator>Tyler Wagner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.tolaris.com/?p=458</guid>
		<description><![CDATA[Until last week I still ran Kubuntu 8.04 (Ubuntu with KDE) on my personal desktop. We also use this on all our corporate desktops, and my wife&#8217;s PC at home. I wanted to wait for KDE 4 to mature a bit more before upgrading, so intrepid wasn&#8217;t an option. I waited 4 months after the [...]]]></description>
			<content:encoded><![CDATA[<p>Until last week I still ran Kubuntu 8.04 (Ubuntu with KDE) on my personal desktop.  We also use this on all our corporate desktops, and my wife&#8217;s PC at home.  I wanted to wait for KDE 4 to mature a bit more before upgrading, so intrepid wasn&#8217;t an option.</p>
<p>I waited 4 months after the release of jaunty, so the problems should be either documented or resolved, and the <a href="http://www.ubuntu.com/getubuntu/releasenotes/904">release</a> <a href="http://www.kubuntu.org/news/9.04-release">notes</a> didn&#8217;t mention anything that seemed too serious.  So I decided to give it a test.</p>
<p><span id="more-458"></span>First I made a complete backup with rsync to an external USB2 harddrive (partitioned ext3).  I partition my harddrive with separate root (/) and home (/home) partitions, so in the event of a reinstall I don&#8217;t have to restore my data from backup.  So the second thing I did was to copy /, excluding /home, to /home/root.old/.  I&#8217;ll keep this backup for a few months so I can compare config files and copy over whatever I&#8217;ve forgotten, like udev rules, apache configs, etc.  You&#8217;d be surprised what stuff you changed in /etc a year ago and then forgot about.  Finally, I cloned just the dotfiles in /home/tyler to /home/tyler.old.  I expected KDE 4 to mangle all my settings, so just to be safe I kept a backup.</p>
<p>Then I upgraded, following the <a href="http://help.ubuntu.com/community/JauntyUpgrades/Kubuntu/8.04">instructions</a>.  When the upgrade was done and I rebooted, everything was totally screwed up.  The icon for the KDE menu had become a left-arrow, various hotkeys were remapped, customised application toolbars were screwed up, and the KDE menu hierarchy was a mess.  To be fair, I tend to be hard on the menus and toolbars.</p>
<p>OK, log out, remove all the dotfiles in /home/tyler, and log in again.  This should give me a default KDE 4 desktop and application environment.  I can copy individual dotfiles back later.  Nope, icons still borked.  I expected this to happen (skipping a release, moving to KDE 4), so I reinstalled 9.04 directly as a fresh install.  As usual, I selected manual partitioning, reused and reformatted the root partition, and reused /home without formatting.  I also left /home/tyler with no dotfiles, again to make the transition easier.</p>
<p>After the install, things were much better.  KDE 4&#8242;s desktop (Plasma) was happy, icons were normal, and I didn&#8217;t have 16 months of installed cruft all over the /usr/local tree (sometimes I compile from source, typically network hacking tools).  I copied back dotfiles for firefox; wireshark; and the kde apps kontact, kmail, kabc, korganizer, kopete, and amarok; and a few others.  I avoided copying anything with &#8220;event&#8221; and &#8220;ui&#8221; in it, as I wanted to try the new default UI settings.</p>
<p>Since then I&#8217;ve enabled the PPA for KDE updates and am now <a href="http://www.kubuntu.org/news/kde-4.3">using KDE 4.3</a> (stock jaunty only offers 4.2.2).</p>
<p>What went wrong:</p>
<p><strong>Intel video</strong> is <a href="http://www.ubuntu.com/getubuntu/releasenotes/904#Performance%20regressions%20on%20Intel%20graphics%20cards">totally borked</a>.  Seriously, if you are using Intel video, stay on intrepid or wait for karmic.  The warning in the release notes is not worded strongly enough.  DO NOT USE JAUNTY AND INTEL VIDEO.  I&#8217;m using a GM965 chipset, which is partially functional.  Google Earth and Kwin compositing don&#8217;t get along at all, and all OpenGL and video operations perform significantly worse under jaunty.  There are random graphics corruption issues in KDE apps, but mousing over most of them causes them to redraw. Two months to go, and I&#8217;m seriously considering the karmic beta.  Some help <a href="http://ubuntuforums.org/showthread.php?t=1130582">is available</a>, but I&#8217;m not willing to add to my problems by running an unsupported kernel.</p>
<p><strong>Kontact/Korganizer</strong> pops up an annoying dialog whenever you select a contact with more than one email address.  This is a known issue in 4.2.2, and it prompted me to move to 4.3.</p>
<p><strong>Kopete</strong> has inexplicably renamed all instances of &#8220;MSN Messenger&#8221;, including the variables in its rc files, to &#8220;WLM Messenger&#8221;.  So after upgrading from Kopete for KDE 3, enable the &#8220;WLM Messenger&#8221; plugin, and then change a bunch of things:</p>
<ol>
<li>~/.kde/share/config/kopeterc, replace all instances of &#8220;MSNProtocol&#8221; with &#8220;WlmProtocol&#8221;.</li>
<li>~/.kde/share/apps/kopete/contactlist.xml, replace all instances of &#8220;MSNProtocol&#8221; with &#8220;WlmProtocol&#8221;.</li>
<li>~/.kde/share/apps/kopete/, rename directory &#8220;msnpictures&#8221; to &#8220;wlmpictures&#8221;</li>
<li>(If using the History plugin) ~/.kde/share/apps/kopete/logs/, rename directory &#8220;MSNProtocol&#8221; to &#8220;WlmProtocol&#8221;</li>
<li>(If using the OTR plugin) ~/.kde/share/apps/kopete_otr/privkeys, replace all instances of &#8220;MSN Messenger&#8221; with &#8220;WLM Messenger&#8221;</li>
<li>(If using the OTR plugin) ~/.kde/share/apps/kopete_otr/fingerprints, replace all instances of &#8220;MSN Messenger&#8221; with &#8220;WLM Messenger&#8221;</li>
</ol>
<p>I really appreciate all the hard work done by the KDE developers.  But I have a very special kick in the nuts for whoever did this.  Please, either enable backwards compatibility, or write an upgrade script!  If you must change the cosmetic name of an option, do so in the user interface.  But don&#8217;t arbitrarily change variable and directory names!  Some of us have existing configurations that we&#8217;d like to have continue working, thank you.</p>
<p><strong>Amarok 2</strong> still has poor iPod support, and crashes frequently.  I have joined the hordes that <a href="http://nomad.ca/blog/2009/apr/3/amarok-14-jaunty-ubuntu-904/">downgraded to Amarok 1.4</a>.  I am now much happier.  Configuring the iPod in Amarok 1.4 is easy:</p>
<ol>
<li><code>sudo apt-get install pmount</code></li>
<li>append your iPod devices to /etc/pmount.allow (first and second USB devices for me, just in case I plugin a drive or stick at the same time):
<pre>/dev/sdb1
/dev/sdb2
/dev/sdc1
/dev/sdc2</pre>
</li>
<li><code>sudo dpkg-statoverride --update --add root root 4755 /usr/bin/eject</code></li>
<li>In Amarok, set iPod pre-connect command to &#8220;pmount /dev/disk/by-label/IPODLABEL ipod&#8221; where &#8220;IPODLABEL&#8221; is the filesystem label of your device.  You could use /dev/sdb2 here, but that changes if you plug in anything else.</li>
<li>In Amarok, set iPod post-disconnect command to &#8220;pumount %m; eject /dev/disk/by-label/IPODLABEL&#8221;</li>
</ol>
<p>Step 3 means any normal user can eject devices, which isn&#8217;t an issue on desktops.  Anybody know what happened to the &#8220;kdeeject&#8221; command?</p>
<p><strong>apt-get/KPackageKit/Synaptic</strong> now install packages in the &#8220;Recommended&#8221; line by default.  This is a really dumb idea, at least until all the mainstream packages are updated.  Why do I get exim installed if I just want smartmontools?  I would like to be able to check my harddrive temperature without installing a mail server, thank you.  Create /etc/apt/apt.conf.d/99no-install-recommends with the contents:</p>
<pre>APT::Install-Recommends "false";</pre>
<p>Unfortunately, it seems some of the metapackages such as ubuntu-restricted-extras have switched from using &#8220;Depends&#8221; (the correct behaviour) to &#8220;Recommends&#8221;.  Thanks, guys!  Now we&#8217;re damned if we do, and damned if we don&#8217;t.</p>
<p><strong>kregexpeditor</strong> is gone, and no replacement exists.  I mourn.</p>
<p><strong>knetworkmanager</strong> has been replaced by the abundantly inferior &#8220;Network Management&#8221; plasmoid.  Although you can reinstall it, it doesn&#8217;t work with openvpn and its functionality has been reduced (it doesn&#8217;t display new connections automatically, for instance.  I&#8217;ve installed network-manager-gnome and network-manager-openvpn in the interim.  However, openvpn won&#8217;t work until you edit /etc/dbus-1/system.d/nm-openvpn-service.conf and add the following to the &#8220;busconfig&#8221; stanza:</p>
<pre>&lt;policy user="at_console"&gt;
        &lt;allow own="org.freedesktop.NetworkManager.openvpn"/&gt;
        &lt;allow send_destination="org.freedesktop.NetworkManager.openvpn"/&gt;
&lt;/policy&gt;</pre>
<p><strong>Intel 3945 wireless</strong> is unstable.  I guess it always was, but knetworkmanager had a habit of restarting the card.  Now it&#8217;s just screwed.  I&#8217;ve got a second wireless card, an Atheros AR242x chipset, which I&#8217;ve long used for injecting wireless packets to crack WEP networks.  That works just fine.  I imagine I&#8217;ll revisit this issue once I have to upgrade my wife&#8217;s laptop, which only has an Intel 3945.  Or I&#8217;ll buy a £10 Atheros and replace it.</p>
<p><strong>Plasma</strong> crashes sometimes.  But it restarts immediately, without losing anything.  It did this the first time I logged in after a fresh install, which is not a strong selling point for using KDE 4 or Jaunty.  If you have issues with this, delete ~/.kde/share/config/plasma-desktop-appletsrc and ~/.kde/share/config/plasma-appletsrc, or edit them and fix geometry lines that cannot fit on your screen or that use floating-point numbers.</p>
<p>What went right:</p>
<p><strong>Suspend and resume</strong> work flawlessly.  Perhaps this is because I no longer use the Intel wireless card, but I&#8217;ve had no problems at all and I&#8217;ve resumed at least 30 times since upgrading.  This is the first time it has ever been stable on any laptop I use (mostly Dells using Intel or ATI video, and Intel wireless).</p>
<p><strong>KDE 4</strong> is shiny, shiny, shiny.  Also a little slower, but that could be the Intel video issue.  I love Kwin compositing, especially the exposé-like zooming out by application or by desktop.  I hardly use the desktop pager now.  The plasmoids (desktop widgets) are great.  I see it is going to be hot tomorrow, and that it will rain on Thursday.</p>
<p>New <strong>KDE apps</strong> are no longer infested with an abundance of the letter K.  Rock on, Plasma! Rock on, Dolphin.  At last, sanity!</p>
<p><strong>khexedit</strong> has been replaced by Okteta.  It is better.  Install it.</p>
<p><strong>Webcam</strong> support on amd64 works better.  My webcam used to freeze after 5-10 seconds.  Now it works with Cheese and Skype.</p>
<p>The <strong>KDE games</strong> packages have shiny new Egyptian themes.  They look very good, and many have polished new features.</p>
<p>Overall, I&#8217;m happy with KDE 4, but I&#8217;m not sure the Intel video issues are worth it.  I&#8217;ll wait for Karmic, and then we&#8217;ll really have to evaluate if we are to move to that release internally.  Unlike the rest of hardy, the Kubuntu packages go unmaintained this October, so we have little choice if we want to stay with KDE.  Which is something we&#8217;re considering.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tolaris.com/2009/08/18/upgrading-from-kubuntu-8-04-to-9-04/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Enabling 1080p video on the Shuttle X27D HTPC</title>
		<link>http://www.tolaris.com/2009/04/14/enabling-1080p-video-on-the-shuttle-x27d-htpc/</link>
		<comments>http://www.tolaris.com/2009/04/14/enabling-1080p-video-on-the-shuttle-x27d-htpc/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 21:10:08 +0000</pubDate>
		<dc:creator>Tyler Wagner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[htpc]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.tolaris.com/?p=330</guid>
		<description><![CDATA[I recently bought a Shuttle X27D to use as a Home Theater PC (HTPC). The reviews of this hardware run from disappointing to average, but I&#8217;m reasonably happy with it. It&#8217;s quiet (just one small fan for the GPU, and none for CPU, case, or power supply), uses little power (I measured it at 32 [...]]]></description>
			<content:encoded><![CDATA[<p>I recently bought a <a href="http://www.efficientpc.co.uk/desktops/asgard/">Shuttle X27D</a> to use as a Home Theater PC (HTPC).  The reviews of this hardware run from <a href="http://www.google.com/url?sa=t&#038;source=web&#038;ct=&#038;cd=1&#038;url=http%3A%2F%2Fwww.reghardware.co.uk%2F2008%2F12%2F10%2Freview_desktop_pc_shuttle_x27d%2F&#038;ei=YGffSZPuMoHB-AanuNj8CA&#038;usg=AFQjCNFx-FuScJVQlsP9QJaSC-ZHiDupWA">disappointing</a> to <a href="http://www.custompc.co.uk/reviews/246460/shuttle-x27d.html">average</a>, but I&#8217;m reasonably happy with it.  It&#8217;s quiet (just one small fan for the GPU, and none for CPU, case, or power supply), uses little power (I measured it at 32 W in full operation), and the analog audio jack on the motherboard has no discernable noise in the audio stream (unlike my Dell Vostro 1500 laptop).</p>
<p>Unfortunately, the Intel 945G graphics processor can&#8217;t reliably handle 720p @24 frames video.  I tested with a downloaded copy of <a href="http://www.sitasingstheblues.com">Sita Sings the Blues</a>, and it dropped frames as the animated fireworks exploded during the title sequence.  It was fine with most of the rest of the film.  Still, it means I&#8217;m likely to stick to upscaled 480p video.  Which is far better for my bandwidth usage.</p>
<p>Naturally, I ran into some problems setting it up.</p>
<p><span id="more-330"></span>First, I discovered that <a href="https://answers.launchpad.net/efficientpc/+question/66832">Ubuntu 8.10 Intrepid amd64 won&#8217;t run on this hardware</a>.  The kernel panics as soon as you boot the Live CD.  Ubuntu 9.04 beta works, and of course i386 is fine.  <a href="http://popolon.org/gblog2/atom330-benchmark">Benchmarks</a> of the Atom 330 suggest that the 32-bit kernel is actually faster on this CPU for integer operations, so I just went with 32-bit.  Since I wanted to use this as the family Skype device, that was probably the better choice anyway.</p>
<p>The biggest reason I bought a Shuttle X27D was because it has a DVI port that I could connect to my TV.  I have a Panasonic TX-37LZD70 37&#8243; LCD HDTV which is capable of up to 1080p video (1920&#215;1080) when using an HDMI input. I connected them via a DVI-to-HDMI adaptor (it&#8217;s just a difference in pinout, and lack of an audio signal). Unfortunately Ubuntu booted in 720p mode (1280&#215;720 50 Hz).  <code>xrandr</code> reported a variety of other modes available, but none of them worked with my TV except for 640&#215;480.</p>
<pre>media@gozer:~$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 720, maximum 1680 x 1050
VGA disconnected (normal left inverted right x axis y axis)
TMDS-1 connected 1280x720+0+0 (normal left inverted right x axis y axis) 697mm x 392mm
   1280x720       50.0 +   60.0*
   1680x1050      60.0
   1600x1024      60.2
   1400x1050      60.0
   1280x1024      60.0
   1440x900       59.9
   1280x960       60.0
   1360x768       59.8
   1152x864       60.0
   1024x768       60.0
   800x600        60.3     56.2
   640x480        59.9</pre>
<p>I started playing with xrandr, and eventually discovered that the TV isn&#8217;t giving complete resolution information in the <a href="http://en.wikipedia.org/wiki/EDID">EDID</a> it offers digitally.</p>
<pre>media@gozer:~$ xrandr --prop
Screen 0: minimum 320 x 200, current 1280 x 720, maximum 1680 x 1050
VGA disconnected (normal left inverted right x axis y axis)
TMDS-1 connected 1280x720+0+0 (normal left inverted right x axis y axis) 697mm x 392mm
        EDID_DATA:
                00ffffffffffff0034a92ac149040000
                2f110103800000780adaffa3584aa229
                17494b00000001010101010101010101
                010101010101011d00bc52d01e20b828
                5540b9882100001e011d007251d01e20
                6e285500b9882100001e000000fc0050
                414e41534f4e49432d54560a000000fd
                00173d0f440f000a2020202020200187
                0203207250938414051f102012031102
                16071506012309070166030c00200080
                011d80d0721c1620102c2580b9882100
                009e8c0ad090204031200c405500b988
                21000018011d8018711c1620582c2500
                b9882100009e8c0ad08a20e02d10103e
                9600b98821000018023a80d072382d40
                102c4580b98821000018000000000050</pre>
<p><a href="http://software.intel.com/en-us/articles/custom-resolutions-on-intel-graphics/">Decoding this by hand</a> revealed that the TV is only announcing 1280&#215;720 graphics modes.  Some DVD players are willing to try to force graphics modes they don&#8217;t know will work, but a PC wisely does not do this without manual intervention.</p>
<p>By this point I&#8217;d learned a lot about setting display modes in X and tried creating modes myself, using <code>gtf</code> and <code>cvt</code>.</p>
<p><code>xrandr --newmode "1920x1080_50.00" 141.50  1920 2032 2232 2544  1080 1083 1088 1114 -hsync +vsync<br />
xrandr --addmode TMDS-1 1920x1080_50.00<br />
xrandr --output TMDS-1 --mode "1920x1080_50.00"</code></p>
<p>This didn&#8217;t work because the mode I was trying to create was too large for the maximum listed by xrandr.  It turns out that this isn&#8217;t a hard setting, but is calculated when X starts based on the maximum resolution of the available displays.  It is the size of the frame buffer X uses for the total display area of all displays.  Anyone having to set up dual monitors usually has to increase this in order to have two displays side by side.  So I modified /etc/X11/xorg.conf and restarted X.</p>
<pre>Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
        Subsection "Display"
                Virtual 1920 1080
        Endsubsection
EndSection</pre>
<p>Now the new mode worked, but was shifted to the right on my TV.  This happened for all the modeline calculations I was able to produce with both <code>gtf</code> and <code>cvt</code>.  So I gave up and installed <a href="http://www.clevertec.co.uk/productsfree.htm#dtdcalc">DTDCalculator</a> in my Windows virtual machine.  It calculated a different set of modelines which worked perfectly on the first try.  I set up modes for 24 Hz, 50 Hz, and 60 Hz.</p>
<p><code>xrandr --newmode "1920x1080_24.00" 74.25  1920 2558 2602 2750  1080 1084 1089 1125  -HSync +Vsync<br />
xrandr --newmode "1920x1080_50.00" 148.50  1920 2448 2492 2640  1080 1084 1089 1125  -HSync +Vsync<br />
xrandr --newmode "1920x1080_60.00" 148.50  1920 2008 2052 2200  1080 1084 1089 1125  -HSync +Vsync<br />
xrandr --addmode TMDS-1 1920x1080_24.00<br />
xrandr --addmode TMDS-1 1920x1080_50.00<br />
xrandr --addmode TMDS-1 1920x1080_60.00</code></p>
<p>Now I can switch to any of the new modes, and I have full 1080p video!  The last thing I want to do is make this change permanent.  There are several ways to do this.  The best way is to edit xorg.conf:</p>
<pre>Section "Device"
        Identifier      "Configured Video Device"
        Option "Monitor-TMDS-1" "Configured Monitor"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
        ModeLine "1920x1080_60.00" 148.50  1920 2008 2052 2200  1080 1084 1089 1125  -hsync +vsync
        ModeLine "1920x1080_50.00" 148.50  1920 2448 2492 2640  1080 1084 1089 1125  -hsync +vsync
        ModeLine "1920x1080_24.00" 74.25  1920 2558 2602 2750  1080 1084 1089 1125  -hsync +vsync
        Option "PreferredMode" "1920x1080_60.00"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
        Subsection "Display"
                Virtual 1920 1080
        Endsubsection
EndSection</pre>
<p>This sets up the larger virtual frame buffer, creates the new resolutions, and tells X that the display TMDS-1 (the DVI port on this graphics card) should use the settings for &#8220;Configured Monitor&#8221; (normally only the first detected device will use these).</p>
<p>Another way to do this is to edit either /etc/xprofile or ~/.profile for your user.  This is a shell script that is executed as X starts.  If you want just your user to have these changes, use the latter.  If you want all users including the login greeter to have them, use the former.</p>
<pre>#!/bin/bash
# 2009-04-10 tyler - add missing 1080p video modes to DVI output

xrandr --newmode "1920x1080_24.00" 74.25  1920 2558 2602 2750  1080 1084 1089 1125  -HSync +Vsync
xrandr --newmode "1920x1080_50.00" 148.50  1920 2448 2492 2640  1080 1084 1089 1125  -HSync +Vsync
xrandr --newmode "1920x1080_60.00" 148.50  1920 2008 2052 2200  1080 1084 1089 1125  -HSync +Vsync

xrandr --addmode TMDS-1 1920x1080_24.00
xrandr --addmode TMDS-1 1920x1080_50.00
xrandr --addmode TMDS-1 1920x1080_60.00

xrandr --output TMDS-1 --mode "1920x1080_60.00"</pre>
<p>If you&#8217;ll excuse me, I&#8217;m going to get back to watching all my favourite shows without commercials.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tolaris.com/2009/04/14/enabling-1080p-video-on-the-shuttle-x27d-htpc/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Sun Java Firefox plugin working on Ubuntu Hardy amd64</title>
		<link>http://www.tolaris.com/2009/04/08/sun-java-firefox-plugin-working-on-ubuntu-hardy-amd64/</link>
		<comments>http://www.tolaris.com/2009/04/08/sun-java-firefox-plugin-working-on-ubuntu-hardy-amd64/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 18:45:09 +0000</pubDate>
		<dc:creator>Tyler Wagner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[amd64]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[repo]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.tolaris.com/?p=309</guid>
		<description><![CDATA[Finally, finally, FINALLY! The Sun Java plugin now works on Firefox amd64 in native 64-bit. It has already been included in Ubuntu 9.04 Jaunty, but the packages work just fine on Hardy as well, and probably on Intrepid. Just download and install the Jaunty versions of sun-java6-bin, sun-java6-jre, sun-java6-fonts, and sun-java6-plugin. Install them, and remove [...]]]></description>
			<content:encoded><![CDATA[<p>Finally, finally, FINALLY!  The Sun Java plugin now works on Firefox amd64 in native 64-bit.  It has already been included in Ubuntu 9.04 Jaunty, but the packages work just fine on Hardy as well, and probably on Intrepid.</p>
<p>Just download and install the Jaunty versions of <a href="http://packages.ubuntu.com/jaunty/sun-java6-bin">sun-java6-bin</a>, <a href="http://packages.ubuntu.com/jaunty/sun-java6-jre">sun-java6-jre</a>, <a href="http://packages.ubuntu.com/jaunty/sun-java6-fonts">sun-java6-fonts</a>, and <a href="http://packages.ubuntu.com/jaunty/sun-java6-plugin">sun-java6-plugin</a>.  Install them, and remove the old icedtea plugin if you have it:</p>
<p><code>sudo dpkg -i sun-java6-bin_6-13-1_amd64.deb sun-java6-fonts_6-13-1_all.deb sun-java6-jre_6-13-1_all.deb sun-java6-plugin_6-13-1_amd64.deb<br />
sudo apt-get remove --purge icedtea-gcjwebplugin</code></p>
<p>Then restart Firefox and Sun java will load natively 64-bit.  Check it:</p>
<p><code>tyler@baal:~$ java -version</code></p>
<pre>java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)</pre>
<p>I&#8217;ve included them in the <a href="/apt-repository/">repository</a>.</p>
<p>Update 2009-07-16: A more recent version is now available in the hardy-updates repository.  I have removed the above copy from my repo.  Intrepid users should upgrade to jaunty anyway, but can still download packages <a href="http://packages.ubuntu.com/hardy-updates/sun-java6-plugin">directly</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tolaris.com/2009/04/08/sun-java-firefox-plugin-working-on-ubuntu-hardy-amd64/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

