Question

I am writing a bash script that calls some apps that run in their own window. However, they appear at a standard position on the screen. I want to be able to specify the screen co-ordinates where they appear.

Is there a setting that can be passed in command line to make this happen? I am presently using openbox and if this is a window manager feature that openbox cannot provide, could anyone recommend another lightweight window manager (fluxbox?) to which I can specify window offsets?

Is there an X setting that can do this for me?

Was it helpful?

Solution

Many X clients support a -geometry argument (sometimes --geometry) which allows you to specify size and/or position of the initial window.

OTHER TIPS

devilspie could be of help you can specify different window properties on compliant window managers.

Some examples are also available.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top