Thursday, April 30, 2009

Installing Ubuntu to USB flash drive/Installing Ubuntu from usb flash drive

I got my hands on Ubuntu 9.04 Netbook remix and wanted to try it out on my NC10 (note that everything said here probably applies to the non-netbook, ordinary images as well). After downloading the Netbook remix image, I used Win32 disk imager (can be found here), which extracted the image on my USB drive and made it bootable.

I succesfully booted into Ubuntu "live" from the NC10 and liked what I was seeing. There's a problem with the "live" mode, for anyone wishing to use it for more than previewing; it's not a proper installation, so you can't update or make any changes that require a restart (among other things).

Having the NC10 Restore partition, XP, OSX, OSX time machine and DDMAC partitions, doesn't leave much space for an Ubuntu installation. I tried booting from the USB and doing a proper installation TO the USB disk and not my hard disk, but it didn't work, there was no choice for a USB installation (duh). After some research I found that Ubuntu CAN be installed to a USB drive without any extra hassle, so I figured that I should try again, using a second drive to install to.

So I just booted with the "live" USB drive, and installed to another usb, by following the "Install" shortcut. If you're doing this, make sure that you have selected the USB drive so that you don't accidentally format another drive. Also make sure that only the bootsector of the USB is changed; there's an "Advanced" button somewhere at the Partitioning stage (although this should be taken care of automatically, double check).

Steam is temporarily unavailable, please try later

So I forget that I already have Steam on my hdd from a previous windows installation, and I download the new version and try to install it on top. The installation fails, and I keep getting the lovely "Steam is temporarily unavailable, please try later" message which wouldn't go away whatever I did.

After searching around I found that I had to delete two files:
  • ClientRegistry.blob located in C:\Program Files\Valve\Steam
  • platform.gcf Located in C:\Program Files\Valve\Steam\Steamapps\
That didn't do the trick though, so I deleted two Steam exe files as well. I can't recall their exact names but they probably were SteamNew.exe and SteamTmp.exe (the Steam installer must have renamed one of them and created a new one, is my guess).

Deleting these three files allowed me to run a quick installation on top of my previous install, which sorted everything out!

Tuesday, April 21, 2009

How to eject a dvd or cd from a MacBook or MacBook Pro

So. How do you eject a cd or dvd from a MacBook Pro or Macbook during boot? (this will actually work on a MacPro aswell) Keep the trackpad button or, the mouse button pressed until the disk is ejected.

Monday, April 20, 2009

Braid GlovePIE Script

This is a custom GlovePIE script made for Braid.
Download the .pie file from here (right-click, save target as) or just copy/paste the code from here to a new GlovePie file.

Get GlovePie from here.

Thursday, April 16, 2009

Winamp MPC plugin (0.99g)

Note to self: plugin here
Deposit in /winamp/plugins/ .
Restart winamp.

Sunday, April 12, 2009

Setting XBMC as the dashboard on Xbox 1

This is the method I used to set XBMC as my dashboard. It's also useful when upgrading XBMC. Please note that this is specific to softmods done with Krayzie_SC-PAL_Ndure_Installer_v1.1 as other softmods might use different folders.

After the softmod process finishes, the xbox boots from the file default.xbe in e:\dashboard\. There is nothing more to it that copying the contents of the XBMC folder (in t3ch's zip), to E:\dashboard\, replacing everything.

The catch is that you can't ftp the files while the current dashboard is running, since their files can't be replaced while in use. This is how I'm doing it:

1. FTP another copy of evox/unleashx or even XBMC to e:\Apps\
2. Boot into that copy
3. You should be able to FTP XBMC into e:\dashboard and replace the current dashboard.

A couple of side notes:
- Again this only works if your current dashboard is in e:\dashboard. If not, search around and find alternative solutions or redo the softmod process using the aforementioned Krayzie package (which I've found the best overall).
- If you copy XBMC in e:\Apps\ for step 1, you can avoid copying the whole XBMC folder (which can take quite a while), by only copying XBMC's default.xbe. This makes XBMC run in a mode which only allows FTP transfers (enough for our needs).
- If you copy the WHOLE XBMC folder for step 1, you can do step 3 through XBMC instead of FTPing (just copy/paste XBMC from e:\Apps to E:\Dashboard).

For any help/clarifications, just ask:)

Mental Note: xbox Softmod

This the softmod we used:

Dashboard location: E:\Dashboard\

Webcam installation in ubuntu

Many webcams just work in ubuntu, in the case that this doesn't happen here are some resources to help out.

tool for installing webcam drivers ->

Time in ubuntu changes windows time

One good day i decided to install ubuntu on a spare drive on my computer, everything went okay but when i booted back into windows the clock was back 2 hours. This is because ubuntu (and Mac OS X) assumes that the hardware clock is in GMT and according to the option that you have set for it, it calculates the correct time (for my case GMT +2). so when you boot back into windows, it assumes that the hardware clock is set in local time.

Solution: make ubuntu read the hardware clock as local time by modifying "/etc/default/rcS".

set the UTC=no and this will make ubuntu read the hardware clock the same way as windows does eliminating the time difference problem.