Last active
June 1, 2025 19:26
-
-
Save mrinaldhillon/1ff4815870d3c80767efec7aa7b9cc5e to your computer and use it in GitHub Desktop.
displaylink installer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
sudo dnf rm displaylink -y | |
sudo dnf install git rpm-build make -y | |
git clone https://github.com/displaylink-rpm/displaylink-rpm.git ~/displaylink-rpm | |
cd ~/displaylink-rpm | |
# use xwayland | |
sed -i 's/^Requires:.*xorg-x11-server-Xorg.*/Requires: xorg-x11-server-Xwayland/' displaylink.spec | |
sudo dnf builddep ./displaylink.spec -y | |
make github-release | |
sudo dnf install $(arch)/displaylink-*.github_evdi.$(arch).rpm -y | |
rm -rf ~/displaylink-rpm | |
echo 'Displaylink Installed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment