PDA

View Full Version : "reduced WindowManager"


vrtainment
03-27-03, 02:49 AM
Hi,

the question is a bit off the beaten track, but perhaps someone can help. Is there a chance to run a "raw" X-environment which allows to drive opengl-based apps, but does not activate any of the window-managers ?



Hartwig

bwkaz
03-27-03, 05:56 AM
startx /path/to/GL/program

For example, if I were to want to run UT2k3 with no window manager (though I wouldn't do this; twm is light enough that it doesn't impact performance in the least), I'd start X with:

startx /usr/local/bin/ut2003

Then when the program exits, so will X.

vrtainment
03-27-03, 06:04 AM
thx, ... but what you mention does not work for me .. anything I have to take care of?

instead I found the following
In .xinitrc I now longer exec wmanager
but exec xterm -e myapp
then I obtain the same behaviour as described by you ...

My app fires up fine, but the input handling is a bit strange ... like it does happen at a very low rate under those conditions ...


hartwig

bwkaz
03-27-03, 12:04 PM
That would work as well -- though you can really get rid of the xterm. If you do that, any output the program prints will be directed at whichever virtual console you started it from, rather than the xterm window, but I don't know whether you want that or not. ;)

The input handling seems strange? That's odd... it works just fine for me with UT, although the gamma values are a bit weirder initially (as soon as I change them in-game, they go back to normal) -- and that has nothing to do with input anyway. Are you running another X server at the same time?

When you say a very low rate, do you mean that it takes a while for keypresses to be registered? Are mouse clicks the same way?

vrtainment
03-27-03, 12:08 PM
yes I recognized as well in the meantime that I can get rid of xterm .. :D thanks for the pointer ...
By low rate I really mean long latency for keystrokes and the mouse movements are really jerky like it just get just a couple of updates per sec ...

hartwig