<?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>Nepherte (dot) be &#187; Arch Linux</title>
	<atom:link href="http://www.nepherte.be/tag/arch-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nepherte.be</link>
	<description>About Nepherte, Mosiah and the person behind</description>
	<lastBuildDate>Mon, 30 Aug 2010 18:45:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>More information on Nepherte&#8217;s Unofficial User Repository</title>
		<link>http://www.nepherte.be/more-information-on-nephertes-unofficial-user-repository/</link>
		<comments>http://www.nepherte.be/more-information-on-nephertes-unofficial-user-repository/#comments</comments>
		<pubDate>Sun, 30 May 2010 18:20:42 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[FFMPEG]]></category>
		<category><![CDATA[libnemesi]]></category>
		<category><![CDATA[mpd]]></category>
		<category><![CDATA[MPlayer]]></category>
		<category><![CDATA[netembryo]]></category>
		<category><![CDATA[PulseAudio]]></category>
		<category><![CDATA[urxvt]]></category>
		<category><![CDATA[x264]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=1322</guid>
		<description><![CDATA[As mentioned earlier, I&#8217;ve set up an unofficial arch user repository to share my builds with everybody. Today I will elaborate a little more on the provided packages. If you look at the current package list: x264 ffmpeg mplayer ffmpeg-mt mplayer-mt mpd netembryo rxvt-unicode you might be wondering why I provide these packages. All but [...]]]></description>
			<content:encoded><![CDATA[<p>As mentioned <a href="http://www.nepherte.be/nephertes-unofficial-user-repository/">earlier</a>, I&#8217;ve set up an unofficial arch user repository to share my builds with everybody. Today I will elaborate a little more on the provided packages.</p>
<p>If you look at the current package list:</p>
<ul>
<li>x264</li>
<li>ffmpeg</li>
<li>mplayer</li>
<li>ffmpeg-mt</li>
<li>mplayer-mt</li>
<li>mpd</li>
<li>netembryo</li>
<li>rxvt-unicode</li>
</ul>
<p>you might be wondering why I provide these packages. All but three can be found in the official repositories after all. In short: I either upgrade them much more frequently, they differ much from the official packages, they are not available in the official repsitories or all of the above. Now I will go more in depth for each package.</p>
<h5>x264, ffmpeg and mplayer</h5>
<p>These 3 packages are being actively developed. Many new changes are made even in the scope of just a week. Understandably, the arch packagers can&#8217;t rebuild these packages whenever changes are made. I repackage them on a monthly base which makes my packages usually a lot more up to date than the official ones.</p>
<p>This, however, is not the main reason I make these 3 packages available. The official arch mplayer build incorporates its own internal static version of ffmpeg (as recommended by the mplayer devs), ignoring the already available ffmpeg on most systems. This approach results in duplication of code and bigger packages. In the programming community, duplication of code is something that one tries to avoid at all cost, as this usually implies a bad design. I apply the same principle to my packages: compile once and use them everyone else.</p>
<p>Some less commonly used options in mplayer and ffmpeg are also disabled:</p>
<ul>
<li>No image support in mplayer.</li>
<li>Many exotic audio/video ouputs and audio/video codecs are disabled.</li>
<li>No tv or radio support</li>
<li>&#8230;</li>
</ul>
<p>I also include features not available in the official mplayer package such as pulseaudio support. I&#8217;m a huge fan of pulseaudio and support it in all the packages that can handle it.</p>
<h5>ffmpeg-mt and mplayer-mt</h5>
<p>ffmpeg-mt and mplayer-mt are the multithreaded versions of ffmpeg and mplayer respectively. They have the same feature set as mentioned in the topic on their single threaded versions. If you have no graphics card that supports hardware accelerated video playback, then this is what you want to playback high definition movies.</p>
<h5>mpd</h5>
<p>In this package, I mainly strip away less commonly used options and only add 1 new feature:</p>
<ul>
<li>no http output</li>
<li>no last.fm support</li>
<li>no oss output</li>
<li>no ipv6</li>
<li>pulseaudio support</li>
</ul>
<p></p>
<h5>netembryo and libnemesi</h5>
<p>I maintain both netembryo and libnemesi in AUR and might as well just make a binary version available as well.</p>
<h5>rxvt-unicode</h5>
<p>This build contains a particular patch that fixes the resizing of this terminal in tiling window managers. Otherwise there always black borders surrounding each terminal window which is just plain annoying</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/more-information-on-nephertes-unofficial-user-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Desktop, March 2010</title>
		<link>http://www.nepherte.be/desktop-march-2010/</link>
		<comments>http://www.nepherte.be/desktop-march-2010/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 12:52:11 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Screenshots]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Screenshot]]></category>
		<category><![CDATA[XMonad]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=1225</guid>
		<description><![CDATA[It is time again to keep you in the loop on my desktop&#8217;s appearance. This month I&#8217;ve switched back to XMonad after using Gnome the last couple of months. Time and time again I&#8217;m surprised by the paradigm of tiling window managers and how functional you can make it. All in all I put together [...]]]></description>
			<content:encoded><![CDATA[<p>It is time again to keep you in the loop on my desktop&#8217;s appearance. This month I&#8217;ve switched back to XMonad after using Gnome the last couple of months. Time and time again I&#8217;m surprised by the paradigm of tiling window managers and how functional you can make it. All in all I put together a quite useful configuration file, among other things fixing the urgency hook that warns me of windows that need my attention and automatically jumping to the workspace where new windows appear. I also discovered the spacing layout modifier which adds some space between each window to distinguish one window from the other.</p>
<p>Since my last XMonad desktop, I&#8217;ve changed my wallpaper to something brighter to lighten things up (I usually don&#8217;t like dark colors or wallpapers) and adapted the text colors to match with everything else:<br />
<a href="http://www.nepherte.be/wp-content/uploads/desktop_march_2010_1.png"><img title="Desktop, March 2010 (1)" src="http://www.nepherte.be/wp-content/uploads/desktop_march_2010_1.png" alt="Desktop, March 2010 (1)" width="300" height="187" /></a> <a href="http://www.nepherte.be/wp-content/uploads/desktop_march_2010_2.png"><img title="Desktop, March 2010 (2)" src="http://www.nepherte.be/wp-content/uploads/desktop_march_2010_2.png" alt="Desktop, March 2010 (2)" width="300" height="187" /></a></p>
<p>System Info:</p>
<ul>
<li>Operating System: Arch Linux</li>
<li>Window Manager: XMonad</li>
<li>GTK: Customized Ubuntu Human (not visible)</li>
<li>Icons: Human Icon Set (not visible)</li>
<li>Wallpaper: Napke</li>
<li>Various: mpd &amp; ncmpcpp, dzen2, conky, emesene, vim, urxvt</li>
</ul>
<p>If there is anything else you would like to know, feel free to ask.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/desktop-march-2010/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Nepherte&#8217;s Unofficial User Repository</title>
		<link>http://www.nepherte.be/nephertes-unofficial-user-repository/</link>
		<comments>http://www.nepherte.be/nephertes-unofficial-user-repository/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 16:56:48 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[user repository]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=1204</guid>
		<description><![CDATA[Arch Linux has a very decent system for building packages called ABS or Arch Build System. It basically comes down to one file called the pkgbuild where you put all the necessary information to construct a package. Everything else is taken care by makepkg, the tool that reads, compiles and builds the package accordingly. Because [...]]]></description>
			<content:encoded><![CDATA[<p>Arch Linux has a very decent system for building packages called <a href="http://wiki.archlinux.org/index.php/ABS" target="_self">ABS</a> or Arch Build System. It basically comes down to one file called the pkgbuild where you put all the necessary information to construct a package. Everything else is taken care by makepkg, the tool that reads, compiles and builds the package accordingly. Because of this easy building system, the barrier for users to create their own packages is easily overcome, as demonstrated by <a href="http://aur.archlinux.org" target="_self">AUR</a> or Arch User Repository with over 20000 packages.</p>
<p>Hower, AUR has its limitations. For one, its sole function is to host pkgbuilds. So when you want to install something from AUR, you still have to go through the compile &amp; build process. Depending on the software, this can be very cumbersome and time consuming. Instead you more likely want to install a package that has already been build, much like the regular Arch Linux repositories such as [core], [extra] and [community]. This is where the <a href="http://wiki.archlinux.org/index.php/Unofficial_user_repositories" target="_self">Unofficial User Repositories</a> come in play. A user can easily set<a href="http://wiki.archlinux.org/index.php/Pacman_Tips#Custom_local_repository"> up its own repository</a> with the repo-add script that comes with the package manager pacman. Generally, the user still needs to be very cautious with installing unofficial packages because of the potential dangers it may pose such as malicious software. It is recommended to verify the source of these packages or inspect the packages before installing.</p>
<p>Personally, there a few programs I frequently update myself, i.e. more frequently than then the official repositories, because of new functionality or bug fixes. Therefore I decided to share my efforts and make them available in my own unnoficial user repository. The repository can be accessed at <a href="http://www.nepherte.be/repo" target="_self">http://www.nepherte.be/repo</a>. To use my repository, add the following lines in /etc/pacman.conf:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>nepherte<span style="color: #7a0874; font-weight: bold;">&#93;</span>
Server = http:<span style="color: #000000; font-weight: bold;">//</span>www.nepherte.be<span style="color: #000000; font-weight: bold;">/</span>repo</pre></div></div>

<p>The packages are for 64bit systems only as I don&#8217;t have a 32bit version of Arch installed. All packages are built in a clean chroot environment to avoid library linking problems. If you are interested in the pkgbuilds, you can find them  on my <a href="https://svn.ulyssis.org/repos/nepherte/pkgbuilds" target="_self">svn repo</a>. To access my svn repo, you will have to authenticate yourself with username guest and password guest.</p>
<p>The packages I currently maintain are:</p>
<ul>
<li>x264</li>
<li>ffmpeg</li>
<li>mplayer</li>
<li>netembryo</li>
</ul>
<p>The first three are rebuilt on a monthly base at the very least and whenever there is audio involved, pulseaudio is supported. More packages will be added in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/nephertes-unofficial-user-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mercury Compiler And CSRFTester</title>
		<link>http://www.nepherte.be/mercury-compiler-and-csrftester/</link>
		<comments>http://www.nepherte.be/mercury-compiler-and-csrftester/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 20:23:36 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[aur]]></category>
		<category><![CDATA[csrftester]]></category>
		<category><![CDATA[mercury]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=1178</guid>
		<description><![CDATA[Yesterday I added another 2 packages to the Arch User Repository (AUR) which brings up my total to 6. The 2 applications are the mercury compiler and csrftester. I was surprised to see there was no fitting packaged mercury compiler available in any of the Arch Linux repositories. Arch has many compilers available but apparantly [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I added another 2 packages to the Arch User Repository (AUR) which brings up my total to 6. The 2 applications are the <a href="http://aur.archlinux.org/packages.php?ID=32641">mercury compiler</a> and <a href="http://aur.archlinux.org/packages.php?ID=33046">csrftester</a>.</p>
<p>I was surprised to see there was no fitting packaged mercury compiler available in any of the Arch Linux repositories. Arch has many compilers available but apparantly not the mercury compiler. I admit that <a href="http://www.cs.mu.oz.au/research/mercury/">mercury</a> is perhaps not the most popular language, considering it is a) declarative and b) not backed by a major company like Microsoft, but I was suprised nonetheless. It may be worth mentioning that compiling mercury takes a little while (depending on your computer a few hours) so make sure you have the time if you&#8217;re building it.</p>
<p><a href="http://www.owasp.org/index.php/Category:OWASP_CSRFTester_Project">CSRFTester</a> is a whole different application. It is used for testing Cross Site Request Forgeries in web applications. It sits in between your browser and the internet and logs your http requests. Based on those logs, it can generate sample code to exploit possible csrf vurnerabilities. As the name suggests, it&#8217;s just for testing purposes and logging. Don&#8217;t expect any out of the box exploits.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/mercury-compiler-and-csrftester/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My experience with GNOME 2.28</title>
		<link>http://www.nepherte.be/my-experience-with-gnome-2-28/</link>
		<comments>http://www.nepherte.be/my-experience-with-gnome-2-28/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 18:25:05 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[GNOME 2.28]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=1064</guid>
		<description><![CDATA[GNOME 2.28, released on early september 24, has recently hit the Arch Linux repositories and, as an old time GNOME user, I was eager to try it out. First, I&#8217;d like to congratulate JGC for all his excellent work. He did a wonderful job testing and packaging GNOME 2.28 in such a short notice, considering [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://library.gnome.org/misc/release-notes/2.28/">GNOME 2.28</a>, released on early september 24, has recently hit the<a href="http://www.archlinux.org"> Arch Linux</a> repositories and, as an old time GNOME user, I was eager to try it out. First, I&#8217;d like to congratulate <a href="http://bbs.archlinux.org/profile.php?id=581">JGC</a> for all his excellent work. He did a wonderful job testing and packaging GNOME 2.28 in such a short notice, considering he also maintains all the X packages. It truly was one of the smoothest GNOME upgrades so far (others may disagree if you look at some of the topics on the Arch Forum). Every release has its problems, often small ones, other times not so small. This time I only encountered 3. The benefits however far outweigh the few downsides.</p>
<p style="text-align: center;"><a href="http://www.nepherte.be/wp-content/uploads/gnome-2-28.png"><img class="aligncenter size-full wp-image-1085" title="Gnome 2.28" src="http://www.nepherte.be/wp-content/uploads/gnome-2-28.png" alt="Gnome 2.28" width="651" height="407" /></a></p>
<p>The first problem is related to <span>GDM</span> and is not that much of a problem but rather a matter of getting used to it. The GNOME login screen has had a major overhaul compared to 2.20, the version I previously had installed. It now blends in  more with the user&#8217;s desktop and includes a panel with  session, keyboard and language settings. <span>GDM</span> also doesn&#8217;t include a graphical configuration tool. No problem there, I&#8217;m &#8220;Mister Console&#8221; anyways.</p>
<p>The second problem is a little more inconvenient and related to GDM as well. <span>GDM</span> uses its own configuration for the keyboard layout and ignores the hal keyboard layout settings. It always default to the usa keyboard layout. Once you&#8217;ve selected your user, it will remember what layout you may have chosen from the gnome panel widget but in the mean while it will stick to the usa layout in the previous user selection prompt. Luckily there&#8217;s a patch available. A bug report can be found <a href="https://bugs.launchpad.net/bugs/395103">h</a><a href="https://bugs.launchpad.net/bugs/395103">ere</a> and a patch <a href="http://bazaar.launchpad.net/~ubuntu-desktop/gdm/ubuntu/annotate/head%3A/debian/patches/01_default_keyboard_layout_hal.patch">here</a>.</p>
<p>The third problem can be found in gnome-keyring. When logging out of GNOME, there is a 10 to 15 seconds delay before it finally takes effect. This problem was fixed in gnome-keyring 2.28.1.</p>
<p><a href="http://library.gnome.org/misc/release-notes/2.28/figures/rnusers.Bluetooth-Preferences.png.nl"><img class="alignnone" title="Bluetooth Preferences" src="http://library.gnome.org/misc/release-notes/2.28/figures/rnusers.Bluetooth-Preferences.png.nl" alt="" width="300" height="187" /></a><a href="http://library.gnome.org/misc/release-notes/2.28/figures/rnusers.cheese-2.28.0-wide.jpg.nl"><img class="alignnone" title="Cheese 2.28" src="http://library.gnome.org/misc/release-notes/2.28/figures/rnusers.cheese-2.28.0-wide.jpg.nl" alt="" width="300" height="187" /></a></p>
<p>But enough with the problems. What is new in GNOME 2.28? Most of the changes are made behind the scene. Many efforts were made to remove deprecated libraries from GNOME 2.28. For instance, there is no program anymore that depends on esound,  libgnomevfs, 		libgnomeprint, or libgnomeprintui. Further efforts were made to remove depenency of libglade, libbonoboui, libgnome and many more. The most visible changes are annotion support for evince, improved bluetooth integration and extra features in Cheese. Webkit has also finally made it in Epiphany after many false announcements since GNOME 2.24. All in all, it&#8217;s another fine version of GNOME</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/my-experience-with-gnome-2-28/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Vdpau Info</title>
		<link>http://www.nepherte.be/vdpau-info/</link>
		<comments>http://www.nepherte.be/vdpau-info/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 15:05:10 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[aur]]></category>
		<category><![CDATA[vdpau]]></category>
		<category><![CDATA[vdpauinfo]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=980</guid>
		<description><![CDATA[Today I&#8217;ve added vdpauinfo to the Arch User Repository (AUR), which makes it my fourth uploaded application to AUR. Vdpauinfo is a useful tool to determine the vdpau capabilities of your graphics card.It is an updated version of Wladimir J. Van der Laan&#8217;s vdpinfo tool. Here&#8217;s the output of my Nvidia Geforce 8400M GS: display: [...]]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;ve added <a href="http://aur.archlinux.org/packages.php?ID=30496">vdpauinfo</a> to the<a href="http://aur.archlinux.org/index.php"> Arch User Repository</a> (AUR), which makes it my fourth uploaded application to AUR. Vdpauinfo is a useful tool to determine the vdpau capabilities of your graphics card.It is an updated version of Wladimir J. Van der Laan&#8217;s vdpinfo tool.</p>
<p>Here&#8217;s the output of my Nvidia Geforce 8400M GS:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">display: :<span style="color: #000000;">0.0</span>   <span style="color: #c20cb9; font-weight: bold;">screen</span>: <span style="color: #000000;">0</span>
API version: <span style="color: #000000;">0</span>
Information string: NVIDIA VDPAU Driver Shared Library  <span style="color: #000000;">190.36</span>  Wed Sep <span style="color: #000000;">23</span> 06:<span style="color: #000000;">55</span>:<span style="color: #000000;">52</span> PDT <span style="color: #000000;">2009</span>
&nbsp;
Video surface:
&nbsp;
name   width height types
<span style="color: #660033;">-------------------------------------------</span>
<span style="color: #000000;">420</span>     <span style="color: #000000;">4096</span>  <span style="color: #000000;">4096</span>  NV12 YV12
<span style="color: #000000;">422</span>     <span style="color: #000000;">4096</span>  <span style="color: #000000;">4096</span>  UYVY YUYV 
&nbsp;
Decoder capabilities:
&nbsp;
name               level macbs width height
<span style="color: #660033;">-------------------------------------------</span>
MPEG1                 <span style="color: #000000;">0</span>  <span style="color: #000000;">8192</span>  <span style="color: #000000;">2048</span>  <span style="color: #000000;">2048</span>
MPEG2_SIMPLE          <span style="color: #000000;">3</span>  <span style="color: #000000;">8192</span>  <span style="color: #000000;">2048</span>  <span style="color: #000000;">2048</span>
MPEG2_MAIN            <span style="color: #000000;">3</span>  <span style="color: #000000;">8192</span>  <span style="color: #000000;">2048</span>  <span style="color: #000000;">2048</span>
H264_MAIN            <span style="color: #000000;">41</span>  <span style="color: #000000;">8192</span>  <span style="color: #000000;">2048</span>  <span style="color: #000000;">2048</span>
H264_HIGH            <span style="color: #000000;">41</span>  <span style="color: #000000;">8192</span>  <span style="color: #000000;">2048</span>  <span style="color: #000000;">2048</span>
VC1_SIMPLE            <span style="color: #000000;">1</span>  <span style="color: #000000;">8190</span>  <span style="color: #000000;">2048</span>  <span style="color: #000000;">2048</span>
VC1_MAIN              <span style="color: #000000;">2</span>  <span style="color: #000000;">8190</span>  <span style="color: #000000;">2048</span>  <span style="color: #000000;">2048</span>
VC1_ADVANCED          <span style="color: #000000;">4</span>  <span style="color: #000000;">8190</span>  <span style="color: #000000;">2048</span>  <span style="color: #000000;">2048</span>
&nbsp;
Output surface:
&nbsp;
name              width height nat types
<span style="color: #660033;">----------------------------------------------------</span>
B8G8R8A8          <span style="color: #000000;">8192</span>  <span style="color: #000000;">8192</span>    y  Y8U8V8A8 V8U8Y8A8
R10G10B10A2       <span style="color: #000000;">8192</span>  <span style="color: #000000;">8192</span>    y  Y8U8V8A8 V8U8Y8A8 
&nbsp;
Bitmap surface:
&nbsp;
name              width height
<span style="color: #660033;">------------------------------</span>
B8G8R8A8          <span style="color: #000000;">8192</span>  <span style="color: #000000;">8192</span>
R8G8B8A8          <span style="color: #000000;">8192</span>  <span style="color: #000000;">8192</span>
R10G10B10A2       <span style="color: #000000;">8192</span>  <span style="color: #000000;">8192</span>
B10G10R10A2       <span style="color: #000000;">8192</span>  <span style="color: #000000;">8192</span>
A8                <span style="color: #000000;">8192</span>  <span style="color: #000000;">8192</span>
&nbsp;
Video mixer:
&nbsp;
feature name                    sup
<span style="color: #660033;">------------------------------------</span>
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     y
INVERSE_TELECINE                 y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y
HIGH QUALITY SCALING - L1        -
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -
&nbsp;
parameter name                  sup      min      max
<span style="color: #660033;">-----------------------------------------------------</span>
VIDEO_SURFACE_WIDTH              y         <span style="color: #000000;">1</span>     <span style="color: #000000;">4096</span>
VIDEO_SURFACE_HEIGHT             y         <span style="color: #000000;">1</span>     <span style="color: #000000;">4096</span>
CHROMA_TYPE                      y
LAYERS                           y         <span style="color: #000000;">0</span>        <span style="color: #000000;">4</span>
&nbsp;
attribute name                  sup      min      max
<span style="color: #660033;">-----------------------------------------------------</span>
BACKGROUND_COLOR                 y
CSC_MATRIX                       y
NOISE_REDUCTION_LEVEL            y      <span style="color: #000000;">0.00</span>     <span style="color: #000000;">1.00</span>
SHARPNESS_LEVEL                  y     -<span style="color: #000000;">1.00</span>     <span style="color: #000000;">1.00</span>
LUMA_KEY_MIN_LUMA                y
LUMA_KEY_MAX_LUMA                y</pre></div></div>

<p>In case you&#8217;re wondering, vdpau is an api that allows video programs to offload portions of the video decoding process and video post-processing to the GPU video-hardware, resulting in less cpu load.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/vdpau-info/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clearing up some misconceptions on Arch&#8217;s kernel26-lts</title>
		<link>http://www.nepherte.be/clearing-up-some-misconceptions-on-archs-kernel26-lts/</link>
		<comments>http://www.nepherte.be/clearing-up-some-misconceptions-on-archs-kernel26-lts/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 13:36:08 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Long Term Support]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=888</guid>
		<description><![CDATA[I&#8217;ve read numerous misconceptions on Arch Linux&#8217;  new kernel package, especially on the UbuntuForums, which I&#8217;m about to clear up rightaway. Everyone seems to think they&#8217;re dumping the latest kernel for the &#8220;stable ubuntu kernel&#8221;, also implying the current kernel is unstable. They couldn&#8217;t have been more wrong. To begin with, they&#8217;re not replacing the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve read numerous misconceptions on Arch Linux&#8217;  new kernel package, especially on the UbuntuForums, which I&#8217;m about to clear up rightaway. Everyone <em>seems</em> to think they&#8217;re dumping the latest kernel for the <em>&#8220;stable ubuntu kernel&#8221;</em>, also implying the current kernel is unstable. They couldn&#8217;t have been more wrong.</p>
<p>To begin with, they&#8217;re not replacing the current kernel (2.6.31.5). They&#8217;re only adding an extra kernel to the repositories.  Why? Because they want to give users a second choice for the kernel package that suits better in certain situations (servers in particular) and because it can server as a fallback kernel when something is wrong with the primary one.</p>
<p>Second, it&#8217;s not <em>&#8220;ubuntu&#8217;s kernel&#8221;</em> they&#8217;re adding, it&#8217;s the officially supported long time support (lts) kernel from kernel.org, which is currently at version 2.6.27.31. Perhaps they think it&#8217;s ubuntu&#8217;s because of the term lts, something canonical uses itself, but obviously the term already existed long time before canonical introduced it for their os. This lts kernel that Arch Linux is about to add, doesn&#8217;t use any of ubuntu&#8217;s patches either as you can see in the pkgbuild for kernel26-lts:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Maintainer: Andreas Radke </span>
&nbsp;
<span style="color: #007800;">pkgname</span>=kernel26-lts
<span style="color: #007800;">_kernelname</span>=<span style="color: #800000;">${pkgname#kernel26}</span>
<span style="color: #007800;">_basekernel</span>=2.6.27
<span style="color: #007800;">pkgver</span>=<span style="color: #800000;">${_basekernel}</span>.31
<span style="color: #007800;">pkgrel</span>=<span style="color: #000000;">2</span>
<span style="color: #007800;">pkgdesc</span>=<span style="color: #ff0000;">&quot;The Linux Kernel and modules - stable longtime supported kernel package suitable for servers&quot;</span>
<span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">arch</span></span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'i686'</span> <span style="color: #ff0000;">'x86_64'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">license</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'GPL2'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">url</span>=<span style="color: #ff0000;">&quot;http://www.kernel.org&quot;</span>
<span style="color: #007800;">backup</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span>etc<span style="color: #000000; font-weight: bold;">/</span>mkinitcpio.d<span style="color: #000000; font-weight: bold;">/</span><span style="color: #800000;">${pkgname}</span>.preset<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">depends</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'coreutils'</span> <span style="color: #ff0000;">'kernel26-firmware&amp;gt;=2.6.27'</span> <span style="color: #ff0000;">'module-init-tools'</span> <span style="color: #ff0000;">'mkinitcpio&amp;gt;=0.5.20'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">install</span></span>=<span style="color: #800000;">${pkgname}</span>.install
<span style="color: #007800;"><span style="color: #7a0874; font-weight: bold;">source</span></span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">ftp</span>:<span style="color: #000000; font-weight: bold;">//</span>ftp.kernel.org<span style="color: #000000; font-weight: bold;">/</span>pub<span style="color: #000000; font-weight: bold;">/</span>linux<span style="color: #000000; font-weight: bold;">/</span>kernel<span style="color: #000000; font-weight: bold;">/</span>v2.6<span style="color: #000000; font-weight: bold;">/</span>linux-<span style="color: #007800;">$_basekernel</span>.tar.bz2
        <span style="color: #c20cb9; font-weight: bold;">ftp</span>:<span style="color: #000000; font-weight: bold;">//</span>ftp.kernel.org<span style="color: #000000; font-weight: bold;">/</span>pub<span style="color: #000000; font-weight: bold;">/</span>linux<span style="color: #000000; font-weight: bold;">/</span>kernel<span style="color: #000000; font-weight: bold;">/</span>v2.6<span style="color: #000000; font-weight: bold;">/</span>patch-<span style="color: #007800;">$pkgver</span>.bz2
	<span style="color: #666666; font-style: italic;"># the main kernel config files</span>
        config config.x86_64
        <span style="color: #666666; font-style: italic;"># standard config files for mkinitcpio ramdisk</span>
        <span style="color: #800000;">${pkgname}</span>.preset
	<span style="color: #666666; font-style: italic;"># ext4 patches from Fedora</span>
	<span style="color: #666666; font-style: italic;">#http://cvs.fedoraproject.org/viewvc/rpms/kernel/F-10/?pathrev=kernel-2_6_27_29-170_2_79_fc10</span>
	linux-2.6.27-ext4-rename-ext4dev-to-ext4.patch
	linux-2.6.27.9-ext4-cap-check-delay.patch<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">md5sums</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'b3e78977aa79d3754cb7f8143d7ddabd'</span>
         <span style="color: #ff0000;">'adfb289efee5dce61e532678317c0b4c'</span>
         <span style="color: #ff0000;">'04ed4c213100a20056dc8180a8bc7627'</span>
         <span style="color: #ff0000;">'2d90dc4f3541c7fdbc2802b7c6be7bdc'</span>
         <span style="color: #ff0000;">'a13338958d1b241f8dfd4c6014cad3d4'</span>
         <span style="color: #ff0000;">'659953c9c437d311bf93eff505ef8e67'</span>
         <span style="color: #ff0000;">'8cd12e9727d9221aacfa52ad9b9a42f9'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
build<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
...
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

<p>The only 2 patches they use are from the fedora project to backport the ext4 filesystem, which was only introduced after kernel 2.6.27.x.</p>
<p>And last but not least, the current kernel (which remains the main kernel for Arch Linux by the way) is considered stable, as indicated on the official kernel.org site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/clearing-up-some-misconceptions-on-archs-kernel26-lts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Desktop, September 2009</title>
		<link>http://www.nepherte.be/desktop-september-2009/</link>
		<comments>http://www.nepherte.be/desktop-september-2009/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 15:33:57 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Screenshots]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[Screenshot]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=877</guid>
		<description><![CDATA[Just finished my last exam, a new academic year lies ahead. Yup, it&#8217;s time to change my desktop again. It probably is my last series of desktop screenshot in gnome for a very long time. I&#8217;m thinking of moving to either xmonad or dwm permanently, perhaps occasionally making an exception when a new  gnome will [...]]]></description>
			<content:encoded><![CDATA[<p>Just finished my last exam, a new academic year lies ahead. Yup, it&#8217;s time to change my desktop again. It probably is my last series of desktop screenshot in gnome for a very long time. I&#8217;m thinking of moving to either xmonad or dwm permanently, perhaps occasionally making an exception when a new  gnome will be released.</p>
<p>Few things have really changed since my latest gnome setup because I&#8217;m already pretty satisfied with what I&#8217;ve got so far. The major change is the wallpaper and some icons here and there:<br />
<a href="http://www.nepherte.be/wp-content/uploads/desktop_september_2009_12.png"><img class="alignnone size-medium wp-image-883" title="Desktop, September 2009 (1)" src="http://www.nepherte.be/wp-content/uploads/desktop_september_2009_12-300x187.png" alt="Desktop, September 2009 (1)" width="300" height="187" /></a><a href="http://www.nepherte.be/wp-content/uploads/desktop_september_2009_2.png"><img class="alignnone" title="Desktop, September 2009 (2)" src="http://www.nepherte.be/wp-content/uploads/desktop_september_2009_2.png" alt="" width="300" height="187" /></a></p>
<p>What&#8217;s you&#8217;re seeing:</p>
<ul>
<li>Operating System: Arch Linux</li>
<li>Desktop Environment: Gnome</li>
<li>Window Managers: Metacity</li>
<li>GTK: Customized Ubuntu Human</li>
<li>Icons: Ubuntu Icon Set</li>
<li>Wallpaper: Tarantula Tree</li>
<li>Various: ncmpc++ playing music, mencoder dumping a video and uzbl displaying this website</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/desktop-september-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto: Add PulseAudio to GNOME 2.26 in Arch Linux</title>
		<link>http://www.nepherte.be/howto-add-pulseaudio-to-gnome-2-26-in-arch-linux/</link>
		<comments>http://www.nepherte.be/howto-add-pulseaudio-to-gnome-2-26-in-arch-linux/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 12:06:46 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[2.26]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[PulseAudio]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=788</guid>
		<description><![CDATA[As a follow up on my article about PulseAudio in Gnome 2.26, I&#8217;ll briefly explain how you can install PulseAudio integrated with Gnome in Arch Linux. As mentioned before, the Gnome maintainer in Arch Linux has patched Gnome to the way it was before version 2.26, at least the audio part. It is however very [...]]]></description>
			<content:encoded><![CDATA[<p>As a follow up on my article about PulseAudio in Gnome 2.26, I&#8217;ll briefly explain how you can install PulseAudio integrated with Gnome in Arch Linux. As mentioned before, the Gnome maintainer in Arch Linux has patched Gnome to the way it was before version 2.26, at least the audio part. It is however very easy to undo this with ABS. I suggest you read up on ABS if you&#8217;re not familiar with it.</p>
<h5>Install &amp; configure ABS</h5>
<p>First you will need to install the The Arch Build System (ABS) and the basic development tools:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">pacman <span style="color: #660033;">-Sy</span> abs base-devel</pre></div></div>

<p>Make sure the core, extra and community repository are enabled in /etc/abs.conf:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">REPOS</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span>core extra community <span style="color: #000000; font-weight: bold;">!</span>testing<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Now grab all the PKGBUILDS with:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">abs</pre></div></div>

<h5>Install &amp; configure PulseAudio</h5>
<p>Install pulseaudio with:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">pacman <span style="color: #660033;">-S</span> pulseaudio</pre></div></div>

<p>There&#8217;s a lot to say about configuring pulseaudio, things I&#8217;m not going put here. More info on configuring pulseaudio can be found at <a href="http://wiki.archlinux.org/index.php/Pulseaudio">The Arch Wiki</a> and <a href="http://www.pulseaudio.org/wiki/PerfectSetup">The Official PulseAudio site</a>. The <em>must do</em> things are installing alsa-plugins to maintain alsa compatibility, configuring .asoundrc, adding yourself to the pulse-rt and pulse-access groups and configuring gstreamer to use pulse. I also <em>don&#8217;t</em> recommend using PulseAudio as a system-wide daemon. Just use the per-user daemon.</p>
<h5>Rebuild related Gnome packages</h5>
<p>There are a few gnome packages that need to be rebuilt against pulseaudio in this order:</p>
<ol>
<li>gnome-settings-daemon</li>
<li>gnome-applets</li>
<li>gnome-media</li>
</ol>
<p>Grab the build files from abs one at the time. They are all located under /var/abs/abs/&lt;packagename&gt;. You can build and install the package with:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">makepkg <span style="color: #660033;">-si</span></pre></div></div>

<p><em>gnome-settings-daemon &#8211; </em>Remove the patch line (2nd line right after build) in the PKGBUILD.<br />
<em>gnome-applets &#8211; </em>Just needs a rebuild, no need to change anything.<br />
<em>gnome-media &#8211; </em>Add &#8211;enable-pulse to the ./configure line in the PKGBUILD.</p>
<p>That&#8217;s pretty much it. Next time you login using gnome, it will use pulseaudio. By default it adds a rather ugly volume slider to the panel (you can prevent it from starting by removing it under system &gt; preferences &gt; startup applications. You can add a better one by right clicking on the panel and adding the volume applet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/howto-add-pulseaudio-to-gnome-2-26-in-arch-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Desktop, June 2009</title>
		<link>http://www.nepherte.be/desktop-june-2009/</link>
		<comments>http://www.nepherte.be/desktop-june-2009/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 20:58:16 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Screenshots]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Screenshot]]></category>
		<category><![CDATA[XMonad]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=774</guid>
		<description><![CDATA[I didn&#8217;t have much time lately to post anything here. Exams are coming up so most of time goes to studying, as it should be. It will be like that till the end of june so don&#8217;t expect much activity in the next few weeks. But as a sign of me not neglecting my own [...]]]></description>
			<content:encoded><![CDATA[<p>I didn&#8217;t have much time lately to post anything here. Exams are coming up so most of time goes to studying, as it should be. It will be like that till the end of june so don&#8217;t expect much activity in the next few weeks. But as a sign of me not neglecting my own blog, I&#8217;ll post my new desktop.</p>
<p>I&#8217;ve completely moved to the tiling window manager XMonad now to fully profit from my new 24&#8243; monitor. It took me a while to get used to a tiling window manager but now that I got the hang of it, it&#8217;s not likely I&#8217;ll ever go back a regular floating desktop.</p>
<p><a href="http://www.nepherte.be/wp-content/uploads/desktop-nepherte.png"><img src="http://www.nepherte.be/wp-content/uploads/desktop-nepherte-300x187.png" alt="Desktop, June 2009 (1)" title="Desktop, June 2009 (1)" width="300" height="187" class="alignnone size-medium wp-image-776" /></a><a href="http://www.nepherte.be/wp-content/uploads/desktop-nepherte2.png"><img src="http://www.nepherte.be/wp-content/uploads/desktop-nepherte2-300x187.png" alt="Desktop, June 2009 (2)" title="Desktop, June 2009 (2)" width="300" height="187" class="alignnone size-medium wp-image-780" /></a></p>
<p>What you are seeing:</p>
<ul>
<li>Operating System: Arch Linux</li>
<li>Window Manager: XMonad</li>
<li>GTK: Customized Ubunt Human</li>
<li>Icons: Human Icon set</li>
<li>Wallpaper: Spy vs. Spy (deviantart)</li>
<li>Various: Trayer for docking icons, Conky for displaying statistics, mpd song info and date/time, Irssi, MPlayer, ncmpc++</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/desktop-june-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netembryo and libnemesi</title>
		<link>http://www.nepherte.be/netembryo-and-libnemesi/</link>
		<comments>http://www.nepherte.be/netembryo-and-libnemesi/#comments</comments>
		<pubDate>Fri, 01 May 2009 16:09:16 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[aur]]></category>
		<category><![CDATA[libnemesi]]></category>
		<category><![CDATA[live555]]></category>
		<category><![CDATA[MPlayer]]></category>
		<category><![CDATA[netembryo]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=750</guid>
		<description><![CDATA[I&#8217;ve posted another 2 packages to the Arch User Repository (AUR):  netembryo and libnemesi. The first is a network abstraction library, the latter is an implementation of RTSP. Both didn&#8217;t exist in AUR yet so I guess there&#8217;s not much demand for them yet (I don&#8217;t even use them myself). MPlayer has initial support for [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve posted another 2 packages to the <a href="http://aur.archlinux.org/index.php">Arch User Repository</a> (AUR):  <a href="http://aur.archlinux.org/packages.php?ID=26086">netembryo</a> and <a href="http://aur.archlinux.org/packages.php?ID=26087">libnemesi</a>. The first is a network abstraction library, the latter is an implementation of RTSP. Both didn&#8217;t exist in AUR yet so I guess there&#8217;s not much demand for them yet (I don&#8217;t even use them myself).</p>
<p><a href="http://www.mplayerhq.hu/">MPlayer</a> has initial support for libnemesi to handle rtsp stream, as an alternative for <a href="http://www.live555.com/">live555</a> and that would be the only reason I wanted to try it out. MPlayer should automatically detect libnemesi. Otherwise you will have to append the &#8211;extra-cflags option to the ./configure statement.</p>
<p>While netembryo is getting more and more stable, libnemesi is still in early development and  no official release exists as of yet. In fact, many libnemesi revisions don&#8217;t even want to compile so it can be a real drag to find one that does. I&#8217;ll save you some time: the public git version of 20090501 works.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/netembryo-and-libnemesi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brother MFC-8870DW printer driver</title>
		<link>http://www.nepherte.be/brother-mfc-8870dw-printer-driver/</link>
		<comments>http://www.nepherte.be/brother-mfc-8870dw-printer-driver/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 19:26:04 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[aur]]></category>
		<category><![CDATA[Brother MFC-8870DW]]></category>
		<category><![CDATA[driver]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=741</guid>
		<description><![CDATA[Today I&#8217;ve uploaded my first application to the Arch User Repository (AUR): a printer driver for the Brother MFC-8870DW. I&#8217;m afraid it&#8217;s possibly the first of many. The first reason why I&#8217;ve uploaded it is because it didn&#8217;t exist yet. Second, and more importantly, I almost forgot how to install it. I figured it out [...]]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;ve uploaded <a title="Brother MFC-8870DW printer driver" href="http://aur.archlinux.org/packages.php?ID=25695">my first application</a> to the Arch User Repository (AUR): a printer driver for the Brother MFC-8870DW. I&#8217;m afraid it&#8217;s possibly the first of many. The first reason why I&#8217;ve uploaded it is because it didn&#8217;t exist yet. Second, and more importantly, I almost forgot how to install it. I figured it out a week or 2 ago but I lost it due to <a href="http://www.nepherte.be/my-own-stupidity-and-ext4/">my own stupidity</a>. For the sake of not forgetting and for having a backup of the pkgbuild, I uploaded it to AUR. In the mean while, other users with the same printer can benefit from it as well.</p>
<p>I found the packaging itself pretty complicated. Brother made the driver only available for debian and red hat based systems. Arch Linux is none of the two. This isn&#8217;t a big issue, it&#8217;s pretty much an archive of the necessary files. The main problem was that it doesn&#8217;t adhere to the packaging standards of Arch Linux. It uses /usr/local paths and arch doesn&#8217;t. I had to write a patch that adjusted the paths in all the files that used them. Third problem was that I used it on a 64bit system. It took me a while to realize I had to install a lib32 library. The last problem is that Brother pretty much assumed you used usb to connect the printer. I used the network. In the end it worked out well so I can finally print on it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/brother-mfc-8870dw-printer-driver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Desktop March 2009</title>
		<link>http://www.nepherte.be/desktop-march-2009/</link>
		<comments>http://www.nepherte.be/desktop-march-2009/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 19:47:05 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Screenshots]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Screenshot]]></category>
		<category><![CDATA[XMonad]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=438</guid>
		<description><![CDATA[It&#8217;s been a while again since my latest desktop screenshot. I usually don&#8217;t change much and the changes I make are mostly minor ones. My new desktop is a completely new one though. Operating System: Arch Linux GTK: Customized Ubuntu Human Window Manager: XMonad Icons: Ubuntu Human Icon Set Wallpaper: Rey Del Mundo For starters, [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while again since <a title="Desktop October, 2008" href="http://www.nepherte.be/desktop-october-2008/">my latest desktop screenshot</a>. I usually don&#8217;t change much and the changes I make are mostly minor ones. My new desktop is a completely new one though.</p>
<ul>
<li>Operating System: Arch Linux</li>
<li>GTK: Customized Ubuntu Human</li>
<li>Window Manager: XMonad</li>
<li>Icons: Ubuntu Human Icon Set</li>
<li>Wallpaper: Rey Del Mundo</li>
</ul>
<p><a href="http://www.nepherte.be/wp-content/uploads/2009/03/desktop_march_2009_1.png"><img class="alignnone" title="Desktop March 2009 Clean" src="http://www.nepherte.be/wp-content/uploads/2009/03/desktop_march_2009_1.png" alt="Desktop March 2009 Clean" width="300" height="240" /></a><a href="http://www.nepherte.be/wp-content/uploads/2009/03/desktop_march_2009_2.png"><img class="alignnone" title="Desktop March 2009 Dirty" src="http://www.nepherte.be/wp-content/uploads/2009/03/desktop_march_2009_2-300x240.png" alt="Desktop March 2009 Dirty" width="300" height="240" /></a></p>
<p>For starters, I fell in love with <a title="InterfaceLift: Rey Del Mundo" href="http://interfacelift.com/wallpaper_beta/email/1059/rey_del_mundo.html">this</a> wallpaper. I  got rid of metacity and finally switched to something moreproductive:  XMonad. Give me a hallelluja for tiling window managers. The only thing I&#8217;m still not happy with, are the font colors. I still have to find a matching color palette. Suggestions are always welcome. For those interested in my XMonad configuration file, feel free to ask. I&#8217;ll probably post it in upcoming article on XMonad as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/desktop-march-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arch Linux on a Sony Vaio SZ 6</title>
		<link>http://www.nepherte.be/arch-linux-on-a-sony-vaio-sz-6/</link>
		<comments>http://www.nepherte.be/arch-linux-on-a-sony-vaio-sz-6/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 15:22:52 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[Sony]]></category>
		<category><![CDATA[SZ]]></category>
		<category><![CDATA[Vaio]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=363</guid>
		<description><![CDATA[If you somewhat follow this blog, you probably know that I&#8217;m running Arch Linux as my primary operating system. I&#8217;m using this on my Sony Vaio SZ 6 for +/- 5 months now. I&#8217;m very pleased with both Arch Linux and the laptop and they happily work together. This article is about how I set [...]]]></description>
			<content:encoded><![CDATA[<p>If you somewhat follow this blog, you probably know that I&#8217;m running <a href="http://www.archlinux.org">Arch Linux</a> as my primary operating system. I&#8217;m using this on my Sony Vaio SZ 6 for +/- 5 months now. I&#8217;m very pleased with both Arch Linux and the laptop and they happily work together. This article is about how I set up Arch on this Sony Vaio. There were made several models in the SZ series and the instructions should more or less apply to most of them. If you are an owner of this laptop and you tryed out these instructions, I&#8217;d be happy to get your feedback on it.</p>
<h5>Change Log</h5>
<p>21-02-2010:</p>
<ul>
<li>Added nouveau driver as alternative to official nvidia driver</li>
<li>Mention the use of KMS</li>
</ul>
<p>27-06-2009:</p>
<ul>
<li>Added ftp install disk to installation notes</li>
<li>Mention the use of module auto-detection</li>
<li>Arch now uses /etc/modprobe.d/modprobe.conf</li>
<li>Had a change to test the mic, it works</li>
<li>No need to add dbus if hal is specified</li>
<li>Brightness works as is now</li>
<li>Added FN-keys section</li>
</ul>
<p></p>
<h5>Table of Content:</h5>
<p><a href="#hardware">1. Hardware Specifications</a><a href="http://www.nepherte.be/wp-content/uploads/2009/03/sony-vaio-sz6.jpg"><img class="alignright size-medium wp-image-424" title="Sony Vaio SZ6" src="http://www.nepherte.be/wp-content/uploads/2009/03/sony-vaio-sz6-300x224.jpg" alt="Sony Vaio SZ6" width="300" height="224" /></a><br />
<a href="#installation">2. Installation</a><br />
<a href="#arch">3. Arch Linux</a><br />
<a href="#processor">4. Processor</a><br />
<a href="#wired">5. Wired Network</a><br />
<a href="#wireless">6. Wireless Network</a><br />
<a href="#sound">7. Sound Card</a><br />
<a href="#graphics">8. Graphic Cards</a><br />
<a href="#keyboard">9. Keyboard</a><br />
<a href="#touchpad">10. Touchpad</a><br />
<a href="#bluetooth">11. Bluetooth</a><br />
<a href="#webcam">12. Webcam</a><br />
<a href="#brightness">13. Brightness</a><br />
<a href="#modem">14. Modem</a><br />
<a href="#cardreader">15. Card Reader</a><br />
<a href="#suspend">16. Suspend &amp; Hibernate</a><br />
<a href="#fnkeys">17. FN Keys</a></p>
<h5>Appendix:</h5>
<p><a href="#cpuinfo">A. CPU Info</a><br />
<a href="#intel">B. Intel X Configuration File</a><br />
<a href="#nvidia">C. Nvidia X Configuration File</a><br />
<a href="#evdev">D. Keyboard Configuration File</a><br />
<a href="#synaptics">E. Touchpad Configuration File</a><br />
<a href="#lspci">F. Lspci Output</a><br />
<a href="#lsusb">G. Lsusb Output</a></p>
<h5><a name="hardware">Hardware Specifications</a></h5>
<p>Here are the relevant hardware specifications for the Sony Vaio SZ61 XN/C:</p>
<ul>
<li>Processor:	            Intel Core 2 Duo T7500 @ 2.2GHz</li>
<li>Memory:		    2048MB @ 533Mhz DDR2</li>
<li>Hard Disk:	            160GB 5400rpm</li>
<li>Graphics:	            nVidia GeForce 8400M GS + Intel GM965 Integrated Graphics</li>
<li>Sound Card:            Sigmatel CXD9872 Intel High Definition Audio Codec</li>
<li>Wireless Network:    Intel PRO/Wireless 3945ABG</li>
<li>Wired Network:        Marvel 88E8055 PCI-E Gigabit Ethernet</li>
<li>Bluetooth:	            Cambridge Silicon Radio</li>
<li>Webcam:                 Ricoh r5u870 (05ca:183a)</li>
<li>Touchpad:               AlpsPS/2 ALPS Touchpad</li>
</ul>
<p></p>
<h5><a name="installation">Installation</a></h5>
<p>The installation is pretty straight forward following the <a href="http://wiki.archlinux.org/index.php/Beginners_Guide">Arch Linux Beginner&#8217;s Guide</a>. You shouldn&#8217;t encounter any problems if you read the guide&#8217;s instructions carefully. I recommend using the Intel GM965 graphic card during the installation and a wired network if it&#8217;s at your disposal. You can then configure the other graphic card and the wireless network afterwards. Nevertheless, the installation should work with whatever you chose to use but it might require some extra steps. From now on I will be assuming you followed my recommendation. For the record, I&#8217;ve used  both the 2008.06 x86_64 core and ftp install disk with success. In the end they aren&#8217;t any different from eachother. When using the ftp install disk, you&#8217;ll end up with the most recent packages available in the repositories at once. When using the core cd, you need to issue a system wide update to acquire the same result.</p>
<h5><a name="arch">Arch Linux</a></h5>
<p>This tutorial is written while using a snapshot of Arch Linux, dated on 28 february 2009. This snapshot includes the following versions of important packages:</p>
<ul>
<li>Arch Linux 64 bit fully updated</li>
<li>Kernel 2.6.28.7 SMP PREEMPT</li>
<li>X.org 7.4 (xorg-server 1.5.3-4)</li>
<li>Alsa 1.0.19</li>
<li>Nvidia driver 180.22</li>
<li>XF86-video-intel 2.4.3-1</li>
</ul>
<p>As you may have noticed, I&#8217;m using a 64 bit operating system. Some people are afraid of it, thinking it is somehow more difficult or that it is missing some important software packages. Others are just opposed to 64 bit. I can tell you there is no reason not to use 64 bit. There is no important software missing (there is a native 64 bit version for both java, its browser plugin and flash) and in few specific scenarios you&#8217;ll get a significant performance increase.</p>
<h5><a name="processor">Processor</a></h5>
<p>The dual core processor is, obviously, recognized out of the box. By installing cpufrequtils, you can enable cpu frequency scaling:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> pacman <span style="color: #660033;">-S</span> cpufrequtils</pre></div></div>

<p>To start the cpu frequency scaling daemon on startup, add cpufreq to the DAEMON array in /etc/rc.conf:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">DAEMONS</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span>syslog-ng <span style="color: #000000; font-weight: bold;">@</span>cpufreq ... <span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>The available scaling governor is cpufreq_ondemand. You will have to load this module together with acpi-cpufreq on startup by adding it to the MODULES array in /etc/rc.conf:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">MODULES</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span>acpi-cpufreq cpufreq_ondemand ... <span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>You can set the desired governer (ondemand) in /etc/conf.d/cpufreq along with the minimum and maximum cpu frequency:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">governor</span>=<span style="color: #ff0000;">&quot;ondemand&quot;</span>
<span style="color: #007800;">min_freq</span>=<span style="color: #ff0000;">&quot;0.8GHz&quot;</span>
<span style="color: #007800;">max_freq</span>=<span style="color: #ff0000;">&quot;2.2GHz&quot;</span></pre></div></div>

<p>The full output of /proc/cpuinfo can be found in <a href="#cpuinfo">Appendix A</a>. More information about cpu frequency scaling can be found on the Arch Linux <a href="http://wiki.archlinux.org/index.php/CPU_Frequency_Scaling">CPU Frequency Scaling</a> and <a href="http://wiki.archlinux.org/index.php/Cpufrequtils">Cpufrequtils</a> page.</p>
<h5><a name="wired">Wired Network</a></h5>
<p>The Marvel 88E8055 PCI-E Gigabit Ethernet network card should have been detected during the installation, together with the appropriate module. It uses the sky2 module. Add it to the MODULES array:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">MODULES</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span>sky2<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p><em>For a while now, Arch Linux is able to auto-detect the required modules by setting</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">MOD_AUTOLOAD</span>=<span style="color: #ff0000;">&quot;yes&quot;</span></pre></div></div>

<p>in /etc/rc.conf. There is no need to specify all the modules in the MODULES array anymore. Only to explicity prohibit something from loading, the MODULES array is useful. In a limited number of cases, it doesn&#8217;t detect the modules like the ones from cpu scaling. I simply list the modules for reference.</em></p>
<h5><a name="wireless">Wireless Network</a></h5>
<p>First, you will need the wireless_tools package. If you have a wired network connection available, it&#8217;s as easy as:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> pacman <span style="color: #660033;">-S</span> wireless_tools</pre></div></div>

<p>The package is also included in the Arch Linux install disc. If you want to use the wireless network during the setup, don&#8217;t forget to install it.</p>
<p>Apart from wireless_tools, you will also need the firmware for the wireless network card, in our case the Intel 3945/ABG. Install iwlwifi-3945-ucode:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> pacman <span style="color: #660033;">-S</span> iwlwifi-<span style="color: #000000;">3945</span>-ucode</pre></div></div>

<p>Now add the iwl3945 module to the modules array. I also recommend blacklisting the older propriatary module ipw3945 to avoid any conflicts:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">MODULES</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">!</span>ipw3945 iwl3945 ... <span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>For more information on setting up a wireless network card, especially during the installation, see the <a href="http://wiki.archlinux.org/index.php/Wireless">Arch Linux Wireless</a> page.</p>
<h5><a name="sound">Sound Card</a></h5>
<p>The sound card should be detected during the installation, together with the necessary modules. In case something goes wrong, here are the modules you have to load:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">MODULES</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">!</span>snd_pcsp snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore ..<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>I also disabled the pc speaker (!snd_pcsp and !pcspkr) because it really irritates me and probably you as well. The headphone jack doesn&#8217;t work without an extra line in /etc/modprobe.d/modprobe.conf:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">options snd-hda-intel <span style="color: #007800;">model</span>=vaio</pre></div></div>

<p>Recording sound using the microphone input works out of the box.</p>
<h5><a name="graphics">Graphic Cards</a></h5>
<p>As mentioned before, this laptop comes with 2 graphic cards: one on board Intel card and one dedicated Nvidia card. You can get each single one to work without ever using the other. You can also set up Arch Linux to use both, but only one will be active at the time of course. You should already have one card working with the Arch Linux installation. I&#8217;ll explain how to get both working. Apart from installing xorg and mesa, you need a libgl implementation. Open source drivers use the libgl package from the repositories, propriatary drivers come with their own libgl implemenation. Now here&#8217;s the bad news: when installing both drivers from the repositories, these two libgl implementations will conflict and pacman will refuse to install both. We&#8217;ll install the Intel driver first if you haven&#8217;t already done that during the installation:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> pacman <span style="color: #660033;">-S</span> xorg mesa libgl xf86-video-intel</pre></div></div>

<p>That shouldn&#8217;t give you any problems since the Nvidia driver is not installed yet. My xorg.conf file for the Intel card can be found in <a href="#intel">Appendix B</a>. </p>
<p>The Intel card and its driver fully support kernel mode setting (KMS) and with a more recent kernel and Intel driver, KMS is required. The most noteworthy features of KMS are full resolution virtual terminals and fast switching between virtual terminals. For more information about KMS, see the <a href="http://wiki.archlinux.org/index.php/KMS">Arch Linux KMS page</a>.</p>
<p>Now we move on to the Nvidia card. Reboot your laptop and use the speed mode switch on the laptop. The X server will refuse to start. No problem, login using the console after you cancelled the X server messages. Instead of installing the Nvidia drivers with pacman, we&#8217;re going to install it manually to avoid pacman conflicts. It won&#8217;t harm the system. Open up a terminal, make sure you&#8217;re in the home directory and get the driver from the Nvidia website:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>us.download.nvidia.com<span style="color: #000000; font-weight: bold;">/</span>XFree86<span style="color: #000000; font-weight: bold;">/</span>Linux-x86_64<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">180.22</span><span style="color: #000000; font-weight: bold;">/</span>NVIDIA-Linux-x86_64-<span style="color: #000000;">180.22</span>-pkg2.run</pre></div></div>

<p>You can always change the version number if you want an older or more recent driver.</p>
<p>Switch to run level 3 to make sure X isn&#8217;t running:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> telinit <span style="color: #000000;">3</span></pre></div></div>

<p>Go back to where we downloaded the driver (home directory) and launch the installer:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">sh</span> NVIDIA-Linux-x86_64-<span style="color: #000000;">180.22</span>-pkg2.run</pre></div></div>

<p>From now on, simply follow the installer&#8217;s instructions. Afterwards you&#8217;ll have the Nvidia driver installed. You can find my /etc/X11/xorg.conf file for the Nvidia card in <a href="#nvidia">Appendix C</a>. You can already start X to see if it&#8217;s also working with your Nvidia card:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">startx</pre></div></div>

<p>Now it&#8217;s simply a matter of using the right xorg.conf configuration file for each graphic card. To automatically use the correct one on boot, you can use this script:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #007800;">VIDEO</span>=<span style="color: #000000; font-weight: bold;">`/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">lspci</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-c</span> nVidia<span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$VIDEO</span>&quot;</span> = <span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>xorg.conf.nvidia <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>xorg.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Nvidia Card Detected&quot;</span>
<span style="color: #000000; font-weight: bold;">else</span>
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>xorg.conf.intel <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>xorg.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Intel Card Detected&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span></pre></div></div>

<p>Make sure you have /etc/X11/xorg.conf.nvidia and /etc/X11/xorg.conf.intel or change the paths in the script to the correct ones. Save the script somewhere and make it executable. Now add the path of the script to /etc/rc.local:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>xorg<span style="color: #000000; font-weight: bold;">/</span>switch<span style="color: #000000; font-weight: bold;">/</span>script</pre></div></div>

<p>One downside of this method is that you can only use the 3D mode with one graphic card, in this case the nvidia card. I figured you&#8217;d want the better card of the two to be able to use the 3D mode. Another downside is that you won&#8217;t be able to change the brightness of your screen (maybe you can but I didn&#8217;t look into it). Changing the brightness does work when you only use the Intel card. You&#8217;ll have to decide for yourself if the advantages outweigh the disadvantages.</p>
<p>An interesting alternative to the official binary NVIDIA driver is the open-source nouveau driver. It has excellent 2D support and supports KMS. If you don&#8217;t need 3D support (which is still in development), I even recommend nouveau over the official driver. To install the nouveau driver:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> pacman <span style="color: #660033;">-S</span> xf86-video-nouveau nouveau-firmware</pre></div></div>

<p></p>
<h5><a name="keyboard">Keyboard</a></h5>
<p>Since X.org 7.4, hal takes care of your keyboard/mouse/touchpad, also known as hot-plugging. Therefore you don&#8217;t have to put a keyboard input device section in your xorg.conf file as you can see in the one I provided (see <a href="#intel">Appendix B</a> or <a href="#nvidia">Appendix C</a>). Make sure you have the xf86-input-evdev package installed and that you have the hal service running. Then you can use my file found in <a href="#evdev">Appendix D</a>. Save it to /etc/hal/fdi/policy/10-keymap.fdi and restart the hal service.</p>
<p>More information on hot-pluggable input devices can be found on the <a href="http://wiki.archlinux.org/index.php/Xorg_input_hotplugging">Arch Linux Xorg Input Hotplugging</a> page.</p>
<h5><a name="touchpad">Touchpad</a></h5>
<p>The touchpad is similar to the keyboard: you will need a fdi file to get it to work. Tapping, right mouse click in the corner, horizontal and vertical scrolling, &#8230; it all works. My fdi file can be found in <a href="#synaptics">Appendix E</a>. Save it to /etc/hal/fdi/policy/11&#8211;x11-synaptic.fdi and restart the hal service.</p>
<h5><a name="bluetooth">Bluetooth</a></h5>
<p>You need the linux bluetooth protocol stack. To install, run</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> pacman <span style="color: #660033;">-S</span> bluez</pre></div></div>

<p>You need to start dbus and bluetooth in that order. You could add it to the DAEMONS array:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">DAEMONS</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span>dbus bluetooth ... <span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>but I only start the bluetooth service when needed. That way I save some battery time. Note that hal already starts the dbus daemon by itself so if you have hal listed in the DAEMONS array, you don&#8217;t need to add dbus anymore. Gnome also has a nice applet you can load for bluetooth. I also strongly recommend blueman, a GTK+ bluetooth management utility. For more information, again see the <a href="http://wiki.archlinux.org/index.php/Bluetooth">Arch Linux Bluetooth</a> page.</p>
<h5><a name="webcam">Webcam</a></h5>
<p>Some time ago, the developper of the drivers for this webcam switched to a userspace tool instead of using kernel modules. This is how you get webcam working:</p>
<p>Get mercurial:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> pacman <span style="color: #660033;">-S</span> mercurial</pre></div></div>

<p>Set up a directory where we will build the driver:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> ~<span style="color: #000000; font-weight: bold;">/</span>r5u870</pre></div></div>

<p>Get the source:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>r5u870
hg clone http:<span style="color: #000000; font-weight: bold;">//</span>bitbucket.org<span style="color: #000000; font-weight: bold;">/</span>ahixon<span style="color: #000000; font-weight: bold;">/</span>r5u87x<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>Build the driver:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> r5u87x
<span style="color: #c20cb9; font-weight: bold;">make</span></pre></div></div>

<p>Load the driver with the correct firmware:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ucode<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> ..<span style="color: #000000; font-weight: bold;">/</span>loader <span style="color: #660033;">-f</span> r5u87x-05ca-183a.fw</pre></div></div>

<p>You will probably have to reload the uvcvideo module to get your webcam working in the current session:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> rmmod uvcvideo <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> modprobe uvcvideo</pre></div></div>

<p>Every time you want to use the webcam, you have to use loader. A more convenient way is to create an alias for this rather long command. To do so, add the following to your .bashrc file (located in your home directory):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">webcam</span>=<span style="color: #ff0000;">'sudo /home/user/r5u870/r5u87x/loader --reload -f /home/user/r5u870/r5u87x/ucode/r5u87x-05ca-183a.fw'</span></pre></div></div>

<p>Don&#8217;t forget to replace user with your user name. There are sevaral programs you can use for your webcam. The most popular ones are cheese (gnome), xawtv and skype.</p>
<h5><a name="brightness">Brightness</a></h5>
<p>For a while now, brightness works without any hacks for the intel card. I&#8217;ll leave the hack here to get it to work in older arch linux installations: It relies on xbacklight and acpid to change the brightness of the screen. xbacklight is included in the xorg-server-util package. The latter one is probably already installed, but xbacklight might not. Be sure to add acpid to the DAEMONS array:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">DAEMONS</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">@</span>acpid ... <span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Now create a brightness script named sonybright.sh in /etc/acpi/actions containing:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;x$1&quot;</span> = <span style="color: #ff0000;">&quot;xdown&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
xbacklight <span style="color: #660033;">-time</span> <span style="color: #000000;">100</span> <span style="color: #660033;">-steps</span> <span style="color: #000000;">10</span> <span style="color: #660033;">-dec</span> <span style="color: #000000;">10</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>sonybright.log
<span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;x$1&quot;</span> = <span style="color: #ff0000;">&quot;xup&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
xbacklight <span style="color: #660033;">-time</span> <span style="color: #000000;">100</span> <span style="color: #660033;">-steps</span> <span style="color: #000000;">10</span> <span style="color: #660033;">-inc</span> <span style="color: #000000;">10</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>sonybright.log
<span style="color: #000000; font-weight: bold;">else</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000;">2</span> Unknown argument $<span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">fi</span></pre></div></div>

<p>This script is supposed to be executed whenever you press the brightness up and down key. To do so, you will need to create two more files in /etc/acpi/events: sonybright-up and sonybright-down</p>
<p>sonybright-up:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># /etc/acpi/events/sony-brightness-up</span>
<span style="color: #007800;">event</span>=sony<span style="color: #000000; font-weight: bold;">/</span>hotkey SPIC 00000001 00000011
<span style="color: #007800;">action</span>=<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>acpi<span style="color: #000000; font-weight: bold;">/</span>actions<span style="color: #000000; font-weight: bold;">/</span>sonybright.sh up</pre></div></div>

<p>sonybright-down:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># /etc/acpi/events/sony-brightness-down</span>
<span style="color: #007800;">event</span>=sony<span style="color: #000000; font-weight: bold;">/</span>hotkey SPIC 00000001 00000010
<span style="color: #007800;">action</span>=<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>acpi<span style="color: #000000; font-weight: bold;">/</span>actions<span style="color: #000000; font-weight: bold;">/</span>sonybright.sh down</pre></div></div>

<p>the event SPIC key should be the same, however it is best to verify this with the acpi_listen command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">acpi_listen</pre></div></div>

<h5><a name="modem">Modem</a></h5>
<p>Not tested.</p>
<h5><a name="cardreader">Card Reader</a></h5>
<p>Works out of the box. Nothing extra is required.</p>
<h5><a name="suspend">Suspend &amp; Hibernate</a></h5>
<p>Suspending and hibernating the laptop works hassle free. It only works with the Intel card out of the box though. I take you could also make it work for the Nvidia card by editing some files, but then I assume it wouldn&#8217;t work for the Intel card. Since you probably want to use suspension and hibernation for saving power, you&#8217;d want to Intel card as it consumes less power to start with.</p>
<h5><a name="fnkeys">FN Keys</a></h5>
<p>The most important fn keys are working: volume up/down, mute, brightness up/down, switch monitor. The fn-keys rely on acpi. Make sure acpi and acpid are installed and add acpid to the DAEMONS array:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">DAEMONS</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">@</span>acpid ... <span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>You should be able to get other fn keys to work in a way similar to the old brightness hack as listed in the <a href="#brightness">Brightness</a> section.</p>
<h5><a name="cpuinfo">A. CPU Info</a></h5>
<p><a href="http://www.nepherte.be/files/cpuinfo">Here</a>&#8216;s the full output of /proc/cpuinfo. You can also verify that cpu frequency scaling is enabled and working (cpu MHz	 800.000).</p>
<h5><a name="intel">B. Intel X Configuration File</a></h5>
<p><a href="http://www.nepherte.be/files/xorg.conf.intel">Here</a>&#8216;s my Intel X Configuration File.</p>
<h5><a name="nvidia">C. Nvidia X Configuration File</a></h5>
<p><a href="http://www.nepherte.be/files/xorg.conf.nvidia">Here</a>&#8216;s my Nvidia X Configuration File.</p>
<h5><a name="evdev">D. Keyboard Configuration File</a></h5>
<p><a href="http://www.nepherte.be/files/10-keymap.fdi">Here</a>&#8216;s my Keyboard Configuration File. Don&#8217;t forget the change the keyboard layout to correspond with your language.</p>
<h5><a name="synaptics">E. Touchpad Configuration File</a></h5>
<p><a href="http://www.nepherte.be/files/11-x11-synaptics.fdi">Here</a>&#8216;s my Touchpad Configuration File.</p>
<h5><a name="lspci">F. Lspci Output</a></h5>
<p><a href="http://www.nepherte.be/files/lspci">Here</a>&#8216;s the output for lspci. The nvidia card isn&#8217;t listed because I&#8217;m using the Intel card right now.</p>
<h5><a name="lsusb">G. Lsusb Output</a></h5>
<p><a href="http://www.nepherte.be/files/lsusb">Here</a>&#8216;s the output for lsusb.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/arch-linux-on-a-sony-vaio-sz-6/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Patching a bug in wmctrl</title>
		<link>http://www.nepherte.be/patching-a-bug-in-wmctrl/</link>
		<comments>http://www.nepherte.be/patching-a-bug-in-wmctrl/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 19:29:14 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[wmctrl]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=308</guid>
		<description><![CDATA[I was trying to use a python script (to tile my windows) that makes use of wmctrl to determine what windows were active and on what desktop they reside. I&#8217;ll save that python script for another post. The problem is that wmctrl malfunctioned on 64 bit systems like mine. The percieved error is: wmctrl -d [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to use a python script (to tile my windows) that makes use of wmctrl to determine what windows were active and on what desktop they reside. I&#8217;ll save that python script for another post. The problem is that wmctrl malfunctioned on 64 bit systems like mine. The percieved error is:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">wmctrl <span style="color: #660033;">-d</span>
GLib-ERROR <span style="color: #000000; font-weight: bold;">**</span>: gmem.c:<span style="color: #000000;">156</span>: failed to allocate <span style="color: #000000;">1117103813820448</span> bytes
aborting...</pre></div></div>

<p>the command wmctrl -l worked for me but someone else reported he experienced problems with that as well. With some help of the Arch Linux forum a patch came up that solved the issue. You can get the patch <a href="http://www.nepherte.be/files/wmctrl-main.c.patched">here</a>. I also created a <a href="http://www.nepherte.be/files/wmctrl">pkgbuild</a> for Arch Linux to install the patched wmctrl. Other distributions can easily follow the compilation instructions inside if they&#8217;re affected by the bug as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/patching-a-bug-in-wmctrl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
