tags:

views:

174

answers:

3

This problem is driving me crazy. Maybe the experts at Stack Overflow can help.

I want to open an application in Xvfb and to have it always positioned at x,y=0,0 (Top left corner).

The application does not take any parameters, allowing it to reposition the opened window itself. Is there a way to set the default window position in a X-server? (Xvfb).

Best regards Gustaf

A: 

Are you running a window manager? It's up to the window manager to place windows, and it should default to (0,0) already when no window manager is running.

alanc
A: 

No window manager running at all. Just xvfb and a regular x11-app.

Br Gustaf

Gustaf
A: 

Is there a way to set the default window position in a X-server? (Xvfb).

It's open source, so yes, you could hack it in. But it's normally the window manager's job, so find a light-weight wm that allows window-placement rules. Some can pattern-match on window name to select rules.

Peter Cordes