Skip to content

Multi Monitor

José Luis Cruz edited this page Mar 22, 2018 · 3 revisions

If you have a multi-monitor setup, edit your copy of config.ini with the correct values for your particular setup. Like this:

# Multi Monitor Configuration                                                         
enable_multi_monitor  = true                                                          
enable_xrandr         = true                                                          
current_monitor_setup = [monitor_3]

The default example is configured for a specific setup with 3 monitors, with the tablet being the rightmost, like this:

   [Left:2560x1440] - [Middle:1920x1080] - [Right:1920x1080](TABLET)

Take a look to the 3 of the config.ini file, where diffeente multi-monitor configurations are defined:

# 3 MONITOR SETUPS                                                               
# -----------------------------------------------------------------------------  
                                                                                 
[monitor_1+1]                                                                    
# 2 full HD monitors sharing the same view                                       
screen_1W = 1920                                                                 
screen_1H = 1080                                                                 
screen_2W = 1920                                                                 
screen_2H = 1080                                                                 
                                                                                 
# global geometry                                                                
total_screen_width   = ${screen_1W}                                              
total_screen_height  = ${screen_1H}                                              
tablet_offset_x      = 0                                                         
tablet_offset_y      = 0                                                         
                                                                                 
xrandr_output1 = --output DVI-D-0 --mode ${screen_1W}x${screen_1H} --pos 0x0 --rotate normal
xrandr_output2 = --output VGA-0 --mode ${screen_2W}x${screen_2H} --pos 0x0 --rotate normal
xrandr_args = ${xrandr_output1} ${xrandr_output2}                                
                                                                                 
                                                                                 
[monitor_3]                                                                      
# 3 monitors arranged horizontally                                               
                                                                                 
# screens widths and heights                                                     
screen_1W = 2560                                                                 
screen_1H = 1440                                                                 
screen_2W = 1920                                                                 
screen_2H = 1080                                                                 
screen_3W = 1920                                                                 
screen_3H = 1080                                                                 
                                                                                 
# global geometry                                                                
total_screen_width   = ${screen_1W} + ${screen_2W} + ${screen_3W}                
total_screen_height  = ${screen_1H}                                              
tablet_offset_x      = ${screen_1W} + ${screen_2W}                               
tablet_offset_y      = 0                                                         
                                                                                 
xrandr_output1 = --output HDMI-0 --mode ${screen_1W}x${screen_1H} --pos 0x0 --rotate normal
xrandr_output2 = --output DVI-D-0 --mode ${screen_2W}x${screen_2H} --pos ${screen_1W}x0 --rotate normal
xrandr_output3 = --output VGA-0 --mode ${screen_3W}x${screen_3H} --pos 4480x0 --rotate normal
xrandr_args = ${xrandr_output1} ${xrandr_output2} ${xrandr_output3}              
                                                                                 
                                                                                 
[monitor_2+1]                                                                    
# 3 monitors. But 2 and 3 share the same view                                    
                                                                                 
screen_1W = 2560                                                                 
screen_1H = 1440                                                                 
screen_2W = 1920                                                                 
screen_2H = 1080                                                                 
screen_3W = 1920                                                                 
screen_3H = 1080                                                                 
                                                                                 
total_screen_width   = ${screen_1W} + ${screen_2W}                               
total_screen_height  = ${screen_1H}                                              
tablet_offset_x      = ${screen_1W}                                              
tablet_offset_y      = 0                                                         
                                                                                 
xrandr_output1 = --output HDMI-0 --mode ${screen_1W}x${screen_1H} --pos 0x0 --rotate normal
xrandr_output2 = --output DVI-D-0 --mode ${screen_2W}x${screen_2H} --pos ${screen_1W}x0 --rotate normal
xrandr_output3 = --output VGA-0 --mode ${screen_3W}x${screen_3H} --pos ${screen_1W}x0 --rotate normal
xrandr_args = ${xrandr_output1} ${xrandr_output2} ${xrandr_output3}

You can use xrandr or arandr to retrieve the information about your monitors, including their respective connections and resolutions.

Clone this wiki locally