How can decoration for a single window be removed using a bash or third party program in gnome 3?
1 Answer
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.
-
great, didn't you find an extension to do this from GUI? I miss that fine control level provided by old gnome and unity Sep 21, 2018 at 17:10
-
wow, it is you! xprop didnt work here, but this worked great gist.github.com/muktupavels/d03bb14ea6042b779df89b4c87df975d , here is 16.04 Unity/compiz, thx! xD Jan 11, 2019 at 19:10
-
1I think a link to your C code could be part of your answer like here: unix.stackexchange.com/a/421805/30352 :) Jan 11, 2019 at 19:34
-
1@AquariusPower This answer is older than my code and links can become obsolete...
xprop
should now work with compiz, at least it was supposed to be fixed. Jan 12, 2019 at 14:38 -