Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - danr

Pages: 1 ... 8 9 [10]
General Discussion / call to arms
« on: March 09, 2004, 12:10:27 pm »
I\'d like to help out too.  Problem is that I use Cygwin, and it isn\'t currently supported on OpenEmbedded.  Windows environmental variables with spaces in them seem to cause problems with oebuild.


User Request for Applications / Project management tool
« on: February 27, 2004, 11:36:53 am »

I currently use a project management tool called Plan5,, on my Psion 5 but am looking out for an alternative on the Zaurus.

It\'d be great if there was a free project management tool for the Zaurus, such as MrProject,

Does anyone know how easy it is to port a Gnome app to Qtopia?


General Discussion / Running xspect games from their icon
« on: February 26, 2004, 08:24:15 am »
Hi all,

I\'ve found a way of running Spectrum games by clicking on their icon in Qtopia, even though xspect is an x app.  This principle could be used to associate other types of file with a non-qtopia app.

xspect (
wm2 (optional)
spectrum games (

After installing all the above, create a desktop entry for xspect, /home/QtPalmtop/apps/Games/xspect.desktop

Code: [Select]
[Desktop Entry]

Comment=Spectrum emulator




Name=Spectrum emulator


(Icon=WordGame as I don\'t have any interesting pics on my Zaurus ;-))

and associate Spectrum files with this by adding to /home/QtPalmtop/etc:

Code: [Select]
application/spectrum            tap z80 sna tzx

runxspect is a simple shell script living in /home/QtPalmtop/bin:

Code: [Select]

. /home/zaurus/.bashrc

export DISPLAY=:0 < /tmp/qcop-msg-runxspect > /tmp/

. /tmp/

(alter the bashrc line to point to your initialisation script as necessary)

When you click on a Spectrum file, Qtopia appears to create a file, /tmp/qcop-msg-runxspect, with the name of the file clicked on, as well as a load of binary characters.  The script strips out everything except for the filename, and creates the output:

xspect <filename>

which is then run in the above script. is

Code: [Select]
#!/usr/bin/perl -w


  # gets rid of non-ASCII in QPE file, and creates the string xspect

  my $string;

  while (<>) {



    s/(QPE/Application/runxspectraiseQPE/Application/runxspectraiseQPE/Application/runxspectsetDocumentQString[fb]*[d]*[vr]*)(.*)/xspect $2*n/s;

    print $_;



which is somewhat messy, but seems to work most of the time.

You\'ll have to reset Qtopia to associate the Spectrum files with the desktop entry, and Xqt should be running.  After doing this, clicking on a Spectrum game file in the file manager should start up xspect.

It\'s all a bit messy so if anyone has a better way of doing it, give me a shout :-)

One annoyance I find is that on my SL5500 the Spectrum display is too wide and the wm2 window manager always opens the display from the left hand side of the Zaurus screen, so I always have to drag the display left to centre it.  Anyone know a way to automatically get an x window manager to centre it?



Pages: 1 ... 8 9 [10]