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 2012-06-04 20:27:00 +0000

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.

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted
0

answered 2012-06-04 20:28:32 +0000

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
edit flag offensive delete link more

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 ( 2015-02-24 23:09:42 +0000 )edit
1

answered 2012-06-06 00:49:39 +0000

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

edit flag offensive delete link more
1

answered 2014-03-20 22:34:50 +0000

fatalexe gravatar image

In ~/.i3/config

Add the line

exec --no-startup-id vmware-user

edit flag offensive delete link more

Comments

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

benhgift gravatar imagebenhgift ( 2014-08-29 07:24:31 +0000 )edit

Question Tools

Stats

Asked: 2012-06-04 20:27:00 +0000

Seen: 3,381 times

Last updated: Mar 20 '14