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

how to make i3 fill the screen

asked Aug 13 '15

jcw gravatar image

I'm trying to use i3 in a VM, but for some reason I can't make it fill the screen: after startx, i3 comes up in 1024x768 mode (with black bands on both sides), I can then change the actual screen resolution with "xrandr -x 1920x1200", but the i3 window continues to cover only a 1024x768 area in the top left of the screen.

I've also adjusted the grub setting to set the console in 1920x1200 mode, but as soon as I start xorg, it falls back to 1024x768. There's no xorg.conf file, as far as I can tell.

Stock Ubuntu 15.04, minimal server intall + i3 + xorg, running under Parallels (with tools installed) on Mac OSX 10.10.4.

Any tips/pointers would be very much appreciated!

-jcw

Comments

SpicyCat gravatar imageSpicyCat (Aug 17 '15)edit

1 answer

Sort by » oldest newest most voted
0

answered Aug 13 '15

jcw gravatar image

Apologies for answering my own question: one workaround is to edit "/usr/share/X11/xorg.conf.d/40-prltools.conf", and add "1920x1200" as first value on the "Modes" line. Then, X comes up in 1920x1200 right away, and i3 adopts that.

Maybe there's a cleaner solution which doesn't hack things like this, but this works for now.

Question Tools

1 follower

Stats

Asked: Aug 13 '15

Seen: 229 times

Last updated: Aug 13