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:
- Setting a window undecorated.
- Making a window visible on all desktops (omnipresent).
- Setting a window always visible.
Are there any tools allowing me to do the things avobe from command-line?
I use Openbox as my window manager.
I thought:
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.