ImpAmp on the eeePC

So I am sitting at an athletics event using my eeePC in the sun. The Mat finished screen makes life much easier to see than with the glossy screen Kaylee had.

I decided to try ImpAmp out using the default xandros operating system and it works great (as expected) the eeePC comes with firefox and flash installed and whilst the usual flash instalation error was seen, it was quickly fixed.

using the small screen is fine, the width is automaticaly adjusted and the hight fits the screen perfecaly when using full screen.

first impressions of my eeePC.

So after much fun trying to get hold of this thing, time for a run through. I think I am going to name this laptop Nemi.

the keyboard is going to take some getting used to, certain letters don’t like getting pressed.
The right shift is on the wrong side of the up arrow, though this time the ctrl and fn keys are the right way round. Unfortunately I had gotten used to the way it was with kaylee.

The stock operating system appears to be form of linux mashed in such a way to look like windows xp. I have promised myself at least a week of using the default before trying to install ubuntu

It is installed with an old version of skype and firefox 2. I had gotten used to the nicer parts of firefox 3 (edit: sykpe was updated using Whilst the ability to install/uninstall software appears quite limited, wiki.eeeuser.com has lots of tips and tricks to keep me going for a while yet.

I have managed to set the keyboard to Dvorak unfortunately it is American Dvorak not gb – i’ll sort this yet!!

onKeydown without activating firefox quick search

Whilst working on ImpAmp, I was attempting to catch when the user typed ‘ or / into the window without activating the firefox quick search. After hunting around on the web, I found lots of places telling me how to deactivate it permanently which is not what I want. Normally I find it very useful, just not when running ImpAmp. The solution that I found involved typing into a text-box. The quick search is disabled when typing in a form yet onkeydown still accepts the input. So I created a form at the bottom of my page:

<form action=”javascript:void(0);” method=”get” id=”hiddenForm” >

  <p><input type=”text” name=”in” value=”" id=”theBox” /></p>

</form>

I had tried to make the box hidden but then the box couldn’t gain focus and failed to work completely. Insted, I applied some css so the user wouldn’t notice it. this throws the form throwing it of the screen.

#hiddenForm {

 position:absolute;

 left:-999px;

 top:-999px;

}

So this method worked nicely until the input box loses focus. To ensure the box retains focus, add a function called by onkeyup which refocuses on the input box. I was also worried that the box might fill up, so I added another command that will empty the box.

document.onkeyup = function keyPress(event) {

    document.getElementById(‘theBox’).focus();

    document.getElementById(‘theBox’).value=”;

}