webOS Nation Forums >  Homebrew >  WebOS Internals > XApps Chromium - Thanks!
XApps Chromium - Thanks!

  Reply
Like Tree2Likes
  • 1 Post By Willard
  • 1 Post By rwhitby

 
LinkBack Thread Tools Display Modes
Old 01/14/2012, 10:03 AM   #1 (permalink)
Member
 
Willard's Avatar
 
Join Date: Aug 2011
Location: US
Posts: 188
Likes Received: 19
Thanks: 91
Thanked 30 Times in 20 Posts
Default XApps Chromium - Thanks!

I noticed a Chromium XApp launcher in the nonworking git repository. I got it working.

First I updated to the 0.5.15 XChat source.

Then changed the name of the package that needs to be installed and ultimately launched to chromium-browser, the nonworking 0.1-1 code had just chromium.

Finally, I found everything worked better if I started lxde. So I launch the program by:

Code:
su - webos -c "lxsession -a & chromium-browser --maximized"
Thanks to whomever threw that code in there!

Now I just need to figure out how to make the xserver not cover the webOS panel, then maybe share clipboards between xapps and webOS.

Edit: by working I mean launching from xecutah

Edit 2: can I post the ipk since it I only made minor adjustments? And does anybody want it?

Last edited by Willard; 01/14/2012 at 02:34 PM.
Willard is offline   Reply With Quote
Old 01/14/2012, 11:52 AM   #2 (permalink)
Member
 
jm2011's Avatar
 
Join Date: Oct 2011
Location: Ebay, looking for a cheap pre 3
Posts: 28
Likes Received: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Firstly : Does this browser require the ubuntu chroot, and what does it do

Secondly : Seeing as you've asked I would be interested in the ipk anyway ;-)
__________________
Touchpad 16GB
jm2011 is offline   Reply With Quote
Old 01/14/2012, 12:04 PM   #3 (permalink)
Member
 
Willard's Avatar
 
Join Date: Aug 2011
Location: US
Posts: 188
Likes Received: 19
Thanks: 91
Thanked 30 Times in 20 Posts
Default

yes, i have it set to require the ubuntu chroot. further it requires lxde. and a restart of the lunamanager to make it show up in xecutah.

both of these can be changed to another chroot and de if you change the appropriate files

I would, as a further disclaimer, add that I am an ecologist and not a programmer so very definitely ymmv.

i built it following the instructions here: XApps Development - WebOS Internals

and only modified code that was made available by following those instructions
Willard is offline   Reply With Quote
Old 01/14/2012, 12:08 PM   #4 (permalink)
Member
 
geekpeter's Avatar
 
Join Date: Aug 2011
Location: UK
Posts: 1,537
Likes Received: 196
Thanks: 64
Thanked 121 Times in 107 Posts
Default

follow the instructions in the TigerVNC thread, was instructions on how to have it appear perfectly in Xecutah, could work the same here.
geekpeter is online now   Reply With Quote
Old 01/14/2012, 12:36 PM   #5 (permalink)
Member
 
Willard's Avatar
 
Join Date: Aug 2011
Location: US
Posts: 188
Likes Received: 19
Thanks: 91
Thanked 30 Times in 20 Posts
Default

pm for dropbox link

Please delete this post if this is not kosher. I am not part of webos internals, but merely a humble ecologist.

You will need to modify /media/cryptofs/usr/palm/applications/org.webosinternals.xecuatah/app/assistants/main-assistant.js and add the app id 'org.webosinternals.xapps-chromium-ubuntu-natty' to the list of supported apps.

You will then need to restart the luna manager after install for it to show up in xecutah.

You need xecutah (duh!), ubuntu chroot, and lxde for this to work. It will install chromium-browser if you don't already have it.

I recommend you install the chromeTouch extension.

Last edited by Willard; 01/14/2012 at 12:49 PM. Reason: removed download url, since I am not part of webos internals
Willard is offline   Reply With Quote
Old 01/14/2012, 02:09 PM   #6 (permalink)
Member
 
geekpeter's Avatar
 
Join Date: Aug 2011
Location: UK
Posts: 1,537
Likes Received: 196
Thanks: 64
Thanked 121 Times in 107 Posts
Default

Quote:
Originally Posted by Willard View Post
pm for dropbox link

Please delete this post if this is not kosher. I am not part of webos internals, but merely a humble ecologist.

You will need to modify /media/cryptofs/usr/palm/applications/org.webosinternals.xecuatah/app/assistants/main-assistant.js and add the app id 'org.webosinternals.xapps-chromium-ubuntu-natty' to the list of supported apps.

You will then need to restart the luna manager after install for it to show up in xecutah.

You need xecutah (duh!), ubuntu chroot, and lxde for this to work. It will install chromium-browser if you don't already have it.

I recommend you install the chromeTouch extension.
aye got it working (some snaps inc), quite handy if you dont want the entire ubuntu os/gui loaded up.

Last edited by geekpeter; 01/14/2012 at 02:16 PM.
geekpeter is online now   Reply With Quote
Thanked By: Willard
Old 01/14/2012, 02:33 PM   #7 (permalink)
Member
 
Willard's Avatar
 
Join Date: Aug 2011
Location: US
Posts: 188
Likes Received: 19
Thanks: 91
Thanked 30 Times in 20 Posts
Default

I'll add a couple screenshots showing the virtual keyboard and right click menu.

You can hide the openbox titlebar in the chromium preferences.
Attached Images
File Type: png xserver_2012-14-01_152347.png (330.8 KB, 31 views) Email Attachment
File Type: png xserver_2012-14-01_152427.png (451.6 KB, 25 views) Email Attachment
Willard is offline   Reply With Quote
Old 01/14/2012, 02:40 PM   #8 (permalink)
Member
 
geekpeter's Avatar
 
Join Date: Aug 2011
Location: UK
Posts: 1,537
Likes Received: 196
Thanks: 64
Thanked 121 Times in 107 Posts
Default

found ist quite nice starting in portrait mode, and launching xecutah that way with the xs virtual keyboard up (if you dont have or dont wanna lug around the BT keyboard, *cough* or your in bed), then just set the zoom level of chromium to fit the new width.
Attached Images
File Type: jpg xserver_2012-14-01_203914.jpg (140.1 KB, 26 views) Email Attachment
geekpeter is online now   Reply With Quote
Old 01/14/2012, 02:44 PM   #9 (permalink)
Member
 
Willard's Avatar
 
Join Date: Aug 2011
Location: US
Posts: 188
Likes Received: 19
Thanks: 91
Thanked 30 Times in 20 Posts
Default

Quote:
Originally Posted by geekpeter View Post
found ist quite nice starting in portrait mode, and launching xecutah that way with the xs virtual keyboard up (if you dont have or dont wanna lug around the BT keyboard, *cough* or your in bed), then just set the zoom level of chromium to fit the new width.
Though if you have the latest alpha(?) xserver, a three finger tap will show and hide the virtual keyboard. I keep the black space for the keyboard turned off.
Willard is offline   Reply With Quote
Liked by geekpeter likes this.
Old 01/14/2012, 04:12 PM   #10 (permalink)
Member
 
Willard's Avatar
 
Join Date: Aug 2011
Location: US
Posts: 188
Likes Received: 19
Thanks: 91
Thanked 30 Times in 20 Posts
Default

Of course now with the update 3.0.5, the stock browser appears to be working great.
Willard is offline   Reply With Quote
Old 01/14/2012, 05:06 PM   #11 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by Willard View Post
pm for dropbox link

Please delete this post if this is not kosher. I am not part of webos internals, but merely a humble ecologist.

You will need to modify /media/cryptofs/usr/palm/applications/org.webosinternals.xecuatah/app/assistants/main-assistant.js and add the app id 'org.webosinternals.xapps-chromium-ubuntu-natty' to the list of supported apps.

You will then need to restart the luna manager after install for it to show up in xecutah.

You need xecutah (duh!), ubuntu chroot, and lxde for this to work. It will install chromium-browser if you don't already have it.

I recommend you install the chromeTouch extension.
Please work with ka6sox (you can PM him here), and we will get your modifications into the official feeds.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Liked by spud101 likes this.
Thanked By: Willard
Old 01/14/2012, 05:17 PM   #12 (permalink)
Member
 
geekpeter's Avatar
 
Join Date: Aug 2011
Location: UK
Posts: 1,537
Likes Received: 196
Thanks: 64
Thanked 121 Times in 107 Posts
Default

Quote:
Originally Posted by Willard View Post
Of course now with the update 3.0.5, the stock browser appears to be working great.
at least your offering has the advantage of chrome extensions.
geekpeter is online now   Reply With Quote
Old 01/15/2012, 03:59 PM   #13 (permalink)
Member
 
Willard's Avatar
 
Join Date: Aug 2011
Location: US
Posts: 188
Likes Received: 19
Thanks: 91
Thanked 30 Times in 20 Posts
Default

I need to change the chromium startup command to
Code:
su - webos -c "lxsession -a & chromium-browser --maximized --disable-sync"
I was getting random crashes due to glx not being installed.
Willard is offline   Reply With Quote
Old 01/15/2012, 05:13 PM   #14 (permalink)
Member
 
Join Date: Jun 2004
Location: Netherlands
Posts: 826
Likes Received: 66
Thanks: 78
Thanked 96 Times in 53 Posts
Default

Wow, this is great. When (if) it appears in Preware I'll try it right away!
spud101 is offline   Reply With Quote
Old 01/16/2012, 01:05 PM   #15 (permalink)
ccx
Member
 
Join Date: Aug 2011
Posts: 605
Likes Received: 79
Thanks: 10
Thanked 36 Times in 29 Posts
Default

i'd say this is pretty impressive for a "mere" ecologist
ccx is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0