1

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?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
fzkl
  • 977
  • 3
  • 11
  • 17

2 Answers2

7

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

Ignacio Vazquez-Abrams
  • 776,304
  • 153
  • 1,341
  • 1,358
0

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

Some examples are also available.

Diego Torres Milano
  • 65,697
  • 9
  • 111
  • 134