<?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>Felipe Alfaro Solana &#187; X11</title>
	<atom:link href="http://www.felipe-alfaro.org/blog/category/x11/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.felipe-alfaro.org/blog</link>
	<description>A little bit of technology, security and networking with Linux, FreeBSD and Mac OS X, plus some personal opinions.</description>
	<lastBuildDate>Sun, 23 Oct 2011 16:46:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Scrolling with the Thinkpad&#8217;s TrackPoint in Ubuntu 8.10 Intrepid</title>
		<link>http://www.felipe-alfaro.org/blog/2008/10/11/scrolling-with-the-thinkpads-trackpoint-in-ubuntu-810-intrepid/</link>
		<comments>http://www.felipe-alfaro.org/blog/2008/10/11/scrolling-with-the-thinkpads-trackpoint-in-ubuntu-810-intrepid/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 13:16:13 +0000</pubDate>
		<dc:creator>Felipe Alfaro Solana</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://www.felipe-alfaro.org/blog/?p=249</guid>
		<description><![CDATA[Recently, I upgraded to Ubuntu 8.10 Intrepid Ibex and found that my Thinkpad&#8217;s TrackPoint scrolling stopped working. While searching on the Internet, I found a post called Scrolling with the Thinkpad&#8217;s TrackPoint in Ubuntu 8.10 Intrepid by Phil Sung that explains in a clear and concise way how to enabling scrolling in Ubuntu 8.10 using [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I upgraded to Ubuntu 8.10 Intrepid Ibex and found that my Thinkpad&#8217;s TrackPoint scrolling stopped working. While searching on the Internet, I found a post called <a href="http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html">Scrolling with the Thinkpad&#8217;s TrackPoint in Ubuntu 8.10 Intrepid</a> by <a href="http://psung.blogspot.com">Phil Sung</a> that explains in a clear and concise way how to enabling scrolling in Ubuntu 8.10 using the ThinkPad TrackPoint.</p>
<p>I&#8217;m quoting what Phil says in his post:</p>
<blockquote><p>Ubuntu Intrepid (8.10) switches to evdev for X server input, which has the unfortunate side effect of breaking old EmulateWheel configurations. So scrolling using the middle button + TrackPoint (which I absolutely love) was broken for a while. However, the version of evdev in Intrepid has now caught up and supports these features. Instead of modifying your <code>xorg.conf</code>, create a new file called <code>/etc/hal/fdi/policy/mouse-wheel.fdi</code> with the following contents:
</p></blockquote>
<div>
<pre>
&lt;match key="info.product" string="TPPS/2 IBM TrackPoint"&gt;
 &lt;merge key="input.x11_options.EmulateWheel" type="string"&gt;true&lt;/merge&gt;
 &lt;merge key="input.x11_options.EmulateWheelButton" type="string"&gt;2&lt;/merge&gt;
 &lt;merge key="input.x11_options.XAxisMapping" type="string"&gt;6 7&lt;/merge&gt;
 &lt;merge key="input.x11_options.YAxisMapping" type="string"&gt;4 5&lt;/merge&gt;
 &lt;merge key="input.x11_options.ZAxsisMapping" type="string"&gt;4 5&lt;/merge&gt;
 &lt;merge key="input.x11_options.Emulate3Buttons" type="string"&gt;true&lt;/merge&gt;
&lt;/match></pre>
</div>
<p>Thanks, Phil!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.felipe-alfaro.org/blog/2008/10/11/scrolling-with-the-thinkpads-trackpoint-in-ubuntu-810-intrepid/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nouveau: Open Source 3D acceleration for nVidia cards</title>
		<link>http://www.felipe-alfaro.org/blog/2006/12/27/nouveau-open-source-3d-acceleration-for-nvidia-cards/</link>
		<comments>http://www.felipe-alfaro.org/blog/2006/12/27/nouveau-open-source-3d-acceleration-for-nvidia-cards/#comments</comments>
		<pubDate>Wed, 27 Dec 2006 00:00:06 +0000</pubDate>
		<dc:creator>Felipe Alfaro Solana</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://felipe-alfaro.org/blog/2006/12/27/nouveau-open-source-3d-acceleration-for-nvidia-cards/</guid>
		<description><![CDATA[Recently I stumbled on the Nouveau WiKi. Nouveau is a community-driven effort to develop open source X.org drivers for nVidia graphics cards: &#8220;nouveau&#8221; [nuvo] is the french word for &#8220;new&#8221;. The Nouveau community is reverse engineering the closed-source, privative nVidia driver. They claim that nothing currently works, but that&#8217;s not exactly true. For example, you [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I stumbled on the <a href="http://nouveau.freedesktop.org/wiki/" title="nouveau : Open Source 3D acceleration for nVidia cards">Nouveau</a> WiKi. Nouveau is a community-driven effort to develop open source <a href="http://en.wikipedia.org/wiki/X.org">X.org</a> drivers for nVidia graphics cards:</p>
<blockquote><p>
&#8220;nouveau&#8221; [nuvo] is the french word for &#8220;new&#8221;.
</p></blockquote>
<p>The Nouveau community is reverse engineering the closed-source, privative nVidia driver. They claim that nothing currently works, but that&#8217;s not exactly true. For example, you can check in the <a href="http://nouveau.freedesktop.org/wiki/UserStatus" title="Status">status</a> page that the 2D driver is working, but no 3D features are working yet.</p>
<p>Particularly, I find this proyect extremely interesting and fascinating. As a devoted fan of AIGLX and Beryl, I have been looking for fully-functional, performance-wise, open-source drivers for my nVidia graphics cards. The ATI open-source driver is an example of a nice job done good, but its performance is not as good as the closed <a href="http://en.wikipedia.org/wiki/Fglrx" title="fglrx">fglrx</a> driver yet.</p>
<p>I&#8217;m really looking forward to see what the Nouveau community can deliver and will help as much as I can, either by investing cash or by investing my testing efforts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.felipe-alfaro.org/blog/2006/12/27/nouveau-open-source-3d-acceleration-for-nvidia-cards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Edgy, ATI&#8217;s fglrx, DRI, 3D acceleration and X.org Composite extension</title>
		<link>http://www.felipe-alfaro.org/blog/2006/09/06/ubuntu-edgy-ati-fglrx-dri-3d-acceleration-and-xorg-composite-extension/</link>
		<comments>http://www.felipe-alfaro.org/blog/2006/09/06/ubuntu-edgy-ati-fglrx-dri-3d-acceleration-and-xorg-composite-extension/#comments</comments>
		<pubDate>Wed, 06 Sep 2006 17:44:38 +0000</pubDate>
		<dc:creator>Felipe Alfaro Solana</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://felipe-alfaro.org/blog/2006/09/06/ubuntu-edgy-ati-fglrx-dri-3d-acceleration-and-composite-extensions/</guid>
		<description><![CDATA[I think that Ubuntu Edgy Knot 2 is the first Linux distribution that enables the Composite extension by default for X.org. While this is really exciting, unfortunately it seems to negatively affect DRI and 3D acceleration when using ATI&#8217;s closed-source drivers, fglrx. I don&#8217;t know exactly the reasons of this, but enabling Composite extensions disables [...]]]></description>
			<content:encoded><![CDATA[<p>I think that Ubuntu Edgy Knot 2 is the first Linux distribution that enables the Composite extension by default for X.org. While this is really exciting, unfortunately it seems to negatively affect DRI and 3D acceleration when using ATI&#8217;s closed-source drivers, <a href="http://wiki.x.org/wiki/ATIProprietaryDriver" title="ATI Propietary Driver">fglrx</a>.</p>
<p>I don&#8217;t know exactly the reasons of this, but enabling Composite extensions disables ATI&#8217;s driver support for DRI and 3D acceleration. The X.org logs show DRI has been disabled, but they offer no clue on what&#8217;s going on, so I eventually found tout he answer while digging on the Ubuntu forums.</p>
<p>To disable Composite extensions, add the following lines to the end of <code>/etc/X11/xorg.conf</code> file:</p>
<div>
<pre>Section "Extensions"
        Option "Composite" "false"
EndSection
</pre>
</div>
<p>This will bring back support for DRI, 3D acceleration and, thus, OpenGL support.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.felipe-alfaro.org/blog/2006/09/06/ubuntu-edgy-ati-fglrx-dri-3d-acceleration-and-xorg-composite-extension/feed/</wfw:commentRss>
		<slash:comments>80</slash:comments>
		</item>
		<item>
		<title>nVidia GeForce FX5200</title>
		<link>http://www.felipe-alfaro.org/blog/2005/08/19/nvidia-geforce-fx5200/</link>
		<comments>http://www.felipe-alfaro.org/blog/2005/08/19/nvidia-geforce-fx5200/#comments</comments>
		<pubDate>Thu, 18 Aug 2005 18:36:30 +0000</pubDate>
		<dc:creator>Felipe Alfaro Solana</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://felipe-alfaro.org/blog/2005/08/19/nvidia-geforce-fx5200/</guid>
		<description><![CDATA[The new nVidia GeForce FX5200 is an AGP 8X, 256MB DDR2, DVI-enabled speed-demon that, when used together with KDE 3.4 translucency effects, gives an incredible, nice-looking, awesome desktop full of window drop shadows, translucent windows and fadding effects. However, in order to be able to get the last bit of performance out of it, I [...]]]></description>
			<content:encoded><![CDATA[<p>The new nVidia GeForce FX5200 is an AGP 8X, 256MB DDR2, DVI-enabled speed-demon that, when used together with KDE 3.4 translucency effects, gives an incredible, nice-looking, awesome desktop full of window drop shadows, translucent windows and fadding effects.</p>
<p>However, in order to be able to get the last bit of performance out of it, I must use the propietary nVidia drivers.</p>
<p>The propietary nVidia drivers consist of a binary-only blob that implements the video driver that talks to to the graphics board, plus a linux kernel wrapper. The wrapper has it&#8217;s source code available, and must get compiled against the running kernel. The process of installing the nVidia driver is painless.</p>
<h4>Installing the nVidia propietary driver.</h4>
<ol>
<li>Download the latest Linux IA-32 drivers from <a href="http:/www.nvidia.com" title="nVidia">http://www.nvidia.com</a></li>
<li>Make sure the kernel sources used to build the current kernel are available, either in /usr/src/linux or /lib/modules/`uname -r`/build</li>
<li>Run the driver, usually in the form of a self-extracting shell script.</li>
<li>The driver will try to find a suitable, precompiled module for the current kernel or else will compile it by itself.</li>
</ol>
<p>After the driver is installed successfully, some modifications need to be done to /etc/X11/xorg.conf.</p>
<h4>Configuring X.org</h4>
<ol>
<li>I did replace the &#8220;nv&#8221; X.org&#8217;s built-in nVidia driver, which lacks DRM/DRI support, with the &#8220;nvidia&#8221; propietary driver.</li>
<li>I had to set the &#8220;AllowGLXWithComposite&#8221; option to &#8220;true&#8221; in order to get GLX to coexist with the Composite extension. If this option is missing, or set to false, the Composite extension will be disabled and GLX acceleration will prevail.</li>
<li>Also, I had to comment out &#8220;Load&#8221; &#8220;dri&#8221; to stop GLX-accelerated applications from crashng.</li>
</ol>
<p>My full /etc/X11/xorg.conf looks like this:</p>
<pre><code>Section "ServerLayout"
Identifier "Single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/TTF"
FontPath "/usr/share/fonts/default/Type1"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
# Load "dri"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" "altwin:meta_win, ctrl:nocaps"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "BenQ"
ModelName "FP937s+"
HorizSync 31.5 - 67.0
VertRefresh 50.0 - 75.0
Option "DPMS" "false"
EndSection

Section "Device"
# Option "AGPMode" "4"
Identifier "Videocard0"
Driver "nvidia"
VendorName "AOpen"
BoardName "FX5200"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "enable"
EndSection</code></pre>
<p>That&#8217;s all.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.felipe-alfaro.org/blog/2005/08/19/nvidia-geforce-fx5200/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ALPS GlidePoint under Linux with X.org</title>
		<link>http://www.felipe-alfaro.org/blog/2005/08/19/alps-glidepoint-under-linux-with-xorg/</link>
		<comments>http://www.felipe-alfaro.org/blog/2005/08/19/alps-glidepoint-under-linux-with-xorg/#comments</comments>
		<pubDate>Thu, 18 Aug 2005 18:30:51 +0000</pubDate>
		<dc:creator>Felipe Alfaro Solana</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://felipe-alfaro.org/blog/2005/08/19/alps-glidepoint-under-linux-with-xorg/</guid>
		<description><![CDATA[Recently, I have been able to make the ALPS GlidePoint PS/2 Touchpad of my Packard Bell laptop to work properly under Linux and X.org X11R6 Server, including edge scrolling and tap-to-release drag lock. The support for ALPS GlidePoint Touchpads seems a relatively recent addition, both to Linux kernels and X.org X11 servers. The first thing [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I have been able to make the ALPS GlidePoint PS/2 Touchpad of my Packard Bell laptop to work properly under Linux and X.org X11R6 Server, including edge scrolling and tap-to-release drag lock.</p>
<p>The support for ALPS GlidePoint Touchpads seems a relatively recent addition, both to Linux kernels and X.org X11 servers. The first thing to check for is whether the kernel has properly detected the touchpad. The following lines should appear in the kernel message ring:</p>
<pre># dmesg
…
ALPS Touchpad (Glidepoint) detected
Enabling hardware tapping
input: AlpsPS/2 ALPS TouchPad on isa0060/serio1
…</pre>
<p>In second place, make sure the synaptics X.org driver has been installed. For Fedora Core systems, this usually means installing synaptics-0.13.5-5 or a newer version:</p>
<pre># yum install synaptics</pre>
<p>will usually install the synaptics RPM package which contains the X.org synaptics driver:</p>
<pre># rpm -qil synaptics
…
/usr/X11R6/lib/modules/input/synaptics_drv.o
…</pre>
<p>Once the required pieces are all set up, the X.org configuration file must be changed in order to use the new synaptics input driver. This can be easily achieved by replacing the &#8220;InputDevice&#8221; section in &#8220;/etc/X11/xorg.conf&#8221; file for the mouse with the following:</p>
<pre>
<div>Section "InputDevice"
   Identifier "Mouse0"
   Driver     "synaptics"
   Option     "Protocol"             "auto-dev"
   Option     "Device"               "/dev/input/mice"
   Option     "ZAxisMapping"         "4 5"
   Option     "Emulate3Buttons"      "yes"
   Option     "LeftEdge"             "120"
   Option     "RightEdge"            "830"
   Option     "TopEdge"              "120"
   Option     "BottomEdge"           "650"
   Option     "FingerLow"            "14"
   Option     "FingerHigh"           "15"
   Option     "MaxTapTime"           "180"
   Option     "MaxTapMove"           "110"
   Option     "EmulateMidButtonTime" "75"
   Option     "VertScrollDelta"      "20"
   Option     "HorizScrollDelta"     "20"
   Option     "MinSpeed"             "0.2"
   Option     "MaxSpeed"             "0.5"
   Option     "AccelFactor"          "0.01"
   Option     "EdgeMotionMinSpeed"   "15"
   Option     "EdgeMotionMaxSpeed"   "15"
   Option     "UpDownScrolling"      "1"
   Option     "CircularScrolling"    "1"
   Option     "CircScrollDelta"      "0.1"
   Option     "CircScrollTrigger"    "2"
   Option     "LockedDrags"          "1"
   Option     "SHMConfig"            "on"
EndSection</div>
</pre>
<p>Finally, the section &#8220;Module&#8221; must be modified to manually load the &#8220;synaptics&#8221; input driver provided by the synaptics RPM package:</p>
<pre>
<div>Section "Module"
   Load "dbe"
   …
   Load "synaptics"
EndSection</div>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.felipe-alfaro.org/blog/2005/08/19/alps-glidepoint-under-linux-with-xorg/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Preventing X11.app from automatically opening an XTerm on launch</title>
		<link>http://www.felipe-alfaro.org/blog/2005/08/18/preventing-x11app-from-automatically-opening-an-xterm-on-launch/</link>
		<comments>http://www.felipe-alfaro.org/blog/2005/08/18/preventing-x11app-from-automatically-opening-an-xterm-on-launch/#comments</comments>
		<pubDate>Thu, 18 Aug 2005 18:17:27 +0000</pubDate>
		<dc:creator>Felipe Alfaro Solana</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://felipe-alfaro.org/blog/2005/08/18/preventing-x11app-from-automatically-opening-an-xterm-on-launch/</guid>
		<description><![CDATA[Mac OS X X11 Server, called X11.app, is configured to open a new xterm on launch by default. This default behavior can be pretty annoying, but can be easily disabled. In order to stop Mac OS X X11.app from launching a new and empty xterm when launched for the first time, one must install a [...]]]></description>
			<content:encoded><![CDATA[<p>Mac OS X X11 Server, called X11.app, is configured to open a new xterm on launch by default. This default behavior can be pretty annoying, but can be easily disabled.</p>
<p>In order to stop Mac OS X X11.app from launching a new and empty xterm when launched for the first time, one must install a customized .xinitrc file into $HOME.</p>
<p>During start, X11.app looks for $HOME/.xinitrc and, if no one is found, it executes /etc/X11/xinit/xinitrc. It&#8217;s the /etc/X11/xinit/xinitrc script the one that launches an empty xterm.</p>
<p>To stop X11.app from launching an empty xterm:</p>
<ol>
<li><code>cp /etc/X11/xinit/xinitrc $HOME/.xinitrc</code></li>
<li>Edit $HOME/.xinitrc and remove the line that reads <code>"xterm &#038;"</code></li>
</ol>
<p>This will prevent X11.app from starting useless client applications, like xterm, on launch.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.felipe-alfaro.org/blog/2005/08/18/preventing-x11app-from-automatically-opening-an-xterm-on-launch/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Bring back the Win key when using X.org&#8217;s X server</title>
		<link>http://www.felipe-alfaro.org/blog/2004/05/14/bring-back-the-win-key-when-using-xorgs-x-server/</link>
		<comments>http://www.felipe-alfaro.org/blog/2004/05/14/bring-back-the-win-key-when-using-xorgs-x-server/#comments</comments>
		<pubDate>Fri, 14 May 2004 07:56:21 +0000</pubDate>
		<dc:creator>Felipe Alfaro Solana</dc:creator>
				<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://felipe-alfaro.org/blog/?p=47</guid>
		<description><![CDATA[Since X.org&#8217;s X server, I had been unable to use the left Win key to compose keyboard shortcuts. However, while Googling around, I learnt that adding the following line to the keyboard&#8217;s [InputDevice] section in file /etc/X11/xorg.conf will bring that support back: Section "InputDevice" Identifier "Keyboard0" . . . Option "XkbOptions" "altwin:meta_win" EndSection This will [...]]]></description>
			<content:encoded><![CDATA[<p>Since X.org&#8217;s X server, I had been unable to use the left Win key to compose keyboard shortcuts. However, while Googling around, I learnt that adding the following line to the keyboard&#8217;s <code>[InputDevice]</code> section in file <i>/etc/X11/xorg.conf</i> will bring that support back:</p>
<p><code>Section "InputDevice"<br />
    	Identifier	"Keyboard0"<br />
    	.<br />
    	.<br />
    	.<br />
    	Option		"XkbOptions" "altwin:meta_win"<br />
EndSection</code></p>
<p>This will bring back the ability to configure shortcuts that use the left Win key, for example Win+R to invoke the &#8220;Run&#8230;&#8221; dialog box in KDE.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.felipe-alfaro.org/blog/2004/05/14/bring-back-the-win-key-when-using-xorgs-x-server/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

