Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

X11: Setting a window undecorated or always-visible via command-line

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.

like image 719
Alba Mendez Avatar asked Feb 23 '23 19:02

Alba Mendez


1 Answers

wmctrl can set the on-all-desktops and always-on-top properties using the -b option (the specific properties are sticky and above, respectively)

like image 50
nandhp Avatar answered Feb 26 '23 07:02

nandhp