webOS Nation Forums >  webOS apps and software >  webOS development > TUTORIAL: How to get Ubuntu on the TouchPad
TUTORIAL: How to get Ubuntu on the TouchPad

  Reply
Like Tree83Likes

 
LinkBack Thread Tools Display Modes
Old 08/25/2011, 06:17 AM   #101 (permalink)
Member
 
Rennat's Avatar
 
Join Date: Jun 2009
Location: With a colony of King Penguins in Antartica
Posts: 1,318
Likes Received: 95
Thanks: 533
Thanked 304 Times in 153 Posts
Default

And the new LXDE video is up!

Video: LXDE on the TouchPad via an UbuntuChroot - YouTube
__________________
My Tutorial on how to get Ubuntu on the TouchPad: http://forums.precentral.net/webos-d...-touchpad.html
Rennat is offline   Reply With Quote
Thanked By: lespedeza
Old 08/25/2011, 08:36 AM   #102 (permalink)
Member
 
Join Date: Feb 2008
Posts: 3,239
Likes Received: 306
Thanks: 391
Thanked 579 Times in 357 Posts
Default

Getting ready to re-install but I'd like to have 4GB instead of 2GB. Which lines in the makefile have to be changed and uncommented (thought I did it right last time I installed but I believe I still ended up with 2GB)?

Also could someone please test firefox on hulu.com site?

thanks!
bluenote is offline   Reply With Quote
Old 08/25/2011, 09:20 AM   #103 (permalink)
Member
 
Join Date: Aug 2011
Posts: 2
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

bradmont, thanks for all of your help, it's running great!

Have you tried other themes for the onboard keyboard? They have one called droid that looks a lot less like preschool I'm working on trying to get that theme working and the letters lining up correctly

As far as running the su - username -c "dbus-launch lxsession" immediately upon boot, can you share the .bashrc instructions?

bluenote, between firefox and chrome - firefox takes way more system resources and runs much slower than chrome.. when i go to hulu in either it says i need flashplayer
mjamus is offline   Reply With Quote
Old 08/25/2011, 11:56 AM   #104 (permalink)
Member
 
Join Date: Aug 2011
Posts: 41
Likes Received: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default

Got a few other questions. Can I get access to the webos Media partition? All my ebooks are on that, and I'd like to use fbreader in ubuntu since it runs great full screen, without copying them all over.

And also, what do I need to get samba working so I can share my media servers to this little guy?

And also, hehe, why is the time wrong and how can I fix it? It's correct in webos.
michaelahess is offline   Reply With Quote
Old 08/25/2011, 12:16 PM   #105 (permalink)
Member
 
Join Date: Aug 2009
Posts: 200
Likes Received: 38
Thanks: 18
Thanked 100 Times in 34 Posts
Default

Quote:
Originally Posted by bluenote View Post
Getting ready to re-install but I'd like to have 4GB instead of 2GB. Which lines in the makefile have to be changed and uncommented (thought I did it right last time I installed but I believe I still ended up with 2GB)?
Uncomment "EXT3FS_PARTITION_SIZE=2GB" and change to "EXT3FS_PARTITION_SIZE=4GB"
zane9000 is offline   Reply With Quote
Old 08/25/2011, 12:17 PM   #106 (permalink)
Member
 
Join Date: Aug 2009
Posts: 200
Likes Received: 38
Thanks: 18
Thanked 100 Times in 34 Posts
Default

Quote:
Originally Posted by bluenote View Post
Also could someone please test firefox on hulu.com site?
Quote:
Originally Posted by mjamus View Post
bluenote, between firefox and chrome - firefox takes way more system resources and runs much slower than chrome.. when i go to hulu in either it says i need flashplayer
Install gnash browser plugin to get flash support. It is really, really bad though. Youtube plays videos around 1fps and hulu gets stuck when trying to load the player...
zane9000 is offline   Reply With Quote
Old 08/25/2011, 12:19 PM   #107 (permalink)
Member
 
Join Date: Aug 2009
Posts: 200
Likes Received: 38
Thanks: 18
Thanked 100 Times in 34 Posts
Default

Quote:
Originally Posted by mjamus View Post
As far as running the su - username -c "dbus-launch lxsession" immediately upon boot, can you share the .bashrc instructions?
Create a file called .bashrc with that command in it. Put it in the /root directory. Reboot. When root logs in it should automatically execute any commands in the file.
zane9000 is offline   Reply With Quote
Old 08/25/2011, 12:24 PM   #108 (permalink)
Member
 
Join Date: Feb 2008
Posts: 3,239
Likes Received: 306
Thanks: 391
Thanked 579 Times in 357 Posts
Default

Quote:
Originally Posted by zane9000 View Post
Uncomment "EXT3FS_PARTITION_SIZE=2GB" and change to "EXT3FS_PARTITION_SIZE=4GB"
hmmn, did this last time but could have sworn the file manager program in LXDE said I only had 2GB.

When you uncomment the #, do you also delete the space?
(I realize I am grasping at straws here as it worked last time for me, just seemed to be only 2GB.)
bluenote is offline   Reply With Quote
Old 08/25/2011, 12:24 PM   #109 (permalink)
Member
 
Join Date: Aug 2009
Posts: 200
Likes Received: 38
Thanks: 18
Thanked 100 Times in 34 Posts
Default

Quote:
Originally Posted by michaelahess View Post
Got a few other questions. Can I get access to the webos Media partition? All my ebooks are on that, and I'd like to use fbreader in ubuntu since it runs great full screen, without copying them all over.
Create a mount point
Code:
mkdir /mnt/vfat
Add a line to /etc/fstab
Code:
/dev/mapper/store-media /mnt/vfat vfat defaults 0 0
This should mount at reboot, if you want to mount immediately, use
Code:
mount /mnt/vfat
zane9000 is offline   Reply With Quote
Old 08/25/2011, 12:27 PM   #110 (permalink)
Member
 
Join Date: Aug 2009
Posts: 200
Likes Received: 38
Thanks: 18
Thanked 100 Times in 34 Posts
Default

Quote:
Originally Posted by bluenote View Post
hmmn, did this last time but could have sworn the file manager program in LXDE said I only had 2GB.

When you uncomment the #, do you also delete the space?
(I realize I am grasping at straws here as it worked last time for me, just seemed to be only 2GB.)
Deleting the space makes no difference, leading spaces are ignored. As long as you get the # out of there you should be good. Perhaps it was saying 2GB were used?
zane9000 is offline   Reply With Quote
Old 08/25/2011, 12:47 PM   #111 (permalink)
Member
 
Join Date: Aug 2009
Posts: 200
Likes Received: 38
Thanks: 18
Thanked 100 Times in 34 Posts
Default

Quote:
Originally Posted by michaelahess View Post
And also, hehe, why is the time wrong and how can I fix it? It's correct in webos.
EDIT: Do this http://forums.precentral.net/webos-d...ml#post3101074

Last edited by zane9000; 08/25/2011 at 03:34 PM.
zane9000 is offline   Reply With Quote
Old 08/25/2011, 12:59 PM   #112 (permalink)
Member
 
Join Date: Aug 2011
Posts: 3
Likes Received: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This all works fantastic (I'm typing this in Ubuntu on my TP right now). I was wondering if there is a way to resize the installation after-the-fact. I really doubt there is, but I was just curious.

Thanks again for this awesome tutorial.
2bitgamer is offline   Reply With Quote
Liked by Rennat likes this.
Old 08/25/2011, 01:17 PM   #113 (permalink)
Member
 
Join Date: Aug 2009
Posts: 200
Likes Received: 38
Thanks: 18
Thanked 100 Times in 34 Posts
Default

Quote:
Originally Posted by michaelahess View Post
And also, what do I need to get samba working so I can share my media servers to this little guy?
You can brows samba shares by typing them directly into the default lxde file manager as smb://COMPUTER/SHARE.

EDIT: Scratch that... it looks like I am missing some libraries. If I get it working I will edit this again.

EDIT2: OK, so I can't get it to work with the file manager, but you can install smbfs and mount the drive manually:

Code:
sudo mount -t smbfs -o username=<USER>,password=<PASS> //<iIP.ADDRESS.OF.DEVICE>/<SHARE>  /<MOUNTPOINT>
Or you can add this to /etc/fstab to automount on login
Code:
//<iIP.ADDRESS.OF.DEVICE>/<SHARE>  /<MOUNTPOINT>  smbfs username=<USER>,password=<PASS>  0  0

Last edited by zane9000; 08/25/2011 at 02:08 PM.
zane9000 is offline   Reply With Quote
Old 08/25/2011, 01:33 PM   #114 (permalink)
Member

 
Join Date: Jul 2009
Posts: 543
Likes Received: 79
Thanks: 31
Thanked 355 Times in 97 Posts
Default

For people with this working: Can you access the other areas of disk space on the touchpad.

Want to know if I could use an ubuntu torrent client to download to... say media/internal (instead of the ext partition created via the doctor).
__________________
Developer of Ultimate Hockey, netSpeed, BatteryMonitor, The Ghastly Headset,
netSpeed HD, St4rs and Matrix Exhibition
-------------------------------------------------------------------
Follow my webOS projects on my blog and follow me on twitter
neville is offline   Reply With Quote
Old 08/25/2011, 01:42 PM   #115 (permalink)
Member
 
Join Date: Aug 2009
Posts: 200
Likes Received: 38
Thanks: 18
Thanked 100 Times in 34 Posts
Default

Quote:
Originally Posted by neville View Post
For people with this working: Can you access the other areas of disk space on the touchpad.

Want to know if I could use an ubuntu torrent client to download to... say media/internal (instead of the ext partition created via the doctor).
Yep. Read this page...
zane9000 is offline   Reply With Quote
Old 08/25/2011, 01:59 PM   #116 (permalink)
Member

 
Join Date: Jul 2009
Posts: 543
Likes Received: 79
Thanks: 31
Thanked 355 Times in 97 Posts
Default

Whoops, my bad.

Is there any danger of repeatedly auto-mounting the drive? I'm more concerned about the fact that Ubuntu runs in a card, and may not dismount correctly when that card is dismissed.
__________________
Developer of Ultimate Hockey, netSpeed, BatteryMonitor, The Ghastly Headset,
netSpeed HD, St4rs and Matrix Exhibition
-------------------------------------------------------------------
Follow my webOS projects on my blog and follow me on twitter
neville is offline   Reply With Quote
Old 08/25/2011, 02:12 PM   #117 (permalink)
Member
 
Join Date: Aug 2009
Posts: 200
Likes Received: 38
Thanks: 18
Thanked 100 Times in 34 Posts
Default

Quote:
Originally Posted by neville View Post
Whoops, my bad.

Is there any danger of repeatedly auto-mounting the drive? I'm more concerned about the fact that Ubuntu runs in a card, and may not dismount correctly when that card is dismissed.
Hmm... I't sure. If you are worried about it you can always
Code:
sudo umount /mnt/vfat
before closing the card.

I think I will eventually create a logout script that will clean up stuff like that so you can "shutdown" before closing the card.
zane9000 is offline   Reply With Quote
Old 08/25/2011, 02:14 PM   #118 (permalink)
Member
 
Join Date: Jun 2009
Posts: 47
Likes Received: 0
Thanks: 19
Thanked 6 Times in 5 Posts
Default

Amazing work i was trying to do this on my day one TP but failed, i will be trying again when i get my firesale TP.. thx for the great work!
stephentr is offline   Reply With Quote
Old 08/25/2011, 03:17 PM   #119 (permalink)
Member
 
Join Date: Aug 2011
Posts: 4
Likes Received: 0
Thanks: 3
Thanked 0 Times in 0 Posts
Talking

I found out where I went wrong. Missed out part of the webosdr setup. I started over and now I get the penguin on boot up and the drive is mounted correctly without having to mount -a each time from a PC.

I did have a brief moment of panic when I couldn't connect with novacmd, I reinstalled, rebooted pc and touchpad and found a different usb cab... but I'd forgot to put it back in developer mode :|
ccpomea is offline   Reply With Quote
Old 08/25/2011, 03:21 PM   #120 (permalink)
Member
 
Join Date: May 2009
Location: Phoenix, Az
Posts: 970
Likes Received: 58
Thanks: 223
Thanked 115 Times in 88 Posts
Default

Is there any benefit to making the drive larger then 2 gig?
__________________
In a world of droid, Pre does it better.

Shouldn't we treat this world like the Garden of Eden and avoid the apple at all costs?
Major Payne is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0