Wednesday, July 20, 2011

Running UbuntuChroot on #webOS

Recently I just managed partitioning my Pre to make it possible running UbuntuChroot in it. Yes, you've got it right, UbuntuChroot running on my Pre. You can see here for the Wiki. The hard thing is the first part, because you have to Meta-Doctor-ing your Pre, so it will have separate ext3fs partition. I'm Doctor-ing using webOS 2.1.0, and skip the "git" part, you have to search for it in the internet.

1. Here's the command I used:
$ make DEVICE=preplus CARRIER=wr VERSION=2.1.0 ENABLE_DEVELOPER_MODE=1 DISABLE_UPLOAD_DAEMON=1 DISABLE_UPDATE_DAEMON=1 CUSTOM_MODEL_LIST=P100UEU CUSTOM_BOOTLOGO=scripts/WebOS-Internals.tga EXT3FS_PARTITION_SIZE=2GB clobber all
2. After it done, run the installation process. And continue with configuration to automounting ext3fs partition at device boot.
3. Using Preware, activate the testing feed, then installing Xcecutah, Xserver and UbuntuChroot 11.04
4. Launch Excecutah to run Xserver and UbuntuChroot 11.04, here's what I've got:



5. You can use usual Ubuntu apt-get command to update repository and installing packages. And you can also use apt-cache search to look for certain packages that works on ARM processor.
6. This is the screenshot of htop running on my Pre:


Friday, July 15, 2011

Google Latitude on #webOS

The lack of Latitude feature on Google Maps for #webOS is really unpleasant, but people at precentral already manage to enable it, easily.

All you have to do is launch your #webOS browser, then open up this URL: http://maps.google.com/maps/m?mode=latitude






Magically it will launch Google Maps with Latitude feature in it.





To make it easy to launch everytime I need it, I installed patch like I explained in my previous blog post, so I make Launcher icon and named it "Google Latitude"



Set Permanent Compcache on #webOS 2.1.0

If you're using Pre and meta-doctored it to #webOS 2.1.0 like I did, you should install and using Govnah + custom kernel (UberKernel). And then, since Pre only has 256 MB of memory, you can tweak the compcache (from Linux compcache that already porting to custom kernel by webos-internals) to make the value changed from only 10 MB to 32 MB, so the performance will enhance.

I tend to make it permanent, so here's what I did:
1. Connect Pre using USB cable to your PC
2. Accessing linux:
$ novaterm
3. Type following command:
# /usr/sbin/rootfs_open -t
# vi /etc/event.d/compcache
4. Change the value:
Look for value 10240 in line 10, then replace it with 32768, save and quit (:wq)
5. Reboot the device:
# /sbin/reboot

After it rebooted, you can check the compcache value using Govnah. For complete how-to, you can check here.

Monday, July 11, 2011

Installing Dropbox on Ubuntu Server 10.04

Just installed on my PC running Ubuntu Server 10.04, a little hard to find source to add to repository. But here it is, all you need to do is just follow these steps:

1. Make sure you have installed Nautilus
$ sudo apt-get install nautilus
2. Install public key to authenticate Dropbox's Ubuntu repository
$ sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5044912E
3. Add source to repository
$ sudo vim /etc/apt/sources.list
#Dropbox
deb http://linux.dropbox.com/ubuntu lucid main
4. Update repositories
$ sudo apt-get update
5. Install Dropbox integration for Nautilus
$ sudo apt-get install nautilus-dropbox
6. Starting Dropbox daemon
$ dropbox start -i


You have to restart all intances of Nautilus, then start Dropbox and fill in your account information. That's it! :)