Ubuntu using Lxrandr to position second monitor

lxrandr

saves configuration to: /home/imran/.config/autostart/lxrandr.desktop
sample:

[Desktop Entry]
Type=Application
Exec=xrandr --output HDMI1 --mode 1920x1080 --rate 60.00 --output eDP1 --mode 1920x1080 --rate 60.00 --left-of HDMI1
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_GB]=LXRandR
Name=LXRandR
Comment[en_GB]=To keep laptop on the left handside with monitor in the center
Comment=To keep laptop on the left handside with monitor in the center
imran@imran-Lenovo-Z51-70:~/.config/autostart$

Leave a Reply