| 1   2   | Next
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [KDE] BOUNTY for running Microb in KDE (https://talk.maemo.org/showthread.php?t=19901)

penguinbait 2008-05-08 16:36

[KDE] BOUNTY for running Microb in KDE
 
I am offering a small bounty for instructions on how to run Microb inside KDE.

I know its not a lot of money, but I will pay 25$ via paypal to the person who can get microb working in KDE.

I am sure that others will perhaps contribute also???


Let me clarify, microb will start, but it cannot display anything, the menu opens, but does not seem to work. I think some script could be used to set things properly and fire it up, but perhaps not?

Good Luck,

~penguinbait

Benson 2008-05-08 16:46

Re: BOUNTY for running Microb in KDE
 
I don't suppose you've got a KDEized tablet set up with SSH/VNC for contestants to try stuff on?

(Gotta get through finals, then I can mess with things. ;))

qwerty12 2008-05-08 16:47

Re: BOUNTY for running Microb in KDE
 
It would be nice to fix this problem too (a happy user using your image files method :)). But I don't have any knowledge.

But I'd sure as hell try if you would ship me a Glock ;)

Benson 2008-05-08 16:55

Re: BOUNTY for running Microb in KDE
 
Threaten Microb into running?

Or threaten someone who does have knowledge to take the time?

qwerty12 2008-05-08 16:59

Re: BOUNTY for running Microb in KDE
 
Well, both obviously ;)

I think placing microb engine to Konqueror could be intresting.

penguinbait 2008-05-09 18:21

Re: BOUNTY for running Microb in KDE
 
Anyone else got anything they want to chip into the Bounty???

PinCushionQueen 2008-05-09 22:55

Re: BOUNTY for running Microb in KDE
 
ok - I know I'm a freak here, but I totally prefer Konquerer over Microb.

I would be willing to pay some to tell me how to make Konqueror automatically connect to WiFi like Microb does though. Any takers for that?

Also, just curious why people like Microb bette? Is it finger usage? layout?

coffeedrinker 2008-05-09 23:41

Re: BOUNTY for running Microb in KDE
 
I'm wondering if it has something to do with d-bus. I've found that starting other window managers somehow interferes with d-bus working properly (don't know enough about what's going on to fix it).

I think it microb has to use d-bus to talk to the the engine that displays the pages and that is where it is failing.

penguinbait 2008-05-11 21:46

Re: BOUNTY for running Microb in KDE
 
Quote:

Originally Posted by PinCushionQueen (Post 179834)
ok - I know I'm a freak here, but I totally prefer Konquerer over Microb.

I would be willing to pay some to tell me how to make Konqueror automatically connect to WiFi like Microb does though. Any takers for that?

Also, just curious why people like Microb bette? Is it finger usage? layout?

PCQ, to me its needed for other environments also where konq is not available, say XFCE or ICEWM. If I can get it running in one, it will run in the others also. Additionally flash support would be a bonus to have under KDE...

Don't get me wrong, I love my Konq.

smog 2008-05-11 22:35

Re: BOUNTY for running Microb in KDE
 
Quote:

Originally Posted by penguinbait (Post 180549)
PCQ, to me its needed for other environments also where konq is not available, say XFCE or ICEWM
Don't get me wrong, I love my Konq.

I will throw a paypal 10$ in the POT; I need it under ICEWM.

Don't get me wrong, I love my bong.

Benson 2008-05-11 22:41

Re: BOUNTY for running Microb in KDE
 
And what, pray tell, do real geeks use the Windows managers for? Target practice?;)

smog 2008-05-11 23:34

Re: BOUNTY for running Microb in KDE
 
Quote:

Originally Posted by Benson (Post 180563)
And what, pray tell, do real geeks use the Windows managers for? Target practice?;)

apparently you mixed 'windows manager' and 'windows© install disks'

in fact hardcore geeks use the command line :D

Benson 2008-05-11 23:40

Re: BOUNTY for running Microb in KDE
 
No, a Windows manager is a manager who makes you use Windows...

(A window manager is a program that manages windows.)

smog 2008-05-12 00:31

Re: BOUNTY for running Microb in KDE
 
Quote:

Originally Posted by Benson (Post 180578)
No, a Windows manager is a manager who makes you use Windows...

(A window manager is a program that manages windows.)

Who need a manager for only one window ? :D

anyway, back on topic : 10$ through paypal for Microb in ICEWM.

penguinbait 2008-05-20 00:29

Re: BOUNTY for running Microb in KDE
 
Quote:

Originally Posted by Benson (Post 179289)
I don't suppose you've got a KDEized tablet set up with SSH/VNC for contestants to try stuff on?

(Gotta get through finals, then I can mess with things. ;))


Ask and you shall recieve!!!

ssh port 222 on penguinbait.com

vncviewer penguinbait.com

VNC will login with KDE running, good luck and God Speed :)

PM me for a password

penguinbait 2008-06-06 13:24

Re: BOUNTY for running Microb in KDE
 
With smog's 10 and my 15$ I know its only 35$ total

So I am not rich, but I will bump this another 15$

for a total of 50$ via paypal, for figuring out how to use microb under KDE or ICEWM, I assume it would be the same process in both.

Testing on ICEWM is very easy though, since it fits in flash.

Anyone trying? Anyone else got money in the pot??

Bundyo 2008-06-06 14:06

Re: BOUNTY for running Microb in KDE
 
It won't be easy, at least for styling - since Matchbox uses Sapwood for that (but at least under KDE, there's no other one running, so one can start its own).

I can't find the time lately for that, sorry :( At least for now.

penguinbait 2008-06-06 14:26

Re: BOUNTY for running Microb in KDE
 
Quote:

Originally Posted by Bundyo (Post 189336)
It won't be easy, at least for styling - since Matchbox uses Sapwood for that (but at least under KDE, there's no other one running, so one can start its own).

I can't find the time lately for that, sorry :( At least for now.

Well I am running KDE and I did ps and sapwood server is still running.

The browser will start, and the menus will show up. But it just sists there with another little box saying updating, and the browser widow just stays white. If you try any of the menus, they will be there, but wont work when clicking on them.

Is there some link into hildon disktop???

Bundyo 2008-06-06 14:31

Re: BOUNTY for running Microb in KDE
 
not exactly, but probably on a dozen libs.

penguinbait 2008-06-06 15:05

Re: BOUNTY for running Microb in KDE
 
I get error when starting

GLIB WARNING ** hildon-1 - Icon theme lookup for icon failed

BruceL 2008-06-06 15:12

Re: BOUNTY for running Microb in KDE
 
I'll add another $10.00 to the pool!

penguinbait 2008-06-06 15:27

Re: BOUNTY for running Microb in KDE
 
OK, so that is $60 via paypal to anyone who can get microb working

40$ from penguinbait

10$ from smog

10$ from BruceL

Bundyo 2008-06-06 15:27

Re: BOUNTY for running Microb in KDE
 
The icons shouldn't be a problem methinks. It should run without them.

Benson 2008-06-06 22:13

Re: BOUNTY for running Microb in KDE
 
Just figured I'd mention, since I'd forgotten to at the time; I gave up on it (temporarily), so you needn't bother putting your new tablet back up for public access on my accoun.

I have enough OSes now, that I'll just install KDE on one if I get serious about it again...

Bundyo 2008-06-07 10:28

Re: BOUNTY for running Microb in KDE
 
Yes, i will too, even downloaded it (i mean i won't need access to yours too)

qole 2008-06-16 22:10

Re: BOUNTY for running Microb in KDE
 
I wonder if Benson could get it working through this project where he's trying to get ITOS apps running in a chroot. It seems to me that if one could do that and overcome the dbus issues involved, something like this would be trivial.

scumgrief 2008-06-17 01:51

Re: BOUNTY for running Microb in KDE
 
now if only if i had a tablet to work my magic!!!! ;)

penguinbait 2008-06-17 21:11

Re: BOUNTY for running Microb in KDE
 
OK, so that is $60 via paypal to anyone who can get microb working

40$ from penguinbait

10$ from smog

10$ from BruceL

cmon anyone??

qole 2008-06-18 18:06

Re: BOUNTY for running Microb in KDE
 
Little update. The problem is not the Sapwood server. I have multiple OS2008 partitions on my N800. I booted to one and then mounted another one and then did a chroot into it. Then, from within the chroot, I ran "browser" as user. I got a bunch of sapwood-server errors ("must be started before applications" ... "Connection refused" ... etc) BUT the browser started up and displayed correctly in OS2008.

I started KDE, did the same chroot procedure, ran "browser" as user, got the same Sapwood errors... but the usual eternal "Updating" behavior still happened.

So there's something else that the browser framework is waiting for. Perhaps some daemon that the browser is expecting is getting shut down when you start KDE. Any ideas?

EDIT1: Interesting. When I closed the browser in KDE, I got a new error.
Quote:

GLIB CRITICAL ** default - browser_plugin_mgr_destroy: assertion 'BROWSERPLUGIN_MGR(self)' failed
What is this Browser Plugin Manager? How is it run? It seems that it isn't getting started in KDE, but it is running in OS2008 because I didn't get that error when closing the browser in OS2008.


EDIT2: The correct way to start the browser seems to be via DBUS. So, you should use the browser_dbuscmd.sh script. But when I try:
Quote:


browser_dbuscmd.sh open_new_window www.google.com

I get an error:
Quote:

Error org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/browser exited with status 1
I get that error trying to run browser_dbuscmd.sh from OS2008, too. So nevermind.

EDIT3: Curiouser and curiouser. After doing my KDE test, the chroot browser no longer works in OS2008 either. Now I just get a blank screen and a bunch of GLIB errors like the following:
Quote:

browser[4927]: GLIB CRITICAL ** default - browser_view_get_env_context: assertion 'self->browser_osso' failed
It makes me wonder if I wasn't just running the non-chroot browser the first time.

Benson 2008-06-18 19:02

Re: BOUNTY for running Microb in KDE
 
Remember, the browser now (OK, whenever Diablo is released) has a separate daemon and what-not. Someone with Diablo ought to install KDE and try it -- it's possible it just works...

coffeedrinker 2008-06-18 21:20

Re: BOUNTY for running Microb in KDE
 
The reason I believe it is a dbus issue is that if I use fvwm instead of matchbox (and that being the only difference) I cannot launch microb OR OTHER APPS that rely on dbus to get started (based on their error messages. Now this was NOT a problem in OS2007. Other apps would launch but not microb but now many more apps are relying on dbus and failing because of it.

So once we find out what is going on in the start of matchbox as it relates to dbus we should have our answer to getting all the standards apps running under any window manager of our choosing (not just KDE (and I know KDE is not merely a wm)).

penguinbait 2008-06-18 22:05

Re: BOUNTY for running Microb in KDE
 
Quote:

Originally Posted by coffeedrinker (Post 193266)
The reason I believe it is a dbus issue is that if I use fvwm instead of matchbox (and that being the only difference) I cannot launch microb OR OTHER APPS that rely on dbus to get started (based on their error messages. Now this was NOT a problem in OS2007. Other apps would launch but not microb but now many more apps are relying on dbus and failing because of it.

So once we find out what is going on in the start of matchbox as it relates to dbus we should have our answer to getting all the standards apps running under any window manager of our choosing (not just KDE (and I know KDE is not merely a wm)).

Quote:

Originally Posted by penguinbait (Post 180549)
PCQ, to me its needed for other environments also where konq is not available, say XFCE or ICEWM. If I can get it running in one, it will run in the others also. Additionally flash support would be a bonus to have under KDE...

Don't get me wrong, I love my Konq.

Thats what I said, and why I posted the bounty of 40$ of my own money.

Still at 60$ via paypal, any other contributers?????

qole 2008-06-18 22:25

Re: BOUNTY for running Microb in KDE
 
So, I have good news and I have bad news.

The good news is that I have figured out what extra "thing" needed to be running in order for the browser to work. The bad news is that the necessary "thing" is matchbox-window-manager.

I put this to the test with a torturous, rube-goldberg method, and I actually got the browser working in KDE... sort-of.

http://farm3.static.flickr.com/2223/...3fbce8ed_o.png

As you can see, (as root) I started a Xephyr nested x-server first, creating a new display :1 ...
Quote:

Xephyr :1 -wr -host-cursor -screen 640x400x16 &
(I was able to get Xephyr working in Maemo by copying /usr/bin/Xephyr and the two /usr/lib files from the libpixman package, and then copying the /usr/share/fonts/X11/misc directory from my Debian chroot)

Then, as "user", in a (non-root) terminal window, I did:
Quote:

export DISPLAY=:1
matchbox-window-manager -theme glasser -use_titlebar no -display :1 &
browser
This got me the screenshot you see above (I fixed that ugly X cursor with the "-host-cursor" parameter in Xephyr). I also uploaded the screenshot to Flickr with the MicroB browser, so it does work.

I have tried running /usr/lib/sapwood-server to get the browser's toolbar icons to show, but it simply changes the errors from errors about sapwood-server not running to errors about not being able to get the window id and not being able to get the icon info. However, running sapwood-server gets the menus (bookmarks, dropdown, etc) looking a lot better. I'm sure you just need to tweak something to get it to show the icons.

If you change the matchbox-window-manager line to "-use_titlebar yes" then you get a big Hildon bar across the screen, but you also get your pull-down menu.

Ok, that's as much as I'm going to do today. Anyone else interested can run with this for a bit.

PROBLEMS WITH THIS METHOD:
  • Can't resize the window (perhaps just make it fullscreen?)
  • Toolbar icons are broken
  • Dropdown menu doesn't show OR you've got a honking big titlebar

I'm not sure that it is significantly slower, however, so I'm not including that as a "problem"

I'm sure you will find more problems ;)

qole 2008-06-18 23:05

Re: BOUNTY for running Microb in KDE
 
Ok, so you need to add sapwood-server to your commands. It makes things much prettier. You need sapwood to draw widgets like scroll bars and file menus.

Assuming you have installed Xephyr in maemo (as detailed above), and you can use sudo to run commands as root:

Code:

export DISPLAY=:0
sudo Xephyr :1 -wr -host-cursor -screen 700x400x16 &
export DISPLAY=:1
matchbox-window-manager -theme glasser -use_titlebar no -display :1 &
/usr/lib/sapwood/sapwood-server &
browser

This will get you something that looks like this:

http://farm4.static.flickr.com/3003/...4fa711bd_o.png

... the YouTube video ran pretty well, actually, I'm not sure if it is noticeably slower than in OS2008 ...

And to make it all go away, just close the Xephyr window or "sudo killall Xephyr"

penguinbait 2008-06-19 00:18

Re: BOUNTY for running Microb in KDE
 
Quote:

Originally Posted by qole (Post 193295)
So, I have good news and I have bad news.

The good news is that I have figured out what extra "thing" needed to be running in order for the browser to work. The bad news is that the necessary "thing" is matchbox-window-manager.

I put this to the test with a torturous, rube-goldberg method, and I actually got the browser working in KDE... sort-of.

http://farm3.static.flickr.com/2223/...3fbce8ed_o.png

As you can see, (as root) I started a Xephyr nested x-server first, creating a new display :1 ...

(I was able to get Xephyr working in Maemo by copying /usr/bin/Xephyr and the two /usr/lib files from the libpixman package, and then copying the /usr/share/fonts/X11/misc directory from my Debian chroot)

Then, as "user", in a (non-root) terminal window, I did:


This got me the screenshot you see above (I fixed that ugly X cursor with the "-host-cursor" parameter in Xephyr). I also uploaded the screenshot to Flickr with the MicroB browser, so it does work.

I have tried running /usr/lib/sapwood-server to get the browser's toolbar icons to show, but it simply changes the errors from errors about sapwood-server not running to errors about not being able to get the window id and not being able to get the icon info. However, running sapwood-server gets the menus (bookmarks, dropdown, etc) looking a lot better. I'm sure you just need to tweak something to get it to show the icons.

If you change the matchbox-window-manager line to "-use_titlebar yes" then you get a big Hildon bar across the screen, but you also get your pull-down menu.

Ok, that's as much as I'm going to do today. Anyone else interested can run with this for a bit.

PROBLEMS WITH THIS METHOD:
  • Can't resize the window (perhaps just make it fullscreen?)
  • Toolbar icons are broken
  • Dropdown menu doesn't show OR you've got a honking big titlebar

I'm not sure that it is significantly slower, however, so I'm not including that as a "problem"

I'm sure you will find more problems ;)


Not really what I was looking for, but awesome none the less. I have been wanting to play with Xepher on here for a while, but I have not had the time.

Can you PLEASE, post a tarball of the fonts??

EDIT
nevermind, anyone else wants em, http://penguinbait.com/fonts.tgz

penguinbait 2008-06-19 01:31

Re: BOUNTY for running Microb in KDE
 
OMG, can someone hildonize Xephry so it could run full screen on maemo. Then you could just run KDE in a window. This would work pretty good, even if memory is a tad low :) Sure would be nice for icewm or other minimal wm, window maker xfce

http://penguinbait.com/kde-maemo.png

coffeedrinker 2008-06-19 01:49

Re: BOUNTY for running Microb in KDE
 
But what I don't understand is why they decided to make dbus apps dependent on the wm. Any rational to that? Knowing that might help sort it out. My knowledge of dbus isn't much other than knowing what it does.

I've spent lots of time on this before and never sorted it out (I already knew it needed matchbox). Perhaps I can give it another run soon.

penguinbait 2008-06-19 01:55

Re: BOUNTY for running Microb in KDE
 
My icons worked fine, it might have been your environment from which you started it. Also I did not start sapwood server


http://penguinbait.com/fsb.png

EDIT, IF YOU USE TITLEBAR yes, you can use the fullscreen button and make the buttons go away.

My icons are working and after starting sap server , I only get the errors for window ID

Using it in KDE with no window decorations, so its full screen, all menus and zoom are working.

Man I really hope we can get it to work without hildon, but this does actually work and is useable. I did have some network haning it appears, I need to do some more playing.

qole --- Nice Job

qole 2008-06-19 02:41

Re: BOUNTY for running Microb in KDE
 
I figured out that it only takes 4 files for fonts, and they can be put in your normal fonts dir. I'll try to make a .deb, it will be my first one ever ;)

qole 2008-06-19 03:35

Re: BOUNTY for running Microb in KDE
 
Ok, here is my very first .deb ever. kbrowser-0.1-1_armel.deb kbrowser-0.1-2_armel.deb kbrowser-0.1-3_armel.deb
kbrowser-0.2-2_armel.deb

It is over a megabyte, so I had to upload it to rapidshare. Most of the size is the Xephyr server.

Install the .deb and then run kbrowser as "user" (not root) from a non-Hildon WM.

The only thing I can't do (and I wish I could do it) is, as part of the install process, add the line to sudoers so that "sudo <command>" works. I think if you have KDE installed, that is already in place.

You can mess with the startup script, it is /usr/bin/kbrowser and it is just a shell script with the commands from my previous post (with a fix for needing the whole fonts directory, and the addition of wmctrl to change the window name to "MicroB Browser").

EDIT: I fixed a small bug; the window wasn't getting renamed properly. New file posted.

EDIT2: Please play around with the window dimensions in the Xephyr command line. I chose 700x450 because I have my KDE panel / bar /whatever on the side and that window size fits nicely on my screen without hiding any important stuff.

EDIT3: added KDE icon to Internet menu!

Report any problems to me!


| 1   2   | Next
All times are GMT. The time now is 23:07.

vBulletin® Version 3.8.8