Author Topic: Xqt Installed Under Opie, Now What?  (Read 16947 times)

enodr

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Xqt Installed Under Opie, Now What?
« 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.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Xqt Installed Under Opie, Now What?
« Reply #1 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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

enodr

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Xqt Installed Under Opie, Now What?
« Reply #2 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.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Xqt Installed Under Opie, Now What?
« Reply #3 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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

jfv

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
Xqt Installed Under Opie, Now What?
« Reply #4 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
SL 5000 D  and C860 Sharp ROM
Too many accessories...

enodr

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Xqt Installed Under Opie, Now What?
« Reply #5 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
« Last Edit: April 25, 2006, 01:42:09 pm by enodr »

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Xqt Installed Under Opie, Now What?
« Reply #6 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.
« Last Edit: April 26, 2006, 03:27:31 am by Meanie »
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Xqt Installed Under Opie, Now What?
« Reply #7 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
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

enodr

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Xqt Installed Under Opie, Now What?
« Reply #8 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.

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Xqt Installed Under Opie, Now What?
« Reply #9 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
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

YoG

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Xqt Installed Under Opie, Now What?
« Reply #10 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
C860 Autobuilt Angstrom (OPIE) & Zubuntu 9.04  dual boot using kexec
SanDisk SDHC 4GB, Agiwara Sys-Com CF 1GB, Sandisk CF 256MB, Socket BT, Linksys WCF12 Wifi card, RoyalTek RBT-1000 Bluetooth GPS
yogzlog.blogspot.com

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Xqt Installed Under Opie, Now What?
« Reply #11 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.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

enodr

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Xqt Installed Under Opie, Now What?
« Reply #12 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...

YoG

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Xqt Installed Under Opie, Now What?
« Reply #13 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
C860 Autobuilt Angstrom (OPIE) & Zubuntu 9.04  dual boot using kexec
SanDisk SDHC 4GB, Agiwara Sys-Com CF 1GB, Sandisk CF 256MB, Socket BT, Linksys WCF12 Wifi card, RoyalTek RBT-1000 Bluetooth GPS
yogzlog.blogspot.com

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Xqt Installed Under Opie, Now What?
« Reply #14 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.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K