OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => X/Qt => Topic started by: ced on February 05, 2004, 04:37:51 am
-
I\'ve installed the Xqt packages on my SL5600. I\'m just wondering if someone done the same thing...
When I start the xserver (version 0.0.7) I get a window without the border/title/exit cross. So I can only kill the xserver from a remote terminal (kill -9). any workaround?
I\'ve installed blackbox, work ok.
I\'ve tried evilwm and I don\'t thing it\'s working.
If I run \"startx\" from a terminal, the xserver set the screen size to 240x300. I\'m not sure is correct it should be 320x240. what do you think?
At last I been able to run AWT application using the blackdown 1.3.1 VM. :-)
-
To kill the server, hit the \"menu\" button on your Zaurus - you\'ll get a popup menu with shutdown as one of the options.
-
cool
-
If I\'m using the \"Start X\" icon then I don\'t get a task icon so the xserver loose focus when the screen refresh (and go behind the desktop).
The \"Start X\" icon links to a script \"startx-wrapper\" which call \"startx\".
how can I fix it?
-
have you tried running xinit instead of startx? that seems to work for me..
-
I\'ve changed the \"exec\" attribute in the desktop file to \"xinit\". I don\'t get the icon taskbar...
Here is the packages I\'ve installed:
- xqt-server 0.0.7
- xlibs 4.3.0.2
- xbase-client 4.3.0.2
- xbase-etc 4.3.0.2
- xqt-startup-script 0.0.2
- blackbox 0.65.0.1
I didn\'t install the fonts because I think it\'s for the Japanese.
-
Do these packages work okay. The page says that you need the Japanese locale to be installed. Presumably it also works with an English or American locale file?
If not, I can\'t seem to find the x-devel*.tar.gz package which the developer talks about (http://xqt.sourceforge.jp/download.html @ bottom).
Si
-
http://prdownloads.sourceforge.jp/xqt/7965....0.1_arm.tar.gz (http://prdownloads.sourceforge.jp/xqt/7965/x-devel_4.3.0.1_arm.tar.gz)
-
thanks
-
Qtopia only associates an icon on the taskbar with Qtopia apps. It does this by taking the name set in the QPEApplication object in the Qtopia app and matching it with the process launched from the exec setting. Java apps, which are all launched with scripts, get around this because Jeode has a special option to set the Qtopia name for the process to the same name as the script.
You could try moving the Qtopia part of the xserver to somewhere outside of the path and rename the startx script to the same name as the Qtopia part and call the xserver with an absolute path. The exec setting in the .desktop file would also have to be updated with the new script name and the tab icons refreshed.
-
thanks, I\'ll do that
-
After about an hour of playing I have it looking a little better than the default setup on my 5600
The first thing I had to do was uninstall the glibc jp locale file and the font package that I installed earlier from the xqt feed...
So I then open the terminal and type the xinit command, expecting for it to whine about me not having the glibc jp package instaled... instead it loaded without any problems.
I have so many packages installed that I am not even sure if I have glibc included in one of them or not...
it\'s still pretty ugly... so you will want to change the style. Hold down your Fn key and tap the screen. Choose styles ] Cthulhain. I\'ve tried them all, this is the only one that looked right to me.
I haven\'t tried to run anything in it yet, but it seems more stable than qtopia-x.
Do these packages work okay. The page says that you need the Japanese locale to be installed. Presumably it also works with an English or American locale file?
If not, I can\'t seem to find the x-devel*.tar.gz package which the developer talks about (http://xqt.sourceforge.jp/download.html @ bottom).
Si
-
woah.. i had no idea you could install X on the 5600
a great day it is.. i have much work to do
-
So where do we find applications in IPK format for this?
-
This X/QT environment is really nice for my wants/needs... are there no other apps than those listed on the project page?
-
Try installing some of the packages made for the X11 rom (look in the ZUG X11 forum for links to feeds).
I haven\'t played with Xqt much yet, but I did grab the gimp package from one of the X11 feeds and had no problems installing/running it.
- ashikase
anpachi, gifu, japan
-
i have had success running the gimp from the x11 feed, many of the other apps require the libraries:
libgtk-x11-2.0.so.0 libxml2.so.0 libgdk-x11-2.0
anyone kow where i can get the libraries required to run these programs (abiword and freeciv client)?
i assume they are part of the x11 rom as abiword ran fine when i tried it before i flashed back to qtopia, perhaps someone could email or up me the libraries from their x11rom install?
-
I\'m not sure if Xqt work with OZ (3.3.6pre1)...
I\'m getting this when I\'ve tryied to start Xqt:
Xqt: relocation error: Xqt: undefined symbol: _7QString.shared_null
-
You need to use the compat libs
-
the compatible libs gui is a bit shitty...
I\'ve selected --] List --] Applications
and the dialog box with the drop down list is empty
any file I can change manually?
-
See what the .desktop file points at - it\'s an opie-sh script which creates the GUI so you should be able to read it and work out what to do on the command line.
Have the compat libs worked for you? I get the listbox filled, I wonder if your install didn\'t work properly.
Si
-
if you install libgimp and gimp from the x11rom feed they work nicely.. Perhaps someone can explain how to compile for xqt and some of us can work on it?
-
If those files work (from the x11rom feed) then you could always download sash\'s toolchain from his home page.
Si
-
Help! I\'ve finally got around to trying to get more than just Xqt running. But it won\'t.
I\'ve installed:
- xqt-server
- xlibs
- xbase-clients
- xbase-etc
- xqt-startup-scripts
- blackbox
When I run the startx command from the terminal I get this:
# startx
/opt/QtPalmtop/bin/startx: 131: mcookie: not found
xauth: creating new authority file /root/.Xauthority
xauth: creating new authority file /root/.Xauthority
Using authority file /root/.Xauthority
xauth: (stdin):1: bad \"add\" command line
xauth: creating new authority file /root/.Xauthority
xauth: creating new authority file /root/.Xauthority
Using authority file /root/.Xauthority
xauth: (stdin):1: bad \"add\" command line
xinit: No such file or directory (errno 2): no server \"X\" in PATH
Use the -- option, or make sure that /opt/QtPalmtop/bin is in your path and
that \"X\" is a program or a link to the right type of server
for your display. Possible server names include:
It looks like it\'s looking for \'X\' as the X server (as per the standard), is this Xqt? I tried creating a symlink from Xqt to X but then all that happened was that I had \'/opt/QtPalmtop/bin/X\' continually scrolling down the screen until I ctrl-c\'d it.
FYI I can run Xqt and I get the dappled background with an X cursor but nothing else (ie I am using the compat libs and it works).
Thanks,
Si
-
I had the exact same \"xinit: No such file or directory (errno 2): no server \"X\" in PATH\" problem.
I had run out of space during the install so I replaced my 64MB (home-on-)SD card with a 128MB SD card after copying the contents of the 64MB vard across. I uninstalled the X stuff and then re-installed it and it started working. I don\'t know what really went wrong but somewhere in this process it got fixed.
-
Okay, I think I\'ve got enough space, I\'ll try ipkg-link\'ing everything to be sure that the symlinks have taken.
Do you have an \'X\' binary then? What is running (ps-wise) when it\'s all working?
Si
-
Could somebody please post a XQt howto and what requirements it has memory and space wise?
Thanks
-
Si, sorry about the delay - I was stuck at home yesterday with no net access.
Here is what is running when I have blackbox installed:
startx
xinit
sh
Xqt
sh
blackbox
I got this list by noting the largest pid before starting X and then listing any new stuff in pid order.
I don\'t have an X binary or symlink (at least not on the path from the konsole). It may be that one of the rc files sets the default server and that failed to install properly. Or, IIRC, I also tried some of the other window managers when I first installed X and one of those sets the default server wrong. Or maybe it just didn\'t install properly - after all I did run out of memory.
-
Cheers, I\'ll try it again this evening.
Si
-
Right, I\'ve got it working.
I think the problem stems in part from the fact that I\'m running as root rather than as zaurus.
Anyway I had to change the permissions (it didn\'t have execute permission) for the x11r6 file which is symlinked from various places including /etc/X11/rstart/commands/x.
I also copied the two config files which are supposed to be placed in /home/zaurus to /root.
Thanks for your help Tim.
I\'ve a couple more questions: What\'s up with the taskbar? It has some text on it and half a clock but I can\'t actually read it as it\'s all squashed up. I tried dragging it but it\'s not interested, also I couldn\'t find a way to change it in the config menu. Any suggestions? Or is this the way blackbox looks on all computers ;-)?
Secondly, how can I get brackets? The fn key is used to simulate the right click I think and I need to use fn to get the brackets (for gnuplot amongst other things).
Cheers,
Si
-
Ignore me, you have to press fn a couple of times and it changes back to working normally.
Right shift hardware key doesn\'t seem to work though.
Si
-
I\'m going to try to compile Xqt with GCC3.x to see whether it solves my problems (https://www.oesf.org/forums/index.php?showtopic=2057).
Does anyone happen to have a translation of /xc/README.Xqt (into English or German or French)?
Cheers,
Si
-
Has anyone tried making an ipk of some of the PDAXrom libraries? I\'d love to see something done with them like the libopie library did for Opie. It would be great if we could install and run the cacko-X stuff on the XQt version. On a side note, has anyone got XMMS performing acceptably under XQt? I can make it run, but it starts and stutters badly on MP3 files - I\'m assuming it may not be fast enough under this XServer.
-
The PDAXRom stuff won\'t work for the most part unless you\'re using one of the Zs with a PXA processor. Shame. If you do have a PXA processor then I can\'t see anything in particular stopping you from insalling and running the apps. What\'s the problem?
Si
-
No problem, mainly ignornance I know there are many libraries that are in the PDAXrom and are not part of the XQt feed. I just don\'t have that definitive list nor do I know where to get the missing libraries (I do have the PXA processor). I suppose I could go into the source for the ROM and figure it out, just hoping someone had done that already. I notice that in the Packages file for Cacko, there is rarely any mention of dependencies - not surprising since everything is geared to run with that particular ROM installation.
-
Has anyone else with a 5600 had a problem where the X-display is
rotated? Actually, its a bit messed up too. I get the display rotated
and tiled as if it thinks its displaying to a 240 wide screen but since
its rotated, it tiles and displays the first 80 pixels a second time...
__________________
20 year old HP calculator, half cup of coffee, dog-eared notebook...
-
Yes, I have the same rotation, screen size, and screen refresh
issues you are mentioning. I\'m running on a 5500 and tkcrom.
I was just about to ask if others are running landscape or portrait
mode on a 5500/5600 and how to change it. From the screen shots
on the Xqt page it looks like there are both. I ran Xqt -help but did
not see an option to change orientation, etc. Haven\'t dug into xconfig
files or anything else yet though.
Don
-
Also having rotation/refresh/screen size issues. I tried running xrandr, which did nothing useful ( although it did seem to be doing something, but my screen orientation and refresh issues kept me from seeing what ). My attempt to rotate the screen seemed to lock the server.
Running a 5500 on tkcrom 2.0 b3.
-
My default build of Sharp ROM 3.13 looks in /home/root/usr/lib for all of its libraries and cannot find the X/QT libraries which by default are installed in /home/QtPalmtop/lib. There is no env variable for libraries so I\'m not sure how to get it to check or add this additional path (/home/QtPalmtop/lib). At the moment I\'m using symlinks but this is not ideal. Any ideas? TIA.
-
LD_LIBRARY_PATH is the env var for libraries.
Try altering it in /opt/QtPalmtop/qpe.sh
-
Tried it - adding :/home/QtPalmtop/lib on the end of the LD_LIBRARY_PATH and rebooting is a guaranteed way of hard resetting the Zaurus....
LD_LIBRARY_PATH is the env var for libraries.
Try altering it in /opt/QtPalmtop/qpe.sh
-
Very strange, on my machine (sl5500 with OZ 3.3.6pre1 admittedly) /opt/QtPalmtop/lib is the first entry in LD_LIBRARY_PATH.
Where did you make the alteration exactly, you\'ll probably need to make it down at the very bottom as there are all sorts of ifs which it goes through deciding what it should put in the various env vars.
What causes the error which you encountered? Could you see anything?
Si
-
hmm... I\'m on tkcROM 2.0b3 and my LD_LIBRARY_PATH is /home/QtPalmtop/lib. When you say default build do you mean that this is your own compile of the Sharp ROM? or do you mean that this is your flash of it? Seems weird to have that be your lib path, every other image I\'ve put on my Z has had the correct /opt/QtPalmtop/lib...
-
Contents of my default 3.13 qpe.sh:
#!/bin/sh
if [ -f /proc/sys/vm/freepg_signal_watermarks ]; then
#echo \'120 160 340\' ] /proc/sys/vm/freepg_signal_watermarks
echo \'200 400 800\' ] /proc/sys/vm/freepg_signal_watermarks
fi
chvt 2
export SHELL=/bin/bash
export QWS_DISPLAY=\"Transformed:Rot270:0\"
export QTDIR=/home/QtPalmtop
export QPEDIR=/home/QtPalmtop
export OPERA_DIR=$QPEDIR/opera
export OPERA_PLUGIN_PATH=$QPEDIR/opera/plugins
export PATH=/root/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
export PATH=$QPEDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib
export HOME=/home/zaurus
export CRL_DIC_PATH=/home/QtPalmtop/dic
#export UNICODEMAP_JP=\"nec-vdc,ibm-vdc,udc\"
export UNICODEMAP_JP=\"open-19970715-ms,cp932,nec-vdc,ibm-vdc,udc\"
export QPEUSER=zaurus
export QPEGROUP=qpe
while true ; do
sdisp /home/QtPalmtop/pics/Startup_screen.bmp
cd
if [ -f /etc/restorefile ]; then
export LD_LIBRARY_PATH=/usr/QtPalmtop.rom/lib
else
export LD_LIBRARY_PATH=$QTDIR/lib
fi
qectrl -c
chmod a+rw /tmp
setdevperm $QPEUSER root
nice survive -l 6 runqpe $QPEUSER $QPEGROUP ]/dev/null 2]&1
# nice survive -l 6 runqpe $QPEUSER $QPEGROUP ]/home/zaurus/log.`date +%H%M%$
if [ ! -f /etc/quickboot ] && [ ! -f /etc/backupfile ] && [ ! -f /etc/resto$
chvt 1; exit 0
fi evperm $QPEUSER root
done
# ice survive -l 6 runqpe $QPEUSER $QPEGROUP ]/home/zaurus/log.`date +%H%M%$
chvt 1
exit 0
I replaced the else Library path
LD_LIBRARY_PATH=$QTDIR/lib
with
LD_LIBRARY_PATH=$QTDIR/lib:/opt/QtPalmtop/lib
likewise with the export at the top of file. After reboot it just hangs, no error messages or anything, I then have to press the hard reset button as both lights on the front are on and the display is scrambled.
-
Looking at it again it should resolve to /home/QtPalmtop/lib without my adding those lines however it seems to only be searching /home/root/usr/lib
-
Oops, last two posts mine
Looking at it again it should resolve to /home/QtPalmtop/lib without my adding those lines however it seems to only be searching /home/root/usr/lib
-
The LD_LIBRARY_PATH is set and exported correctly in each .profile, qpe.sh and s99local (etc/rc.d/rc5.d/s99local) and still when I open a Konsole and do $LD_LIBRARY_PATH the variable is empty. I set it there and then on the prompt and the xclients I want to use work. This is driving me crazy!
-
What is the last shell set to for root (or zaurus - does OZ use zaurus?) in /etc/passwd?
If it\'s /bin/sh then the .profile isn\'t used, set it to /bin/bash and see if that helps.
Stu
-
Id\' be tempted to just stick the following as the very last line in the qpe.sh script:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/QtPalmtop/lib
Si
-
Thanks for everybodys\' help - I created a new .profile file in the /home/zaurus directory and added the path in there - everything seems to work now.
-
Yeah I\'ve got this problem too - the bug is noted on their sourceforge site (although the its not a noted as a rotation bug rather that it seems to be 320x240 on a portrait display).
The dimensions seem to be correct but the display is rotated. Time to install the rotation app methinks to see if that fixes it.
Has anyone else with a 5600 had a problem where the X-display is
rotated? Actually, its a bit messed up too. I get the display rotated
and tiled as if it thinks its displaying to a 240 wide screen but since
its rotated, it tiles and displays the first 80 pixels a second time...
__________________
20 year old HP calculator, half cup of coffee, dog-eared notebook...
-
I have a keymap problem, for example I can\'t get brackets (and lots of fn+keypresses give me numbers rather than the symbols on the keyboard).
Anyone have any suggestions? I wonder whether this is something to do with the fact that I\'m running on OZ (and therefore don\'t run as zaurus).
Si
Edit: I could have sworn that I checked it - anyway fn + shift + the key in question will do brackets. R looks great.
-
can someone please explain, technically, what the Xqt package consists of? Is it an X server for the 5x00, plus gtk+, or is there something else?
I have some GTK+ apps © that I want to port to the Zaurus, and I\'m a bit confused if I should be bothering with an \"X-model\" install, or perhaps going for some sort of porting effort to get it working in GTKfb, which I\'m not sure is even working on the Zaurus? If not, I guess I\'d add that to my list of things to contribute to, if its needed ...
-
Xqt is an X server (and display I assume all rolled into one - forgive me if I\'m getting the terminology confused here) which writes to a Qt window rather than to the framebuffer (like the old Xfree86 package did) or to a VNC client (like Qtopia-X does).
It doesn\'t come with GTK+ (though I think these libs are available in the feed).
Si
-
I\'m using Xqt with my C760 and the cacko 1.19 rom, and it works perfectly with gtk1.2 applications (including the new Dillo 0.8 ipk from the pdax feed). What I haven\'t managed yet is to get any gtk2 apps working. I\'ve copied across gtk2, pango, atk, and gnome libraries from my old cacko X11 installation, and I can get abiword, gnumeric, gqview, and sodipodi to almost run - they draw their windows on the screen and then crash. When starting they give a gdk warning saying \"The X server advertises that RENDER support is present but fails to supply the necessary pixmap support. In other words it is buggy\". When they crash they give an X windows system error, either BadValue or RenderBadPicture.
I think that the problem may be related to Pango, because if I temporarily delete the /usr/lib/pango folder that contains the different pango modules then gqview will sort of run; the window comes up with a tool bar and the gqview splash image which can be zoomed, but there is no text in the menus and the window geometry is strange.
Now I\'m stuck. Can anybody suggest anything? Could the problem be in a configuration file for pango or gdk?
If I could get abiword and gnumeric to run, then I would have found in Xqt+Cacko qtopia the perfect solution for my zaurus. Hancom sheet and word are too lightweight for my needs, but I gave up on the X11 rom because I need PIM functionality, and KO/Pi is perfect for this.
-
Has anyone got any further insight into getting abiword and gnumeric to run?
-
Omega,
See https://www.oesf.org/forums/inde...wtopic=4813&hl= (https://www.oesf.org/forums/index.php?showtopic=4813&hl=)
Mike.
-
Hi,
I tried all the suggestions in this forum (esp page 2). I can't get Xqt running properly
on my 5500 (OZ 3.3.6 pre1 with oz-compat).
The Xserver starts. When I trie to start xeyes I get a scrambeled output,
three eyes, and a cursor cross that can't get moved properly.
Has anyone any idea?
Thanks
Hans
-
Hey,
you have to install xqt-server 0.8 instead of 0.9. You will find that old server ipkg on the sourceforge page of Xqt.
Cya Bedman
-
Very strange, on my machine (sl5500 with OZ 3.3.6pre1 admittedly) /opt/QtPalmtop/lib is the first entry in LD_LIBRARY_PATH.
The ipk seems to have the files tarred as ./opt/QtPalmtop/lib which seems to get added to LD_LIBRARY_PATH
-- hns
-
I can't get Xqt running properly
on my 5500 (OZ 3.3.6 pre1 with oz-compat).
The Xserver starts. When I trie to start xeyes I get a scrambeled output,
three eyes, and a cursor cross that can't get moved properly.
I come across the same issue with the scrambled screen on a SL5500G with ROM 3.10. It is solved by installing xqt-server-0.0.8.
And I found the minimum installation to get a plain X-Terminal:
xqt-server-0.0.8
xlibs-4.3.0-2
This fills approx. 21% of the internal memory (unless installed on an ext2 card).
The X/Qt Applications icon does not work (will try to find out what it needs in addition) but Xqt can be started from the command line as
Xqt or /home/QtPalmtop/bin/Xqt
And for all Macintosh users: a first test shows that "myPDA-Zaurus-Edition" can be made working together with the X/Qt server. So we will try to create a new version that even does not need any rebooting (currently we use the old x11zaurus server).
-- hns
http://www.dsitri.de/wiki.php?page=myPDA-Zaurus-Edition (http://www.dsitri.de/wiki.php?page=myPDA-Zaurus-Edition)