The vertical bar is in the left and it's much wider than and unrelated to the Unity side bar. It's as if the desktop area does not include a left vertical bar, but only for maximized windows: (parts of) other, unmaximized, windows can access (occupy) that area and are indeed thus visible (in that area) when the window is maximized. I switched to metacity and I got the same problem. I also restarted Unity, without logging out and back in.

I need to know the reason. I know a reboot will fix it.


This line in a script I tested is the culprit: xprop -id <any window> -f _NET_WM_STRUT_PARTIAL 32c -set _NET_WM_STRUT_PARTIAL '200, 0, 0, 0, 0, 200, 0, 0, 0, 0, 0, 0'. Replacing 200 with 0 solved the problem. (What would be a general way to undo all such xprop changes anyway?)

Somebody please explain why it affects all windows even though I used it only for one specific window. Some explanation as to what this line was supposed to do wouldn't be bad. If there is no answer in a while, I'll "accept" mine.


Today I had the reverse problem, the maximized windows took up the whole screen, while I need to have a margin on the left and at the bottom.

Doing some research I found that xprop and _NET_WM_STRUT_PARTIAL is a way to create desktop margins.

I associate my strut with gkrellm window, to create the left margin, set left with the width of the margin:


then I specify the initial and final y of the left margin:


for convenience I also associate the margin at the bottom with gkrellm window, first, set the bottom margin height:


and the initial and final x:


the other values ​​all to 0

xprop -name gkrellm -f _NET_WM_STRUT_PARTIAL 32c -set _NET_WM_STRUT_PARTIAL \
     "$left, $right, $top, $bottom, $left_start_y, $left_end_y, $right_start_y, $right_end_y, $top_start_x, $bottom_end_x"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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