<?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>coCoKNIght.com &#187; Tech Talk</title>
	<atom:link href="http://cocoknight.com/category/tech-talk/feed/" rel="self" type="application/rss+xml" />
	<link>http://cocoknight.com</link>
	<description>Online Portfolio of Fabian Hernandez</description>
	<lastBuildDate>Sat, 14 Jan 2012 19:55:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Recover Ubuntu from failed fsck on RAID partition</title>
		<link>http://cocoknight.com/recover-ubuntu-from-failed-fsck-on-raid-partition/</link>
		<comments>http://cocoknight.com/recover-ubuntu-from-failed-fsck-on-raid-partition/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 20:01:16 +0000</pubDate>
		<dc:creator>coCoKNIght</dc:creator>
				<category><![CDATA[Tech Talk]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://cocoknight.com/?p=523</guid>
		<description><![CDATA[This post explains how I managed to get my RAID system to boot again after a failed fsck on Ubuntu start-up.]]></description>
			<content:encoded><![CDATA[<p>When the periodical fsck on Ubuntu start-up returns an error, if you&#8217;ve set up a password for root, then you can just enter that password and repair the errors on your partition.<br />
But Ubuntu comes with the root account disabled per default and you&#8217;re recommended not to give root a password for security reasons. This means that you probably won&#8217;t be able to comply with this promt:</p>
<p><code>Give root password for mainenance<br />
(or type Control-D to continue): _</code></p>
<p>Further, you&#8217;re not presented with any console to login and perform the manual fsck. So the only option is to do the fsck from LiveCD. Normally this is fairly simple:</p>
<p><code>sudo fsck /dev/sda1</code></p>
<p>Replace <strong>sda1</strong> with the actual name of your partition. If you don&#8217;t know you can start the <strong>partition editor</strong> from the <strong>administration</strong> menu and check.</p>
<p>This is not so easy however if the partition you need to check is part of a <acronym title="Redundant Array of Independent Disks">RAID</acronym> because you have to configure and start software <acronym title="Redundant Array of Independent Disks">RAID</acronym> first. This is done with <strong>mdadm</strong>, however <strong>mdadm</strong> doesn&#8217;t come with the Ubuntu LiveCD.</p>
<p>So I ended up using a KNOPPIX LiveCD to be able to finally perform the manual fsck on my <acronym title="Redundant Array of Independent Disks">RAID</acronym> partition:</p>
<ul>
<li>Scan the <acronym title="Redundant Array of Independent Disks">RAID</acronym> partitions. You&#8217;ll also be verifying that you&#8217;re using the correct partitions that belong to a <acronym title="Redundant Array of Independent Disks">RAID</acronym>.<br />
<code>sudo mdadm --examine --scan /dev/sda1<br />
sudo mdadm --examine --scan /dev/sdb1</code><br />
The output should be something like this:<br />
<code>ARRAY /dev/md0 level=raid1 num-devices=2 UUID=a28090aa:6893be8b:c4024dfc:29cdb07a</code></li>
<li>Now edit <strong>mdadm.conf</strong>:<br />
<code>sudo nano /etc/mdadm/mdadm.conf</code><br />
and add the above output line to the end of the file with the following modification:<br />
<code>ARRAY /dev/md0 level=raid1 num-devices=2 UUID=a28090aa:6893be8b:c4024dfc:29cdb07a devices=/dev/sda1,/dev/sdb1</code><br />
where <strong>devices=/dev/sda1,/dev/sdb1</strong> are the two <acronym title="Redundant Array of Independent Disks">RAID</acronym> partitions you want to perform the fsck</li>
<li>Start the <acronym title="Redundant Array of Independent Disks">RAID</acronym> setup:<br />
<code>sudo /etc/init.d/mdadm start<br />
sudo /etc/init.d/mdadm-raid start</code></li>
<li>Perform the fsck on your <acronym title="Redundant Array of Independent Disks">RAID</acronym> partition:<br />
<code>sudo fsck /dev/md0</code></li>
<li>Finally restart into your now booting Ubuntu system</li>
</ul>
<p><strong>Sources:</strong></p>
<ul>
<li><a title="Recover Data From RAID1 LVM Partitions With Knoppix Linux LiveCD" href="http://www.howtoforge.com/recover_data_from_raid_lvm_partitions">Recover Data From RAID1 LVM Partitions With Knoppix Linux LiveCD</a></li>
<li> <a title="After fsck failure, mantenance shell asks for root password" href="https://bugs.launchpad.net/ubuntu/+bug/372430">Launchpad bug report</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://cocoknight.com/recover-ubuntu-from-failed-fsck-on-raid-partition/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>G-Pen 560 on Ubuntu</title>
		<link>http://cocoknight.com/g-pen-560-on-jaunty/</link>
		<comments>http://cocoknight.com/g-pen-560-on-jaunty/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 11:07:28 +0000</pubDate>
		<dc:creator>coCoKNIght</dc:creator>
				<category><![CDATA[Tech Talk]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://cocoknight.com/?p=491</guid>
		<description><![CDATA[A tutorial that explains various ways to get your G-Pen 560 working with the different versions of Ubuntu. It's also useful for users of other graphic tablets.]]></description>
			<content:encoded><![CDATA[<p><img class="visualContent" title="G-Pen 560 on Jaunty" src="/wp-content/uploads/2009/07/gpen500x375.jpg" alt="G-Pen 560 on Jaunty" width="500" height="375" /></p>
<p><strong>Update (11/04/2010) for Ubuntu 10.10 Maverick:</strong> I now got it to work in Maverick using the following steps:</p>
<ol>
<li>Install the <strong>xserver-xorg-input-aiptek</strong> package from <strong>Synaptic Package Manager</strong></li>
<li>Create a new file with <strong>gedit</strong> by starting the <strong>Run Application</strong> dialogue with <strong>Alt F2</strong> and executing:<br />
<code>gksudo gedit /lib/udev/rules.d/69-xserver-xorg-input-aiptek.rules</code><br />
<strong>note:</strong> you will be promted for your password</li>
<li>Paste the following content into <strong>gedit</strong>, then save and close the file:<br />
<code>ACTION!="add|change", GOTO="xorg_aiptek_end"<br />
KERNEL!="event[0-9]*", GOTO="xorg_aiptek_end"<br />
ATTRS{idVendor}=="08ca", ENV{x11_driver}="aiptek", SYMLINK+="input/aiptektablet"<br />
LABEL="xorg_aiptek_end"</code></li>
<li>Create another file with <strong>gedit</strong> by starting the <strong>Run Application</strong> dialogue with <strong>Alt F2</strong> and executing:<br />
<code>gksudo gedit /usr/share/X11/xorg.conf.d/70-aiptek.conf</code><br />
<strong>note:</strong> you might be promted for your password again</li>
<li>Paste the following content into <strong>gedit</strong>, then save and close the file:<br />
<code>Section "InputClass"<br />
Identifier "aiptek"<br />
MatchProduct "Aiptek|AIPTEK|aiptek"<br />
MatchDevicePath "/dev/input/event*"<br />
Driver "aiptek"<br />
Option "SendCoreEvents" "true"<br />
Option "<acronym title="Universal Serial Bus">USB</acronym>" "on"<br />
Option "Type" "stylus"<br />
Option "Mode" "absolute"<br />
Option "zMin" "0"<br />
Option "zMax" "1023"<br />
EndSection</code></li>
<li>Restart your system and your tablet should be working</li>
</ol>
<p><strong>Update (11/11/2009) for Ubuntu 9.10 Karmic:</strong> In Karmic the .fdi files are still working dispite the deprecation of HAL but you&#8217;ll have to create/edit them again if you&#8217;ve upgraded from Jaunty. However the Wacom driver which I was using in Jaunty doesn&#8217;t work anymore. The Aiptek driver works but with poor pressure sensitivity support (To use the Aiptek driver follow the instructions I&#8217;ve updated at <a title="Ubuntu Community Documentation: Aiptek Tablet" href="https://help.ubuntu.com/community/AiptekTablet">Ubuntu Community Documentation: Aiptek Tablet</a>). I&#8217;m using the Wizardpen driver as the pressure sensitivity works much better (Download and install the <a title="Wizardpen driver for Karmic" href="http://www.tecnicoslinux.com.ar/livecd/GeniusMousePen-Driver_0.7.0_i386.deb">Wizardpen driver for Karmic</a> and follow the original instructions below).</p>
<p>I finally got my G-Pen 560 graphic tablet working on my Ubuntu Linux which at the time I write this is 9.04 Jaunty Jackalope, and you know what? It&#8217;s <strong>easy</strong>!<br />
<strong>Update (7/29/2009):</strong> At the moment I&#8217;m using and recomending the Wacom driver. Skip the Wizardpen part and scroll down to read instructions on how to enable the Wacom driver for your tablet. Continue reading from here if you prefer to use the Wizardpen driver.</p>
<ol>
<li><a title="Wizardpen Driver DEB Package" href="http://digitalbluewave.blogspot.com/2009/04/wizardpen-070-alpha2-deb-package-now.html">Download the Wizardpen driver DEB package</a> and install it on your system</li>
<li>Create a new file with <strong>gedit</strong> by starting the <strong>Run Application</strong> dialogue with <strong>Alt F2</strong> and executing:<br />
<code>gksudo gedit /etc/hal/fdi/policy/gpen560.fdi</code><br />
<strong>note:</strong> you will be promted for your password</li>
<li>Paste the following content into <strong>gedit</strong>:<br />
<code>&lt;?xml version="1.0" encoding="ISO-8859-1" ?&gt;<br />
&lt;deviceinfo version="0.2"&gt;<br />
&lt;device&gt;<br />
&lt;match key="info.product" contains="Aiptek"&gt;<br />
&lt;merge key="input.x11_driver" type="string"&gt;wizardpen&lt;/merge&gt;</code></p>
<p><code>&lt;merge key="input.x11_options.SendCoreEvents" type="string"&gt;true&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.TopX" type="string"&gt;185&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.TopY" type="string"&gt;372&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.BottomX" type="string"&gt;11811&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.BottomY" type="string"&gt;8793&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.MaxX" type="string"&gt;11811&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.MaxY" type="string"&gt;8793&lt;/merge&gt;</code></p>
<p><code>&lt;merge key="input.x11_options.TopZ" type="string"&gt;32&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.MaxZ" type="string"&gt;1023&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.BottomZ" type="string"&gt;1023&lt;/merge&gt;</code></p>
<p><code>&lt;/match&gt;<br />
&lt;/device&gt;<br />
&lt;/deviceinfo&gt;</code></li>
<li>Save the file and close <strong>gedit</strong></li>
<li>plug in (or re-plug in) your tablet and you should be done</li>
</ol>
<p>Note that if you want to make use of pressure sensitivity you&#8217;ll have to configure it on the specific applications.<br />
Also note that I haven&#8217;t figured out how to make the two buttons on the stylus work.</p>
<p>For other Wizardpen compatible tablets you&#8217;ll have to find out the right configuration for the <strong>.fdi</strong> file. Other than that it&#8217;s the same process. Consult the sources at the bottom of this article.</p>
<p>You could instead also use the <a title="Aiptek Tablet - Community Ubuntu Documentation" href="https://help.ubuntu.com/community/AiptekTablet">Aiptek driver</a>, or the <a title="Wacom - Community Ubuntu Documentation" href="https://help.ubuntu.com/community/Wacom">Wacom driver</a>, have a look at this Ubuntu forum post: <a title="Genius Mouspen 8x6 under Jaunty Jackalope" href="http://ubuntuforums.org/showthread.php?t=1151464&amp;page=2">Genius Mouspen 8&#215;6 under Jaunty Jackalope</a>. When I tried them, one of the stylus buttons worked as right click, but performance overall was not as good as with the <a title="TabletSetupWizardpen - Community Ubuntu Documentation" href="https://help.ubuntu.com/community/TabletSetupWizardpen">wizardpen driver</a>.</p>
<p>I&#8217;d recomend you to try the <a title="Wacom - Community Ubuntu Documentation" href="https://help.ubuntu.com/community/Wacom">Wacom driver</a> nevertheless to see for yourself, which one you prefer:</p>
<ol>
<li>Disable the <strong>.fdi</strong> file previously created so it doesn&#8217;t interfere with the Wacom configuration (only if you followed the instructions above about configuring the Wizardpen driver):<br />
Open <strong>nautilus</strong> with root priviledges by starting the <strong>Run Application</strong> dialogue with <strong>Alt F2</strong> and executing:<br />
<code>gksudo nautilus</code><br />
<strong>note:</strong> you will be promted for your password<br />
navigate to <code>/etc/hal/fdi/policy/</code> and rename <code>gpen560.fdi</code> to <code>gpen560.fdi.wizardpen</code></li>
<li>Open the Wacom configuration file using gedit with root priviledges:<br />
<code>gksudo gedit /usr/share/hal/fdi/policy/20thirdparty/10-wacom.fdi</code><br />
<strong>note:</strong> you will be promted for your password</li>
<li>Change this line:<br />
<code>&lt;match key="info.product" contains="Wacom"&gt;</code><br />
to:<br />
<code>&lt;match key="info.product" contains_outof="Wacom;Aiptek"&gt;</code></li>
<li>Save the file and close <strong>gedit</strong></li>
<li>plug in (or re-plug in) your tablet and you should be done</li>
</ol>
<p>By the way the Windows driver is buggy and the driver for Mac doesn&#8217;t work, at least not for leopard. <strong>Update (7/29/2009):</strong> However, the guys at Genius sent me a link to a <a title="Beta driver for Mac" href="http://download.geniusnet.com/2009/Tablet/GPen640-V172.zip ">newer driver</a> (probably beta) which does work for me. Try it!</p>
<p><strong>Sources:</strong><br />
<a title="Ubuntu Community Documentation: Aiptek Tablet" href="https://help.ubuntu.com/community/AiptekTablet"><br />
Ubuntu Community Documentation: Aiptek Tablet</a><br />
<a title="TabletSetupWizardpen - Community Ubuntu Documentation" href="https://help.ubuntu.com/community/TabletSetupWizardpen">Ubuntu Community Documentation: TabletSetupWizardpen</a><br />
<a title="Wacom - Community Ubuntu Documentation" href="https://help.ubuntu.com/community/Wacom">Ubuntu Community Documentation: Wacom</a><br />
<a title="The Digital Blue Wave" href="http://digitalbluewave.blogspot.com/">The Digital Blue Wave</a><br />
<a title="Genius Mouspen 8x6 under Jaunty Jackalope" href="http://ubuntuforums.org/showthread.php?t=1151464&amp;page=2">Genius Mouspen 8&#215;6 under Jaunty Jackalope</a><br />
<a href="http://penguins-diary.blogspot.com/2010/10/genius-g-pen-560-under-ubuntu-1004.html">Genius G-Pen 560 under Ubuntu 10.04</a><br />
<a href="http://penguins-diary.blogspot.com/2008/11/genius-g-pen-560-tablet-on-ubuntu-linux.html">Genius G-Pen 560 Tablet on Ubuntu Linux 8.10 Intrepid</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cocoknight.com/g-pen-560-on-jaunty/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Gnome look and feel for Netbooks</title>
		<link>http://cocoknight.com/gnome-look-and-feel-for-netbooks/</link>
		<comments>http://cocoknight.com/gnome-look-and-feel-for-netbooks/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 20:11:41 +0000</pubDate>
		<dc:creator>coCoKNIght</dc:creator>
				<category><![CDATA[Tech Talk]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[Netbook]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://cocoknight.com/?p=423</guid>
		<description><![CDATA[A series of suggestions, hints and tricks to improve the usability and look and feel of Gnome for netbooks, which have a challenging low display resolution.]]></description>
			<content:encoded><![CDATA[<p><img class="visualContent" title="Gnome look and feel for Netbooks" src="/wp-content/uploads/2009/06/netbook500x375.jpg" alt="Gnome look and feel for Netbooks" width="500" height="375" /></p>
<p>I&#8217;m using the standard Ubuntu Desktop Edition on my HP Mini netbook.</p>
<p>Because netbooks don&#8217;t have a high resolution (In my case 1024&#215;600) we&#8217;ll want the interface to occupy as little space as possible.</p>
<h2>Font</h2>
<p>To start off we&#8217;ll want to reduce the font-size without affecting the readability:</p>
<h3>Font Rendering</h3>
<p>Go to <strong>System → Preferences → Appearance → Fonts</strong><br />
I&#8217;m pleased to notice that since Jaunty the standard for <strong>font rendering</strong> is <strong>subpixel smoothing</strong> which is good for LCD displays. However we&#8217;ll adjust this a bit more for our needs:</p>
<p>Click on <strong>Details&#8230;</strong>:</p>
<p>Under <strong>Smoothing</strong> select <strong>Subpixel</strong> if not set already.</p>
<p>Under <strong>Hinting</strong> select <strong>Medium</strong> or <strong>Full</strong>, this will make text better readable even on small sizes which brings us to the next step:</p>
<h3>Font size</h3>
<p>Close the <strong>Font Rendering Details</strong> window and from the <strong>Font</strong> tab in the <strong>Appearance Preferences</strong> window set all fonts to <strong>6</strong>. With our rendering options this is still good readable.</p>
<h2>Panels</h2>
<p>One panel is enough, so decide for either the top or the bottom panel, right-click the one you want to delete and select <strong>Delete This Panel</strong>.</p>
<p>Don&#8217;t worry, everything that was on the deleted panel can be added to the other panel by right-clicking it and selecting <strong>Add to Panel&#8230;</strong>.</p>
<p>Next we&#8217;ll shrink the panel size as much as possible but first:</p>
<p>There is currently (Gnome 2.26.1) a bug with the <strong>Menu Bar</strong> preventing the Ubuntu icon (Or the icon of whatever distro you&#8217;re using, or the Gnome icon) from adjusting its size to the font-size. Here you have two choices: Either use the <strong>Main Menu</strong> instead of the <strong>Menu Bar</strong> or disable icons in the <strong>Menu Bar</strong> by going to <strong>System → Preferences → Appearance → Interface</strong> and deselecting <strong>Show icons in menus</strong>. Also, here I&#8217;ve chosen to select <strong>Icons only</strong> from the <strong>Toolbar button labels</strong> dropdown. This saves some more precious vertical space. The buttons are mostly self explanatory anyway and if you don&#8217;t know what one does, just leave the cursor on top of it for a sec, to display a tooltip.</p>
<p>Now we can proceed to decrease the panel size: Right-click the panel and select <strong>Properties</strong>: Set <strong>Size</strong> to the lowest number possible.</p>
<h2>Further</h2>
<p>Our interface now uses much less vertical space and most windows fit comfortably on the screen but there are some exceptions forcing us to take some further actions:</p>
<p>Install<strong> Simple Compizconfig settings manager</strong> if you haven&#8217;t done so already. Either look for it in <strong>System → Administration → Synaptic Package Manager</strong> or enter in a terminal <strong>sudo apt-get install simple-ccsm</strong></p>
<p>After installation go to <strong>System → Preferences → CompizConfig Settings Manager</strong>, from the category <strong>Window Management</strong> click on <strong>Move Window</strong> and unmark the<strong> Constrain Y</strong> option.</p>
<p>This will allow us to move windows that are too big freely so that we can see the parts that would otherwise be hidden from us below the desktop area. To move a window use the <strong>Movement Key</strong> defined in <strong>System → Preferences → Windows</strong>.</p>
<h3>Firefox &amp; Thunderbird</h3>
<p><img class="visualContent" title="Firefox optimized for Netbooks" src="/wp-content/uploads/2009/06/ScreenshotFirefox.jpg" alt="" width="365" height="305" /><br />
I&#8217;m using Firefox and Thunderbird and the toolbars take up some space but it&#8217;s easy to customize them: <strong>View → Toolbars → Customize</strong>: Ignore the newly opened window and just grab the statusbar further up so that it fits next to the menu. This saves quiet some pixels for the actual web content. In Thunderbird I&#8217;ve done the same for the bar with the buttons <strong>send</strong>, <strong>reply</strong>, <strong>forward</strong>, etc.</p>
<h3>Window List</h3>
<p>At some point I enabled grouping of windows in the <strong>Window List Preferences</strong> but later decided to remove the <strong>Window List</strong> entirely and switch between windows using <strong>Scale: Initiate Window Picker</strong> which I was already used to from the Mac:</p>
<p>Go to <strong>System → Preferences → Appearance → Visual Effects → Custom → Edges</strong>, select the edge you&#8217;d like to use and choose  <strong>Scale: Initiate Window Picker</strong>. I have the panel at the top, so most buttons are located top left, so I chose the top left edge to minimize cursor movement.</p>
<p>Now I had lots of free space on my panel and I decided to fill it with quick launchers for the applications I use frequently: Right-click on an app in the <strong>Main Menu</strong> and select <strong>Add this launcher to panel</strong>.</p>
<h3>Workspaces</h3>
<p>I use multiple workspaces and it&#8217;s so easy and comfortable to switch between them using the shortcut <strong>ctrl alt &#8216;arrow key&#8217;</strong> that I didn&#8217;t even bother to include the <strong>Workspace Switcher</strong> to the panel.</p>
<p>Note that to have a workspace on top of the other may be handy for you if you&#8217;re working on a big window and don&#8217;t want to be moving it around all the time. You can instead just switch workspaces to view different parts of the window.</p>
<h2>Nice Dark Theme</h2>
<p>My HP Mini is black so a dark theme suits it better, and it&#8217;s also more relaxing to the eye. <a title="Dust Theme" href="https://wiki.ubuntu.com/Artwork/Incoming/DustTheme">Dust</a> is a very nice theme but I decided to customize it a bit:</p>
<p>In the <strong>Appearance Preferences</strong> window select the <strong>Dust</strong> theme and click <strong>Customize&#8230;</strong>, from the <strong>Controls</strong> tab select <strong>DarkRoom</strong> and in the <strong>Colors</strong> tab assign the following colors:</p>
<ul>
<li>Windows Background: #323232</li>
<li>Windows Text: #D9D4CC</li>
<li>Input boxes Background: #1A1A1A</li>
<li>Input boxes Text: #595959</li>
<li>Selected items Background: #996B5C</li>
<li>Selected items Text: #FFFFFF</li>
<li>Tooltips Background: #EBEAB8</li>
<li>Tooltips Text: #323232</li>
</ul>
<p>I&#8217;m quiet happy with these colors though I&#8217;m sure it can be perfectioned.</p>
<h3>Thunderbird</h3>
<p><img class="visualContent" title="Thunderbird optimized for Netbooks" src="/wp-content/uploads/2009/06/ScreenshotThunderbird.jpg" alt="" width="365" height="305" /><br />
In Thunderbird I&#8217;ve customized the colors as follows: <strong>Edit → Preferences → Advanced</strong>: click <strong>Config Editor&#8230;</strong>: In the <strong>Filter</strong> field type <strong>color</strong> and edit the following attributes:</p>
<ul>
<li>browser.active_color: #cc7777</li>
<li>browser.anchor_color: #bb6666</li>
<li>browser.display.background_color: #1A1A1A</li>
<li>browser.display.foreground_color: #4C4C4C</li>
<li>browser.display.use_focus_colors: true</li>
<li>editor.active_link_color: #cc7777</li>
<li>editor.link_color: #bb6666</li>
<li>editor.use_custom_colors: true</li>
</ul>
<p>and others as needed.</p>
<h3>Gedit</h3>
<p><img class="visualContent" title="Dark Gedit - Icons only" src="/wp-content/uploads/2009/06/ScreenshotGedit.jpg" alt="" width="365" height="305" /><br />
The <strong>Oblivion</strong> theme for gedit which you can find in <strong>Font &amp; Colors</strong> tab of the gedit preferences window, fits perfectly to our dark theme.</p>
<h3>Terminal</h3>
<p><img class="visualContent" title="Transparent Dark Terminal" src="/wp-content/uploads/2009/06/ScreenshotTerminal.jpg" alt="" width="365" height="305" /><br />
Open the <strong>Profile Preferences</strong> window: From the <strong>Background</strong> tab I&#8217;ve chosen to enable transparency, and at the <strong>Colors</strong> tab I&#8217;ve set the <strong>Text color</strong> to <strong>#D6CDB0</strong> and the <strong>Background color</strong> to <strong>#313131</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://cocoknight.com/gnome-look-and-feel-for-netbooks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Grub: File not found</title>
		<link>http://cocoknight.com/grub-file-not-found/</link>
		<comments>http://cocoknight.com/grub-file-not-found/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 01:00:16 +0000</pubDate>
		<dc:creator>coCoKNIght</dc:creator>
				<category><![CDATA[Tech Talk]]></category>
		<category><![CDATA[Grub]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://cocoknight.com/?p=342</guid>
		<description><![CDATA[Easy fix for the most common cause of the Grub error message: "Error 15: File not found".]]></description>
			<content:encoded><![CDATA[<p><img class="visualContent" title="Grub File not Foud" src="/wp-content/uploads/2009/01/grub-file-not-found500x375.jpg" alt="Grub File not Foud" width="500" height="375" /></p>
<p>After installing some updates on my Ubuntu 9.04 alpha I restarted my machine and was shocked to see the Grub message: Error 15: File not found</p>
<p>I found out that the Grub menu.lst had not been updated to start with the new kernel (actualy I think it was even replaced by an older version or something) and the solution is quiet simple:</p>
<p>In the Grub menu press &#8216;c&#8217; to get a Grub promt, then type <code>cat (hd0,1)/boot/</code> and press &#8216;tab&#8217;. (replace <code>(hd0,1)</code> with whatever your boot partition is (If you don&#8217;t know enter the command <code>find /vmlinuz</code> or <code>find /boot/grub/menu.lst</code>))</p>
<p>You&#8217;ll see a list of available vmlinuz kernels. Memorize the version of your latest kernel and press &#8216;esc&#8217; to get back to the Grub menu.</p>
<p>Press &#8216;e&#8217; to edit the entry and replace all kernel version entries with the version you just memorized, then press &#8216;b&#8217; to boot.</p>
<p>Your system should now be happily booting again. When your system&#8217;s up and running edit <code>/boot/grub/menu.lst</code> with your favorite edior so that the kernel versions match the ones on your system in <code>/boot/</code></p>
<p>It took me a whole day to figure out this simple solution because I had done quiet a lot of different things on the machine before I restarted it, so I couldn&#8217;t figure out the cause. I was about to try to install gentoo with a <acronym title="Universal Serial Bus">USB</acronym> flash drive but when I wanted to format it I accidentally pressed unmount on the harddisk instead of the flash drive. Also using an alpha version is not recomended and you have to expect such things to happen. And finally, the documentation I found in the internet was often related to multi-boot systems and/or more serious problems. This is the main reason I&#8217;m publishing this article. I was suspecting that the solution might be trivial but had difficulties figuring out what was causing trouble, also because I wasn&#8217;t able to boot any live-CD because my hp mini doesn&#8217;t have a CD drive and the only <acronym title="Universal Serial Bus">USB</acronym> flash drive I had at hand was one that wouldn&#8217;t boot&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://cocoknight.com/grub-file-not-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple Mouse Annoyances</title>
		<link>http://cocoknight.com/apple-mouse-annoyances/</link>
		<comments>http://cocoknight.com/apple-mouse-annoyances/#comments</comments>
		<pubDate>Thu, 08 Nov 2007 00:42:33 +0000</pubDate>
		<dc:creator>coCoKNIght</dc:creator>
				<category><![CDATA[Tech Talk]]></category>

		<guid isPermaLink="false">http://coCoKNIght.com/apple-mouse/</guid>
		<description><![CDATA[Thoughts about Apple's mice and cursor behaviour, and the associated problems.]]></description>
			<content:encoded><![CDATA[<p>Now don&#8217;t get me wrong, Apple makes the finest personal computers out there&#8230; &#8230;yet there&#8217;re a few small things that are just wrong:</p>
<h3>Mouse</h3>
<p>Now the mighty mouse looks really cool is comfortable and has an awesome scrollwheel&#8230; &#8230;however it&#8217;s not possible to press two or more mouse buttons at the same time. If you&#8217;re wondering where this ability could possibly come handy then you&#8217;re one of the many lucky users who&#8217;re not in need of it. However 3D modeling for instance slows down significantly without it. Also it&#8217;d be nice to be able to use the very handy right-click-cancels-everything-your-just-doing-with-the-left-mouse-button &#8211; function which so many applications provide.</p>
<p>There&#8217;s an other problem especially in conjunction with the cursor acceleration problem which I will write about later on: Sometimes, while dragging you may for example hit your keyboard with the mouse before reaching your destination with the cursor. Any other mouse you could just lift, place in the middle of your mousepad and continue dragging, however that&#8217;s not the case with the mighty mouse because it can&#8217;t be lifted while still holding down a mousebutton. Fortunately there&#8217;s a workaround though: While still holding down the mousebutton, move the mouse back to the middle of the mousepad but make sure not to move the mouse very fast, then move your mouse again towards your destination while this time moving the mouse quiet fast. Strange enough, this time your cursor will come farther.</p>
<p>Of course there&#8217;s an easy way to get rid of these problems, buying another mouse, you&#8217;ll miss the scrollwheel though. Another drawback is that the acceleration curve will probably be even worse.</p>
<h3>Cursor</h3>
<p>The cursor acceleration problem however you can&#8217;t get rid off even if you buy any other mouse and it&#8217;s very sad that even in leopard and after so many people have complained about it for years and years there&#8217;s no option in the keyboard and mouse preferences window to turn off cursor acceleration. It&#8217;s almost as if Apple wanted to state that their computers shouldn&#8217;t be used for 3D work, or by people who like to click around very fast. They&#8217;re quite successful I must say &#8217;cause since I&#8217;m happy to have a mac I haven&#8217;t done much 3D work anymore. Too annoying.</p>
<h3>faZit</h3>
<p>Apple, your mice are sexy, we love to touch them and it&#8217;s awesome to see your spirit of innovation even goes into the mouse. You&#8217;re doing great work, what&#8217;s say next time you add common functionality to it?!</p>
<p>And seriously, how hard can it possilby be to include a &#8216;turn off cursor acceleration&#8217; option to the mouse preferences dialogue?! Not too hard, right? But imagine how many happy faces this would generate&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://cocoknight.com/apple-mouse-annoyances/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

