<?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>Jamie's Weblog &#187; Linux</title>
	<atom:link href="http://jamie.ideasasylum.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamie.ideasasylum.com</link>
	<description>Jamie's thoughts, ideas, musings and utter drivel.  Procrastination with a purpose!</description>
	<lastBuildDate>Sat, 28 Jan 2012 23:35:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Impression of a Git</title>
		<link>http://jamie.ideasasylum.com/2010/01/impression-of-a-git/</link>
		<comments>http://jamie.ideasasylum.com/2010/01/impression-of-a-git/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 15:49:33 +0000</pubDate>
		<dc:creator>Jamie Lawrence</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[git svn]]></category>

		<guid isPermaLink="false">http://jamie.ideasasylum.com/?p=1103</guid>
		<description><![CDATA[Git, in case you don&#8217;t know and haven&#8217;t met a recent Git zealot, is the latest/greatest/coolest/funkiest SCM ever invented. Personally, I think Subversion still has a lot going for it for individuals but I&#8217;ve moved two project to Git for the following reasons: Heroku (a Ruby on Rails host) uses Git as its deployment mechanism [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Git homepage" href="http://git-scm.com/">Git</a>, in case you don&#8217;t know and haven&#8217;t met a recent Git zealot, is the latest/greatest/coolest/funkiest SCM ever invented. Personally, I think Subversion still has a lot going for it for individuals but I&#8217;ve moved two project to Git for the following reasons:</p>
<ol>
<li><a title="Heroku homepage" href="http://heroku.com">Heroku</a> (a Ruby on Rails host) uses Git as its deployment mechanism</li>
<li>Git supports branches as a more native concept than Subversion</li>
</ol>
<p>Here&#8217;s a few things I&#8217;ve noticed about Git:</p>
<ol>
<li> The wording seems off:
<ul>
<li> git checkout &lt;mybranch&gt; is used to change between branches in your working copy. In Subversion, checkout is what you do to get an initial copy of the repository. git switch &lt;mybranch&gt; seems like a more accurate command.</li>
<li> By default, Git doesn&#8217;t commit the changed files. You need to call git add &lt;my file/path&gt; to add those files to the commit. If you delete a file, you call git rm &lt;my file&gt; to add the removal of the file to the commit. To remove the file from the commit, you call git checkout&#8230; it just seems quite confusing. I like the way this prevents files being accidently committed but I think it could have been made clearer. If you want Git to behave like svn, you call git commit -a</li>
<li>git branch &lt;my branch&gt; actually creates the branch rather than changes to it.</li>
</ul>
</li>
<li> Because Git is a distributed SCM, the branches you create locally are not necessarily present on a remote copy of the repository. Likewise, if you git pull a remote repository, you don&#8217;t automatically get the branches. The worst thing is tagging. This is very useful for marking releases but tags are not pushed to a remote repo unless you pass an optional flag. This seems dangerous because if you forget this flag the tag only exists on your computer and not the master repository.</li>
<li> Also, it&#8217;s worth remembering that Git isn&#8217;t during a remote backup of your code until you actually do a push to a remote server</li>
<li> Annoyingly, when you switch branches using git checkout, it doesn&#8217;t seem to warn of uncommitted files (or, as is Git&#8217;s way, it might warn but does it anyway). This has led to some unintended contamination between branches and is just something to watch out for.</li>
<li> Unlike Subversion, the cmd-line really is the best way to experience Git. I used the nbGit plugin for Netbeans but found it incredibly slow and clunky. Perhaps better tools will arrive.</li>
<li> The main hosting site for Git is <a title="GitHub homepage" href="http://github.xom">Github</a> which is great for open source projects (social forking!) but I&#8217;ve chosen <a title="Codebase homepage" href="http://codebasehq.com">Codebase</a> as I can host Git and Subversion projects, along with their associated tickets and milestones. Codebase can also do an automatic push which I might use to ensure each push to the production repository is pushed onto Heroku.</li>
<li> Worryingly, I have managed to corrupt my local repo though it might have been due to a power failure</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://jamie.ideasasylum.com/2010/01/impression-of-a-git/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux on a HP dv1265EA Laptop (SUSE 9.3)</title>
		<link>http://jamie.ideasasylum.com/2005/08/linux-on-a-hp-dv1265ea-laptop-suse-93/</link>
		<comments>http://jamie.ideasasylum.com/2005/08/linux-on-a-hp-dv1265ea-laptop-suse-93/#comments</comments>
		<pubDate>Thu, 04 Aug 2005 11:43:00 +0000</pubDate>
		<dc:creator>Jamie Lawrence</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.jamie.ideasasylum.com/testblog/2005/08/linux-on-a-hp-dv1265ea-laptop-suse-93/</guid>
		<description><![CDATA[Trying to run Linux on my new HP laptop !http://h10010.www1.hp.com/wwpc/images/emea/hp-pavilion-dv1000-notebook-pc-series_190x170.jpg! !/notebook/images/21.png! bq. This article will be updated as and when I discover something new. If there&#8217;s something that&#8217;s not mentioned, I probably haven&#8217;t tried it yet. Please leave questions, advice or comments at the end of this page. h2. Overview The &#8220;HP dv1265EA&#8221;:http://h10010.www1.hp.com/wwpc/uk/en/ho/WF06b/21675-38187-38191-38191-38191-12153622-38843771.html is a [...]]]></description>
			<content:encoded><![CDATA[<p>Trying to run Linux on my new HP laptop</p>
<p>!http://h10010.www1.hp.com/wwpc/images/emea/hp-pavilion-dv1000-notebook-pc-series_190x170.jpg! !/notebook/images/21.png!</p>
<p><span id="more-886"></span>bq. This article will be updated as and when I discover something new. If there&#8217;s something that&#8217;s not mentioned, I probably haven&#8217;t tried it yet.  Please leave questions, advice or comments at the end of this page.</p>
<p>h2. Overview</p>
<p>The &#8220;HP dv1265EA&#8221;:http://h10010.www1.hp.com/wwpc/uk/en/ho/WF06b/21675-38187-38191-38191-38191-12153622-38843771.html is a centrino-based, 14&#8243; widescreen laptop with a reasonable combination of power, lightness, media-ability and price.    I bought mine from &#8220;dabs.com&#8221;:http://www.dabs.com.</p>
<p>&#8220;SUSE Linux 9.3 Professional&#8221;:http://www.novell.com/products/linuxprofessional/index.html was released in early 2005 and can be &#8220;downloaded free of charge&#8221;:http://www.novell.com/products/linuxprofessional/downloads/suse_linux/index.html as 5 ISO files.  I found that I needed all 5 CDs but that might have been the extra packages (mostly LaTeX-related) that I installed.</p>
<p>*Note*: I use Windows most of the time, through force of habit and generally unsatisfactory experiences with linux on a desktop,  but I always like to have a Linux installation on a laptop, just in case Windows throws a hissy-fit.  I&#8217;m not a *nix expert, but I&#8217;ve developed on Solaris, I run my website on Linux and I&#8217;ve tried versions of Linux on laptops since Mandrake 8.  I initially tried &#8220;Ubuntu&#8221;:http://ubuntu.com/ 5.04 but I think I&#8217;d prefer a fuller-featured distro.</p>
<p>*Note*: My laptop is at home where I only have dial-up access.  Therefore I&#8217;m not making use of YaST Online Update, at least until I can get the modem working.  At some point I might bring it within range of an Ethernet socket or wireless network.</p>
<p>h3. Laptop specifications</p>
<p>p{color:red}. To be added</p>
<p>They can be found &#8220;on the HP site&#8221;:http://h10010.www1.hp.com/wwpc/uk/en/ho/WF06a/21675-38187-38191-38191-38191-12153622.html.</p>
<p>h2. Installation</p>
<p>The laptop comes with a single c: partitioned as NTFS and a ~200MB partition for the embedded media player (MP3&#8242;s and DVD&#8217;s).  I had already partitioned the laptop into two: c: for programs and e: for content, documents, music etc.  YaST (the SUSE installer) was able to resize the NTFS partitions but *not move* them (I wanted to shrink c:, move e:, and install SUSE in the free space).  I used &#8220;Acronis&#8221;:http://www.acronis.com OS Selector 8 (the precursor to &#8220;Disk Director Suite 9&#8243;:http://www.acronis.com/homecomputing/products/diskdirector/) to do this resize/move maneuver and then reran YaST and installed into the free space.</p>
<p>h2. Hardware</p>
<p>h3. LCD Screen</p>
<p>When prompted by YaST, configure the screen to be a &#8220;LCD Screen&#8221; (I think), and set the resolution to be 1280&#215;768 (the native resolution).  I didn&#8217;t set the exact dimensions for the screen but it doesn&#8217;t seem to matter.  However, they are given in &#8220;this manual from HP&#8221;:http://h10032.www1.hp.com/ctg/Manual/c00312379.pdf#page=175 as:<br />
|Dimension|cm|in|<br />
|Width|20.83|8.2|<br />
|Height|27.94|11|<br />
|Diagonal|35.56|14|</p>
<p>(although I&#8217;m guessing that Height and Width are reversed!)</p>
<p>h3. Synaptics Touchpad</p>
<p>Use the &#8220;KSynaptics&#8221;:http://packman.links2linux.org/?action=503 utility to configure the touchpad properties.  This installs as a &#8220;Touchpad&#8221; option in the Peripherals section of the Control Center.  Specifically, turn off horizontal scrolling (vertical scrolling works fine) and adjust the mouse speed/sensitivity to your preference.  Also, I found the when I was double-tapping, Linux was converting this in a middle-click, not a left-click, which was causing very unpredictable tap-to-drag behaviour.  Basically, it thought I was tapping with two fingers so just change the &#8220;two finger&#8221; setting to a left-click.  Use the mouse configuration section of SAX2 (under System-&gt;Configuration) to test your mouse clicks, and KSynaptics to actually configure them.  I also noticed that the pointer had a tendancy to drift to the right if my finger stopped on the right-hand side of the pad.  This seems to be fixed if you run the boundary wizard in KSynaptics so the proper dimensions of the pad are recognised.  Once this has been configured properly it becomes much easier to use Linux!</p>
<p>h3. Modem</p>
<p>p{color:red}. To be added, pending a little driver searching etc</p>
<p>I&#8217;ve tested the demo versions of the &#8220;Linuxant drivers&#8221;:http://www.linuxant.com/drivers/ and they work fine.  Just remember to install the rpm version as the binary installer require internet access!  My only problem was that the KInternet tool (?) was set to configure a different device (and I didn&#8217;t notice, duh!), and should have been set to /dev/modem.</p>
<p>h3. Multimedia Buttons</p>
<p>p{color:red}. To be added, once I play around with key bindings etc</p>
<p>I found &#8220;this FAQ entry&#8221;:http://gentoo-wiki.com/HOWTO_Use_Multimedia_Keys (for Gentoo) to be very helpful.  Basically, you need to run <code>xev</code> to find out the key codes.  I&#8217;ll post them here when I get the chance.  The DVD and Music buttons don&#8217;t produce key presses and therefore won&#8217;t be able to be used.  I&#8217;ve been able to bind these buttons to actions in Amarok so I can play, pause, stop, increase/decrease volume etc.</p>
<p>These are the entries</p>
<pre><code>keycode 144 = XF86AudioPrev
keycode 162 = XF86AudioPlay
keycode 153 = XF86AudioNext
keycode 164 = XF86AudioStop
keycode 174 = XF86AudioLowerVolume
keycode 160 = XF86AudioMute
keycode 176 = XF86AudioRaiseVolume</code></pre>
<p>h3. Remote Control</p>
<p>The remote controller partially works (probably because it&#8217;s just emulating keyboard presses in hardware and appears to Linux like any other keyboard event).  The play/stop/forward etc keys aren&#8217;t bound to anything useful but emulate the same key presses as the corresponding multimedia buttons (as described above).</p>
<p>h2. Software</p>
<p>h3. Suspend and Hibernate</p>
<p>I haven&#8217;t tried suspend-to-ram as I understand this isn&#8217;t very stable.  I did try hiberate (suspend-to-disk) and it shutdown fine but then wouldn&#8217;t let me login again to KDE, although I&#8217;m pretty sure this was due to something else I did. I&#8217;ll have to try again.</p>
<p>h3. Music (WMA)</p>
<p>p{color:red}. I&#8217;d like to make SUSE play WMA files from my Windows music collection and it&#8217;s not exactly straight-forward.</p>
<p>I made some progress by installing the &#8220;Win32-codecs&#8221;:http://packman.links2linux.org/?action=046, &#8220;MPlayer&#8221;:http://packman.links2linux.org/?action=128, &#8220;lame&#8221;:http://packman.links2linux.org/?action=017, and &#8220;mad&#8221;: .  At the moment I can make MPlayer and Kaffeine play .wma files but I&#8217;m still working on configuring Amarok to play them</p>
<p>h3. DVDs</p>
<p>&#8220;libdvdcss&#8221;:http://download.videolan.org/pub/libdvdcss/1.2.9/rpm/ needs to be installed.</p>
<p>!http://www.linux-on-laptops.com/images/banner1.gif(Linux On Laptops)!:http://www.linux-on-laptops.com/</p>
]]></content:encoded>
			<wfw:commentRss>http://jamie.ideasasylum.com/2005/08/linux-on-a-hp-dv1265ea-laptop-suse-93/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

