Add screen configuration for DisplayLink device

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-05-29 19:13:14 +02:00
parent 60091cb786
commit 5771562864
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
3 changed files with 24 additions and 4 deletions

View file

@ -12,9 +12,18 @@
#
# USAGE:
# ./resolution
$(xrandr --listproviders | grep -q "modesetting") && xrandr --setprovideroutputsource 1 0
xrandr \
--dpi 96 \
--output HDMI1 --mode 1280x1024 --pos 80x56 --rotate normal \
--output HDMI-1-1 --mode 1280x1024 --pos 80x56 --rotate normal \
# Integrated screen
--output eDP1 --primary --mode 1920x1080 --pos 1360x0 --rotate normal \
--output eDP-1-1 --primary --mode 1920x1080 --pos 1360x0 --rotate normal
--output eDP-1-1 --primary --mode 1920x1080 --pos 1360x0 --rotate normal \
# Displaylink HDMI port
--output DVI-I-1 --primary --mode 1920x1080 --pos 3280x0 --rotate normal
--output DVI-I-2-1 --primary --mode 1920x1080 --pos 3280x0 --rotate normal