This question mentions the tools xdotool
and wmctrl
which are able to change a window's geometry via the command-line . This OK.
But, what if I want to do more advanced operations, for instance:
Are there any tools allowing me to do the things avobe from command-line ?
I use Openbox as my window manager.
wmctrl
可以使用-b
选项设置on-all-desktops和always-on-top属性(特定属性分别是sticky
和above
)
I thought:
The window navigator of GNOME can do some of this actions, so it should use a library to achieve it.
Looking at his sources, I found it. It is the Window Navigation Construction Kit (wnck for short).
This C/C++ library is called libwnck
, and the reference manual can be found here .
But, as it's not a standalone tool, I will probably need to make a custom program to use it. :-(
I will edit this answer if I found news, but you're welcome to post your answer if you found a tool!
Edit: Using the bindings for Python ( python-wnck
) it's easy to make a script achieve it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.