<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-214412248781097398</id><updated>2012-02-12T23:38:37.203-05:00</updated><category term='Offline Address Book'/><category term='data recovery'/><category term='page cannot be displayed'/><category term='12.0'/><category term='Powershell'/><category term='MochaUI'/><category term='HTTP Traffic'/><category term='Mailbox-Size'/><category term='Broken Star'/><category term='tracert'/><category term='ping'/><category term='Windows Update'/><category term='1773 lyrics'/><category term='Windows Vista/7'/><category term='dereference passing by reference'/><category term='Report'/><category term='username password incorrect'/><category term='removable drive'/><category term='mochaui.js'/><category term='Exchange 2007'/><category term='RIA'/><category term='OAB empty'/><category term='terminal services'/><category term='gnome'/><category term='C++'/><category term='pointers'/><category term='no icons'/><category term='locate'/><category term='restore VDI'/><category term='git'/><category term='event id 27'/><category term='plaintext'/><category term='geforce'/><category term='host i/o cache'/><category term='Motorola Droid'/><category term='RemoteApp'/><category term='ext4'/><category term='WSUS'/><category term='usb drive'/><category term='Hip-Hop'/><category term='browser does not work'/><category term='OAB'/><category term='fstab'/><category term='SP2'/><category term='MooTools'/><category term='virtualbox'/><category term='port 80'/><category term='Windows Vista'/><category term='boot'/><category term='uuid'/><category term='slackware 12.0'/><category term='event id 6037'/><category term='wallpaper'/><category term='php'/><category term='mx440'/><category term='Hide running window'/><category term='span'/><category term='rejects credentials'/><category term='SP1'/><category term='Packager'/><category term='Linux can&apos;t search'/><category term='mount usb drive'/><category term='Error 0x80072EFD'/><category term='freeware'/><category term='Hide VirtualBox VM'/><category term='ampersand operator'/><category term='slackware'/><category term='/sbin/lilo'/><category term='TS 2008'/><category term='build'/><category term='disk write cache'/><category term='xfce'/><category term='package.yml'/><category term='compiz fusion'/><category term='ActiveSync'/><category term='external hard drive'/><category term='device mapper'/><category term='Exchange 2010'/><category term='nslookup'/><category term='JavaScript'/><category term='nvidia'/><category term='dual monitor'/><title type='text'>Niggling Aspirations</title><subtitle type='html'>A smörgåsbord of hopefully useful, yet random information regarding Linux &amp;amp; Windows computer systems.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-3106658909690426249</id><published>2011-07-01T17:04:00.000-04:00</published><updated>2011-07-01T17:04:31.447-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Report'/><category scheme='http://www.blogger.com/atom/ns#' term='Exchange 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='Powershell'/><category scheme='http://www.blogger.com/atom/ns#' term='Mailbox-Size'/><title type='text'>Exchange 2010 HTML Mailbox Size Report</title><content type='html'>Not the prettiest thing in the world but gets the job done by printing each user's mailbox size &amp;amp; total items into a HTML table:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Tahoma; font-size: x-small;"&gt;get-mailbox -database "Mailbox Database 1706745955" | get-mailboxstatistics&amp;nbsp; | where {$_.objectclass -eq&amp;nbsp;"Mailbox"} | sort-object totalitemsize -descending | select-object @{label="User";expression={$_.DisplayName}},@{label=&lt;br /&gt;"Total Size (MB)";expression={$_.TotalItemSize.Value.ToMB()}},@{label="Items";expression={$_.ItemCount}}&amp;nbsp; | convertto-html | out-file report.htm&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;May need to modify the mailbox database name.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-3106658909690426249?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/3106658909690426249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2011/07/exchange-2010-html-mailbox-size-report.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/3106658909690426249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/3106658909690426249'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2011/07/exchange-2010-html-mailbox-size-report.html' title='Exchange 2010 HTML Mailbox Size Report'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-3645674956891759934</id><published>2011-02-10T19:50:00.000-05:00</published><updated>2011-02-10T19:50:05.368-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Vista'/><category scheme='http://www.blogger.com/atom/ns#' term='SP2'/><category scheme='http://www.blogger.com/atom/ns#' term='Error 0x80072EFD'/><category scheme='http://www.blogger.com/atom/ns#' term='SP1'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows Update'/><category scheme='http://www.blogger.com/atom/ns#' term='WSUS'/><title type='text'>Windows Vista Update Error 0x80072EFD</title><content type='html'>Could not update Vista SP1 due to 0x80072EFD error, so I started out by manually updating to SP2.&amp;nbsp; No success.&amp;nbsp; This was driving me absolutely insane until I actually read the C:\windows\windowsupdate.log file.&lt;br /&gt;&lt;br /&gt;First, try resetting the HTTP proxy through an elevated command prompt with the following command:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;netsh winhttp show proxy&lt;/code&gt; &lt;br /&gt;&lt;br /&gt;If you are still receiving this error, be sure you follow this KB:&lt;br /&gt;&lt;br /&gt;http://support.microsoft.com/kb/836941&lt;br /&gt;&lt;br /&gt;If this does not resolve the problem, try resetting Windows Update Components with the following Microsoft Fix It:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;http://support.microsoft.com/kb/971058&lt;br /&gt;&lt;br /&gt;If this still does not work, be sure that WSUS GPO &amp;amp; registry settings are NOT in place!&lt;br /&gt;&lt;br /&gt;First check GPO:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Administrative Templates-&amp;gt;Windows Components-&amp;gt;Windows     Update&lt;/b&gt;, under the setting "Configure automatic updates."&amp;nbsp; If this is already set to "Not configured," then check registry settings under:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;For any WSUS keys.&amp;nbsp; Deleting the WSUS keys I found in the registry remediated my issue.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-3645674956891759934?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/3645674956891759934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2011/02/windows-vista-update-error-0x80072efd.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/3645674956891759934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/3645674956891759934'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2011/02/windows-vista-update-error-0x80072efd.html' title='Windows Vista Update Error 0x80072EFD'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-6226850060147309341</id><published>2011-02-01T23:17:00.001-05:00</published><updated>2011-02-01T23:19:05.598-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='username password incorrect'/><category scheme='http://www.blogger.com/atom/ns#' term='Motorola Droid'/><category scheme='http://www.blogger.com/atom/ns#' term='Exchange 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='ActiveSync'/><title type='text'>Android Corporate Exchange Setup - Username or Password Incorrect</title><content type='html'>I spent a lot of time ensuring ActiveSync was working properly for a client on Exchange 2010--they have a lot of iPhones and I wanted to be sure everything top-notch.&lt;br /&gt;&lt;br /&gt;When attempting to activate a Motorola Droid 2 with the Exchange server, I kept receiving the error "Username or password incorrect" despite the fact that the username &amp;amp; password were both in fact correct.&amp;nbsp; I was also unable to enter a server name no matter what.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;I managed to solve the issue by entering a completely incorrect email address (user@blah.com) before finally being prompted for the server.&lt;/b&gt;&amp;nbsp; After entering the FQDN of the mail server, I was able to successfully authenticate the account.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-6226850060147309341?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/6226850060147309341/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2011/02/android-corporate-exchange-setup.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/6226850060147309341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/6226850060147309341'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2011/02/android-corporate-exchange-setup.html' title='Android Corporate Exchange Setup - Username or Password Incorrect'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-2952643611001617944</id><published>2011-01-31T17:24:00.000-05:00</published><updated>2011-01-31T17:24:43.958-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OAB'/><category scheme='http://www.blogger.com/atom/ns#' term='OAB empty'/><category scheme='http://www.blogger.com/atom/ns#' term='Exchange 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='Exchange 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='event id 27'/><category scheme='http://www.blogger.com/atom/ns#' term='Offline Address Book'/><title type='text'>Exchange 2010 - Can't Download OAB</title><content type='html'>During a migration from Exchange 2007-&amp;gt;Exchange 2010, I could not figure out why my OAB would not download after deleting &amp;amp; re-creating it.&lt;br /&gt;&lt;br /&gt;Originally, we were having an issue where Outlook 2003 clients would throw "Task 'Microsoft Exchange Server' reported error (0x8004010F): "The operation failed.&amp;nbsp; An object could not be found." when attempting to send/receive.&amp;nbsp; I tracked the issue down to the OAB after a short Google search.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Our OAB virtual directory was actually empty, and there was no GUID folder before I found the solution below.&lt;br /&gt;&lt;br /&gt;When attempting to download the OAB directly from Exchange 2010, one would receive the message: "An error occurred while opening the Microsoft Exchange Offline Address Book files," and event ID 27 (source: Outlook), "The operation failed," would be recorded in the application event log.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://social.technet.microsoft.com/Forums/en-US/exchangesvrclients/thread/278756b4-b44e-4d74-8a6d-38b1aa67d39f/"&gt;This post&lt;/a&gt; provided the solution.&amp;nbsp; After running the command in Exchange Management Console on the 2010 server:&lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;update-FileDistributionService&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;I was able to download the OAB successfully from Outlook 2010.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-2952643611001617944?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/2952643611001617944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2011/01/exchange-2010-cant-download-oab.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/2952643611001617944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/2952643611001617944'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2011/01/exchange-2010-cant-download-oab.html' title='Exchange 2010 - Can&apos;t Download OAB'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-5028971114817607325</id><published>2010-12-25T14:43:00.000-05:00</published><updated>2010-12-25T14:43:27.129-05:00</updated><title type='text'>Disable OTA Updates Android</title><content type='html'>Ok Verizon was just pissing me off by pushing the OTA updates to my phone.&amp;nbsp; After dealing with "Install later" for 3 weeks, I finally managed to disable OTA updates using a trick I found on a forum.&lt;br /&gt;&lt;br /&gt;First, make sure you have adb installed &amp;amp; that it can pick up your device.&amp;nbsp; Next, adb shell into your device &amp;amp; type the following commands:&lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: x-small;"&gt;su&lt;br /&gt;mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system&lt;br /&gt;cd /system/etc/security&lt;br /&gt;mv otacerts.zip otacerts.zip.bak&lt;br /&gt;mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system&lt;br /&gt;sync&lt;br /&gt;reboot   &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-5028971114817607325?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/5028971114817607325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/12/disable-ota-updates-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/5028971114817607325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/5028971114817607325'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/12/disable-ota-updates-android.html' title='Disable OTA Updates Android'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-8060057096642824803</id><published>2010-11-03T03:22:00.010-04:00</published><updated>2010-11-03T03:49:58.253-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='package.yml'/><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Packager'/><category scheme='http://www.blogger.com/atom/ns#' term='build'/><category scheme='http://www.blogger.com/atom/ns#' term='RIA'/><category scheme='http://www.blogger.com/atom/ns#' term='git'/><category scheme='http://www.blogger.com/atom/ns#' term='MooTools'/><category scheme='http://www.blogger.com/atom/ns#' term='mochaui.js'/><category scheme='http://www.blogger.com/atom/ns#' term='MochaUI'/><title type='text'>Building MochaUI.js From Git</title><content type='html'>This one really drove me insane.&amp;nbsp; I recently discovered JavaScript MooTools library &amp;amp; it's UI component, MochaUI.&amp;nbsp; MochaUI provides a powerful &amp;amp; easy-to-use library for developing rich internet applications (RIAs).&lt;br /&gt;&lt;br /&gt;My issue began after finding that the version on the website was highly out of date.&amp;nbsp; I was looking to use OmniGrid alongside MochaUI, but the latest released version is mochaui-0.9.7.&lt;br /&gt;&lt;br /&gt;After cloning the Git, I discovered that the new Demo contained far more features, and was much better laid out than the 0.9.7 release.&amp;nbsp; I also found that the JavaScript files were provided as "source" to MochaUI.&amp;nbsp; This confused the hell out of me, as how would I "build" JS files?!&amp;nbsp; Three hours later after scouring Google &amp;amp; the terrible documentation on github, I managed to find &lt;a href="http://tbela99.blogspot.com/2010/05/building-mootools-on-windows-with.html"&gt;this&lt;/a&gt; blog post which pointed me in the right direction.&lt;br /&gt;&lt;br /&gt;It turns out each MooTools component contains a "package.yml" YAML file which is fed to a PHP script called "Packager."&amp;nbsp; Package simply concatenates the source files listed in the manifest (package.yml) together.&amp;nbsp; So much for "building" the JS :/.&lt;br /&gt;&lt;br /&gt;Here's the complete steps to produce a "mochaui.js" file from github.&lt;br /&gt;&lt;br /&gt;First, clone the MochaUI codebase &amp;amp; cd to the new directory:&lt;br /&gt;&lt;br /&gt;&lt;div class="code" style="-moz-border-radius: 10px 10px 10px 10px; -moz-box-shadow: 5px 5px 5px rgb(85, 85, 85); background: none repeat scroll 0% 0% rgb(162, 162, 162); border: 3px solid rgb(100, 100, 100); color: black; margin-bottom: 1em; padding: 6px;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;[user@box:~/Desktop/test]$ git clone git://github.com/mui/mochaui&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Cloning into mochaui...&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;remote: Counting objects: 11437, done.&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;remote: Compressing objects: 100% (4806/4806), done.&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;remote: Total 11437 (delta 6610), reused 10172 (delta 5745)&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Receiving objects: 100% (11437/11437), 3.29 MiB | 2.85 MiB/s, done.&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Resolving deltas: 100% (6610/6610), done.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;[user@box:~/Desktop/test]$ cd mochaui/ &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;Next, I had to modify the "package.yml" file to point to the correct sources directory.&amp;nbsp; The original was incorrect, containing the wrong path &amp;amp; core files.&amp;nbsp; &lt;b&gt;Note: You must have the source files listed in this exact order, lest nothing will work properly.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;My new "package.yml" file looked like so:&lt;br /&gt;&lt;br /&gt;&lt;div class="code" style="-moz-border-radius: 10px 10px 10px 10px; -moz-box-shadow: 5px 5px 5px rgb(85, 85, 85); background: none repeat scroll 0% 0% rgb(162, 162, 162); border: 3px solid rgb(100, 100, 100); color: black; margin-bottom: 1em; padding: 6px;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;name: "MochaUI"&lt;br /&gt;&lt;br /&gt;version: "0.9.8-dev"&lt;br /&gt;&lt;br /&gt;exports: "mochaui.js"&lt;br /&gt;&lt;br /&gt;web: "[mochaui.com](http://mochaui.com/)"&lt;br /&gt;&lt;br /&gt;description: "MochaUI, A web applications user interface library"&lt;br /&gt;&lt;br /&gt;license: "[MIT License](http://mochaui.com/demo/license.txt)"&lt;br /&gt;&lt;br /&gt;copyright: "© [AUTHORS.txt]"&lt;br /&gt;&lt;br /&gt;authors:&lt;br /&gt;&amp;nbsp; - "[Chris Doty](http://polaropposite.com/)"&lt;br /&gt;&amp;nbsp; - "[Greg Houston](http://greghoustondesign.com/)"&lt;br /&gt;&amp;nbsp; - "Scott F. Frederick"&lt;br /&gt;&amp;nbsp; - "Joel Lindau"&lt;br /&gt;&amp;nbsp; - "Harry Roberts"&lt;br /&gt;&lt;br /&gt;sources:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp; - "Source/Core/Core.js"&lt;br /&gt;&amp;nbsp; - "Source/Core/Canvas.js"&lt;br /&gt;&amp;nbsp; - "Source/Core/Content.js"&lt;br /&gt;&amp;nbsp; - "Source/Core/Desktop.js"&lt;br /&gt;&amp;nbsp; - "Source/Core/Column.js"&lt;br /&gt;&amp;nbsp; - "Source/Core/Panel.js"&lt;br /&gt;&amp;nbsp; - "Source/Core/Dock.js"&lt;br /&gt;&amp;nbsp; - "Source/Core/Window.js"&lt;br /&gt;&amp;nbsp; - "Source/Core/Modal.js"&lt;br /&gt;&amp;nbsp; - "Source/Core/Themes.js"&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;Next, I proceded the use the same steps above to clone Packager from: &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;git://github.com/kamicane/packager&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Once cd'ed into my packager directory, I ensured that I had PHP installed.&amp;nbsp; That's an entirely different subject, but if you have access to the "php" command, enter the PHP interactive shell with the command&amp;nbsp;"&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;php -a&lt;span style="font-family: inherit;"&gt;"&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="code" style="-moz-border-radius: 10px 10px 10px 10px; -moz-box-shadow: 5px 5px 5px rgb(85, 85, 85); background: none repeat scroll 0% 0% rgb(162, 162, 162); border: 3px solid rgb(100, 100, 100); color: black; margin-bottom: 1em; padding: 6px;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;[user@box:~/Desktop/test/mochaui/packager]$ php -a&lt;br /&gt;Interactive shell&lt;br /&gt;&lt;br /&gt;php &amp;gt; require_once('packager.php');&lt;br /&gt;php &amp;gt; $pkg = new Packager('&lt;span style="color: red;"&gt;replace_with_path_to_package.yml&lt;/span&gt;');&lt;br /&gt;php &amp;gt; $pkg-&amp;gt;write_from_files('mochaui.js', $pkg-&amp;gt;get_all_files());&lt;br /&gt;php &amp;gt; exit&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;Once in the interactive shell, we need to include the "packager.php" file with the require_once() method.&amp;nbsp; Once PHP knows about the Packager class, we can create a new instance.&lt;br /&gt;&lt;br /&gt;As per the git's documentation (&lt;a href="https://github.com/kamicane/packager"&gt;https://github.com/kamicane/packager&lt;/a&gt;), we can see that the constructor to the Packager instance is simply the path to the "package.yml" manifest file.&amp;nbsp; In my case, this is simply the parent directory.&amp;nbsp; Next, the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;write_from_files()&lt;/span&gt; method takes two parameters, but we really only need to know about the first.&amp;nbsp; This is the output file name.&amp;nbsp; Considering we are building the "mochaui.js" file, that's what the parameter will be.&lt;br /&gt;&lt;br /&gt;After exiting the PHP shell, your Packager should now contain the fully "built" mochaui.js file.&lt;br /&gt;&lt;br /&gt;Hopefully that'll save you some time &amp;amp; research :).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-8060057096642824803?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/8060057096642824803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/11/building-mochauijs-from-git.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/8060057096642824803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/8060057096642824803'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/11/building-mochauijs-from-git.html' title='Building MochaUI.js From Git'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-1149141938986268613</id><published>2010-11-01T16:16:00.002-04:00</published><updated>2010-11-01T16:16:31.904-04:00</updated><title type='text'>Windows XP Left Pane Missing</title><content type='html'>A client recently struggled when his XP workstation's left pane disappeared.&amp;nbsp; This pane contains commons tasks such as emailing files.&lt;br /&gt;&lt;br /&gt;A simple registry modficiaton was needed to remediate the issue:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;Windows Registry Editor Version 5.00&lt;br /&gt;&lt;br /&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]&lt;br /&gt;"WebView"=dword:00000001&lt;br /&gt;&lt;br /&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]&lt;br /&gt;"ClassicShell"=dword:00000000&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;After applying the fix, I killed the "explorer.exe" process, then re-opened it.&amp;nbsp; The pane was now visible.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-1149141938986268613?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/1149141938986268613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/11/windows-xp-left-pane-missing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/1149141938986268613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/1149141938986268613'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/11/windows-xp-left-pane-missing.html' title='Windows XP Left Pane Missing'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-7347431942343587448</id><published>2010-10-06T03:34:00.003-04:00</published><updated>2010-10-06T04:01:51.494-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dual monitor'/><category scheme='http://www.blogger.com/atom/ns#' term='span'/><category scheme='http://www.blogger.com/atom/ns#' term='wallpaper'/><category scheme='http://www.blogger.com/atom/ns#' term='no icons'/><category scheme='http://www.blogger.com/atom/ns#' term='compiz fusion'/><category scheme='http://www.blogger.com/atom/ns#' term='gnome'/><title type='text'>Gnome Decent Dual Monitor Wallpaper Span</title><content type='html'>Tired of trying to use compiz to have wallpaper span both screens, only to find your desktop icons disappear?  &lt;br /&gt;&lt;br /&gt;A few months ago I embarked on a relentless search through mountains of RGBA patches, custom versions of nautilus, and failed attempts at allowing desktop icons to pierce through compiz's iron curtain.&lt;br /&gt;&lt;br /&gt;Finally created a decent method of having wallpaper span dual monitors in Gnome by overriding Gnome's "Spanned" desktop setting (I don't think it works right anyway) with a "Zoomed" dual monitor setting.&amp;nbsp; I first tried this by scaling the image directly, but it looked like crap so I figure Zoom would be better to use.&amp;nbsp; The result is not perfect, but definitely better than waiting 15 years for the Gnome team to come up with a plausible solution.&lt;br /&gt;&lt;br /&gt;The steps I took were for Arch Linux, but you can apply them equally well to any distribution, as long as you know how to make packages from source.&lt;br /&gt;&lt;br /&gt;After reading through &lt;a href="https://bugzilla.gnome.org/show_bug.cgi?id=603551"&gt;this bug&lt;/a&gt;, I realized I should be modifying the desktop settings directly.&lt;br /&gt;&lt;br /&gt;I checked my Gnome version through pacman, and proceeded to download the PKGBUILD straight from the &lt;a href="http://repos.archlinux.org/wsvn/packages/gnome-desktop/trunk/"&gt;Arch SVN&lt;/a&gt;.&amp;nbsp; After receiving the source code, I ran "makepkg" once to ensure the source would compile properly, then proceeded to comment out the following lines in the PKGBUILD file:&lt;br /&gt;&lt;br /&gt;&lt;div class="code" style="background: none repeat scroll 0% 0% rgb(162, 162, 162); border: 3px solid rgb(100, 100, 100); color: black; margin-bottom: 1em; padding: 6px;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#sha256sums=('blahblah')&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;To ensure that the source code would not be downloaded again &amp;amp; overwrite my modifications.&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;Next, I proceeded to open the "src/gnome-desktop-2.32.0/libgnome-desktop/gnome-bg.c" file, and commented out the following line, simply copying the Gnome "Zoom" option's code to the "Span" section of the case statement:&lt;/div&gt;&lt;br /&gt;&lt;div class="code" style="background: none repeat scroll 0% 0% rgb(162, 162, 162); border: 3px solid rgb(100, 100, 100); color: black; margin-bottom: 1em; padding: 6px;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-family: inherit;"&gt;#if 0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; g_print ("original_width: %d %d\n",&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;gdk_pixbuf_get_width (pixbuf),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;gdk_pixbuf_get_height (pixbuf));&lt;br /&gt;#endif&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch (placement) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case GNOME_BG_PLACEMENT_SPANNED:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;// new = pixbuf_scale_to_fit (pixbuf, width, height);&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: red;"&gt;new = pixbuf_scale_to_min (pixbuf, width, height);&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case GNOME_BG_PLACEMENT_ZOOMED:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; new = pixbuf_scale_to_min (pixbuf, width, height);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case GNOME_BG_PLACEMENT_FILL_SCREEN:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; new = gdk_pixbuf_scale_simple (pixbuf, width, height,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GDK_INTERP_BILINEAR);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case GNOME_BG_PLACEMENT_SCALED:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; new = pixbuf_scale_to_fit (pixbuf, width, height);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case GNOME_BG_PLACEMENT_CENTERED:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case GNOME_BG_PLACEMENT_TILED:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; default:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; new = pixbuf_clip_to_fit (pixbuf, width, height);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;Finally, in the next section continaing the "GNOME_BG_PLACEMENT_SPANNED" (around 20 lines down from the previous section), I made the following modification to the code--commenting out what is commented in blue, and replaced with the code in red:&lt;br /&gt;&lt;br /&gt;&lt;div class="code" style="background: none repeat scroll 0% 0% rgb(162, 162, 162); border: 3px solid rgb(100, 100, 100); color: black; margin-bottom: 1em; padding: 6px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;scaled = get_scaled_pixbuf (placement, pixbuf, dest_width, dest_height, &amp;amp;x, &amp;amp;y, &amp;amp;w, &amp;amp;h);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch (placement) {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case GNOME_BG_PLACEMENT_TILED:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; pixbuf_tile (scaled, dest);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case GNOME_BG_PLACEMENT_ZOOMED:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case GNOME_BG_PLACEMENT_CENTERED:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case GNOME_BG_PLACEMENT_FILL_SCREEN:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case GNOME_BG_PLACEMENT_SCALED:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; pixbuf_blend (scaled, dest, 0, 0, w, h, x + area-&amp;gt;x, y + area-&amp;gt;y, 1.0);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case GNOME_BG_PLACEMENT_SPANNED:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // pixbuf_blend (scaled, dest, 0, 0, w, h, x, y, 1.0);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; pixbuf_blend (scaled, dest, 0, 0, w, h, x + area-&amp;gt;x, y + area-&amp;gt;y, 1.0);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; default:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; g_assert_not_reached ();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; g_object_unref (scaled);&lt;/span&gt; &lt;/div&gt;&lt;br /&gt;From here, I saved the source,&amp;nbsp; ran "makepkg -f" again, installed the package, and restarted Gnome.&amp;nbsp; Not perfect, but they are nice ;)&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_wJ_Lt1_2bKM/TKwmVWmbUjI/AAAAAAAAABU/OsMoTVdh9xI/s1600/3rd_boobs.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="239" src="http://2.bp.blogspot.com/_wJ_Lt1_2bKM/TKwmVWmbUjI/AAAAAAAAABU/OsMoTVdh9xI/s320/3rd_boobs.jpeg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-7347431942343587448?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/7347431942343587448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/10/decent-dual-monitor-wallpaper-span.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/7347431942343587448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/7347431942343587448'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/10/decent-dual-monitor-wallpaper-span.html' title='Gnome Decent Dual Monitor Wallpaper Span'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_wJ_Lt1_2bKM/TKwmVWmbUjI/AAAAAAAAABU/OsMoTVdh9xI/s72-c/3rd_boobs.jpeg' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-1468737079094999381</id><published>2010-10-04T11:39:00.000-04:00</published><updated>2010-10-04T11:39:40.430-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ampersand operator'/><category scheme='http://www.blogger.com/atom/ns#' term='dereference passing by reference'/><category scheme='http://www.blogger.com/atom/ns#' term='pointers'/><category scheme='http://www.blogger.com/atom/ns#' term='C++'/><title type='text'>C++ -- Why do we not dereference when passing by reference?</title><content type='html'>I recently got back into trying to teach myself C++, mostly through YouTube tutorials (&lt;a href="http://www.youtube.com/user/outofmylaboratory"&gt;this guy's are pretty good&lt;/a&gt;).&amp;nbsp; I only went to IRC for an answer at one point, but would like to share something I found &amp;amp; wasn't able to Google on.&lt;br /&gt;&lt;br /&gt;Everyone should know how to use pointers when working with C++.. say we had:&lt;br /&gt;&lt;br /&gt;&lt;div class="code" style="background: none repeat scroll 0% 0% rgb(162, 162, 162); border: 3px solid rgb(100, 100, 100); color: black; margin-bottom: 1em; padding: 6px;"&gt;&lt;div style="margin: 0.5em 0pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#include &lt;iostream&gt;&lt;iostream&gt;&lt;/iostream&gt;&lt;/iostream&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;iostream&gt;&lt;/iostream&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;using namespace std;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin: 0.5em 0pt;"&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin: 0.5em 0pt;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin: 0.5em 0pt;"&gt;int main()&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin: 0.5em 0pt;"&gt;{&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin: 0.5em 0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int num = 5;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin: 0.5em 0pt;"&gt;&amp;nbsp; &amp;nbsp; int *pnum = &amp;amp;num;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin: 0.5em 0pt;"&gt;&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;"integer num (@"&amp;lt;&lt;pnum&gt;&amp;lt;&amp;lt;") = "&amp;lt;&amp;lt;*pnum;&lt;/pnum&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin: 0.5em 0pt;"&gt;&amp;nbsp; &amp;nbsp; return 0;&lt;/div&gt;&lt;div style="margin: 0.5em 0pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;} &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;Then we can see that integer &lt;b&gt;num&lt;/b&gt; is set equal to five, and integer pointer &lt;b&gt;pnum&lt;/b&gt; is set to the &lt;i&gt;address&lt;/i&gt; of &lt;b&gt;num&lt;/b&gt;.&amp;nbsp; Normally, in C++, the "&amp;amp;" operator refers to the address of the object the operator is being applied to.&lt;br /&gt;&lt;br /&gt;In the case of passing values to function by reference, I was quite confused when I found that we do not in fact need to dereference the reference passed as an argument.&amp;nbsp; For example:&lt;br /&gt;&lt;br /&gt;&lt;div class="code" style="background: none repeat scroll 0% 0% rgb(162, 162, 162); border: 3px solid rgb(100, 100, 100); color: black; margin-bottom: 1em; padding: 6px;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;#include &lt;iostream&gt;&lt;br /&gt;using namespace std;&lt;br /&gt;&lt;br /&gt;void increment_variable(int &amp;amp; x)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x++;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int num = 5;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; increment_variable(num);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cout&amp;lt;&amp;lt;"integer num (@"&amp;lt;&amp;lt;&amp;amp;num&amp;lt;&amp;lt;") = "&amp;lt;&lt;num&gt;&amp;lt;&lt;endl;&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;br /&gt;}&lt;/endl;&gt;&lt;/num&gt;&lt;/iostream&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;In the &lt;b&gt;increment_variable(int &amp;amp; x)&lt;/b&gt; function, we would think that to increment the value of the &lt;b&gt;x&lt;/b&gt; variable, we would need to dereference the address of the &lt;b&gt;x&lt;/b&gt; variable, which has been passed as a parameter.&amp;nbsp; As shown by the code, this is not in fact the case!&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;In reality, the "&amp;amp;" operator when used with pointers is a completely different operator than the "&amp;amp;" used when passing values to functions by reference.&lt;br /&gt;&lt;br /&gt;Do not get the two confused!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-1468737079094999381?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/1468737079094999381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/10/c-why-do-we-not-dereference-when.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/1468737079094999381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/1468737079094999381'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/10/c-why-do-we-not-dereference-when.html' title='C++ -- Why do we not dereference when passing by reference?'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-6133319229901040416</id><published>2010-09-25T16:29:00.001-04:00</published><updated>2010-09-25T16:30:10.471-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='restore VDI'/><category scheme='http://www.blogger.com/atom/ns#' term='plaintext'/><category scheme='http://www.blogger.com/atom/ns#' term='virtualbox'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='data recovery'/><title type='text'>VirtualBox Adventures &amp; Recovering plaintext data from damaged drive</title><content type='html'>As a network tech, I should always follow the golden rule of backup up data.&amp;nbsp; I recently attempted resizing a partition (after neglecting this pinnacle of IT) &amp;amp; completed destroyed a PHP web application I had been working on.&lt;br /&gt;&lt;br /&gt;The PHP web application was stored in a VM on the host's ext4 partition, and I had managed to destroy both the superblock &amp;amp; journal of the host's filesystem.&amp;nbsp; After an unsuccessful attempt to restore the superblock from a backup on the drive, I figured the FS to be toast, but couldn't accept that the data had been completely lost.&lt;br /&gt;&lt;br /&gt;What I really should've done was taken a DD image from the get-go with the following command:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# dd if=/dev/sda4 of=/media/Storage/Drive_Backup.img&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;After a bit of research and IRC chat, I was directed toward the following page: &lt;a href="http://wiki.yak.net/592"&gt;http://wiki.yak.net/592&lt;/a&gt;.&amp;nbsp; The script seemed perfect for what I had needed to do.&amp;nbsp; I knew the destroyed partition had only been 0.1% non-contiguous, so my hope was to completely recover the virtual hard disk image, or at least a repairable copy.&lt;br /&gt;&amp;nbsp; &lt;br /&gt;To begin, I created a test, dynamically expanding VDI file &amp;amp; opened it within a hex editor:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_wJ_Lt1_2bKM/TJ49Y71xruI/AAAAAAAAABI/xIonxi0D0gQ/s1600/Screenshot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="96" src="http://4.bp.blogspot.com/_wJ_Lt1_2bKM/TJ49Y71xruI/AAAAAAAAABI/xIonxi0D0gQ/s320/Screenshot.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;I could now see that each VDI file began with the string "&amp;lt;&amp;lt;&amp;lt; Sun Virtualbox Disk Image &amp;gt;&amp;gt;&amp;gt;"--the idea was to copy a large amount of data past where the script managed to locate things string, and to chop off the residual data with a hex editor.&lt;br /&gt;&lt;br /&gt;I proceeded to test the procedure by placing the small test VDI file on an ext4 drive, searching for the data by reading the drive byte by byte, and copying only a small amount of data (~1mb) past the point where the magic string was found.&amp;nbsp; The test was successful, though I still doubted I'd be able to recover a usable VDI file.&lt;br /&gt;&lt;br /&gt;After a bit of modification to the script posted above (&lt;a href="http://wiki.yak.net/592"&gt;http://wiki.yak.net/592&lt;/a&gt;), I was able to successfully pick up around 10 VDI files off my dead drive (arbitrarily sized to 4GB past the magic string).&amp;nbsp; After a bit of searching through these recovered VDI files, I found the exact file I was looking for.&amp;nbsp; Unfortunately, my suspicions were confirmed when GRUB was found, but damaged beyond repair.&lt;br /&gt;&lt;br /&gt;At this point, after a bit more research (&lt;a href="http://www.linux.com/community/blogs/howto-read-a-virtualbox-vm-disk-wout-starting-the-vm.html"&gt;http://www.linux.com/community/blogs/howto-read-a-virtualbox-vm-disk-wout-starting-the-vm.html&lt;/a&gt;), I began to realize that all a VDI file did was encapsulate the virtualized file system within VirtualBox metadata.&lt;br /&gt;&lt;br /&gt;From here, I scrapped the whole idea of recovering the VDI and went directly for the plain text data off the drive itself.&lt;br /&gt;&lt;br /&gt;To search through the drive, I ran the command:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;$ grep -ab "php&lt;/span&gt;" /dev/sda4 &amp;gt; grepped&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;As I knew I was searching for plain text files that began with "php"--the search worked flawlessly.&amp;nbsp; The "-b" option on grep, also records the decimal memory address where each instance of the string was found.&lt;br /&gt;&lt;br /&gt;When the search completed, I had a list of the location of every instance of the "php" tag on the drive.&amp;nbsp; This was a massive amount of data to sift through, but I managed to find the location (or at least get close to the location) of the important data I needed, by refining the search with the code's filename; for example:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_wJ_Lt1_2bKM/TJ5BtxYejHI/AAAAAAAAABM/9pIo4tZteow/s1600/Screenshot-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="154" src="http://2.bp.blogspot.com/_wJ_Lt1_2bKM/TJ5BtxYejHI/AAAAAAAAABM/9pIo4tZteow/s320/Screenshot-1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Basically, we can see that a reference to the filename "&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;MY_Controller.php&lt;/span&gt;" &amp;amp; a memory address of &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;391021232450&lt;/span&gt; (decimal).&amp;nbsp; After heading over to the offset through &lt;a href="http://wxhexeditor.sourceforge.net/"&gt;wxHexEditor&lt;/a&gt;, I can see quite clearly that my PHP code is in fact intact:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_wJ_Lt1_2bKM/TJ5DQYrDtUI/AAAAAAAAABQ/LL6Em4egzy8/s1600/Screenshot-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="167" src="http://2.bp.blogspot.com/_wJ_Lt1_2bKM/TJ5DQYrDtUI/AAAAAAAAABQ/LL6Em4egzy8/s320/Screenshot-2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;And it's complete with formatting &amp;amp; indentation :).&amp;nbsp; From here, I've simply copied &amp;amp; pasted out each file as I found them, though some were not quite as straightforward.&lt;br /&gt;&lt;br /&gt;It'll take a lot of hard work &amp;amp; determination to get your files back, so you need to decide whether it's worth it.&lt;br /&gt;&lt;br /&gt;Also try out &lt;a href="http://www.cgsecurity.org/wiki/PhotoRec"&gt;PhotoRec&lt;/a&gt; &amp;amp; &lt;a href="http://foremost.sourceforge.net/"&gt;foremost&lt;/a&gt; if you need to recover stuff that isn't plain text.&lt;br /&gt;&lt;br /&gt;(I may post a condensed version of this document with only a short summarization of plain text data recovery techniques if anyone actually reads this)&lt;br /&gt;&lt;br /&gt;-CJ&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-6133319229901040416?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/6133319229901040416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/09/virtualbox-adventures-recovering.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/6133319229901040416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/6133319229901040416'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/09/virtualbox-adventures-recovering.html' title='VirtualBox Adventures &amp; Recovering plaintext data from damaged drive'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_wJ_Lt1_2bKM/TJ49Y71xruI/AAAAAAAAABI/xIonxi0D0gQ/s72-c/Screenshot.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-2877176930355021071</id><published>2010-09-24T21:59:00.000-04:00</published><updated>2010-09-24T21:59:26.357-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='host i/o cache'/><category scheme='http://www.blogger.com/atom/ns#' term='disk write cache'/><category scheme='http://www.blogger.com/atom/ns#' term='ext4'/><category scheme='http://www.blogger.com/atom/ns#' term='virtualbox'/><title type='text'>Linux Enable Write-Caching On Disk</title><content type='html'>When booting a VM recently, I received the error message below regarding I/O writecaching &amp;amp; virtual hard disk corruption:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_wJ_Lt1_2bKM/TJ1WbGHrDLI/AAAAAAAAABE/LryUUwcpoak/s1600/Screenshot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="246" src="http://3.bp.blogspot.com/_wJ_Lt1_2bKM/TJ1WbGHrDLI/AAAAAAAAABE/LryUUwcpoak/s320/Screenshot.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;After Googling for a bit, I found that the first thing to check with this error is whether I/O write caching is enabled on the VM.&amp;nbsp; In my case, it was.&lt;br /&gt;&lt;br /&gt;Next, a lot of the posts I was reading were stating the corruption was occuring on "ext4" partitions.&amp;nbsp; I assumed that the write caching was a filesystem option.&amp;nbsp; I had heard of the disk write cache when working on Windows servers, but never really knew the specifics.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;After a bit more research, I found disk write-caching was actually a drive option that could be set with the &lt;b&gt;hdparm&lt;/b&gt; command.&amp;nbsp; It will improve performance by 10-20%, but can also cause system instability.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;To enable write-caching on the drive, I ran command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;[user@box ~]$ &lt;b&gt;sudo hdparm -W1 /dev/sda&lt;/b&gt;&lt;br /&gt;Password: &lt;br /&gt;&lt;br /&gt;/dev/sda:&lt;br /&gt;&amp;nbsp;setting drive write-caching to 1 (on)&lt;br /&gt;&amp;nbsp;write-caching =&amp;nbsp; 1 (on)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And rebooted the machine, effectively taking care of the error.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-2877176930355021071?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/2877176930355021071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/09/linux-enable-write-caching-on-disk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/2877176930355021071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/2877176930355021071'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/09/linux-enable-write-caching-on-disk.html' title='Linux Enable Write-Caching On Disk'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_wJ_Lt1_2bKM/TJ1WbGHrDLI/AAAAAAAAABE/LryUUwcpoak/s72-c/Screenshot.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-4938202659953283785</id><published>2010-08-10T10:48:00.000-04:00</published><updated>2010-08-10T10:48:17.369-04:00</updated><title type='text'>Exchange 2007 Offline Address Book 0x80070422</title><content type='html'>If you're getting frustrated by Outlook 2007 clients receiving error 0x80070422 when trying to Send/Receive the Offline Address Book, the first thing to check is your Exchange 2007 service URL's.&lt;br /&gt;&lt;br /&gt;The quickest way to test this from the client end would be to hold CTRL &amp;amp; right click your Outlook 2007 Icon.&amp;nbsp; Choose the option "Test E-mail Autoconfiguration..."&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_wJ_Lt1_2bKM/TGFlITe_ayI/AAAAAAAAAAk/bqT3wcBtZPg/s1600/image001.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_wJ_Lt1_2bKM/TGFlITe_ayI/AAAAAAAAAAk/bqT3wcBtZPg/s320/image001.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;This will open up a new window (see below).&amp;nbsp; In this window, uncheck the options "Use Guessmart" &amp;amp; "Secure Guessmart Authentication."&amp;nbsp; Enter your password &amp;amp; hit "Test."&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_wJ_Lt1_2bKM/TGFlcaHj1ZI/AAAAAAAAAAs/aIFiWtwuyOU/s1600/image002.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_wJ_Lt1_2bKM/TGFlcaHj1ZI/AAAAAAAAAAs/aIFiWtwuyOU/s320/image002.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;If your AutoConfiguration test completes successfully, then you're probably wondering why you're still receiving error 0x80070422.&amp;nbsp; If your email AutoConfiguration test does not complete successfully, please verify your Exchange 2007 Web Service URL's as per &lt;a href="http://www.msexchange.org/articles_tutorials/exchange-server-2007/management-administration/configuring-exchange-server-2007-web-services-urls.html"&gt;this article&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Once you resolve any issues with email AutoConfiguration, many Outlook 2007 issues will also follow!&amp;nbsp; A good example would be when you know that your server certificate is valid, yet you're still receiving a security warning similar to:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_wJ_Lt1_2bKM/TGFmT9mfdyI/AAAAAAAAAA0/RsysVOTbclg/s1600/22085525.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_wJ_Lt1_2bKM/TGFmT9mfdyI/AAAAAAAAAA0/RsysVOTbclg/s320/22085525.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp;Check those service URL's!&lt;br /&gt;&lt;br /&gt;Now, the next step to remediating your 0x80070422 error (which is a CLIENT SIDE ERROR), enable the BITS service on the client PC.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-4938202659953283785?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/4938202659953283785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/08/exchange-2007-offline-address-book.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/4938202659953283785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/4938202659953283785'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/08/exchange-2007-offline-address-book.html' title='Exchange 2007 Offline Address Book 0x80070422'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_wJ_Lt1_2bKM/TGFlITe_ayI/AAAAAAAAAAk/bqT3wcBtZPg/s72-c/image001.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-9021239175761054290</id><published>2010-07-18T17:08:00.001-04:00</published><updated>2010-07-18T17:08:43.243-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='uuid'/><category scheme='http://www.blogger.com/atom/ns#' term='fstab'/><category scheme='http://www.blogger.com/atom/ns#' term='mount usb drive'/><category scheme='http://www.blogger.com/atom/ns#' term='boot'/><title type='text'>USB Drive Fstab UUID (Arch Linux)</title><content type='html'>Just had an issue where I could not mount my USB drive at boot time I was getting an error along the lines of UUID=blah not found...I previously had performed the standard "sudo blkid" and received the following output:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;[corte@ashbox ~]$ sudo blkid&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;Password: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;/dev/sda1: LABEL="Boot" UUID="3a31d197-0436-4b87-9f06-b03080a3772f" TYPE="ext2" &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;/dev/sda2: UUID="ea73d633-0f71-43a3-9101-6461f19b1222" TYPE="swap" &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;/dev/sda3: LABEL="Root" UUID="63b1459a-3ee6-4d7a-9afa-9ad40db800bd" TYPE="ext4" &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;/dev/sda4: LABEL="Home" UUID="00e59ee8-019b-4ad2-9171-e8501a1022c3" TYPE="ext4" &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;&lt;b&gt;/dev/sdb1: LABEL="Elements" UUID="7da36762-56c3-471d-bfa1-5b4895bfa0d7" TYPE="xfs"&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Noting the UUID of my external USB drive (Elements), I added the following line into my fstab file:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;UUID=7da36762-56c3-471d-bfa1-5b4895bfa0d7 /media/Elements auto defaults 0 0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;Everything went dandy with a "mount -a" yet at the next reboot, I received an error stating that the device with the UUID 7da..could not be found.&amp;nbsp; A bit of research lead me to the solution...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;&lt;span style="font-size: small;"&gt;Including "usb" before "filesystems" in the hooks section of your /etc/mkinitcpio.conf file:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;HOOKS="base udev autodetect pata scsi sata &lt;b&gt;usb&lt;/b&gt; filesystems v86d"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-size: small;"&gt;Regenerate your mkinitcpio file with:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;sudo mkinitcpio -g kernel26.img&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;Then be sure to make a backup of your old /boot/kernel26.img&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;sudo mv /boot/kernel26.img /boot/kernel26.img.bak&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;Finally, copy your new kernel26.img to /boot.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;cp kernel26.img /boot/kernel26.img&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;&lt;span style="font-size: small;"&gt;Now reboot and your external drive should be mounted automatically with no issues.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-9021239175761054290?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/9021239175761054290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/07/usb-drive-fstab-uuid-arch-linux.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/9021239175761054290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/9021239175761054290'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/07/usb-drive-fstab-uuid-arch-linux.html' title='USB Drive Fstab UUID (Arch Linux)'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-1505565594841704278</id><published>2010-06-18T20:14:00.001-04:00</published><updated>2010-06-18T20:21:24.898-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hip-Hop'/><category scheme='http://www.blogger.com/atom/ns#' term='Broken Star'/><category scheme='http://www.blogger.com/atom/ns#' term='1773 lyrics'/><title type='text'>Completely Unrelated...</title><content type='html'>Completely unrelated to the song, but quite a dope ass song:&lt;br /&gt;&lt;br /&gt;1773 - Broken Star&lt;br /&gt;&lt;br /&gt;Broken star,&lt;br /&gt;I see you from afar,&lt;br /&gt;With your upper torso pressed up against the passenger side of a car,&lt;br /&gt;Attention directed towards some cat,&lt;br /&gt;Pullin' over in the Cadalliac,&lt;br /&gt;Cause he noticed your back was fat,&lt;br /&gt;But the fact is your attempts are to supplement what you lack,&lt;br /&gt;Trapped into believing what some stranger had promised you,&lt;br /&gt;Mainpulating, stating, that this ain't nothing that you gotta do,&lt;br /&gt;Conning you before you know he turns to you and speak,&lt;br /&gt;Don't worry it's just gonna be,&lt;br /&gt;Herpes you and me,&lt;br /&gt;Now disease and the sea symoblize your promiscuity,&lt;br /&gt;&lt;br /&gt;I knew a similar star that was already broken,&lt;br /&gt;I'm speakin' on something that you already knowing,&lt;br /&gt;Traveling all roads,&lt;br /&gt;That long have been chosen by a man who control,&lt;br /&gt;Her mind and her soul,&lt;br /&gt;Always treated her cold, and always needed to know, where she would be,&lt;br /&gt;And what time she was there 'til,&lt;br /&gt;If he thought she was lyin', &lt;br /&gt;He would give her a black bruise,&lt;br /&gt;As a youngin',&lt;br /&gt;She was always a tad lewd,&lt;br /&gt;The story of her life,&lt;br /&gt;Struggle to survive but barely staying alive,&lt;br /&gt;Wanting to end the strife,&lt;br /&gt;&lt;br /&gt;[Chorus]&lt;br /&gt;Broken star,&lt;br /&gt;Can't you see that you are falling oh so fast? &lt;br /&gt;This won't last&lt;br /&gt;She was a broken star and couldn't travel far,&lt;br /&gt;Broken star,&lt;br /&gt;Can't you see that you are falling oh so fast? &lt;br /&gt;This won't last,&lt;br /&gt;She was a broken star and couldn't travel far,&lt;br /&gt;&lt;br /&gt;This broken star was constantly filled with pain,&lt;br /&gt;No one was able to see, the tears in her name,&lt;br /&gt;She was a slave, to the fear, that had claimed her life for so long what else can go wrong,&lt;br /&gt;She could hardly hold on,&lt;br /&gt;She said his grip was so strong,&lt;br /&gt;And she couldn't break free,&lt;br /&gt;And she get loose,&lt;br /&gt;His hands, tied around, her neck like a noose,&lt;br /&gt;She was tired of it, and wanted something new but didn't know where to start,&lt;br /&gt;Alone in her heart,&lt;br /&gt;Wanting to get far was the state of this star,&lt;br /&gt;&lt;br /&gt;Mentally damaged with emotions to manage,&lt;br /&gt;Physically famished to the point your lists have anything that's handed,&lt;br /&gt;Branded by beasts who won't deny,&lt;br /&gt;What they demanded and that seed that's implanted suddenly forced to vanish,&lt;br /&gt;Created by a stranger and we didn't plant it,&lt;br /&gt;It's the thought that led you to your decision,&lt;br /&gt;Cause you figured it'd be better of dead than with an infected one to livin',&lt;br /&gt;Given' the circumstances, &lt;br /&gt;You justify your actions,&lt;br /&gt;By saying you were given a corner and forced by back in,&lt;br /&gt;But really it was what you chose that made this happen,&lt;br /&gt;&lt;br /&gt;[Chorus]&lt;br /&gt;&lt;br /&gt;To get ahead you feel you're doing what you have to do,&lt;br /&gt;But simultaneously spreading what was passed to you,&lt;br /&gt;Back when you were half developing, initiated, &lt;br /&gt;Enabled to count all the times that you been degraded,&lt;br /&gt;Now you feel you kid your soul and you wished you saved it,&lt;br /&gt;Jaded from being so misguided and the world divided,&lt;br /&gt;Thought this was the plan for life but now you wanna revise it,&lt;br /&gt;It be wise you changed before you're old and scarred,&lt;br /&gt;And grow so far from being who you know you are,&lt;br /&gt;Cause you use to shine bright now you're a broken star,&lt;br /&gt;&lt;br /&gt;She finally gathered the strength to leave this man,&lt;br /&gt;No longer, will her face come in contact with his hand,&lt;br /&gt;She's starting to realize that she seems to understand,&lt;br /&gt;What it is she has done,&lt;br /&gt;And what she's gotta do,&lt;br /&gt;Now she sees the sun and the sky so blue,&lt;br /&gt;And for the first time in her life, she feels real peace,&lt;br /&gt;Left another man in her life, initials J.C.,&lt;br /&gt;He heard her cry out when she yelled "save me!"&lt;br /&gt;He came to her rescue and said I will mend you,&lt;br /&gt;No longer broken star, my love now protects you,&lt;br /&gt;&lt;br /&gt;[Chorus]&lt;br /&gt;&lt;br /&gt;You're a star, you're a star,&lt;br /&gt;So let your light shine,&lt;br /&gt;Cause the nigga's see the light and the light so bright,&lt;br /&gt;Let your light shine,&lt;br /&gt;Cause the nigga's see the light and the light so bright.&lt;br /&gt;&lt;br /&gt;&lt;object width="300" height="205"&gt;&lt;param name="movie" value="http://www.youtube.com/v/xaBkVdzGdIc&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;border=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/xaBkVdzGdIc&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="300" height="205"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-1505565594841704278?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/1505565594841704278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/06/completely-unrelated.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/1505565594841704278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/1505565594841704278'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/06/completely-unrelated.html' title='Completely Unrelated...'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-3533230421507950565</id><published>2010-04-11T21:50:00.001-04:00</published><updated>2010-04-11T21:51:03.572-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux can&apos;t search'/><category scheme='http://www.blogger.com/atom/ns#' term='external hard drive'/><category scheme='http://www.blogger.com/atom/ns#' term='locate'/><category scheme='http://www.blogger.com/atom/ns#' term='removable drive'/><category scheme='http://www.blogger.com/atom/ns#' term='usb drive'/><title type='text'>Searching Removable Drives Linux</title><content type='html'>Had some trouble with something I'd had earlier trouble with in the past.&amp;nbsp; When using the locate command (even after running updatedb), I was unable to search my removable USB drives.&lt;br /&gt;&lt;br /&gt;The solution was to modify the /etc/updatedb.conf file, and remove /media from the prune path:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;PRUNE_BIND_MOUNTS="yes"&lt;br /&gt;# PRUNENAMES=".git .bzr .hg .svn"&lt;br /&gt;PRUNEPATHS="/tmp /var/spool /media"&lt;br /&gt;PRUNEFS="NFS nfs nfs4 rpc_pipefs afs binfmt_misc proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs shfs sysfs cifs lustre_lite tmpfs usbfs udf"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Guess this was more a mental note to myself :).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-3533230421507950565?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/3533230421507950565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/04/searching-removable-drives-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/3533230421507950565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/3533230421507950565'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/04/searching-removable-drives-linux.html' title='Searching Removable Drives Linux'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-8802887286039424827</id><published>2010-02-16T12:41:00.003-05:00</published><updated>2010-02-16T12:42:30.300-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Vista/7'/><category scheme='http://www.blogger.com/atom/ns#' term='freeware'/><category scheme='http://www.blogger.com/atom/ns#' term='Hide VirtualBox VM'/><category scheme='http://www.blogger.com/atom/ns#' term='Hide running window'/><title type='text'>Hiding a Window</title><content type='html'>So I recently set up a VirtualBox VM on my Windows 7 machine so I could access my XFS hard disk through a network share.&lt;br /&gt;&lt;br /&gt;Being there's no way to hide a VirualBox VM by default (even by running in headless mode), I went ahead &amp;amp; wrote a quick C# program to hide running windows.&lt;br /&gt;&lt;br /&gt;First of all, I created a .bat file to run my VM headless...the contents are as follows:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;cd "C:\Program Files\Sun\VirtualBox"&lt;br /&gt;VBoxHeadless.exe -s Ubuntu&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;Simple enough?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;Here's my error-prone, crappy window hiding app:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/goog_1266342095269"&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="downloadlink"&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.blogger.com/goog_1266342095271"&gt;http://rapidshare.com/files/351469010/HideWindow_Final.rar.html&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: x-small;"&gt;MD5: B53BF803244C53C92E9447597BF6AA9F&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.megaupload.com/?d=XTTQMSG1"&gt;http://www.megaupload.com/?d=XTTQMSG1&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If it crashes your system, doesn't work, etc.......too bad! :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-8802887286039424827?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/8802887286039424827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/02/hiding-window.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/8802887286039424827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/8802887286039424827'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2010/02/hiding-window.html' title='Hiding a Window'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-6270492511673705202</id><published>2009-12-01T16:55:00.000-05:00</published><updated>2009-12-01T16:55:56.291-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='port 80'/><category scheme='http://www.blogger.com/atom/ns#' term='HTTP Traffic'/><category scheme='http://www.blogger.com/atom/ns#' term='ping'/><category scheme='http://www.blogger.com/atom/ns#' term='page cannot be displayed'/><category scheme='http://www.blogger.com/atom/ns#' term='tracert'/><category scheme='http://www.blogger.com/atom/ns#' term='nslookup'/><category scheme='http://www.blogger.com/atom/ns#' term='browser does not work'/><title type='text'>HTTP Traffic Blocked (Windows XP)</title><content type='html'>Yesterday, I got some work fixing a PC that was loaded with Trojans. &amp;nbsp;After a repair installation of XP Pro w/SP2, I was brought to the activation window which could not hit the internet.&lt;br /&gt;&lt;br /&gt;Thinking the problem was a driver issue, I quickly pulled the Windows key + U trick to pull up an explorer window. &amp;nbsp;Finding the drivers were intact, I proceeded to both ping 4.2.2.2 &amp;amp; google.com, as well as nslookup google.com. &amp;nbsp;Both were successful.&lt;br /&gt;&lt;br /&gt;I opened an IE window, checked the proxy settings, reset all the settings, etc...still could not browse--was getting the error "Internet Explorer can not open the search page." &amp;amp; a page cannot be displayed error.&lt;br /&gt;&lt;br /&gt;Thinking the trojan was still impacting IE, I installed Firefox from a flash drive, and ended up with the same result.&lt;br /&gt;&lt;br /&gt;I next attempted to telnet to port 80 &amp;amp; 8080 on a number of web sites. &amp;nbsp;All HTTP traffic was blocked.&lt;br /&gt;&lt;br /&gt;After a few more hours of struggling &amp;amp; research, I realized the culprit:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Norton Internet Security Version 2006 (Symantec).&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;A run of the Norton Removal Tool (http://service1.symantec.com/Support/tsgeninfo.nsf/docid/2005033108162039) &amp;amp; reboot, and the issue was resolved.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-6270492511673705202?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/6270492511673705202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2009/12/http-traffic-blocked-windows-xp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/6270492511673705202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/6270492511673705202'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2009/12/http-traffic-blocked-windows-xp.html' title='HTTP Traffic Blocked (Windows XP)'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-568739958421568738</id><published>2009-11-26T03:16:00.000-05:00</published><updated>2009-11-26T03:16:46.407-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RemoteApp'/><category scheme='http://www.blogger.com/atom/ns#' term='rejects credentials'/><category scheme='http://www.blogger.com/atom/ns#' term='event id 6037'/><category scheme='http://www.blogger.com/atom/ns#' term='terminal services'/><category scheme='http://www.blogger.com/atom/ns#' term='TS 2008'/><title type='text'>Terminal Services Event ID 6037</title><content type='html'>I recently struggled with this one for work, after I made a change to IIS on our terminal server (Server 2008 Standard). &amp;nbsp;I could not launch TS RemoteApps, as credentials were being consistently rejected, though correct. &amp;nbsp;The only error I could find in the event log was along these lines:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;Log Name: System&lt;br /&gt;Source: LsaSrv&lt;br /&gt;Date: 10/27/2008 10:46:40 PM&lt;br /&gt;Event ID: 6037&lt;br /&gt;Task Category: None&lt;br /&gt;Level: Warning&lt;br /&gt;Keywords: Classic&lt;br /&gt;User: N/A&lt;br /&gt;Computer: Gateway&lt;br /&gt;Description:&lt;br /&gt;The program lsass.exe, with the assigned process ID 572, could not authenticate locally by using the target name TERMSERV/ts.xxxx.com. The target name used is not valid. A target name should refer to one of the local computer names, for example, the DNS host name.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This error may also contain address "HTTP/ts.xxxx.com"&lt;br /&gt;&lt;br /&gt;Thanks to Chad A. Gross on the http://www.vistax64.com forums, I was pointed at a blog with a solution: http://blogs.technet.com/sbs/archive/2009/05/07/event-2436-for-sharepoint-services-3-search.aspx.&lt;br /&gt;&lt;br /&gt;Though the blog states a solution for a different problem, it worked just as well for me:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;Click Start, click Run, type regedit, and then click OK.&lt;br /&gt;In Registry Editor, locate and then click the following registry key: &lt;br /&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0&lt;br /&gt;Right-click MSV1_0, point to New, and then click Multi-String Value.&lt;br /&gt;Type BackConnectionHostNames, and then press ENTER.&lt;br /&gt;Right-click BackConnectionHostNames, and then click Modify.&lt;br /&gt;In the Value data box, type the URL mentioned in the above warning event, and then click OK.&lt;br /&gt;Quit Registry Editor, and then restart the IIS service.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For good measure, I restarted the server and bam, the error was gone.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-568739958421568738?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/568739958421568738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2009/11/terminal-services-event-id-6037.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/568739958421568738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/568739958421568738'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2009/11/terminal-services-event-id-6037.html' title='Terminal Services Event ID 6037'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-6239653805326987770</id><published>2009-10-19T01:55:00.002-04:00</published><updated>2009-10-19T01:56:15.733-04:00</updated><title type='text'>Installing .TTF Fonts in Slackware 12.2</title><content type='html'>I was recently working on a project for my boss when I found I needed to install some new fonts for GIMP.&lt;br /&gt;&lt;br /&gt;I had downloaded some free TTF's from http://www.1001freefonts.com/ &amp;amp; needed to install them.&lt;br /&gt;&lt;br /&gt;Restarting X was a pain, so I found the following steps worked with only restarting GIMP:&lt;br /&gt;&lt;br /&gt;1.)&amp;nbsp; Move your fonts into the ~/.fonts folder.&amp;nbsp; Create it if it doesn't exist.&lt;br /&gt;2.)&amp;nbsp; Run command &lt;b&gt;makefontdir &lt;/b&gt;&lt;br /&gt;3.)&amp;nbsp; Run command &lt;b&gt;makefontscale&lt;/b&gt;&lt;br /&gt;4.)&amp;nbsp; Run command &lt;b&gt;fc-cache&lt;/b&gt;&lt;br /&gt;5.)&amp;nbsp; Finally, command &lt;b&gt;xset fp rehash&lt;/b&gt;&lt;br /&gt;6.)&amp;nbsp; Restart whatever application you're working with, be it GIMP, OOo, or whatever.&lt;br /&gt;&lt;br /&gt;Your font should now be listed!&lt;br /&gt;&lt;b&gt; &lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-6239653805326987770?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/6239653805326987770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2009/10/installing-ttf-fonts-in-slackware-122.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/6239653805326987770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/6239653805326987770'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2009/10/installing-ttf-fonts-in-slackware-122.html' title='Installing .TTF Fonts in Slackware 12.2'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-5100891717262791205</id><published>2009-10-01T19:18:00.000-04:00</published><updated>2009-10-01T19:18:27.204-04:00</updated><title type='text'>Installing (Free) G729 Codec on Trixbox CE</title><content type='html'>The G.729 codec is a low-bandwidth codec, excellent for use in VoIP.&lt;br /&gt;&lt;br /&gt;In this case, a client which my company manages wanted to minimize bandwidth usage from VoIP phones traveling through a VPN.  Both the G729 &amp;amp; G723 codec are freely available from &lt;a href="http://asterisk.hosting.lv/"&gt;here&lt;/a&gt;, though you can alawys purchase a copy from &lt;a href="http://store.digium.com/productview.php?product_code=G729CODEC"&gt;Digium&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;First download the G729 codec appropriate for your processor &amp;amp; system type.  A great way to find this information is to run a &lt;b&gt;cat /proc/cpuinfo&lt;/b&gt; and a &lt;b&gt;uname -m&lt;/b&gt; command.  Search down through the list (ensure you download G729, not G723!) for your appropriate binary.  In my case, we were running on a P4 with no ss3, so I stuck with the standard codec_g729ast14-gcc4-glibc-pentium4.so binary.&lt;br /&gt;&lt;br /&gt;Now, I'm not sure if this is necessary, but I moved the &lt;b&gt;/usr/lib/asterisk/modules/format_g729.so&lt;/b&gt; file out of the &lt;b&gt;/usr/lib/asterisk/modules&lt;/b&gt; folder, over to &lt;b&gt;/home/root&lt;/b&gt;.  I did this to ensure we were starting fresh.&lt;br /&gt;&lt;br /&gt;Next, copy the downloaded codec over to that same &lt;b&gt;/usr/asterisk/modules&lt;/b&gt; folder.  Connect into asterisk console with the command &lt;b&gt;asterisk -r&lt;/b&gt;, and load the new codec with &lt;b&gt;module load codec_g729-ast14-gcc4-glibc-pentium4.so&lt;/b&gt;, or whatever your codec was.&lt;br /&gt;&lt;br /&gt;You would think the phone system would be ready for G729 use, but in my case, I needed to restart asterisk with the command &lt;b&gt;restart gracefully&lt;/b&gt;.  &lt;b&gt;Ensure everyone is out of the office, as this will drop all live calls!&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;When asterisk comes back up, log back into asterisk and run the command &lt;b&gt;show translation&lt;/b&gt; which should give you some output such as the following:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_wJ_Lt1_2bKM/SsU30GRBzOI/AAAAAAAAAAM/NgeAI5kFqgo/s1600-h/2009-10-01-191344_666x408_scrot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_wJ_Lt1_2bKM/SsU30GRBzOI/AAAAAAAAAAM/NgeAI5kFqgo/s320/2009-10-01-191344_666x408_scrot.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;As long as there’s a # (in this case, 6’s) and not a – under the g729 codec, we know it’s working properly.&lt;br /&gt;&lt;br /&gt;The next step would be to head into the web interface, under PBX-&amp;gt;PBX Settings-&amp;gt;Extensions, choose the extension you wish to enable the codec for, ensure disallow is set to “all” and allow is set to “g729”.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_wJ_Lt1_2bKM/SsU4P5JYK0I/AAAAAAAAAAU/80Zdu_gFTbY/s1600-h/2009-10-01-191547_488x287_scrot.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_wJ_Lt1_2bKM/SsU4P5JYK0I/AAAAAAAAAAU/80Zdu_gFTbY/s320/2009-10-01-191547_488x287_scrot.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href="http://3.bp.blogspot.com/_wJ_Lt1_2bKM/SsU4dOer6CI/AAAAAAAAAAc/6mSpds1Mh7w/s1600-h/2009-10-01-191701_436x589_scrot.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_wJ_Lt1_2bKM/SsU4dOer6CI/AAAAAAAAAAc/6mSpds1Mh7w/s320/2009-10-01-191701_436x589_scrot.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Once the extension is set up to allow g729, you can test whether it’s working properly by having a test call connected and running the command &lt;b&gt;sip show channels&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;trixbox1*CLI&amp;gt; sip show channels&lt;br /&gt;&lt;br /&gt;Peer             User/ANR    Call ID      Seq (Tx/Rx)  Format           Hold     Last Message&lt;br /&gt;&lt;br /&gt;10.100.253.91    4004        2e1225e1-27  00101/00002  0x100 (g729)     No       Rx: ACK&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;:).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-5100891717262791205?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/5100891717262791205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2009/10/installing-free-g729-codec-on-trixbox.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/5100891717262791205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/5100891717262791205'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2009/10/installing-free-g729-codec-on-trixbox.html' title='Installing (Free) G729 Codec on Trixbox CE'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_wJ_Lt1_2bKM/SsU30GRBzOI/AAAAAAAAAAM/NgeAI5kFqgo/s72-c/2009-10-01-191344_666x408_scrot.png' height='72' width='72'/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-4716897774220269075</id><published>2009-09-07T02:46:00.002-04:00</published><updated>2009-09-07T11:34:29.220-04:00</updated><title type='text'>Sharing LAN/Internet Connection to 2nd NIC</title><content type='html'>I bought a PS3 several months ago, and wanted to try streaming movies to the PS3 using something like &lt;a href="http://mediatomb.cc/"&gt;Mediatomb&lt;/a&gt; or &lt;a href="http://ps3mediaserver.blogspot.com/"&gt;PS3 Media Server&lt;/a&gt; (my personal favorite).&lt;br /&gt;&lt;br /&gt;My first attempted involved transcoding &amp;amp; wireless..the combination resulted in endless lag &amp;amp; choppiness, that essentially made the movie unplayable.  To resolve the issue, I decided to install a secondary NIC into my PC, to share the connection from the first NIC.  This way, I could not only stream movies from my PC directly to the PS3 via crossover cable, I could also access the internet as well.&lt;br /&gt;&lt;br /&gt;To begin, ensure that your NIC has been properly installed in your kernel.  A quick &lt;b&gt;lspci&lt;/b&gt; should do the trick:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;00:09.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;&lt;b&gt;00:0a.0 Ethernet controller: ADMtek NC100 Network Everywhere Fast Ethernet 10/100 (rev 11)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Boom.  Now let's proceed to ensuring that IPv4 forwarding is enabled.  In Slackware 12.2, we can ensure this forwarding is enabled at boot time by by navigating over to &lt;b&gt;/etc/rc.d/&lt;/b&gt; &amp;amp; checking that the file &lt;b&gt;rc.ip_forward&lt;/b&gt; has the execute permission (it's green when we type ls, if your bash is using colors).  If not, we run the command &lt;b&gt;su -c "chmod +x rc.ip_forward"&lt;/b&gt;, then the command &lt;b&gt;/etc/rc.d/rc.ip_forward start&lt;/b&gt; -- the final result should be as following: &lt;b&gt;Activating IPv4 packet forwarding.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Next, I set a static IP on the secondary NIC as 192.168.2.2.&amp;nbsp; My other NIC (and router) are on the 192.168.1.1 subnet.&amp;nbsp; Here's a quick view of my topology:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;|Router|&lt;/b&gt;&lt;br /&gt;192.168.1.1&lt;br /&gt;&lt;b&gt;|&lt;/b&gt;&lt;br /&gt;192.168.1.33&lt;b&gt; (eth1)&lt;/b&gt;&lt;br /&gt;&lt;b&gt;|PC|&lt;/b&gt;&lt;br /&gt;192.168.2.1 &lt;b&gt;(eth0) &lt;/b&gt;&lt;br /&gt;&lt;b&gt;|PS3|&lt;/b&gt;&lt;br /&gt;192.168.2.1&lt;br /&gt;&lt;br /&gt;As you can see the secondary NIC &amp;amp; PS3 are on a completely different subnet. This is to avoid having to add a route on my router to route packets to the PS3.&lt;br /&gt;&lt;br /&gt;My NIC configuration on the PC's secondary NIC is set as following, in my &lt;b&gt;/etc/rc.d/rc.inet1.conf:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;# Config information for eth0: (connected to the PS3)&lt;br /&gt;IPADDR[0]="192.168.2.1"&lt;br /&gt;NETMASK[0]="255.255.255.0"&lt;br /&gt;USE_DHCP[0]=""&lt;br /&gt;DHCP_HOSTNAME[0]=""&lt;br /&gt;&lt;br /&gt;# Config information for eth1: (connected to the LAN)&lt;br /&gt;IPADDR[1]="192.168.1.133"&lt;br /&gt;NETMASK[1]="255.255.255.0"&lt;br /&gt;USE_DHCP[1]=""&lt;br /&gt;DHCP_HOSTNAME[1]=""&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Once you save the configuration, restart your internet services with the command &lt;b&gt;/etc/rc.d/rc.inet1 restart&lt;/b&gt;&amp;nbsp; -- your NIC's should now hold the proper IP addresses.&lt;br /&gt;&lt;br /&gt;Now our next step will be to create a new start-up script in /etc/rc.d to properly forward traffic between the two NIC's.  My file is named &lt;b&gt;/etc/rc.d/rc.ps3&lt;/b&gt; (appropriate, huh ;]), and contains the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;#!/bin/sh&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;echo "Starting PS3 services..."&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;/usr/sbin/iptables -F&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;/usr/sbin/iptables -t nat -F&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;/usr/sbin/iptables -t mangle -F&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;/usr/sbin/iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;/usr/sbin/iptables -A FORWARD -i eth0 -j ACCEPT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;echo "PS3 crossover forwarding enabled."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In this example, my external NIC (facing the LAN/internet) is eth1, while the NIC connected to the PS3 via crossover is eth0.&lt;br /&gt;&lt;br /&gt;Save the file, and set the execute bit with &lt;b&gt;chmod +x rc.ps3&lt;/b&gt; .... &lt;br /&gt;&lt;br /&gt;Have fun streaming &amp;amp; surfing!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-4716897774220269075?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/4716897774220269075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2009/09/sharing-laninternet-connection-to-2nd.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/4716897774220269075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/4716897774220269075'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2009/09/sharing-laninternet-connection-to-2nd.html' title='Sharing LAN/Internet Connection to 2nd NIC'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-8253130201446505830</id><published>2009-09-01T02:27:00.005-04:00</published><updated>2009-09-01T02:33:54.888-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='device mapper'/><category scheme='http://www.blogger.com/atom/ns#' term='slackware 12.0'/><category scheme='http://www.blogger.com/atom/ns#' term='/sbin/lilo'/><title type='text'>/proc/misc: No entry for device-mapper found Is device-mapper driver missing from kernel?</title><content type='html'>This is a bit of an irritating error, with a simple solution:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-size: small;"&gt;/proc/misc: No entry for device-mapper found&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-size: small;"&gt;Is device-mapper driver missing from kernel?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-size: small;"&gt;Failure to communicate with kernel device-mapper driver.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-size: small;"&gt;Added Linux *&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;First of all, we need to make sure that our kernel configuration has &lt;/span&gt;&lt;b&gt;Device Drivers-&amp;gt;Multiple devices driver support (RAID and LVM)&lt;/b&gt; compiled in, with &lt;b&gt;Device Mapper Support&lt;/b&gt; as a module.&lt;br /&gt;&lt;br /&gt;Once device mapper support is compiled in as a module, if we still receive the error, we can run:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;sudo modprobe dm_mod&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;sudo /sbin/lilo&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The errors should now be gone:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-size: small;"&gt;Added Linux *&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-8253130201446505830?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/8253130201446505830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2009/09/procmisc-no-entry-for-device-mapper.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/8253130201446505830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/8253130201446505830'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2009/09/procmisc-no-entry-for-device-mapper.html' title='/proc/misc: No entry for device-mapper found Is device-mapper driver missing from kernel?'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-214412248781097398.post-7344918551289947037</id><published>2009-08-30T16:01:00.003-04:00</published><updated>2009-08-30T16:10:11.103-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='12.0'/><category scheme='http://www.blogger.com/atom/ns#' term='geforce'/><category scheme='http://www.blogger.com/atom/ns#' term='slackware'/><category scheme='http://www.blogger.com/atom/ns#' term='xfce'/><category scheme='http://www.blogger.com/atom/ns#' term='compiz fusion'/><category scheme='http://www.blogger.com/atom/ns#' term='nvidia'/><category scheme='http://www.blogger.com/atom/ns#' term='mx440'/><title type='text'>Compiz Fusion + Xfce 4.6 + Slackware 12.2 + NVIDIA</title><content type='html'>This one should be relatively easy for people, but I'd just like to document the steps taken anyway--I had a bit of a time getting Compiz to start properly in Xfce.&amp;nbsp; Please note these are not best practices &amp;amp; are simply the steps to get compiz working for &lt;b&gt;me&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;First of all, navigate your browser over to: &lt;a href="http://www.slackbuilds.org/"&gt;http://www.slackbuilds.org&lt;/a&gt; &amp;amp; run a search for "compiz," under version 12.2.&amp;nbsp; Your first result will be the "compiz-bcop" slackbuild.&amp;nbsp; Select it, which will show you a quick description of the package, and the suggested build order of all compiz packages:&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Suggested build order:&lt;/b&gt;&lt;br /&gt;1. compiz-bcop&lt;br /&gt;2. libcompizconfig&lt;br /&gt;3. compizconfig-backend-kconfig (optional)&lt;br /&gt;4. compizconfig-backend-gconf (optional)&lt;br /&gt;5. compizconfig-python&lt;br /&gt;6. ccsm&lt;br /&gt;7. simple-ccsm (optional)&lt;br /&gt;8. compiz-fusion-plugins-main&lt;br /&gt;9. compiz-fusion-plugins-extra (optional)&lt;br /&gt;10. compiz-fusion-plugins-unsupported (optional)&lt;br /&gt;11. emerald (optional)&lt;br /&gt;12. emerald-themes (optional)&lt;br /&gt;13. fusion-icon (optional)&lt;br /&gt;&lt;br /&gt;Now, download it.&amp;nbsp; If you're unfamiliar with SlackBuilds, they're actually quite simple:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Find which SlackBuild you'd like to download.&amp;nbsp; In this case, it's the "compiz-bcop" SlackBuild.&amp;nbsp; Please note that SlackBuilds &lt;i&gt;do not&lt;/i&gt; contain the application's source, this is a separate download.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Download "compiz-bcop.tar.gz," "compiz-bcop-0.7.8.tar.gz," (or other appropriate version) and optionally, the "compiz-bcop.tar.gz.asc" file.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;(Optional) If you chose to download the .asc file, you can verify the integrity of your SlackBuild by using the command &lt;b&gt;gpg --verify compiz-bcop.tar.gz.asc&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Extract the SlackBuild with &lt;b&gt;tar -zxvf compiz-bcop.tar.gz&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Move the source file, "compiz-bcop-0.7.8.tar.gz" into the newly extracted compiz-bcop directory, and extract this file too: &lt;b&gt;tar -zxvf compiz-bcop-0.7.8.tar.gz&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Now all that's left to do is to run a quick root command of: &lt;b&gt;su -c "./compiz-bcop.SlackBuild" &lt;/b&gt;or &lt;b&gt;sudo ./compiz-bcop.SlackBuild&lt;/b&gt;&lt;/li&gt;&lt;li&gt;You'll get some verbose build &amp;amp; other messages, which ultimately lead to a package created somewhere on your hard drive (in my case, which I believe is the default, the package created is &lt;b&gt;/tmp/compiz-bcop-0.7.8-i486-1_SBo.tgz&lt;/b&gt;).&lt;/li&gt;&lt;li&gt;Run a quick &lt;b&gt;su -c "installpkg /tmp/compiz-bcop-0.7.8-i486-1_SBo.tgz" &lt;/b&gt;or &lt;b&gt;sudo installpkg /tmp/compiz-bcop-0.7.8-i486-1_SBo.tgz&lt;/b&gt; to install the package.&lt;/li&gt;&lt;/ol&gt;Work your way down the suggested build order list, installing each SlackBuild respectively (see above).&amp;nbsp; In this case, we will install all the optional packages.&amp;nbsp; &lt;b&gt;NOTE:&lt;/b&gt; I did have an issue downloading #12. emerald-themes (optional), which I chose to skip over.&amp;nbsp; You can find &amp;amp; install these themes if you'd like.&lt;br /&gt;&lt;br /&gt;Now, being my guide is for NVIDIA video cards, I'm unable to give much direction on other cards.&amp;nbsp; To set up your card, head over to the Compiz Fusion Wiki: &lt;a href="http://wiki.compiz-fusion.org/Hardware/NVIDIA"&gt;http://wiki.compiz-fusion.org/Hardware/NVIDIA&lt;/a&gt; and follow the steps for your appropriate driver version.&lt;br /&gt;&lt;br /&gt;My&lt;b&gt; /etc/X11/xorg.conf&lt;/b&gt; file's "Screen" section ended up look as such to get my extremely outdated GeForce MX 440 working:&lt;br /&gt;&lt;br /&gt;# Allows GLX to work with composite.&lt;br /&gt;Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;b&gt;AllowGLXWithComposite&lt;/b&gt;" "True" &lt;br /&gt;&lt;br /&gt;# Improves performance, enabled by default on driver versions &amp;gt;=1.0-9746 &lt;br /&gt;Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;b&gt;RenderAccel&lt;/b&gt;" "True" &lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;# Always force Hsync &amp;amp; Vsync regardless of the mode. &lt;br /&gt;Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;b&gt;UseFBDev&lt;/b&gt;" "True"&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;# I believe this was necessary to get window borders working as well.&amp;nbsp; Please correct me if wrong.&lt;br /&gt;Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;b&gt;AddARGBVisuals&lt;/b&gt;" "True" &lt;br /&gt;&lt;br /&gt;# Improves performance. Currently incompatible with SLI and MultiGPU modes. As of nvidia driver version 100.14.09, it has been enabled by default.&lt;br /&gt;&amp;nbsp;Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;b&gt;DamageEvents&lt;/b&gt;" "True" &lt;br /&gt;&lt;br /&gt;# Use the following option with caution as it may not work on all systems. &lt;br /&gt;Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;b&gt;UseEvents&lt;/b&gt;" "False"&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;# Use the following option with caution as it may not work on all systems, especially with 6&amp;nbsp;series GeForce cards (it is known to cause freezes with compiz) but give it a try because it helps performance. It can also break Xinerama.&lt;br /&gt;Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;b&gt;BackingStore&lt;/b&gt;" "True" &lt;br /&gt;&lt;br /&gt;# Necessary to make window borders visible with nvidia driver versions prior to 100.xx. &lt;br /&gt;Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;b&gt;AddARGBGLXVisuals&lt;/b&gt;" "True" &lt;br /&gt;&lt;br /&gt;&lt;b&gt;NOTE:&lt;/b&gt; This will more than likely be different for your card, but these options work well with GeForce MX 440's :).&lt;br /&gt;&lt;br /&gt;The next step will be to configure nvidia-settings to load your configuration at Xfce's start.&amp;nbsp; To do this, I wrote a very simple bash script:&lt;br /&gt;&lt;br /&gt;#! /bin/bash&lt;br /&gt;# Simple script to load NVIDIA settings on Xfce start.&lt;br /&gt;nvidia-settings --load-config-only&lt;br /&gt;&lt;br /&gt;Save this to &lt;b&gt;~/.init_nvidia&lt;/b&gt;, make make the file executable with the command: &lt;b&gt;chmod +x ~/.init_nvidia&lt;/b&gt; and add it to your Xfce Settings-&amp;gt;Sessions &amp;amp; Startup-&amp;gt;Application Autostart tab.&lt;br /&gt;&lt;br /&gt;Next time your restart your Xfce session, your NVIDIA settings will be loaded by default. &lt;br /&gt;&lt;br /&gt;The next step is where I got tricked up, and want to document for anyone else who might be having issues.&amp;nbsp; I attempted running the command &lt;b&gt;compiz --replace&lt;/b&gt; to replace xfwm4 with compiz, but it seemed as if the two were litterally fighting over managing my windows, getting stuck in an endless loop of switching back &amp;amp; forth between themselves.&amp;nbsp; After tinkering with this issue for hours, I found the simplest solution to RTFM.&amp;nbsp; I found the solution on (ha) Arch Linux's Wiki (&lt;a href="http://wiki.archlinux.org/index.php/Compiz"&gt;http://wiki.archlinux.org/index.php/Compiz&lt;/a&gt; --using fusion icon, method 2)&lt;a href="http://wiki.archlinux.org/index.php/Compiz"&gt;&lt;span id="main" style="visibility: visible;"&gt;&lt;span id="search" style="visibility: visible;"&gt;&lt;cite&gt;&lt;/cite&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;.&amp;nbsp; The steps are very simple, but only work for the current user:&lt;br /&gt;&lt;br /&gt;Edit &lt;b&gt;~/.config/xfce4-session/xfce4-session.rc &lt;/b&gt;and add the following to the bottom of the file:&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;&lt;b&gt;[Failsafe Session]&lt;br /&gt;Client0_Command=fusion-icon&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Comment out &lt;b&gt;Client0_Command=xfwm4&lt;/b&gt; if it exists.&lt;br /&gt;&lt;br /&gt;This should cause compiz to be loaded instead of xfwm4,&lt;br /&gt;though this didn't seem to work properly without a few extra steps.&lt;br /&gt;&lt;br /&gt;To prevent the default session from being overwritten add or change&lt;br /&gt;the &lt;b&gt;[General]&lt;/b&gt; section to:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;b&gt;[General]&lt;br /&gt;AutoSave=false&lt;br /&gt;SaveOnExit=false&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;Now save the file.&lt;br /&gt;&lt;br /&gt;Back in Xfce Settings-&amp;gt;Sessions and Startup-&amp;gt;Application Autostart-&amp;gt;Add a startup entry for the command &lt;b&gt;fusion-icon&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Close Xfce &amp;amp; remove all current sessions with &lt;b&gt;rm -rf ~/.cache/sessions&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;Once Xfce comes up, your windows should no longer be managed by xfwm4, but (hopefully) instead, by compiz.&lt;br /&gt;&lt;br /&gt;Have fun :).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/214412248781097398-7344918551289947037?l=nigglingaspirations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nigglingaspirations.blogspot.com/feeds/7344918551289947037/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nigglingaspirations.blogspot.com/2009/08/compiz-fusion-xfce-46-slackware-122.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/7344918551289947037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/214412248781097398/posts/default/7344918551289947037'/><link rel='alternate' type='text/html' href='http://nigglingaspirations.blogspot.com/2009/08/compiz-fusion-xfce-46-slackware-122.html' title='Compiz Fusion + Xfce 4.6 + Slackware 12.2 + NVIDIA'/><author><name>C. L. Jones</name><uri>http://www.blogger.com/profile/08276019161318944200</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>
