diff --git a/install b/install index 3b1a74f..587b60f 100755 --- a/install +++ b/install @@ -328,6 +328,12 @@ sudo install -m 644 "${SYSTEM_DIR}/etc/zsh/zshenv" "/etc/zsh" print_log "Copying pacman.conf to ${YELLOW}/etc/pacman.conf${RESET}" sudo install -m 644 "${SYSTEM_DIR}/etc/pacman.conf" "/etc/pacman.conf" +print_log "Copying 20-displaylink.conf to ${YELLOW}/etc/X11/xorg.conf.d${RESET}" +sudo install -m 644 "${SYSTEM_DIR}/etc/X11/xorg.conf.d/20-displaylink.conf" "/etc/X11/xorg.conf.d" + +print_log "Copying 20-displaylink.conf to ${YELLOW}/etc/X11/nvidia-xorg.conf.d${RESET}" +sudo install -m 644 "${SYSTEM_DIR}/etc/X11/xorg.conf.d/20-displaylink.conf" "/etc/X11/nvidia-xorg.conf.d" + ############################################################################### # Setting lockscreen image # ############################################################################### diff --git a/system/etc/X11/xorg.conf.d/20-displaylink.conf b/system/etc/X11/xorg.conf.d/20-displaylink.conf new file mode 100644 index 0000000..61c2de5 --- /dev/null +++ b/system/etc/X11/xorg.conf.d/20-displaylink.conf @@ -0,0 +1,12 @@ +Section "OutputClass" + Identifier "DisplayLink" + MatchDriver "evdi" + Driver "modesetting" + Option "AccelMethod" "none" +EndSection + +Section "Device" + Identifier "DisplayLink" + Driver "modesetting" + Option "PageFlip" "false" +EndSection \ No newline at end of file