hi tim
is it possible to have opiereader show text in all four orientations instead of the 2 that it doest now
thanks
tovarish
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
Possible, yes. Easy, no. Worthwhile, maybe.
The rotation stuff was only put in as an interim measure when one of the Sharp ROMs broke the ability for a user to open an app already rotated (IIRC [a href=\"http://www.timwentford.uklinux.net/opie-reader-rotated_2.00_noarch.ipk]there is an ipk[/url] for a desktop entry to open opie-reader rotated on my website but I don't think it works on the current Sharp ROM - but of course I can't verify that as there is no Sharp ROM for the SL5000D though the last time I tried it in one of the compatible ROMs it didn't work). That is why I haven't bothered to change the sense of the cursor buttons etc.
Under the OZ/opie ROMs you can rotate on the fly in any direction you want without requiring any support from the app so the rotation is wasted for opie.
So, if the Sharp ROMs ever regain their ability to open apps in rotated mode, nobody will ever need the rotation in opie-reader. OTOH, this is looking increasingly unlikely but it may be worth trying the above ipk on one of the current roms (any volunteers?) and if that doesn't work I'll take a look.
In the meantime I did have a script which let you open any app in any rotation which was on the old message boards which may be worth searching for.
Here is what I managed to find:
From: Greg Gilbert <greg.a.t.treke.net>
Date: Wed Sep 18 2002 - 12:28:05 EDT
* Tim Wentford (timwentford@hotmail.com) wrote:
> *This is the script for anyone interested - works on Zaurus when starting
> from default rotation - YMMV:
>
> qcop QPE/System "setDefaultRotation(int)" 180
> qcop QPE/System "execute(QString)" uqtreader
> qcop QPE/System "setDefaultRotation(int)" 270
>
> Anyone want to do an Opie-sh script which works for any app?
You can also change the .desktop file to contain a Rotation field,
and then the launcher will happily rotate the application when you
start it. Rotation=90 will rotate it 90 degrees from the
frame buffer's natural orientation.
Greg
Greg's method is the one which is broken in the current ROM but my original method should still work. I'll take a look at how much work it would be but any implementation will probably have to wait until I get a sizable gap on my to-do list (which doesn't happen too often 8^) ).