Dual monitors shortkey settings

Dual monitors shortkey settings


~via~

With LXRandr, one can save  a certain display configuration. Then, in order to find that, you need to know what has changed in the home folder:

find ~/ -mmin -5 -type f
 
You can change 5 to a smaller number if you wish.
In this way, after saving configuration in LXRandr and running this command, the last change recorded is in ~/.config/autostart/lxrandr-autostart.desktop. Thats it.
To open that:

gedit ~/.config/autostart/lxrandr-autostart.desktop
 
It contains something like:

[Desktop Entry]
Type=Application
Name=LXRandR autostart
Comment=Start xrandr with settings done in LXRandR
Exec=xrandr --output LVDS --mode 1680x1050 --rate 60.1 --output VGA-0 --off
OnlyShowIn=LXDE 
 
What you need is (- with variable resolution - that is depending on my specific displays):
 
xrandr --output LVDS --mode 1680x1050 --rate 60.1 --output VGA-0 --off 

that is for the external monitor off, internal on.

To have the external on and the internal off:

xrandr --output LVDS --off --output VGA-0 --mode 1360x768 --rate 60.0 

To have extended monitor:

xrandr --output VGA-0 --auto --left-of LVDS 
 
Double desktop for a specific resolution for each display:

xrandr --output LVDS --mode 1680x1050 --rate 60.1 --output VGA-0 --mode 1360x768 --rate 60.0
 
To have the same display resolution on both:

xrandr --output LVDS --mode 1360x768 --rate 60.1 --output VGA-0 --mode 1360x768 --rate 60.0
 
or:
 
xrandr --output LVDS --mode 1680x1050 --rate 60.1 --output VGA-0 --mode 1680x1050 --rate 60.0
 
or lower:
 
xrandr --output LVDS --mode 1280x720 --rate 60.1 --output VGA-0 --mode mode 1280x720 --rate 60.0 


And for each you need to assign a key (that is done differently depending on the desktop environment).

download file now

Popular posts from this blog

Download Genkaku Cool na Sensei ga Aheboteochi! Subtitle Indonesia

Download Install Google Android Keyboard from Google Play Store Official