OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: enodr on April 25, 2006, 04:48:09 am

Title: Xqt Installed Under Opie, Now What?
Post by: enodr on April 25, 2006, 04:48:09 am
I have compiled xqt from the org.openembedded.oz354x tree, and it installed fine. I can now run Xqt and get the grey screen with the cursor. The question is, where should I go from here. There is no doc on the Xqt site, and nothing clear from the forum.

Any help would be welcome.
Title: Xqt Installed Under Opie, Now What?
Post by: lardman on April 25, 2006, 05:49:25 am
I'd guess you need to start something running - probably a window manager, but even without one, something like an xterm should still display and let you see whether it works.

Regarding window managers, I'd try matchbox (as it's what GPE uses), but you may want something else.

Si
Title: Xqt Installed Under Opie, Now What?
Post by: enodr on April 25, 2006, 06:04:40 am
Quote
I'd guess you need to start something running - probably a window manager, but even without one, something like an xterm should still display and let you see whether it works.

Regarding window managers, I'd try matchbox (as it's what GPE uses), but you may want something else.

Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124461\"][{POST_SNAPBACK}][/a][/div]

Well I can't figure how to run an app from this X screen.
Title: Xqt Installed Under Opie, Now What?
Post by: lardman on April 25, 2006, 06:33:15 am
You don't need to, just run it from a terminal outside of XQt - with that said, you'll have to make sure that your DISPLAY env var is set correctly.


Si
Title: Xqt Installed Under Opie, Now What?
Post by: jfv on April 25, 2006, 10:29:41 am
Xqt looks at a file in your home directory (.xinitrc) to decide which programs to run when it starts up. You might want to add an xterm and or a window manager in this file, but make sure that said programs are installed in your system.

Felipe
Title: Xqt Installed Under Opie, Now What?
Post by: enodr on April 25, 2006, 01:34:51 pm
Ok I have done some tests. Here are the feedbacks

Install xqt from the feed:
Code: [Select]
ipkg update; ipkg install xqt
Run xqt then under a terminal:
Code: [Select]
export DISPLAY=:0.0
Then run your x11 app from the command line.

Results for some installed apps from the x11 feed:
- rxvt: quits with error can't parse tty name "pts/3" / XError: Request: 53 . 0, Error: 11
- icewm: display is garbagged
- abiword: quits with gtk error (does xqt require its own gtk libs or can we use the libs
from the feed?)
- firefox: crash with gtk errors and pango errors
- xdemineur: works but unusable because right click (fn click) does not work

I guess all those problems can be solved, but I would need some help from someone with xqt experience
Title: Xqt Installed Under Opie, Now What?
Post by: Meanie on April 26, 2006, 03:14:48 am
Quote
Ok I have done some tests. Here are the feedbacks

Install xqt from the feed:
Code: [Select]
ipkg update; ipkg install xqt
Run xqt then under a terminal:
Code: [Select]
export DISPLAY=:0.0
Then run your x11 app from the command line.

Results for some installed apps from the x11 feed:
- rxvt: quits with error can't parse tty name "pts/3" / XError: Request: 53 . 0, Error: 11
- icewm: display is garbagged
- abiword: quits with gtk error (does xqt require its own gtk libs or can we use the libs
from the feed?)
- firefox: crash with gtk errors and pango errors
- xdemineur: works but unusable because right click (fn click) does not work

I guess all those problems can be solved, but I would need some help from someone with xqt experience
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124528\"][{POST_SNAPBACK}][/a][/div]


xqt is just the base X server. you will also need to install x fonts, x clients, xlibs and a window manager to just get basic X to work. for most of the applications, like abiword, you you also need to install glib/glib2 and gtk/gtk2 which also requires atk and many more other libraries such as fontconfig, expat, and freetype2. firefox also needs pango as well. you also need to configure your x server settings as well as the client settings. xinitrc and xserverrc are the minimum you need to configure and usually you use the startx script to launch xqt which sets up the environment and then launches xinit.
since opie and gpe are build from the same source and share a common base, all you need to do is install all the dependencies and do some configuration. i have setup a complete xqt environment under Sharp ROM which should be similar to settings up xqt under opie. i had to recompile a lot of the pdaXrom packages to make them work under sharp rom due to glibc version differences but opie and gpe share the same base packages and glibc so in your case its just hunting down all the dependencies and even for the configuration you can borrow the settings from qpe.
Title: Xqt Installed Under Opie, Now What?
Post by: koen on April 26, 2006, 03:53:55 am
Quote
Quote
Ok I have done some tests. Here are the feedbacks

Install xqt from the feed:
Code: [Select]
ipkg update; ipkg install xqt
Run xqt then under a terminal:
Code: [Select]
export DISPLAY=:0.0
Then run your x11 app from the command line.

Results for some installed apps from the x11 feed:
- rxvt: quits with error can't parse tty name "pts/3" / XError: Request: 53 . 0, Error: 11
- icewm: display is garbagged
- abiword: quits with gtk error (does xqt require its own gtk libs or can we use the libs
from the feed?)
- firefox: crash with gtk errors and pango errors
- xdemineur: works but unusable because right click (fn click) does not work

I guess all those problems can be solved, but I would need some help from someone with xqt experience
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124528\"][{POST_SNAPBACK}][/a][/div]


xqt is just the base X server. you will also need to install x fonts, x clients, xlibs and a window manager to just get basic X to work. for most of the applications, like abiword, you you also need to install glib/glib2 and gtk/gtk2 which also requires atk and many more other libraries such as fontconfig, expat, and freetype2. firefox also needs pango as well. you also need to configure your x server settings as well as the client settings. xinitrc and xserverrc are the minimum you need to configure and usually you use the startx script to launch xqt which sets up the environment and then launches xinit.
since opie and gpe are build from the same source and share a common base, all you need to do is install all the dependencies and do some configuration. i have setup a complete xqt environment under Sharp ROM which should be similar to settings up xqt under opie. i had to recompile a lot of the pdaXrom packages to make them work under sharp rom due to glibc version differences but opie and gpe share the same base packages and glibc so in your case its just hunting down all the dependencies and even for the configuration you can borrow the settings from qpe.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124601\"][{POST_SNAPBACK}][/a][/div]

'ipkg install abiword' will install all dependencies needed for abiword
'ipkg install firefox' will install all dependencies needed for firefox

In openzaurus dependencies 'just work', if they don't, file a bug and we'll fix it for you
Title: Xqt Installed Under Opie, Now What?
Post by: enodr on April 26, 2006, 04:56:13 am
Quote
'ipkg install abiword' will install all dependencies needed for abiword
'ipkg install firefox' will install all dependencies needed for firefox

In openzaurus dependencies 'just work', if they don't, file a bug and we'll fix it for you
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124607\"][{POST_SNAPBACK}][/a][/div]

That's what I did, and it seems that all depedencies got installed (gtk, pango...), but it still doesn't work under Xqt. I did not have time to dig into the problem, maybe there is still a package missing, I'll try to find out.

If it can help launching abiword under Xqt raises the following error:
GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

I have to find out which package this file belongs to.
Title: Xqt Installed Under Opie, Now What?
Post by: koen on April 26, 2006, 07:05:54 am
Quote
Quote
'ipkg install abiword' will install all dependencies needed for abiword
'ipkg install firefox' will install all dependencies needed for firefox

In openzaurus dependencies 'just work', if they don't, file a bug and we'll fix it for you
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124607\"][{POST_SNAPBACK}][/a][/div]

That's what I did, and it seems that all depedencies got installed (gtk, pango...), but it still doesn't work under Xqt. I did not have time to dig into the problem, maybe there is still a package missing, I'll try to find out.

If it can help launching abiword under Xqt raises the following error:
GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

I have to find out which package this file belongs to.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124620\"][{POST_SNAPBACK}][/a][/div]

aha! 'ipkg list | grep gdk-pixbuf-loader' and install the ones you need, probably jpg, png and xpm. We split those out to save space and it seems gtk+ doesn't RRECOMMEND those. They are listed in some task-gpe0<foo> however
Title: Xqt Installed Under Opie, Now What?
Post by: YoG on April 26, 2006, 05:48:55 pm
Hi,
I tried to install xqt, like enodr suggested:

Quote
Install xqt from the feed:
Code: [Select]
ipkg update; ipkg install xqt

Run xqt then under a terminal:
Code: [Select]
export DISPLAY=:0.0


but when i run Xqt, I get (after few lines of output):

"Could not init font path element /usr/lib/X11/fonts/100dpi/, removing from list!"
and then segemntation fault...

any suggestions?

thanx YoG
Title: Xqt Installed Under Opie, Now What?
Post by: Meanie on April 26, 2006, 10:24:33 pm
Quote
Quote
Quote
'ipkg install abiword' will install all dependencies needed for abiword
'ipkg install firefox' will install all dependencies needed for firefox

In openzaurus dependencies 'just work', if they don't, file a bug and we'll fix it for you
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124607\"][{POST_SNAPBACK}][/a][/div]

That's what I did, and it seems that all depedencies got installed (gtk, pango...), but it still doesn't work under Xqt. I did not have time to dig into the problem, maybe there is still a package missing, I'll try to find out.

If it can help launching abiword under Xqt raises the following error:
GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory

I have to find out which package this file belongs to.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124620\"][{POST_SNAPBACK}][/a][/div]

aha! 'ipkg list | grep gdk-pixbuf-loader' and install the ones you need, probably jpg, png and xpm. We split those out to save space and it seems gtk+ doesn't RRECOMMEND those. They are listed in some task-gpe0<foo> however
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124633\"][{POST_SNAPBACK}][/a][/div]

afaik, a postinstall script in the gdk-pixbuf package is supposed to generate that file depending on what image libraries are available.
Title: Xqt Installed Under Opie, Now What?
Post by: enodr on April 27, 2006, 11:34:56 am
Quote
afaik, a postinstall script in the gdk-pixbuf package is supposed to generate that file depending on what image libraries are available.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124728\"][{POST_SNAPBACK}][/a][/div]

You are right, a simple ipkg install gdk-[whatever] goes fine.

I also installed the missing fonts from the xqt feed, but that's not the problem.

Still apps are crashing: launching abiword for example crashes with only two warning about setting locale not supported by glibc or whatever, but I guess this is not the reason of the crash...
Title: Xqt Installed Under Opie, Now What?
Post by: YoG on April 27, 2006, 05:12:36 pm
Quote
Hi,
I tried to install xqt, like enodr suggested:

Quote
Install xqt from the feed:
Code: [Select]
ipkg update; ipkg install xqt

Run xqt then under a terminal:
Code: [Select]
export DISPLAY=:0.0

but when i run Xqt, I get (after few lines of output):

"Could not init font path element /usr/lib/X11/fonts/100dpi/, removing from list!"
and then segemntation fault...

any suggestions?

thanx YoG
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124692\"][{POST_SNAPBACK}][/a][/div]

After installing also the 100dpi fonts xqt starts.
But now I have these problems:
1) The screen is rotated.
2) The screen does not refresh, I have to switch to another app and then return to xqt to force it refreshing itself.
3) The Enter key does not work.

thanx,
YoG
Title: Xqt Installed Under Opie, Now What?
Post by: Meanie on April 28, 2006, 01:32:31 am
Quote
Quote
Hi,
I tried to install xqt, like enodr suggested:

Quote
Install xqt from the feed:
Code: [Select]
ipkg update; ipkg install xqt

Run xqt then under a terminal:
Code: [Select]
export DISPLAY=:0.0

but when i run Xqt, I get (after few lines of output):

"Could not init font path element /usr/lib/X11/fonts/100dpi/, removing from list!"
and then segemntation fault...

any suggestions?

thanx YoG
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124692\"][{POST_SNAPBACK}][/a][/div]

After installing also the 100dpi fonts xqt starts.
But now I have these problems:
1) The screen is rotated.
2) The screen does not refresh, I have to switch to another app and then return to xqt to force it refreshing itself.
3) The Enter key does not work.

thanx,
YoG
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124846\"][{POST_SNAPBACK}][/a][/div]

you also need to set the screen rotation/orrientation using randr
and map the keyboard using xmodmap
and load a nice window manager
you should try running small apps first to verify your xqt environment is ok before going to run bigger apps like abiword.
sylpheed and dillo are small apps which are actually quite useful but also help you determine whether your basic config is correct and working. once they work, you can tackle firefox and abiword and then maybe gnumeric which has many more dependencies.
Title: Xqt Installed Under Opie, Now What?
Post by: YoG on April 28, 2006, 03:10:35 am
Quote
you also need to set the screen rotation/orrientation using randr
and map the keyboard using xmodmap
and load a nice window manager
you should try running small apps first to verify your xqt environment is ok before going to run bigger apps like abiword.
sylpheed and dillo are small apps which are actually quite useful but also help you determine whether your basic config is correct and working. once they work, you can tackle firefox and abiword and then maybe gnumeric which has many more dependencies.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124893\"][{POST_SNAPBACK}][/a][/div]

I have randr, that fixed the rotation problem. I managed to run xterm, rxvt , xcalc and xedit. I also installed blackbox. All seem to work fine.
BUT, the most annoying problem is the refresh problem. I dont see any changes on the xqt window, no matter what I'm doing, until I switch to another app (opie-console for example) and back to the xqt window... then the window gets refreshed once.

YoG.
Title: Xqt Installed Under Opie, Now What?
Post by: enodr on May 06, 2006, 08:38:52 am
After having installed lots of X11 packages I have managed to run Abiword or any apps from the X11 feed, but I still can't use them:

when the app is launched all I can see is the File, Edit, ... menu in HUGE FONTS (FILE takes all the screen). I guess this is a gtk thing... Anyone?
Title: Xqt Installed Under Opie, Now What?
Post by: Meanie on May 07, 2006, 09:41:36 pm
Quote
After having installed lots of X11 packages I have managed to run Abiword or any apps from the X11 feed, but I still can't use them:

when the app is launched all I can see is the File, Edit, ... menu in HUGE FONTS (FILE takes all the screen). I guess this is a gtk thing... Anyone?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125943\"][{POST_SNAPBACK}][/a][/div]

create a file called .gtkrc-2.0 under your home directory containing:

Code: [Select]
gtk-font-name = "Verdana 12"
seems like you are missing all the config packages.
Title: Xqt Installed Under Opie, Now What?
Post by: enodr on May 08, 2006, 09:41:12 am
hey! getting closer

I installed xqt on a clean oz 3.5.4.1rc2 with opie and after fixing a few dependencies  and adding the following .gtkrc-2.0 (thanks meanie)

Code: [Select]
gtk-font-name = "Verdana 0.5"
Here is the result of a running abiword (see screenshot). It's not perfect but very useable. Enter key and right click (fn click) are not working but I guess it can be fixed.
Title: Xqt Installed Under Opie, Now What?
Post by: Meanie on May 09, 2006, 02:30:39 am
Quote
hey! getting closer

I installed xqt on a clean oz 3.5.4.1rc2 with opie and after fixing a few dependencies  and adding the following .gtkrc-2.0 (thanks meanie)

Code: [Select]
gtk-font-name = "Verdana 0.5"
Here is the result of a running abiword (see screenshot). It's not perfect but very useable. Enter key and right click (fn click) are not working but I guess it can be fixed.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126145\"][{POST_SNAPBACK}][/a][/div]

gee, and I thought the window manager in OZ was customised for the Z and would resize the window properly or the apps would had been customised to fit on the screen automatically  dare I even ask if you can print to PDF and it generates a proper looking pdf file?
Title: Xqt Installed Under Opie, Now What?
Post by: enodr on May 09, 2006, 05:48:06 am
Quote
gee, and I thought the window manager in OZ was customised for the Z and would resize the window properly or the apps would had been customised to fit on the screen automatically  dare I even ask if you can print to PDF and it generates a proper looking pdf file?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126238\"][{POST_SNAPBACK}][/a][/div]
Ok I solved my fonts problems by compiling xqt2 from cvs. No need for .gtkrc file anymore. Here is the result (see screenshot) and yes pdf generation from abiword works. Note: I am posting this using firefox under oz3.5.4.1rc2 Opie !! Xqt2 binary is also included (still need to tweak .bb file to include in feed)
Title: Xqt Installed Under Opie, Now What?
Post by: koen on May 09, 2006, 06:28:07 am
Quote
Quote
hey! getting closer

I installed xqt on a clean oz 3.5.4.1rc2 with opie and after fixing a few dependencies  and adding the following .gtkrc-2.0 (thanks meanie)

Code: [Select]
gtk-font-name = "Verdana 0.5"
Here is the result of a running abiword (see screenshot). It's not perfect but very useable. Enter key and right click (fn click) are not working but I guess it can be fixed.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126145\"][{POST_SNAPBACK}][/a][/div]

gee, and I thought the window manager in OZ was customised for the Z and would resize the window properly or the apps would had been customised to fit on the screen automatically  dare I even ask if you can print to PDF and it generates a proper looking pdf file?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126238\"][{POST_SNAPBACK}][/a][/div]

If you look carefull you see that is is running without a wm. please stop trolling
Title: Xqt Installed Under Opie, Now What?
Post by: starkruzr on May 15, 2006, 01:43:41 am
Would it be possible for people who know how to do these things to create a task-opie-xqt metapackage to set all this up automagically?
Title: Xqt Installed Under Opie, Now What?
Post by: enodr on May 15, 2006, 03:07:21 am
Quote
Would it be possible for people who know how to do these things to create a task-opie-xqt metapackage to set all this up automagically?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127061\"][{POST_SNAPBACK}][/a][/div]

If you are interested in beta testing my solution, I am preparing a meta package opie-x11 which installs the real X11 server from the X11 feed and allow to start it from Opie, and then switch from one to another.

I have dropped the Xqt approach, since this solution is far most powerfull and quicker. Also everything will work out of the box with OZ feeds.
Title: Xqt Installed Under Opie, Now What?
Post by: lardman on May 15, 2006, 05:43:33 am
Quote
I am preparing a meta package opie-x11 which installs the real X11 server from the X11 feed and allow to start it from Opie, and then switch from one to another.

Using different vts or still over a VNC link?

Si
Title: Xqt Installed Under Opie, Now What?
Post by: enodr on May 15, 2006, 06:25:05 am
Quote
Quote
I am preparing a meta package opie-x11 which installs the real X11 server from the X11 feed and allow to start it from Opie, and then switch from one to another.

Using different vts or still over a VNC link?

Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127080\"][{POST_SNAPBACK}][/a][/div]

Using a different vt.
Title: Xqt Installed Under Opie, Now What?
Post by: zedkatuf2 on June 23, 2006, 04:38:24 pm
Quote
If you are interested in beta testing my solution, I am preparing a meta package opie-x11 which installs the real X11 server from the X11 feed and allow to start it from Opie, and then switch from one to another.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127072\"][{POST_SNAPBACK}][/a][/div]

..how's this all going - I'm very interested, as this obviates having to have gpe & opie; I prefer opie atm because there are several apps such as ImageJ, pdf viewer, that work well under opie, so to be able to run abiword, gnumeric etc using opie as well would be great.  I suppose the only query I have is: what's the real difference between having gpe as opposed to XQt....?  Is is easier to get packages running in XQt..or...??
Title: Xqt Installed Under Opie, Now What?
Post by: alee16 on June 29, 2006, 01:52:34 pm
Quote
Quote
If you are interested in beta testing my solution, I am preparing a meta package opie-x11 which installs the real X11 server from the X11 feed and allow to start it from Opie, and then switch from one to another.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127072\"][{POST_SNAPBACK}][/a][/div]

..how's this all going - I'm very interested, as this obviates having to have gpe & opie; I prefer opie atm because there are several apps such as ImageJ, pdf viewer, that work well under opie, so to be able to run abiword, gnumeric etc using opie as well would be great.  I suppose the only query I have is: what's the real difference between having gpe as opposed to XQt....?  Is is easier to get packages running in XQt..or...??
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132634\"][{POST_SNAPBACK}][/a][/div]

Which is faster (loading apps, etc.), X/QT or running GPE and OPIE at the same time?
Title: Xqt Installed Under Opie, Now What?
Post by: zedkatuf2 on June 30, 2006, 01:58:37 am
Quote
Which is faster (loading apps, etc.), X/QT or running GPE and OPIE at the same time?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=133357\")

gpe & opie at the same time on different vt's doesn't work anymore, I think - hence the need to use X/qt or pocketworkstation for those who like opie (me included!)

EDIT: Looks like I'm WRONG  

See here:
[a href=\"https://www.oesf.org/forums/index.php?showtopic=20217]https://www.oesf.org/forums/index.php?showtopic=20217[/url]
Title: Xqt Installed Under Opie, Now What?
Post by: zedkatuf2 on July 01, 2006, 05:04:08 am
Quote
Which is faster (loading apps, etc.), X/QT or running GPE and OPIE at the same time?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133357\"][{POST_SNAPBACK}][/a][/div]

..from memory of a previous successful attempt at doing this,& now experience of running Xqt2, I'd say running opie & gpe at the same time is better...this is prior to enodr's submission of his X11/Xqt meta package however, which may end up as fast, perhaps(?)

zedkatuf