The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

How do you make i3 pick up resizing the vmware window?

asked Jun 4 '12

Michael gravatar image

When using i3 inside a virtual machine (vmware), you can resize the vmware window, but i3 doesn’t react to that change. Furthermore, after restarting i3 inplace, workspace 1 vanishes.

3 answers

Sort by » oldest newest most voted
0

answered Jun 4 '12

Michael gravatar image

This is due to a bug in the vmware X11 driver. When i3 starts up, XRandR is not available, and thus i3 falls back on not using XRandR. However, after the first change to the configuration (for example by resizing), XRandR becomes available. Thus, the inplace restart has a different setup before and afterwards, and that leads to workspace 1 getting lost.

To workaround this issue, you can issue an xrandr call in your ~/.xsession file:

#!/bin/sh
xrandr
exec i3

Comments

This worked for me but the resizing functionality would enable more quickly if I also used the `exec vmware-user --no-startup-id` setting in `~/.i3/config` as mentioned in another answer.

freb gravatar imagefreb (Feb 24 '15)edit
1

answered Jun 6 '12

With VirtualBox, I need to press "Host" key once, then I have all control of the window with i3 key bindings.

1

answered Mar 20 '14

fatalexe gravatar image

In ~/.i3/config

Add the line

exec --no-startup-id vmware-user

Comments

I think you meant `exec vmware-user --no-startup-id`, but yep that worked great for me, thanks!

benhgift gravatar imagebenhgift (Aug 29 '14)edit

Question Tools

Stats

Asked: Jun 4 '12

Seen: 3,381 times

Last updated: Mar 20 '14