Search code examples
linuxbashwindowoffsetwindow-managers

Is there a way to specify the window offset for an app spawned in X?


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?


Solution

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