i3-wm not resizing screen resolution on login

6,077

Solution 1

Depending on your xrandr you could use this api to use multiple monitors, as damien said you the better way to solve this situation is using :

xrandr --output VGA1 --auto --left-of LVDS1

asuming that your first screen is LVDS1 and you want to use your VGA1 port.

--auto

is for autodetection of recommended resolution.

Solution 2

The solution proposed from this wiki worked for me:

xrandr &> /dev/null
prlcc &
Share:
6,077

Related videos on Youtube

Admin
Author by

Admin

Updated on September 18, 2022

Comments

  • Admin
    Admin over 1 year

    I'm using Parallels for the Mac, but this may be relevant to other VMs too.

    Using Ubuntu 14.04, when I login using Unity it resizes the screen and uses all available screens (2 in my case), perfect. However, I'd rather use i3wm, but when I login, it doesn't resize the screen (it's stuck on 1024x768), and doesn't use my extra monitor.

    Not sure if this is a i3 thing or a Parallels/VM thing, or both.

  • Melle
    Melle over 7 years
    Link of the wiki was dead. Found more info here: wiki.archlinux.org/index.php/parallels