开发者

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

开发者 https://www.devze.com 2023-02-04 01:11 出处:网络
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

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 开发者_如何学Pythonfeature 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?


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


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

Some examples are also available.

0

精彩评论

暂无评论...
验证码 换一张
取 消