Last active
June 27, 2025 06:04
-
-
Save bukowa/f8e9c7c182c0773380d6280a18b9fda9 to your computer and use it in GitHub Desktop.
archlinux dell wyse dx0d xorg 5010 1024x768 fujitsu 7500 lcd
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/sh | |
xrandr --output VGA-2 --mode 1024x768 --pos 0x0; | |
xterm & | |
tint2 & | |
exec openbox-session |
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
Section "Monitor" | |
Identifier "VGA-2" | |
# PASTE THE MODELINE FROM THE 'cvt' COMMAND HERE! | |
Modeline "1024x768_60.00" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync | |
EndSection | |
Section "Device" | |
Identifier "MyCard" | |
Driver "modesetting" # This is the generic, reliable kernel driver. | |
EndSection | |
Section "Screen" | |
Identifier "MyScreen" | |
Monitor "VGA-2" # This must match the Identifier in the Monitor section. | |
Device "MyCard" # This must match the Identifier in the Device section. | |
DefaultDepth 24 | |
SubSection "Display" | |
Depth 24 | |
# Tell the screen to use the mode we defined in the Monitor section. | |
Modes "1024x768_60.00" | |
EndSubSection | |
EndSection |
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
sudo pacman -Syu xorg-server xorg-xinit openbox xorg-xrandr xterm falkon tint2 |
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
# sudo modprobe udl | |
# echo udl | sudo tee /etc/modules-load.d/displaylink.conf | |
# sudo pacman -Syu kmscon mesa libdrm | |
# sudo usermod -aG video <username> | |
# sudo systemctl disable [email protected] | |
# sudo systemctl stop [email protected] | |
# sudo systemctl daemon-reload | |
# sudo systemctl enable kmscon-displaylink.service | |
# sudo systemctl start kmscon-displaylink.service | |
# /etc/systemd/system/kmscon-displaylink.service | |
[Unit] | |
Description=kmscon on DisplayLink DRM device | |
After=systemd-logind.service | |
Requires=systemd-logind.service | |
[Service] | |
Environment=KMSCON_DEVICE=/dev/dri/card1 | |
Environment=KMSCON_VT=2 | |
ExecStart=/usr/bin/kmscon | |
StandardInput=tty | |
StandardOutput=tty | |
TTYPath=/dev/tty2 | |
Restart=always | |
RestartSec=5 | |
User=root | |
Group=root | |
[Install] | |
WantedBy=multi-user.target | |
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
xrandr --setprovideroutputsource 1 0 | |
xrandr --output VGA-1-1 --auto --right-of VGA-2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment