<?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>alan.lamielle.net &#187; Ubuntu</title>
	<atom:link href="http://alan.lamielle.net/categories/tech/ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>http://alan.lamielle.net</link>
	<description>Alan LaMielle</description>
	<lastBuildDate>Fri, 16 Sep 2011 16:50:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Thinkpad Trackpoint Scrolling in Ubuntu Karmic Koala</title>
		<link>http://alan.lamielle.net/2009/10/07/thinkpad-trackpoint-scrolling-in-ubuntu-karmic-koala</link>
		<comments>http://alan.lamielle.net/2009/10/07/thinkpad-trackpoint-scrolling-in-ubuntu-karmic-koala#comments</comments>
		<pubDate>Wed, 07 Oct 2009 12:52:56 +0000</pubDate>
		<dc:creator>Alan LaMielle</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[fdi]]></category>
		<category><![CDATA[gdm]]></category>
		<category><![CDATA[hal]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[karmic koala]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[policy]]></category>
		<category><![CDATA[scroll]]></category>
		<category><![CDATA[scrolling]]></category>
		<category><![CDATA[thinkpad]]></category>
		<category><![CDATA[trackpoint]]></category>

		<guid isPermaLink="false">http://alan.lamielle.net/?p=529</guid>
		<description><![CDATA[Scrolling using the Thinkpad Trackpoint (middle click/hold + mouse nub) is still not fixed by default in Ubuntu 9.10 (Karmic Koala).  Here&#8217;s how I fixed it. Following the instructions on this site, I created a new file (/etc/hal/fdi/policy/mouse-wheel.fdi) as root that contains: &#60;match key="info.product" string="TPPS/2 IBM TrackPoint"&#62; &#60;merge key="input.x11_options.EmulateWheel" type="string"&#62;true&#60;/merge&#62; &#60;merge key="input.x11_options.EmulateWheelButton" type="string"&#62;2&#60;/merge&#62; &#60;merge key="input.x11_options.XAxisMapping" [...]]]></description>
			<content:encoded><![CDATA[<p>Scrolling using the Thinkpad Trackpoint (middle click/hold + mouse nub) is still not fixed by default in Ubuntu 9.10 (Karmic Koala).  Here&#8217;s how I fixed it.</p>
<p><span id="more-529"></span>Following the instructions on <a href="http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html">this</a> site, I created a new file (<code>/etc/hal/fdi/policy/mouse-wheel.fdi</code>) as root that contains:</p>
<p><code>&lt;match key="info.product" string="TPPS/2 IBM TrackPoint"&gt;<br />
&lt;merge key="input.x11_options.EmulateWheel" type="string"&gt;true&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.EmulateWheelButton" type="string"&gt;2&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.XAxisMapping" type="string"&gt;6 7&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.YAxisMapping" type="string"&gt;4 5&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.ZAxisMapping" type="string"&gt;4 5&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.Emulate3Buttons" type="string"&gt;true&lt;/merge&gt;<br />
&lt;/match&gt;</code></p>
<p>If you don&#8217;t want to restart, you can log out and restart the gdm and hal services.  However, I simply restarted and scrolling worked upon logging in!</p>
<p>The document <a href="http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/">here</a> is apparently the original source of this information.  I&#8217;m mostly posting this for myself for future reference (and in case either of the afore mentioned pages go down).</p>
]]></content:encoded>
			<wfw:commentRss>http://alan.lamielle.net/2009/10/07/thinkpad-trackpoint-scrolling-in-ubuntu-karmic-koala/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Evince Document Viewer Menu Entry</title>
		<link>http://alan.lamielle.net/2009/09/23/evince-document-viewer-menu-entry</link>
		<comments>http://alan.lamielle.net/2009/09/23/evince-document-viewer-menu-entry#comments</comments>
		<pubDate>Wed, 23 Sep 2009 15:20:53 +0000</pubDate>
		<dc:creator>Alan LaMielle</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[.desktop]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[evince]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gnome-do]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[NoDisplay]]></category>

		<guid isPermaLink="false">http://alan.lamielle.net/?p=479</guid>
		<description><![CDATA[I has always bothered me that Gnome&#8217;s document viewer, evince, doesn&#8217;t show up in the Gnome menus or in Gnome-Do when I type evince.  I did a bit of searching and discovered that this is because the evince .desktop files have the property NoDisplay=true in them. Apparently this tells Gnome to ignore this application for [...]]]></description>
			<content:encoded><![CDATA[<p>I has always bothered me that Gnome&#8217;s document viewer, evince, doesn&#8217;t show up in the Gnome menus or in Gnome-Do when I type evince.  I did a bit of searching and discovered that this is because the evince .desktop files have the property <code>NoDisplay=true</code> in them.  Apparently this tells Gnome to ignore this application for display purposes (in menus, dialogs, gnome-do, etc.).  I changed this property to <code>false</code> and am waiting for whatever .desktop cache there is to update.  I&#8217;ll update this post if this actually worked for me.  I hope it does, being able to launch evince with one command in Gnome-Do would be wonderful.</p>
<p>I found <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427576">this</a> bug and <a href="http://lists.debian.org/debian-devel/2007/01/msg00448.html">this</a> discussion of why <code>NoDisplay</code> is set to <code>true</code>.</p>
<p>Update (2009-9-27 19:13): After waiting for a while to see if evince would ever show up in the menus/gnome-do, it appears that this &#8216;fix&#8217; doesn&#8217;t work.  I&#8217;m not willing to put more time into this, so my current work-around is to open a directory with the pdf of interest and open the file that way.  Not my preferred workflow, but it gets the job done.</p>
<p>Update (2009-10-7 08:46): A commenter suggested removing the <code>NoDisplay</code> line altogether.  I&#8217;ve commented these lines out in the files <code>/usr/share/applications/evince.desktop</code> and <code>/usr/share/app-install/desktop/evince.desktop</code>.  I&#8217;ll leave it like that and see if an entry for Evince shows up anwhere.  I&#8217;ve actually gotten into the habbit of opening a directory in Nautilus and opening the document in question from there.  If this works though, I&#8217;ll have multiple ways of doing what I want.</p>
<p>Update (2009-10-10 07:34): Removing the lines didn&#8217;t help.  Looks like I&#8217;ll just continue using the &#8216;Open in Nautilus&#8217; method.</p>
]]></content:encoded>
			<wfw:commentRss>http://alan.lamielle.net/2009/09/23/evince-document-viewer-menu-entry/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Google Gears in Firefox 3.5 in Linux x64_64</title>
		<link>http://alan.lamielle.net/2009/07/19/google-gears-in-firefox-3-5-in-linux-x64_64</link>
		<comments>http://alan.lamielle.net/2009/07/19/google-gears-in-firefox-3-5-in-linux-x64_64#comments</comments>
		<pubDate>Sun, 19 Jul 2009 17:59:45 +0000</pubDate>
		<dc:creator>Alan LaMielle</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[3.5]]></category>
		<category><![CDATA[3.5.1]]></category>
		<category><![CDATA[64-bit]]></category>
		<category><![CDATA[9.04]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[firefox 3.5]]></category>
		<category><![CDATA[gears]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google gears]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu jaunty]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://alan.lamielle.net/?p=347</guid>
		<description><![CDATA[I recently posted about getting Firefox working in Ubuntu Jaunty 9.04 x86_64.  Updates to Firefox 3.5.1 were recently pushed to the repositories, and after updating, Gears stopped working again.  Use the Gears build here for Firefox 3.5.1 Linux x86_46, linked to from this Google Groups post. It really would be nice if 64-bit Linux was [...]]]></description>
			<content:encoded><![CDATA[<p>I recently <a href="http://alan.lamielle.net/2009/07/13/firefox-3-5-in-ubuntu-jaunty-9-04">posted</a> about getting Firefox working in Ubuntu Jaunty 9.04 x86_64.  Updates to Firefox 3.5.1 were recently pushed to the repositories, and after updating, Gears stopped working again.  Use the Gears build <a href="http://gkovacs.xvm.mit.edu/google-gears/gears-linux-x86_64-0.5.25.0.xpi">here</a> for Firefox 3.5.1 Linux x86_46, linked to from <a href="http://groups.google.com/group/gears-users/msg/70f164020c0f8f4e">this</a> Google Groups post.</p>
<p>It really would be nice if 64-bit Linux was supported by Google rather than having to find these work-around builds.  Clearly it works for us, what is the holdup?</p>
]]></content:encoded>
			<wfw:commentRss>http://alan.lamielle.net/2009/07/19/google-gears-in-firefox-3-5-in-linux-x64_64/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 3.5 in Ubuntu Jaunty 9.04</title>
		<link>http://alan.lamielle.net/2009/07/13/firefox-3-5-in-ubuntu-jaunty-9-04</link>
		<comments>http://alan.lamielle.net/2009/07/13/firefox-3-5-in-ubuntu-jaunty-9-04#comments</comments>
		<pubDate>Mon, 13 Jul 2009 17:07:39 +0000</pubDate>
		<dc:creator>Alan LaMielle</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[3.5]]></category>
		<category><![CDATA[9.04]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[gears]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google gears]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[ogg]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[ppa]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tab mix plus]]></category>
		<category><![CDATA[tmp]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://alan.lamielle.net/?p=327</guid>
		<description><![CDATA[I&#8217;ve finally moved permanently to Firefox 3.5 in Ubuntu Jaunty (9.04).  Initially I installed it by following the instructions found here and here.  However, I didn&#8217;t put the time in to update my extensions, so I ended up reverting back to the 3.0.* series.  I installed by adding the Security Team&#8217;s PPA to my package [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally moved permanently to Firefox 3.5 in Ubuntu Jaunty (9.04).  Initially I installed it by following the instructions found <a href="http://tombuntu.com/index.php/2009/07/03/install-firefox-35-in-ubuntu-904/">here</a> and <a href="http://www.ubuntusolutions.org/2009/07/installing-firefox-3-5-the-right-way-on-ubuntu-jaunty.html">here</a>.  However, I didn&#8217;t put the time in to update my extensions, so I ended up reverting back to the 3.0.* series.  I installed by adding the Security Team&#8217;s PPA to my package sources list, but that is apparently no longer necessary.</p>
<p>The two extensions I couldn&#8217;t live without were Tab Mix Plus and Google Gears.  After some digging, I found a TMP <a href="http://tmp.garyr.net/forum/viewtopic.php?t=9864">thread</a> with a <a href="http://tmp.garyr.net/tab_mix_plus-dev-build.xpi">link</a> (xpi) to a development build that works with Firefox 3.5.  Also, I found a Google groups <a href="http://groups.google.com/group/gears-users/browse_thread/thread/1c11eb7bca12ee3e/70f164020c0f8f4e">thread</a> and a <a href="http://techie-buzz.com/firefox/google-gears-firefox-35.html">blog post</a> with a <a href="http://rotuka.com/files/google_gears_firefox_3.5/gears-linux-x86_64-opt-0.5.25.0.xpi">few</a> <a href="http://gkovacs.xvm.mit.edu/google-gears/gears-linux-x86_64-0.5.25.0.xpi">links</a> to Linux x86_64 builds of Gears.</p>
<p>Once I upgraded these two extensions I was happy enough to continue using 3.5 permanently rather than just playing with it for an hour or so.</p>
<p>Note: The builtin support for OGG video is amazing.  The problem is it&#8217;s only in Firefox right now, so I don&#8217;t really expect to see widespread adoption of it.  However, it is one great step towards getting rid of plugin-based video based on flash.</p>
]]></content:encoded>
			<wfw:commentRss>http://alan.lamielle.net/2009/07/13/firefox-3-5-in-ubuntu-jaunty-9-04/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing nVidia driver 185.18.14 with real time linux kernel 2.6.28-3-rt</title>
		<link>http://alan.lamielle.net/2009/07/10/installing-nvidia-driver-185-18-14-with-real-time-linux-kernel-2-6-28-3-rt</link>
		<comments>http://alan.lamielle.net/2009/07/10/installing-nvidia-driver-185-18-14-with-real-time-linux-kernel-2-6-28-3-rt#comments</comments>
		<pubDate>Sat, 11 Jul 2009 00:50:28 +0000</pubDate>
		<dc:creator>Adam Labadorf</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[amd]]></category>
		<category><![CDATA[amd64]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[nvidia]]></category>

		<guid isPermaLink="false">http://alan.lamielle.net/?p=302</guid>
		<description><![CDATA[This article discusses how to get the NVidia Linux graphics driver working with the real time linux kernel version 2.6.28-rt under Ubuntu (Kubuntu) 9.04 on AMD 64. DISCLAIMER:I have no idea if what I have here is a good idea beyond the fact that my video card is working properly under linux-rt.  My computer froze [...]]]></description>
			<content:encoded><![CDATA[<p>This article discusses how to get the NVidia Linux graphics driver working with the real time linux kernel version 2.6.28-rt under Ubuntu (Kubuntu) 9.04 on AMD 64.</p>
<p><span id="more-302"></span><strong>DISCLAIMER:</strong>I have no idea if what I have here is a good idea beyond the fact that my video card is working properly under linux-rt.  My computer froze a couple times with the following setup but I&#8217;m not sure if it&#8217;s the fix or the fact that linux-rt apparently doesn&#8217;t play well with multiple core machines.  Or the computer freezy gnomes.  Whatever.  Use at your own risk.</p>
<p>I&#8217;m running Kubuntu 9.04 on AMD64.</p>
<p>While setting up my linux audio recording setup on Kubuntu 9.04 I installed the linux-rt meta-package (which right now points to linux-2.6.28-3-rt) for real time process scheduling.  I was dismayed and not at all surprised that the proprietary nVidia driver for my GeForce 7950  GT did not work immediately when I booted up out of GRUB with the new kernel.  So, I downloaded the latest nVidia driver from <a title="http://www.nvidia.com/object/linux_display_amd64_185.18.14.html" href="http://www.nvidia.com/object/linux_display_amd64_185.18.14.html" target="aaaaaa">http://www.nvidia.com/object/linux_display_amd64_185.18.14.html</a> and tried to install as I have to do every time there is a new linux kernel update by running this with the downloaded script:</p>
<p><code>$&gt; sudo sh NVIDIA-Linux-x86_64-185.18.14-pkg2.run</code></p>
<p>The script informs you that it needs to compile the kernel module as usual, but dies saying compilation was unsuccessful.  Following the advice of some forum posts I found, I extracted the script into its source tree with:</p>
<p><code>$&gt; sudo sh NVIDIA-Linux-x86_64-185.18.14-pkg2.run -x</code></p>
<p>which creates a directory with a script <code>nvidia-installer.sh</code> and the source tree.  I ran the installer manually with:<br />
<code><br />
$&gt; cd  NVIDIA-Linux-x86_64-185.18.14-pkg2<br />
$&gt; sudo ./nvidia-installer<br />
</code></p>
<p>Compilation fails again at the same step.  Inspecting <code>/var/log/nvidia-installer.log</code> tells us:</p>
<p><code>/home/labadorf/video_drivers/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv/os-interface.c:130: error: incompatible types in assignment</code></p>
<p>After poking around some forums there were some suggestions about replacing some SEMAPHORE code in certain driver source files, but they were for the wrong driver version (177) and didn&#8217;t work. Alright, well I have the source for both the kernel and driver, I thought, so let&#8217;s see what this incompatible type assignment is.  At the end of the day, I traced the error to a couple lines of code earlier in <code>usr/src/nv/os-interface.c</code>.  Apparently, the driver is trying to pass some <code>raw_spinlock_t</code> kernel struct to a function that can only accept <code>spinlock_t</code> structs when it detects you&#8217;re using a real time kernel.  So, I thought a little commenting might do the trick&#8230;</p>
<p>Original <code>os-interface.c</code> source:</p>
<p><code><br />
86 typedef struct os_sema_s<br />
87 {<br />
88     nv_stack_t        *sp;<br />
89     struct completion  completion;<br />
90 #if defined(CONFIG_PREEMPT_RT)<br />
91     raw_spinlock_t     lock;<br />
92 #else<br />
93     spinlock_t         lock;<br />
94 #endif<br />
95     S032               count;<br />
96 } os_sema_t;<br />
97<br />
</code></p>
<p>Modified code:<br />
<code><br />
86 typedef struct os_sema_s<br />
87 {<br />
88     nv_stack_t        *sp;<br />
89     struct completion  completion;<br />
90 //#if defined(CONFIG_PREEMPT_RT)<br />
91 //    raw_spinlock_t     lock;<br />
92 //#else<br />
93     spinlock_t         lock;<br />
94 //#endif<br />
95     S032               count;<br />
96 } os_sema_t;<br />
97<br />
</code></p>
<p>Lo and behold, on recompiling the driver everything works fine.  Now, I suppose there may have been a good reason to use the raw version of the struct, but I got all of my audio stuff running with much lower latency AND using both monitors on high resolution (which is really handy since some of these audio apps take up a lot of screen real estate).  There are a couple bugs open on this issue so I didn&#8217;t feel the need to post anything (though none of the comments there helped with my problem), hopefully someone will figure out what the problem is and fix it soon.</p>
<p><strong>Note:</strong> By default the installer replaces whatever driver you have with the new one.  You <em>have</em> to unpack the driver source and use the installer manually if you want to use different kernels and not recompile the driver every time.  Look at <a href="http://meandubuntu.wordpress.com/2008/07/17/install-nvidia-17713-drivers-on-realtime-kernel/" target="aaaaa">this post</a> and specifically Switcher&#8217;s comment 12 for instructions on how to do that.</p>
<p>Like I said, the commenting out I&#8217;ve done may be a terrible, terrible idea, but as I know nothing about graphics drivers and even less about kernel building I&#8217;m playing the ignorant fool.  Good luck.</p>
]]></content:encoded>
			<wfw:commentRss>http://alan.lamielle.net/2009/07/10/installing-nvidia-driver-185-18-14-with-real-time-linux-kernel-2-6-28-3-rt/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Ubuntu Jaunty Update Notifications</title>
		<link>http://alan.lamielle.net/2009/04/28/ubuntu-jaunty-update-notifications</link>
		<comments>http://alan.lamielle.net/2009/04/28/ubuntu-jaunty-update-notifications#comments</comments>
		<pubDate>Tue, 28 Apr 2009 12:24:00 +0000</pubDate>
		<dc:creator>Alan LaMielle</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[systray]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[updates]]></category>

		<guid isPermaLink="false">http://alan.lamielle.net/?p=71</guid>
		<description><![CDATA[I just noticed that Jaunty changed the way that it notifies the user about updates. Rather than a notification in the systray, it displays the update-manager window automatically. To revert to the systray notification, you need to change a Gnome settings value using either gconftool on the command line or gconf-editor. Change the value /apps/update-notifier/auto_launch [...]]]></description>
			<content:encoded><![CDATA[<p>I just noticed that Jaunty changed the way that it notifies the user about updates.  Rather than a notification in the systray, it displays the update-manager window automatically.  To revert to the systray notification, you need to change a Gnome settings value using either gconftool on the command line or gconf-editor.  Change the value <code>/apps/update-notifier/auto_launch</code> to false using one of these tools:</p>
<p><code>gconftool -s --type bool /apps/update-notifier/auto_launch false</code></p>
]]></content:encoded>
			<wfw:commentRss>http://alan.lamielle.net/2009/04/28/ubuntu-jaunty-update-notifications/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

