<?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>w0ng&#039;s Arch Linux Blog</title>
	<atom:link href="http://archlinux.me/w0ng/feed/" rel="self" type="application/rss+xml" />
	<link>http://archlinux.me/w0ng</link>
	<description>Just another Arch Linux Blog site</description>
	<lastBuildDate>Sun, 18 Nov 2012 12:03:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>RTMPDump: Watch live flash streams in mplayer</title>
		<link>http://archlinux.me/w0ng/2012/11/18/rtmpdump-watch-live-flash-streams-in-mplayer/</link>
		<comments>http://archlinux.me/w0ng/2012/11/18/rtmpdump-watch-live-flash-streams-in-mplayer/#comments</comments>
		<pubDate>Sun, 18 Nov 2012 11:17:49 +0000</pubDate>
		<dc:creator>w0ng</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[livestream]]></category>
		<category><![CDATA[mplayer]]></category>
		<category><![CDATA[rtmpdump]]></category>
		<category><![CDATA[rtmpsrv]]></category>

		<guid isPermaLink="false">http://archlinux.me/w0ng/?p=773</guid>
		<description><![CDATA[Flash on Linux sucks. You may find it useful to stream live flash streams to mplayer (or vlc). Example live flash stream: http://cricfree.tv/sky-sports-1-live-stream.php. Screenshot of it in mplayer: http://ompldr.org/vZ2NubA. Redirect RTMP traffic through to local port: $ sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT Start RTMP Server to hold sniffed [...]]]></description>
				<content:encoded><![CDATA[<p>Flash on Linux sucks. You may find it useful to stream live flash streams to mplayer (or vlc).</p>
<p>Example live flash stream: <a href="http://cricfree.tv/sky-sports-1-live-stream.php" target="_blank">http://cricfree.tv/sky-sports-1-live-stream.php</a>. Screenshot of it in mplayer: <a href="http://ompldr.org/vZ2NubA" target="_blank">http://ompldr.org/vZ2NubA</a>.</p>
<p>Redirect RTMP traffic through to local port:</p>
<pre><strong>$ sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT</strong></pre>
<p>Start RTMP Server to hold sniffed RTMP info:</p>
<pre><strong>$ rtmpsrv</strong>

RTMP Server v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
...</pre>
<p>Open or refresh the link to live flash stream in your web browser. The corresponding rtmpdump command output will be printed in the RTMP Server window.  e.g.</p>
<pre>...
rtmpdump -r "rtmp://212.7.212.22:1935/lb/" -a "lb/" -f "LNX 11,2,202,251" -W "http://cdn.yycast.com/player/player.swf" -p "http://www.yycast.com" -y "kjghfsdm" -o kjghfsdm.flv
...
</pre>
<p>Close RTMP Server with Ctrl-C:</p>
<pre>...
^CCaught signal: 2, cleaning up, just a second...</pre>
<p>Delete previously added iptables rule:</p>
<pre><strong>$ sudo iptables -t nat -D OUTPUT -p tcp --dport 1935 -j REDIRECT</strong></pre>
<p>Test sniffed rtmpdump command, omitting output:</p>
<pre><strong>$ rtmpdump -r "rtmp://212.7.212.22:1935/lb/" -a "lb/" -f "LNX 11,2,202,251" -W "http://cdn.yycast.com/player/player.swf" -p "http://www.yycast.com" -y "kjghfsdm"</strong>

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close
</pre>
<p>If similar errors are received, analyse sniffed command with the verbose flag, -V:</p>
<pre><strong>$ rtmpdump -r "rtmp://212.7.212.22:1935/lb/" -a "lb/" -f "LNX 11,2,202,251" -W "http://cdn.yycast.com/player/player.swf" -p "http://www.yycast.com" -y "kjghfsdm" -V</strong>

...
DEBUG: Property: &lt;Name:              level, STRING: error&gt;
DEBUG: Property: &lt;Name:               code, STRING: NetConnection.Connect.Rejected&gt;
DEBUG: Property: &lt;Name:        description, STRING: Connection failed: Application rejected connection.&gt;
DEBUG: Property: &lt;Name:                 ex, OBJECT&gt;
DEBUG: (object begin)
DEBUG: Property: &lt;Name:           redirect, STRING: rtmp://95.211.186.227:1935/live/_definst_&gt;
DEBUG: Property: &lt;Name:               code, NUMBER: 302.00&gt;
DEBUG: (object end)
DEBUG: Property: &lt;Name:           clientid, NUMBER: 1754134368.00&gt;
...
</pre>
<p>This log shows errors due to unhandled URL redirection. Update rtmpdump command to reflect direct URL:</p>
<pre><strong>$ rtmpdump -r "rtmp://95.211.186.227:1935/live/_definst_" -a "live/" -f "LNX 11,2,202,251" -W "http://cdn.yycast.com/player/player.swf" -p "http://www.yycast.com" -y "kjghfsdm" -V</strong>

...
DEBUG: Property: &lt;Name:              level, STRING: status&gt;
DEBUG: Property: &lt;Name:               code, STRING: NetConnection.Connect.Success&gt;
DEBUG: Property: &lt;Name:        description, STRING: Connection succeeded.&gt;
DEBUG: Property: &lt;Name:               data, OBJECT&gt;
...</pre>
<p>Error message is now gone. Remove verbose option. Pipe output to mplayer:  </p>
<pre><strong>$ rtmpdump -r "rtmp://95.211.186.227:1935/live/_definst_" -a "live/" -f "LNX 11,2,202,251" -W "http://cdn.yycast.com/player/player.swf" -p "http://www.yycast.com" -y "kjghfsdm" | mplayer -</strong></pre>
<p>Other things to try in case of <code>rtmpdump</code> errors:</p>
<ul>
<li>Adding the <code>--live</code> option.</li>
<li>Using <code>--port 80</code>.</li>
<li>Increase cache when piping to mplayer: <code>rtmpdump... | mplayer -cache 4096 -</code></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://archlinux.me/w0ng/2012/11/18/rtmpdump-watch-live-flash-streams-in-mplayer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Rockbox on Sansa Clip Zip: manual installation</title>
		<link>http://archlinux.me/w0ng/2012/10/04/rockbox-on-sansa-clip-zip/</link>
		<comments>http://archlinux.me/w0ng/2012/10/04/rockbox-on-sansa-clip-zip/#comments</comments>
		<pubDate>Thu, 04 Oct 2012 11:51:10 +0000</pubDate>
		<dc:creator>w0ng</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[clip zip]]></category>
		<category><![CDATA[manual]]></category>
		<category><![CDATA[rockbox]]></category>
		<category><![CDATA[sandisk]]></category>
		<category><![CDATA[sansa]]></category>

		<guid isPermaLink="false">http://archlinux.me/w0ng/?p=710</guid>
		<description><![CDATA[I purchased a 4gb Sansa Clip Zip from Amazon after researching online for a small, minimalistic, convenient mp3 player. What is Rockbox? Rockbox is an open-source firmware replacement for compatible mp3 players. It provides additional functionality, efficiency, customisability and improved playback quality. At time of writing, the only thing that hasn&#8217;t been fully ported is [...]]]></description>
				<content:encoded><![CDATA[<p>I purchased a <a href="http://www.amazon.com/SanDisk-Sansa-Clip-Player-SDMX22-004G-A57K/dp/B005FVNGRS/ref=sr_1_2?ie=UTF8&#038;qid=1349340396&#038;sr=8-2&#038;keywords=sansa+clip+zip" target="_blank">4gb Sansa Clip Zip from Amazon</a> after researching online for a small, minimalistic, convenient mp3 player.</p>
<p><strong>What is Rockbox?</strong></p>
<p><a href="http://www.rockbox.org/wiki/WhyRockbox" target="_blank">Rockbox</a> is an open-source firmware replacement for compatible mp3 players. It provides additional functionality, efficiency, customisability and improved playback quality.</p>
<p>At time of writing, the only thing that hasn&#8217;t been fully ported is the <a href="http://www.rockbox.org/wiki/SansaClip#Sansa_Clip_Zip_port_status" target="_blank">sudoku plugin</a>.</p>
<p><strong>Manual Installation</strong><br />
For automated installation, you could use the <a href="https://aur.archlinux.org/packages.php?ID=25559" target="_blank">rbutil</a> package from the AUR, which provides a simple GUI interface. However, the GUI interface has a qt dependency. I don&#8217;t use any other qt applications, so I opted for the manual installation method.</p>
<p>See the <a href="http://www.rockbox.org/wiki/SansaAMS" target="_blank">Rockbox wiki</a> for complete instructions.</p>
<ol>
<li>Ensure that the <a href="http://kb.sandisk.com/app/answers/detail/a_id/162/related/1" target="_blank">player&#8217;s USB setting</a> is on MSC (Mass Storage Class).
<pre>On the Clip Zip -> Settings -> System Settings -> USB Mode -> MSC</pre>
</li>
<li>Plug in the player and mount it as a normal user.

<div class="wp_syntax"><table><tr><td class="code"><pre class="" style="font-family:monospace;">$ sudo mount -o uid=$<span class="br0">&#40;</span>id -u<span class="br0">&#41;</span>,gid=$<span class="br0">&#40;</span>id -g<span class="br0">&#41;</span>,fmask=<span style="">113</span>,dmask=002 /dev/disk/by-label/SANSA\\x20CLIPZ /mnt/usb</pre></td></tr></table></div>

</li>
<li>Extract the firmware.

<div class="wp_syntax"><table><tr><td class="code"><pre class="" style="font-family:monospace;">$ wget http://build.rockbox.org/data/rockbox-sansaclipzip.zip -O ~/downloads/rockbox-sansaclipzip.zip
$ unzip ~/downloads/rockbox-sansaclipzip.zip -d /mnt/usb</pre></td></tr></table></div>

</li>
<li>Extract the bootloader.

<div class="wp_syntax"><table><tr><td class="code"><pre class="" style="font-family:monospace;">$ wget http://download.rockbox.org/bootloader/sandisk-sansa/mkamsboot/linux-x86-<span style="">64</span>/mkamsboot -O ~/downloads/rbinstall/mkamsboot
$ wget http://download.rockbox.org/bootloader/sandisk-sansa/clipzip/bootloader-clipzip.sansa -O ~/downloads/rbinstall/bootloader-clipzip.sansa
$ wget http://mp3support.sandisk.com/firmware/clipzip/clipzip01.01.18.zip -O ~/downloads/clipzip_of.zip
$ unzip ~/downloads/clipzip_of.zip -d ~/downloads/rbinstall</pre></td></tr></table></div>

</li>
<li>Install the bootloader.

<div class="wp_syntax"><table><tr><td class="code"><pre class="" style="font-family:monospace;">$ cd ~/downloads/rbinstall
$ chmod +x mkamsboot
$ ./mkamsboot clpza.bin bootloader-clipzip.sansa patched.bin
$ cp patched.bin /mnt/usb/clpza.bin</pre></td></tr></table></div>

</li>
<li>Unmount the player. Unplug the usb. Wait for firmware update to finish.

<div class="wp_syntax"><table><tr><td class="code"><pre class="" style="font-family:monospace;">$ sudo umount /mnt/usb</pre></td></tr></table></div>

</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://archlinux.me/w0ng/2012/10/04/rockbox-on-sansa-clip-zip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tl;dr: Why systemd?</title>
		<link>http://archlinux.me/w0ng/2012/08/31/tldr-why-systemd/</link>
		<comments>http://archlinux.me/w0ng/2012/08/31/tldr-why-systemd/#comments</comments>
		<pubDate>Fri, 31 Aug 2012 10:36:40 +0000</pubDate>
		<dc:creator>w0ng</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[systemd]]></category>
		<category><![CDATA[sysvinit]]></category>

		<guid isPermaLink="false">http://archlinux.me/w0ng/?p=673</guid>
		<description><![CDATA[What? systemd is a system and service manager for Linux, compatible with SysV and LSB init scripts. It can act as a drop-in replacement for SysVinit. Arch Linux will eventually fully migrate to systemd. When? When it&#8217;s ready. For the foreseeable future, both SysVinit and systemd will be supported. Why? (From tomegun @ Arch Forums) [...]]]></description>
				<content:encoded><![CDATA[<p>What?</p>
<ul>
<li><a href="http://freedesktop.org/wiki/Software/systemd" target="_blank">systemd</a> is a system and service manager for Linux, compatible with SysV and LSB init scripts. </li>
<li>It can act as a drop-in replacement for <a href="http://savannah.nongnu.org/projects/sysvinit" target="_blank">SysVinit</a>.</li>
<li>Arch Linux will eventually <a href="http://mailman.archlinux.org/pipermail/arch-dev-public/2012-August/023389.html" target="_blank">fully migrate to systemd</a>. </li>
</ul>
<p>When? </p>
<ul>
<li>When it&#8217;s ready. For the <a href="http://mailman.archlinux.org/pipermail/arch-dev-public/2012-April/022803.html" target="_blank">foreseeable future</a>, both SysVinit and systemd will be supported. </li>
</ul>
<p>Why?<br />
(From <a href="https://bbs.archlinux.org/viewtopic.php?pid=1149530#p1149530" target="_blank">tomegun @ Arch Forums</a>)</p>
<ul>
<li>It&#8217;s hot-pluggable.</li>
<li>It tracks all daemons and processes.</li>
<li>It&#8217;s modular.</li>
<li>It makes better use of udev and dbus.</li>
<li>It reduces dependencies between daemons.</li>
<li>It&#8217;s easier to sandbox configuration options.</li>
<li>It&#8217;s a cross-distro project.</li>
<li>It can use distro-independent service files.</li>
<li>It uses logind to properly manage user sessions.</li>
<li>It&#8217;s faster or just as fast as SysVinit for most users.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://archlinux.me/w0ng/2012/08/31/tldr-why-systemd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gist.io: Writing for hackers</title>
		<link>http://archlinux.me/w0ng/2012/08/06/gist-io-writing-for-hackers/</link>
		<comments>http://archlinux.me/w0ng/2012/08/06/gist-io-writing-for-hackers/#comments</comments>
		<pubDate>Sun, 05 Aug 2012 23:49:36 +0000</pubDate>
		<dc:creator>w0ng</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[gist]]></category>
		<category><![CDATA[gist.io]]></category>
		<category><![CDATA[markdown]]></category>
		<category><![CDATA[viewer]]></category>

		<guid isPermaLink="false">http://archlinux.me/w0ng/?p=606</guid>
		<description><![CDATA[Just recently heard of gist.io &#8211; a pastebin services that converts markdown formatted files from https://gist.github.com into HTML. Useful for those times you want to quickly share info that&#8217;s off-topic to your blog and to an audience of non manpage readers. Why markdown? It&#8217;s prettier than plain text and syntactically much simpler than html. GitHub [...]]]></description>
				<content:encoded><![CDATA[<p>Just recently heard of <a href="http://gist.io/" target="_blank">gist.io</a> &#8211; a pastebin services that converts markdown formatted files from <a href="https://gist.github.com" target="_blank">https://gist.github.com</a> into HTML.</p>
<p>Useful for those times you want to quickly share info that&#8217;s off-topic to your blog and to an audience of non manpage readers. Why markdown? It&#8217;s prettier than plain text and syntactically much simpler than html. GitHub users should like this. </p>
<p><img src="http://ompldr.org/vZjAxYQ/gistio.png" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://archlinux.me/w0ng/2012/08/06/gist-io-writing-for-hackers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vim mode in Irssi</title>
		<link>http://archlinux.me/w0ng/2012/07/14/vim-mode-in-irssi/</link>
		<comments>http://archlinux.me/w0ng/2012/07/14/vim-mode-in-irssi/#comments</comments>
		<pubDate>Fri, 13 Jul 2012 22:07:18 +0000</pubDate>
		<dc:creator>w0ng</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[irssi]]></category>
		<category><![CDATA[mode]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[vi]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://archlinux.me/w0ng/?p=360</guid>
		<description><![CDATA[I came across an Irssi script that provides vim-like keybindings for the input line. The script allows you to toggle between INSERT, COMMAND and EX modes. In my vimrc and zshrc, I&#8217;ve already got jj mapped to Esc when in INSERT mode. The Irssi script provides this mapping by setting: /set vim_mode_cmd_seq j Another useful [...]]]></description>
				<content:encoded><![CDATA[<p>I came across an Irssi script that provides vim-like keybindings for the input line.</p>
<p>The script allows you to toggle between <code>INSERT</code>, <code>COMMAND</code> and <code>EX</code> modes.</p>
<p>In my <a href="https://github.com/w0ng/vim/blob/master/vimrc" target="_blank">vimrc</a> and <a href="https://github.com/w0ng/dotfiles/blob/master/zshrc" target="_blank">zshrc</a>, I&#8217;ve already got <code>jj</code> mapped to <code>Esc</code> when in <code>INSERT</code> mode. The Irssi script provides this mapping by setting:</p>
<pre>/set vim_mode_cmd_seq j</pre>
<p>Another useful feature is the mode indicator, best used in conjunction with <a href="https://github.com/shabble/irssi-scripts/tree/master/prompt_info" target="_blank">uberprompt</a>.</p>
<p><img src="http://ompldr.org/vZXFpMw" alt="" /></p>
<p><img src="http://ompldr.org/vZXFpMg" alt="" /></p>
<p>From the <a href="https://github.com/shabble/irssi-scripts/blob/master/vim-mode/README.pod" target="_blank">README</a>, the following common keybindings are supported:</p>
<ul>
<li>Command mode: <code>Esc &lt;Ctrl-C&gt;</code></li>
<li>Cursor motion: <code>h l 0 ^ $ &lt;Space&gt; &lt;BS&gt; f t F T</code></li>
<li>History motion: <code>j k gg G gg</code></li>
<li>Cursor word motion: <code>w b ge e W gE B E</code></li>
<li>Word objects: <code>aw aW</code></li>
<li>Yank and paste: <code>C&lt;y p P&gt;</code></li>
<li>Change and delete: <code>c d</code></li>
<li>Delete at cursor: <code>x X</code></li>
<li>Replace at cursor: <code>r</code></li>
<li>Insert mode: <code>i a I A</code></li>
<li>Switch case: <code>~</code></li>
<li>Repeat change: <code>.</code></li>
<li>Repeat: <code>ftFT: ; ,</code></li>
<li>Registers: <code>"a-"z "" "0 "* "+ "_</code></li>
<li>Line-wise shortcuts: <code>dd cc yy</code></li>
<li>Shortcuts: <code>s S C D</code></li>
<li>Scroll the scrollback buffer: <code>Ctrl-E Ctrl-D Ctrl-Y Ctrl-U Ctrl-F Ctrl-B</code></li>
<li>Switch to last active window: <code>Ctrl-6/Ctrl-^</code></li>
<li>Switch split windows: <code>&lt;Ctrl-W j Ctrl-W k&gt;</code></li>
<li>Undo/Redo: <code>u Ctrl-R</code></li>
</ul>
<p>Get the script at: <a href="https://github.com/shabble/irssi-scripts/tree/master/vim-mode" target="_blank">https://github.com/shabble/irssi-scripts/tree/master/vim-mode</a></p>
]]></content:encoded>
			<wfw:commentRss>http://archlinux.me/w0ng/2012/07/14/vim-mode-in-irssi/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SSD + GPT + grub2 + systemd</title>
		<link>http://archlinux.me/w0ng/2012/07/12/ssd-gpt-grub2-systemd/</link>
		<comments>http://archlinux.me/w0ng/2012/07/12/ssd-gpt-grub2-systemd/#comments</comments>
		<pubDate>Wed, 11 Jul 2012 15:36:05 +0000</pubDate>
		<dc:creator>w0ng</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[gpt]]></category>
		<category><![CDATA[grub2]]></category>
		<category><![CDATA[ssd]]></category>
		<category><![CDATA[systemd]]></category>

		<guid isPermaLink="false">http://archlinux.me/w0ng/?p=306</guid>
		<description><![CDATA[Summary of my new Arch setup optimised for SSD. See ArchWiki for more tweaks. Background Specs: GA-EP45-DS3L, C2D E8400, 4GB DDR2, 512MB HD4850, 1x 640GB WD Black, 2x 1TB WD Green Purchased: 120GB Intel 330 SSD BIOS/UEFI settings Firmware: EFI/UEFI instead of BIOS SATA Mode: AHCI instead of IDE Pre Installation Partition: GPT instead of [...]]]></description>
				<content:encoded><![CDATA[<p>Summary of my new Arch setup optimised for SSD. See <a href="https://wiki.archlinux.org/index.php/Solid_State_Drives" target="_blank">ArchWiki</a> for more tweaks.</p>
<p><strong>Background</strong></p>
<ul>
<li>Specs: GA-EP45-DS3L, C2D E8400, 4GB DDR2, 512MB HD4850, 1x 640GB WD Black, 2x 1TB WD Green</li>
<li>Purchased: <a href="http://www.intel.com/content/www/us/en/solid-state-drives/solid-state-drives-330-series.html" target="_blank">120GB Intel 330 SSD</a></li>
</ul>
<p><strong>BIOS/UEFI settings</strong></p>
<ul>
<li>Firmware: EFI/UEFI instead of BIOS</li>
<li>SATA Mode: AHCI instead of IDE</li>
</ul>
<p><strong>Pre Installation</strong></p>
<ul>
<li>Partition: <a href="https://wiki.archlinux.org/index.php/Solid_State_Drives#Gdisk_Usage_Summary" target="_blank">GPT</a> instead of MBR</li>
</ul>
<p><strong>Arch Installation</strong></p>
<ul>
<li>Filesystem: ext2 for /boot; ext4 for the rest</li>
<li>fstab options: noatime, discard</li>
<li>Bootloader: <a href="https://wiki.archlinux.org/index.php/GRUB2" target="_blank">GRUB2</a> instead of GRUB1/GRUB Legacy</li>
</ul>
<p><strong>Post Installation</strong></p>
<ul>
<li>Init: <a href="https://wiki.archlinux.org/index.php/Systemd" target="_blank">systemd</a> instead of sysvinit</li>
<li>I/O scheduler: <a href="http://archlinux.me/w0ng/2012/07/09/udev-changing-ss-default-cfq-io-scheduler" target="_blank">noop</a> instead of cfq</li>
</ul>
<p><strong>Misc Output</strong></p>
<p>systemd-analyze, gdisk, df, fstab, ls: https://gist.github.com/3107896</p>
]]></content:encoded>
			<wfw:commentRss>http://archlinux.me/w0ng/2012/07/12/ssd-gpt-grub2-systemd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Udev: Changing SSD&#8217;s default (CFQ) I/O Scheduler</title>
		<link>http://archlinux.me/w0ng/2012/07/09/udev-changing-ss-default-cfq-io-scheduler/</link>
		<comments>http://archlinux.me/w0ng/2012/07/09/udev-changing-ss-default-cfq-io-scheduler/#comments</comments>
		<pubDate>Mon, 09 Jul 2012 06:16:17 +0000</pubDate>
		<dc:creator>w0ng</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[cfq]]></category>
		<category><![CDATA[deadline]]></category>
		<category><![CDATA[noop]]></category>
		<category><![CDATA[scheduler]]></category>
		<category><![CDATA[ssd]]></category>
		<category><![CDATA[udev]]></category>

		<guid isPermaLink="false">http://archlinux.me/w0ng/?p=296</guid>
		<description><![CDATA[Courtesy of falconindy @ #archlinux 1 2 3 4 5 # set a larger readahead size ACTION==&#34;add&#124;change&#34;, KERNEL==&#34;sd[a-z]&#34;, ATTR&#123;queue/read_ahead_kb&#125;=&#34;1024&#34; &#160; # set deadline scheduler for non-rotating disks ACTION==&#34;add&#124;change&#34;, KERNEL==&#34;sd[a-z]&#34;, ATTR&#123;queue/rotational&#125;==&#34;0&#34;, ATTR&#123;queue/scheduler&#125;=&#34;deadline&#34; To verify: $ cat /sys/block/sda/queue/scheduler noop &#91;deadline&#93; cfq]]></description>
				<content:encoded><![CDATA[<p>Courtesy of falconindy @ #archlinux</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># set a larger readahead size</span>
<span style="color: #007800;">ACTION</span>==<span style="color: #ff0000;">&quot;add|change&quot;</span>, <span style="color: #007800;">KERNEL</span>==<span style="color: #ff0000;">&quot;sd[a-z]&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span>queue<span style="color: #000000; font-weight: bold;">/</span>read_ahead_kb<span style="color: #7a0874; font-weight: bold;">&#125;</span>=<span style="color: #ff0000;">&quot;1024&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># set deadline scheduler for non-rotating disks</span>
<span style="color: #007800;">ACTION</span>==<span style="color: #ff0000;">&quot;add|change&quot;</span>, <span style="color: #007800;">KERNEL</span>==<span style="color: #ff0000;">&quot;sd[a-z]&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span>queue<span style="color: #000000; font-weight: bold;">/</span>rotational<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;0&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span>queue<span style="color: #000000; font-weight: bold;">/</span>scheduler<span style="color: #7a0874; font-weight: bold;">&#125;</span>=<span style="color: #ff0000;">&quot;deadline&quot;</span></pre></td></tr></table></div>

<p>To verify:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="" style="font-family:monospace;">$ cat /sys/block/sda/queue/scheduler
noop <span class="br0">&#91;</span>deadline<span class="br0">&#93;</span> cfq</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://archlinux.me/w0ng/2012/07/09/udev-changing-ss-default-cfq-io-scheduler/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ALSA: Switch audio output to USB Headset</title>
		<link>http://archlinux.me/w0ng/2012/07/06/alsa-switch-audio-usb-headset/</link>
		<comments>http://archlinux.me/w0ng/2012/07/06/alsa-switch-audio-usb-headset/#comments</comments>
		<pubDate>Thu, 05 Jul 2012 13:11:36 +0000</pubDate>
		<dc:creator>w0ng</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[alsa]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[automatic]]></category>
		<category><![CDATA[default]]></category>
		<category><![CDATA[headset]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://archlinux.me/w0ng/?p=267</guid>
		<description><![CDATA[I recently purchased a USB headset. Here&#8217;s how to get it working with ALSA, manually and automatically. Manually: (From ALSA ArchWiki) Load module: # modprobe snd_usb_audio Verify that module is loaded: $ lsmod &#124; grep snd_usb_audio snd_usb_audio 93519 3 ... Find corresponding card ID: $ aplay -l **** List of PLAYBACK Hardware Devices **** ... [...]]]></description>
				<content:encoded><![CDATA[<p>I recently purchased a USB headset.<br />
Here&#8217;s how to get it working with ALSA, manually and automatically.</p>
<p><strong>Manually:</strong></p>
<p>(From <a href="https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture" target="_blank">ALSA ArchWiki</a>)</p>
<p>Load module:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="" style="font-family:monospace;"># modprobe snd_usb_audio</pre></td></tr></table></div>

<p>Verify that module is loaded:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="" style="font-family:monospace;">$ lsmod | grep snd_usb_audio
snd_usb_audio          <span style="">93519</span>  <span style="">3</span> 
...</pre></td></tr></table></div>

<p>Find corresponding card ID:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="" style="font-family:monospace;">$ aplay -l
**** List of PLAYBACK Hardware Devices ****
...
card <span style="">2</span>: P780 <span class="br0">&#91;</span>Plantronics GameCom <span style="">780</span><span class="br0">&#93;</span>, device <span style="">0</span>: USB Audio <span class="br0">&#91;</span>USB Audio<span class="br0">&#93;</span>
  Subdevices: <span style="">0</span>/<span style="">1</span>
  Subdevice #<span style="">0</span>: subdevice #<span style="">0</span></pre></td></tr></table></div>

<p>Set card ID as default audio device in <code>~/.asoundrc</code>:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="ini" style="font-family:monospace;">defaults.ctl.card <span style="">2</span>
defaults.pcm.card <span style="">2</span></pre></td></tr></table></div>

<p>The manual method works fine if the headset is always plugged in.</p>
<p><strong>Automatically:</strong></p>
<p>It would be better if we could automatically change the default audio device based on whether the USB headset is plugged in or not. This can be achieved by using <a href="https://bbs.archlinux.org/viewtopic.php?pid=763244#p763244" target="_blank">udev rules</a>.</p>
<p>Add the following to <code>/etc/udev/rules.d/00-local.rules</code>:</p>
<pre># Set USB headset as default sound card when plugged in
KERNEL=="pcmC[D0-9cp]*", ACTION=="add", PROGRAM="/bin/sh -c 'K=%k; K=$${K#pcmC}; K=$${K%%D*}; echo defaults.ctl.card $$K &gt; /etc/asound.conf; echo defaults.pcm.card $$K &gt;&gt;/etc/asound.conf'"

# Restore default sound card when USB headset unplugged
KERNEL=="pcmC[D0-9cp]*", ACTION=="remove", PROGRAM="/bin/sh -c 'echo defaults.ctl.card 0 &gt; /etc/asound.conf; echo defaults.pcm.card 0 &gt;&gt;/etc/asound.conf'"</pre>
<p>udev automatically detects changes to rules. However, you will need to unplug and replug the headset for changes to be be triggered.</p>
<p>Audio applications need to be restarted whenever default card changes. If anyone knows a way of switching audio devices without restarting applications (using ALSA, not Pulseaudio), please let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://archlinux.me/w0ng/2012/07/06/alsa-switch-audio-usb-headset/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DWM: A pretty statusbar</title>
		<link>http://archlinux.me/w0ng/2012/05/01/dwm-a-pretty-statusbar/</link>
		<comments>http://archlinux.me/w0ng/2012/05/01/dwm-a-pretty-statusbar/#comments</comments>
		<pubDate>Tue, 01 May 2012 11:27:55 +0000</pubDate>
		<dc:creator>w0ng</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[dwm]]></category>
		<category><![CDATA[pretty]]></category>
		<category><![CDATA[statusbar]]></category>

		<guid isPermaLink="false">http://archlinux.me/w0ng/?p=189</guid>
		<description><![CDATA[dwm uses xsetroot to pipe text into its statusbar. By default, the statusbar does not support colours and does not support xbm icons. You could get this functionality by using third party apps such as dzen with conky. To get this functionality natively within dwm 6.0: Patch your dwm config with jasonwryan&#8217;s statuscolors-6.0 Take a [...]]]></description>
				<content:encoded><![CDATA[<p>dwm uses <code>xsetroot</code> to pipe text into its statusbar.<br />
By default, the statusbar does not support colours and does not support xbm icons.<br />
You could get this functionality by using third party apps such as <a href="http://sites.google.com/site/gotmor/dzen" target="_blank">dzen</a> with <a href="http://conky.sourceforge.net/" target="_blank">conky</a>.</p>
<p>To get this functionality natively within <strong>dwm 6.0</strong>:</p>
<ul>
<li>Patch your dwm config with jasonwryan&#8217;s <a href="http://beta.intuxication.org/hg/jasonwryan/archer/file/322deebe90ff/Build/dwm/statuscolors-6.0.diff" target="_blank">statuscolors-6.0</a></li>
<li>Take a look at jasonwryan&#8217;s <a href="https://bitbucket.org/jasonwryan/eeepc/src/241da582a0fd/Scripts/dwm-status" target="_blank">dwm-status</a> script the <a href="http://dzen.geekmode.org/dwiki/doku.php?id=dzen:dzen-and-xmonad" target="_blank">dzen</a> website for some ideas of what text can be piped</li>
<li>Follow <a href="https://bbs.archlinux.org/viewtopic.php?pid=724236#p724236" target="_blank">Lokaltag&#8217;s tutorial</a> to draw symbols into your favourite bitmap font.</li>
<li>Look at dzen&#8217;s <a href="http://dzen.geekmode.org/dwiki/doku.php?id=dzen:icon-packs" target="_blank">icon packs</a> for some ideas of what can be drawn.</li>
</ul>
<p>Here&#8217;s what my statusbar currently looks like (click for full length image):<br />
<a href="http://dl.dropbox.com/u/23813887/statusbar.png" target="_blank"><img src="http://dl.dropbox.com/u/23813887/statusbar-thumb.png" alt="" /></a></p>
<p>For the lazy, here&#8217;s how to get the statusbar to look like the above:</p>
<ol>
<li>Save font as <code>~/.fonts/terminus2.bdf</code>:<br />
<a href="https://github.com/w0ng/dwm/blob/master/terminus2.bdf" target="_blank">https://github.com/w0ng/dwm/blob/master/terminus2.bdf</a></li>
<li>Update font cache:</li>

<div class="wp_syntax"><table><tr><td class="code"><pre class="" style="font-family:monospace;">$ xset +fp ~/.fonts
# fc-cache -fv</pre></td></tr></table></div>

</li>
<li>Save script as <code>~/.dwm-statusbar.bash</code>:<br />
<a href="https://github.com/w0ng/bin/blob/master/dwm-statusbar" target="_blank">https://github.com/w0ng/bin/blob/master/dwm-statusbar</a></li>
<li>Allow script to be executed:

<div class="wp_syntax"><table><tr><td class="code"><pre class="" style="font-family:monospace;">$ chmod +x ~/.dwm-statusbar.bash</pre></td></tr></table></div>

</li>
<li>Apply jasonwryan&#8217;s <a href="http://beta.intuxication.org/hg/jasonwryan/archer/file/322deebe90ff/Build/dwm/statuscolors-6.0.diff" target="_blank">statuscolors-6.0 patch</a></li>
<li>Change font and statuscolors options in <code>dwm/config.h</code>:

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="c" style="font-family:monospace;">...
<span style="color: #808080; font-style: italic;">/* appearance */</span>
<span style="color: #993333;">static</span> <span style="color: #993333;">const</span> <span style="color: #993333;">char</span> font<span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span>            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;-*-terminus2-medium-r-*-*-12-*-*-*-*-*-*-*&quot;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">#define NUMCOLORS 6</span>
<span style="color: #993333;">static</span> <span style="color: #993333;">const</span> <span style="color: #993333;">char</span> colors<span style="color: #009900;">&#91;</span>NUMCOLORS<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>ColLast<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000dd;">8</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #666666; font-style: italic;">// border foreground background</span>
  <span style="color: #009900;">&#123;</span> <span style="color: #ff0000;">&quot;#073642&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;#657b83&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;#002b36&quot;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// 1 = normal (grey on black)</span>
  <span style="color: #009900;">&#123;</span> <span style="color: #ff0000;">&quot;#b58900&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;#eee8d5&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;#002b36&quot;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// 2 = selected (white on black)</span>
  <span style="color: #009900;">&#123;</span> <span style="color: #ff0000;">&quot;#dc322f&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;#002b36&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;#b58900&quot;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// 3 = urgent (black on yellow)</span>
  <span style="color: #009900;">&#123;</span> <span style="color: #ff0000;">&quot;#073642&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;#839496&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;#073642&quot;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// 4 = lightgrey on brightblack</span>
  <span style="color: #009900;">&#123;</span> <span style="color: #ff0000;">&quot;#073642&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;#073642&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;#002b36&quot;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// 5 = brightblack on black</span>
  <span style="color: #009900;">&#123;</span> <span style="color: #ff0000;">&quot;#073642&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;#002b36&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;#073642&quot;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// 6 = black on brightblack</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
...</pre></td></tr></table></div>

<li>Add statusbar script to <code>~/.xinitrc</code>:
<pre>~/.dwm-statusbar.bash &amp;</pre>
</li>
<li>Restart X</li>
</ol>
<p><strong>Edit: This appears to be a better solution (I haven&#8217;t tried it yet, though): <a href="https://bbs.archlinux.org/viewtopic.php?pid=1096029#p1096029" target="_blank">https://bbs.archlinux.org/viewtopic.php?pid=1096029#p1096029</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://archlinux.me/w0ng/2012/05/01/dwm-a-pretty-statusbar/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Better dircolors with Solarized</title>
		<link>http://archlinux.me/w0ng/2012/04/21/better-dircolors-with-solarized/</link>
		<comments>http://archlinux.me/w0ng/2012/04/21/better-dircolors-with-solarized/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 10:00:18 +0000</pubDate>
		<dc:creator>w0ng</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[dircolors]]></category>
		<category><![CDATA[solarized]]></category>
		<category><![CDATA[zsh]]></category>

		<guid isPermaLink="false">http://archlinux.me/w0ng/?p=171</guid>
		<description><![CDATA[When using the recommended Solarized colours in ~/.Xresources, dircolors output isn&#8217;t very distinguishable. Here&#8217;s what it looks like: Here&#8217;s what we want: Copy the default dircolors to $HOME $ dircolors -p &#62; ~/.dir_colours Make the following changes to ~/.dir_colours 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [...]]]></description>
				<content:encoded><![CDATA[<p>When using the <a href="https://github.com/altercation/solarized/blob/master/xresources-colors-solarized/Xresources" target="_blank">recommended Solarized colours</a> in <code>~/.Xresources</code>, dircolors output isn&#8217;t very distinguishable. </p>
<p>Here&#8217;s what it looks like:<br />
<img src="http://dl.dropbox.com/u/23813887/dircolors1.png" alt="" /></p>
<p>Here&#8217;s what we want:<br />
<img src="http://dl.dropbox.com/u/23813887/dircolors2.png" alt="" /></p>
<p>Copy the default dircolors to <code>$HOME</code></p>
<pre>$ dircolors -p &gt; ~/.dir_colours</pre>
<p>Make the following changes to <code>~/.dir_colours</code></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
</pre></td><td class="code"><pre class="diff" style="font-family:monospace;"><span style="color: #888822;">--- .dir_colours.orig	2012-04-21 19:48:39.029808008 +1000</span>
<span style="color: #888822;">+++ .dir_colours	2012-04-21 18:28:38.645813921 +1000</span>
<span style="color: #440088;">@@ -68,8 +68,8 @@ TERM xterm-debian</span>
 #NORMAL 00 # no color code at all
 #FILE 00 # regular file: use no color at all
 RESET <span style="">0</span> # reset to &quot;normal&quot; color
<span style="color: #991111;">-DIR 01;34 # directory</span>
<span style="color: #991111;">-LINK 01;36 # symbolic link. <span style="">&#40;</span>If you set this to 'target' instead of a</span>
<span style="color: #00b000;">+DIR 00;34 # directory</span>
<span style="color: #00b000;">+LINK 00;36 # symbolic link. <span style="">&#40;</span>If you set this to 'target' instead of a</span>
  # numerical value, the color is as for the file pointed to.<span style="">&#41;</span>
 MULTIHARDLINK 00 # regular file with more than one link
 FIFO <span style="">40</span>;<span style="">33</span> # pipe
<span style="color: #440088;">@@ -<span style="">85</span>,<span style="">7</span> +<span style="">85</span>,<span style="">7</span> @@ STICKY_OTHER_WRITABLE <span style="">30</span>;42 # dir that i</span>
 OTHER_WRITABLE <span style="">34</span>;<span style="">42</span> # dir that is other-writable <span style="">&#40;</span>o+w<span style="">&#41;</span> and not sticky
 STICKY <span style="">37</span>;<span style="">44</span> # dir with the sticky bit set <span style="">&#40;</span>+t<span style="">&#41;</span> and not other-writable
 # This is for files with execute permission:
<span style="color: #991111;">-EXEC 01;32</span>
<span style="color: #00b000;">+EXEC 00;32</span>
 # List any file extensions like '.gz' or '.tar' that you would like ls
 # to colorize below. Put the extension, a space, and the color init string.
 # <span style="">&#40;</span>and any comments you want to add after a '#'<span style="">&#41;</span>
<span style="color: #440088;">@@ -<span style="">184</span>,<span style="">19</span> +<span style="">184</span>,<span style="">19</span> @@ EXEC 01;32</span>
 .ogv 01;<span style="">35</span>
 .ogx 01;<span style="">35</span>
 # audio formats
<span style="color: #991111;">-.aac 00;36</span>
<span style="color: #991111;">-.au 00;36</span>
<span style="color: #991111;">-.flac 00;36</span>
<span style="color: #991111;">-.mid 00;36</span>
<span style="color: #991111;">-.midi 00;36</span>
<span style="color: #991111;">-.mka 00;36</span>
<span style="color: #991111;">-.mp3 00;36</span>
<span style="color: #991111;">-.mpc 00;36</span>
<span style="color: #991111;">-.ogg 00;36</span>
<span style="color: #991111;">-.ra 00;36</span>
<span style="color: #991111;">-.wav 00;36</span>
<span style="color: #00b000;">+.aac 00;33</span>
<span style="color: #00b000;">+.au 00;33</span>
<span style="color: #00b000;">+.flac 00;33</span>
<span style="color: #00b000;">+.mid 00;33</span>
<span style="color: #00b000;">+.midi 00;33</span>
<span style="color: #00b000;">+.mka 00;33</span>
<span style="color: #00b000;">+.mp3 00;33</span>
<span style="color: #00b000;">+.mpc 00;33</span>
<span style="color: #00b000;">+.ogg 00;33</span>
<span style="color: #00b000;">+.ra 00;33</span>
<span style="color: #00b000;">+.wav 00;33</span>
 # http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
<span style="color: #991111;">-.axa 00;36</span>
<span style="color: #991111;">-.oga 00;36</span>
<span style="color: #991111;">-.spx 00;36</span>
<span style="color: #991111;">-.xspf 00;36</span>
<span style="color: #00b000;">+.axa 00;33</span>
<span style="color: #00b000;">+.oga 00;33</span>
<span style="color: #00b000;">+.spx 00;33</span>
<span style="color: #00b000;">+.xspf 00;33</span></pre></td></tr></table></div>

<p>Finally, run the following line to append to the colours to <code>~/.bashrc</code> or <code>~/.zshrc</code>:</p>
<pre>$ echo "eval $(dircolors ~/.dir_colours)" &gt;&gt; ~/.zshrc</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://archlinux.me/w0ng/2012/04/21/better-dircolors-with-solarized/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
