Please note: This page is obsolete now that the Xrandr (X Rotate AND Resize) support is ported to the agenda Xserver. Take a look at this page: http://www.gnb10.uklinux.net/agenda/xrandr/.

If you are running an old rootdisk the information in this page may be of some utility.


This is a screenshot of the display of my agenda, running xspread, keymacs (a modified keyboard app. that can be resized to use the full width of the screen in landscape mode) and a little application to change the screen orientation.

Some patches are required to make things work, I wrote this patches for the X server based in Xfree 4.1.0 and also for the Xfree 4.2.0 based X server.

Xfree 4.1.0

Starting the X server rotated is simple: just add the "-rotate cw" or "-rotate ccw". Unfortunately the X server is started from vrdm and the start command is hard-coded. Additionally, the line that starts vrdm is in the rootdisk, and so is vrdm itself. Conclusion: the agenda starts in portrait mode unless you change the rootdisk. (see below how to switch to landscape mode without flashing a new rootdisk).

Also, vrsm always "draw" the silkscreen buttons a couple of pixels down the "physical" screen (screen height + 2). And the Agenda X server is patched in order to be able to produce events beyond the physical screen, so the buttons can be pushed... if they are "below" the screen in the standard orientation.

I've patched and recompiled:

Usage:

WARNING!

xvr3or works by killing and restarting the X server with the "rotate" option. Any X client running will die with the X server, and any unsaved changes will be lost. Also, if the patched executables doesn't have the right permissions (execute permission, suid bit on in xvr3or), the X system may be unable to re-start, leaving the agenda in an unusable state (you should be able to reboot and get the Agenda working again).

Source files and compiling instructions:

Xfree 4.2.0

In Xfree 4.2.0 there is better support for screen rotation than in V 4.1.0. There are less patches required, but on the other hand, the rotation option for the Xserver is different: "-screen <size_x>x<size_y>@<angle>", where <angle> is the rotation angle: 0, 90, 180 or 270.

Because of this change in the X server starting syntax, the needed patch to vrdm changes. I've also simplified a little the /etc/orientation format (now it stores the rotation angle), so that a change in vrsm is also needed.

So, this are the new binaries:

Usage:

WARNING!

xvr3or works by killing and restarting the X server with the proper options. Any X client running will die with the X server, and any unsaved changes will be lost. Also, if the patched executables doesn't have the right permissions (execute permission, suid bit on in xvr3or), the X system may be unable to re-start, leaving the agenda in an unusable state (you should be able to reboot and get the Agenda working again).

Source files and compiling instructions:


Back to my agenda page.
Visits since 2002-01-13: ...6474.