Fix: xorg keyboard config being wiped on virtual machines.
This commit is contained in:
parent
c26737491e
commit
62125fc64b
@ -7,7 +7,7 @@
|
||||
|
||||
# shellcheck disable=SC2086,SC2046,SC2254
|
||||
|
||||
VER=2.1.46
|
||||
VER=2.1.47
|
||||
|
||||
# default values {
|
||||
|
||||
@ -1855,8 +1855,7 @@ install_tearfree()
|
||||
local xpath="$1"
|
||||
|
||||
if [[ $VM != 'none' ]]; then
|
||||
echo "Virtual machine detected, removing xorg configs"
|
||||
find "$xpath/" -name '*.conf' -delete -printf "remove %p\n"
|
||||
[[ -e "$xpath/40-touchpad.conf" ]] && rm -fv "$xpath/40-touchpad.conf"
|
||||
elif [[ $TEARFREE ]]; then
|
||||
if lspci | grep ' VGA ' | grep -q 'Intel'; then
|
||||
echo "Creating Intel Tear Free config /etc/X11/xorg.conf.d/20-intel.conf"
|
||||
|
Reference in New Issue
Block a user