You are not logged in.

#1 2012-07-02 19:54:25

iso
Member
Registered: 2008-12-27
Posts: 46

[solved] Can't get i3 to fill monitor resolution

i3 runs fine on my laptop, but when I plugin an external monitor with a higher res things were displayed at a lower res, which was expected.

After checkout out the docs[1] I was able to get the resolution to work for the external monitor, but the i3 WM only fills a small rectangle in the screen equal to the previous resolution.

What I used to set the res of the monitor:

xrandr --output VGA1 --auto

1. http://i3wm.org/docs/userguide.html#_co … r_monitors

Any ideas to how to get i3 to fill the whole screen?

Last edited by iso (2012-07-02 22:15:47)

Offline

#2 2012-07-02 20:56:13

Terminator
Member
From: Belgium
Registered: 2012-05-07
Posts: 265

Re: [solved] Can't get i3 to fill monitor resolution

Can you post the output of "xrandr -q".

Last edited by Terminator (2012-07-02 20:58:18)

Offline

#3 2012-07-02 21:17:10

iso
Member
Registered: 2008-12-27
Posts: 46

Re: [solved] Can't get i3 to fill monitor resolution

Here you go.

➜  ~  xrandr -q
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
VGA1 connected (normal left inverted right x axis y axis)
   1680x1050      59.9 +   60.0  
   1280x1024      75.0     60.0  
   1440x900       75.0     59.9  
   1280x960       60.0  
   1152x864       75.0  
   1024x768       75.1     60.0  
   832x624        74.6  
   800x600        75.0     60.3     56.2  
   640x480        75.0     60.0  
   720x400        70.1  
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 309mm x 173mm
   1366x768       60.0*+   50.0  
   1360x768       59.8     60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)

Offline

#4 2012-07-02 21:36:06

Terminator
Member
From: Belgium
Registered: 2012-05-07
Posts: 265

Re: [solved] Can't get i3 to fill monitor resolution

Strange, there is no * in the output for VGA1. Did you have output on your vga screen when running xrandr -q?

Anyway, try "xrandr --output VGA1 --mode 1680x1050". If that fills the whole monitor, you probably want to extend the desktop over both screens by running "xrandr --output VGA1 --left-of LVDS1" (or --right-of).

edit: or do as the guide says and do both commands at once: "xrandr --output VGA1 --mode 1680x1050 --left-of LVDS1".

Last edited by Terminator (2012-07-02 21:42:31)

Offline

#5 2012-07-02 22:06:01

iso
Member
Registered: 2008-12-27
Posts: 46

Re: [solved] Can't get i3 to fill monitor resolution

Ya I ran the command right after re-connecting the monitor, but before running the command.

I had also tried passing in the resolution via the --mode param, but all the dead space in the larger monitor was still present.  Adding the --left-of does give me the proper resolution on the larger monitor, but also makes the monitors take on a dual-monitor setup.

Offline

#6 2012-07-02 22:15:10

iso
Member
Registered: 2008-12-27
Posts: 46

Re: [solved] Can't get i3 to fill monitor resolution

It looks like running the following gives me what I want:

xrandr --output VGA1 --mode 1680x1050
xrandr --output LVDS1 --off 

Thanks for the help

Offline

Board footer

Powered by FluxBB