<?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>BombStrike's blog &#187; Archlinux</title>
	<atom:link href="http://www.bombstrike.org/tag/archlinux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bombstrike.org</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 07 Mar 2010 22:44:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to use two different computers with two differents OSes seemlessly</title>
		<link>http://www.bombstrike.org/2009/03/how-to-use-two-different-computers-with-two-differents-oss-seemlessly/</link>
		<comments>http://www.bombstrike.org/2009/03/how-to-use-two-different-computers-with-two-differents-oss-seemlessly/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 12:49:11 +0000</pubDate>
		<dc:creator>Christophe Robin</dc:creator>
				<category><![CDATA[Archlinux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[pulse]]></category>
		<category><![CDATA[pulseaudio]]></category>
		<category><![CDATA[synergy]]></category>

		<guid isPermaLink="false">http://www.bombstrike.org/?p=114</guid>
		<description><![CDATA[At home I have two computers, one on ArchLinux for work, and one under Vista for games. But switching between the two is really confusing when we&#8217;re a little tired, so I decided that I&#8217;d use only one soundcard, keyboard and mouse on the two computers&#8230;
I&#8217;m gonna explain you how to do this, in this [...]]]></description>
			<content:encoded><![CDATA[<p>At home I have two computers, one on ArchLinux for work, and one under Vista for games. But switching between the two is really confusing when we&#8217;re a little tired, so I decided that I&#8217;d use only one soundcard, keyboard and mouse on the two computers&#8230;</p>
<p>I&#8217;m gonna explain you how to do this, in this tutorial I&#8217;ll use my windows box as the &#8220;master&#8221; as it has the best soundcard, keyboard and such of the two computers. Let&#8217;s starts:</p>
<p><strong>Keyboard and Mouse</strong></p>
<p>Keyboard and Mouse are probably the easiest part of this &#8211; Synergy is a small utility that allow you to share a mouse/keyboard between multiple computers, download the binary for windows and launch it, there set the computer as a server, and click configure. Set two screens, for the name use the hostnames of each computers, then create two links like in the following screenshot:</p>
<p>Don&#8217;t forget to create the two links ! Or when you&#8217;ll switch one the second computer, you will not be able to go back <img src='http://www.bombstrike.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Then on our archlinux box, do the following:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">pacman -S synergy<br />
synergyc 192.168.xxx.xxx</div></div>
<p>That will launch the synergy client and connect to your server and voila, you can use only one keyboard/mouse between the two computers. Don&#8217;t forget to setup autostart in synergy on Windows, and add the client command in the Gnome Session Manager. Now it&#8217;s time to take care of the sound.</p>
<p><strong>Using the sound over the network</strong></p>
<p>Here is the hard part, setting up the sound over the network is a long task. First, download pulseaudio for windows <a href="http://www.cendio.com/pulseaudio/" target="_blank">here</a>. Extract the thing in a folder like C:\pulseaudio then create a config file named <em>default.pa</em> containing the following:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">load-module module-native-protocol-tcp listen=0.0.0.0<br />
load-module module-waveout</div></div>
<p>And put it in this folder. The first line tells pulseaudio to listen to all connections on the local network while the second line allow us to output sound. Next step is to double-click on <em>pulseaudio.exe</em> &#8211; Don&#8217;t paye attention to the warnings and go to C:\Users\&lt;username&gt; on Vista or C:\Document And Settings\&lt;username&gt; on previous windows then copy the .pulse-cookie here ( create by pulseaudio.exe ) to /etc/pulse-cookie on your linux box ( using WinSCP for example ). You can now add pulseaudio.exe to windows start ( there are lots of softs out there allowing it, just use whatever you want ) and we&#8217;re done with the windows box.</p>
<p>Now for our archlinux, we need to works on lots of things, let&#8217;s start on installing/configuring pulse:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">pacman -S pulseaudio padevchooser paman paprefs pavucontrol pavumeter</div></div>
<p>Then add to your rc.conf</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">DAEMONS=(... avahi-daemon pulseaudio)</div></div>
<p>Avahi is needed for network communications in pulse. Now change our cookie modes:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">chown pulse:pulse-access /etc/pulse-cookie<br />
cmod 0640 /etc/pulse-cookie</div></div>
<p>And finally setup pulseaudio by editing <em>/etc/pulse/client.conf</em>:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cookie-file = /etc/pulse-cookie<br />
default-server = 192.168.xxx.xxx # change this to your windows box ip</div></div>
<p>We are now done with pulse itself. Don&#8217;t forget to add your users to the <strong>pulse-access</strong> group.<br />
Let&#8217;s configure ALSA to use Pulse by editing <em>/etc/asound.conf</em> ( create it if it doesn&#8217;t exists ) and add the following lines:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">pcm.pulse {<br />
&nbsp; &nbsp; type pulse<br />
}<br />
ctl.pulse {<br />
&nbsp; &nbsp; type pulse<br />
}<br />
<br />
pcm.!default {<br />
&nbsp; &nbsp; type pulse<br />
}<br />
ctl.!default {<br />
&nbsp; &nbsp; type pulse<br />
}</div></div>
<p>With all that, you should be ok, try launching mplayer using the -ao=alsa flag and you should hear the sound on your windows box <img src='http://www.bombstrike.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.bombstrike.org/2009/03/how-to-use-two-different-computers-with-two-differents-oss-seemlessly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ArchLinux on the EEE 1000 *updated*</title>
		<link>http://www.bombstrike.org/2009/02/archlinux-on-the-eee-1000/</link>
		<comments>http://www.bombstrike.org/2009/02/archlinux-on-the-eee-1000/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 16:23:00 +0000</pubDate>
		<dc:creator>Christophe Robin</dc:creator>
				<category><![CDATA[Archlinux]]></category>
		<category><![CDATA[1000]]></category>
		<category><![CDATA[compiz]]></category>
		<category><![CDATA[eee]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://bombstrike.wordpress.com/?p=4</guid>
		<description><![CDATA[2 weeks ago, I bought a shiny ASUS EEE PC 1000H, it looked big enough to do fun things, and the 160Go hard-drive of the Windows version was way better than what other versions could offer us. First thing I did was reinstall the whole thing under ArchLinux, my favorite linux distro.
I took the latest [...]]]></description>
			<content:encoded><![CDATA[<p>2 weeks ago, I bought a shiny ASUS EEE PC 1000H, it looked big enough to do fun things, and the 160Go hard-drive of the Windows version was way better than what other versions could offer us. First thing I did was reinstall the whole thing under ArchLinux, my favorite linux distro.</p>
<p>I took the latest archboot, and within 30 minutes I was booting on my shell, archboot using the 2.6.28 kernel, most of the hardware was working, I plugged to the internet and started installing xorg, gnome and gdm. Most people are saying that GNOME on the EEE is useless because of the screen size, but with a little tweaking, you can get really nice results. Here is what I got after working for several hours:</p>

<a href='http://www.bombstrike.org/2009/02/archlinux-on-the-eee-1000/gdm-screenshot/' title='GDM Login manager'><img width="150" height="150" src="http://www.bombstrike.org/wp-content/uploads/2009/02/gdm-screenshot-150x150.png" class="attachment-thumbnail" alt="" title="GDM Login manager" /></a>
<a href='http://www.bombstrike.org/2009/02/archlinux-on-the-eee-1000/eee_desktop/' title='EEE Desktop'><img width="150" height="150" src="http://www.bombstrike.org/wp-content/uploads/2009/02/eee_desktop-150x150.png" class="attachment-thumbnail" alt="" title="EEE Desktop" /></a>
<a href='http://www.bombstrike.org/2009/02/archlinux-on-the-eee-1000/eee_deskswitch/' title='Compiz desktop switcher'><img width="150" height="150" src="http://www.bombstrike.org/wp-content/uploads/2009/02/eee_deskswitch-150x150.png" class="attachment-thumbnail" alt="" title="Compiz desktop switcher" /></a>

<p>Once gnome installed, I had somes issues with Fn-Keys preventing me to set the sound or luminosity without overlays bugs and such, to prevent this, install the &#8220;acpi-eee&#8221; package from aur, add eee to the DAEMONS variable in rc.conf and you&#8217;ll be ready to go.</p>
<p>So, now GNOME isn&#8217;t really pretty when just installed, so we&#8217;re gonna take care of that. First install the xf86-video-intel package from extra, then install compiz-fusion. You&#8217;ll need to add the following lines to the &#8220;Device&#8221; section of your xorg.conf file:</p>
<div class="codecolorer-container xorg_conf default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="xorg_conf codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #b1b100;">Section</span> <span style="color: #0000ff;">&quot;Device&quot;</span><br />
&nbsp; &nbsp; <span style="color: #adadad; font-style: italic;"># ... normal config here</span><br />
&nbsp; &nbsp; <span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;MigrationHeuristic&quot;</span> <span style="color: #0000ff;">&quot;greedy&quot;</span><br />
&nbsp; &nbsp; <span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;AccelMethod&quot;</span> <span style="color: #0000ff;">&quot;exa&quot;</span><br />
&nbsp; &nbsp; <span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;ExaNoComposite&quot;</span> <span style="color: #0000ff;">&quot;false&quot;</span><br />
<span style="color: #b1b100;">EndSection</span></div></div>
<p>Then add fusion-icon inside the Gnome Session Manager. You can now look on gnome-look.org for themes, I use the GNOME colors backgrounds and icons.</p>
<p>You should also look toward the &#8220;<a title="Splashy" href="http://wiki.archlinux.org/index.php/Splashy" target="_blank">splashy</a>&#8221; package, it adds a nice splash when booting arch and the themes are easily editable.</p>
<p><strong>Update:</strong> Info about the wifi<br />
Using the wifi is not something very hard, first plug your EEE using an ethernet cable, then with yaourt, fetch the aur package named rt2860 and install <a href="http://wiki.archlinux.org/index.php/NetworkManager">NetworkManager</a> with the corresponding applet for your WM, and you should be ok.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bombstrike.org/2009/02/archlinux-on-the-eee-1000/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
