08/31/2011, 10:57 AM
Yeah, I explained that with some work, some effort, and some reading you -could- get chrome running on your touchpad .
Originally Posted by 2TouchDroid?
I could actually explain a fairly easy way to do it though...... This isn't ideal (it's better to make a specific partition etc), but this will get ubuntu up and working in the EASIEST way in the next couple minutes without any meta-doctoring or linux-knowledge if you REALLY want to do it. Everything will run fast and you'll get a kick out of it. If you decide you want to REALLY utilize ubuntu to the -max- you can easily reverse this process and go through the -harder- steps to get things set up properly on a big partition (that goes beyond the scope of this guide though).
Do this, of course, AT YOUR OWN RISK. This should be -completely safe- but don't get mad if you manage to botch my instructions and need to use webOS doctor to fix your touchpad.
The way we're going to set this up is to run Ubuntu out of a -file-, rather than partitioning a drive etc. There are some downsides to this method (limited space being a big one), but for someone who wants to try out ubuntu on touchpad this is the easiest AND easiest-reversible way to do it.
By the time you're done performing these steps you'll be running Ubuntu with a graphical environment, libreoffice, and of course chrome. You'll also have room to install some other stuff if you want to experiment, it's nice. Follow each step EXACTLY!
So, first you need to download 3 programs from preware. At the moment, these programs are in the TESTING feeds, so you'll have to activate testing feeds in preware. You can find instructions on how to do that here:
Now that your testing feed is installed, go into preware and install:
Now, open up Xecutah on your touchpad.
Xecutah will bring up a window that shows xserver and xterm. Tap on xserver first. That'll load a gray window. Minimize that window temporarily (either using the center home button or with a finger swipe), go back to the card running xecutah, and tap Xterm.
Now minimize xecutah again and go back to your Xserver window (the one that was previously gray). Now it'll be a terminal window showing you root on your touchpad. (you can also perform these steps in webos quick install by going to tools/LinuxCommandline, but in this case I want to get you familiar with xterm).
Now that you're at a terminal command-line, type each of the following lines, followed by hitting the enter key. Bear in mind, some of these actions take a good long time, so don't panic if things don't seem to be moving along - it takes awhile to set up a nearly 2 gigabyte file. Just use the command and set the touchpad aside while it does it's work.
Here are your commands:
dd if=/dev/zero of=ubuntu.img bs=1024 count=1900000
mkfs.ext3 -F -b 1024 ubuntu.img 1900000
mount -o loop /media/cryptofs/ubuntu.img /media/ext3fs
What you've done here is create a file 1.9gigabytes in size (remember, touchpad cannot handle files over 2gb in size). This file has then been mounted and will be used as a virtual "harddrive" for ubuntu.
I'm not including instructions here on how to auto-mount this drive at boot-up. If you reboot your touchpad you will need to mount the drive again before you can load ubuntu (by using that last command above, the "mount -o loop /media/cryptofs/ubuntu.img /media/ext3fs" command, in a linux command line).
If you decide you want to keep using ubuntu regularly (read: heavily) I -highly- suggest you go through the HARDER installation and set up a proper partitioned drive as explained here:
For a casual user, the system I've just lined out will work just fine, just remember to mount the drive before using ubuntu if you have rebooted. I leave it this way to make testing and eventual removal of ubuntu trivial .
So, if you've followed this guide EXACTLY, you now have a file created and mounted ready for ubuntu. Close your xterm/xserver/xecutah cards. Now go into preware and install ubuntu chroot. As it installs, it will automatically populate the file you created for it.
Finally, open back up xecutah. tap on xserver. Minimize xserver to a card and go back to xecutah, select xterm. Minimize xterm and go back to xecutah, select UBUNTU.
Minimize xecutah, go back to the XSERVER/XTERM window.
You're finally here - staring at ubuntu on a command line!!!!! Just a couple more things to do and we'll be set up. Type:
Hit enter and watch as your computer updates apt-get. Once it finishes, type:
apt-get install synaptic
Hit enter. This will install the synaptic package manager - this will make it easier to install things once you're actually in a graphical OS. That comes next. Type:
apt-get install lxde
Hit enter. It'll take awhile to install lxde. Once it finishes, type:
Hit enter. TADA! You're in LXDE!!!!! Now you can tap the little globe on the bottom-left and it'll pull up a full blown chrome window, ready for use. Do that now.
There's one problem with chrome, you need to get scroll working for your touchscreen. To do this, go to this website:
Scroll down and install the -newest- version of chrometouch (it'll be right near the bottom). Once you've done that, you can easily scroll and utilize your touchscreen to navigate chrome. YAY!
Now that you're finished setting up chrome, you can set up anything else you'd like. Tap on the little arrow at the bottom left and it'll pull up a menu with various applications, preferences, etc. If you tap on preferences, you'll find the synaptic package manager. Load this up! Now you can search for packages. This makes it easy to find and install things like libreoffice, gimp, etc.
You're done! Enjoy Ubuntu .
When you're -done- enjoying ubuntu and want to reverse this whole process, you can simply uninstall ubuntu in preware, then go back into a terminal window (whether it's xterm as explained above, or webos quick install). Now type:
That'll delete the file you created to house ubuntu, along with everything inside it that you've installed/downloaded/etc.
On one quick sidenote as well - if you are using a bluetooth keyboard and want a FULLSCREEN option for ubuntu, go into preware and download tweaks. It'll allow you to tweak things for fullscreen mode with no virtual keyboard. There's also a way to use a built in touch-screen keyboard in ubuntu etc, but I haven't personally messed with it so I'll leave instructions out of this guide.
Thanks to rennat, DTZ, and the whole webos internalz crew for making a guide like this possible . I've cribbed info from all of you and I've hopefully put it in a simple format for someone coming into this blind.