Add 20-displaylink.conf
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
a7158c877e
commit
04927aa24c
2 changed files with 18 additions and 0 deletions
6
install
6
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}"
|
print_log "Copying pacman.conf to ${YELLOW}/etc/pacman.conf${RESET}"
|
||||||
sudo install -m 644 "${SYSTEM_DIR}/etc/pacman.conf" "/etc/pacman.conf"
|
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 #
|
# Setting lockscreen image #
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
12
system/etc/X11/xorg.conf.d/20-displaylink.conf
Normal file
12
system/etc/X11/xorg.conf.d/20-displaylink.conf
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue