How can decoration for a single window be removed using a bash or third party program in gnome 3?


1 Answer 1


You can try to use _MOTIF_WM_HINTS...

To remove decorations:
xprop -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS "0x2, 0x0, 0x0, 0x0, 0x0"

To add decorations:
xprop -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS "0x2, 0x0, 0x1, 0x0, 0x0"

xprop will then ask you to select window or if you know window id then you can also pass -id parameter to xprop. Only you can not use mouse to resize windows, but keybindings should work.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.