Skip to content

Instantly share code, notes, and snippets.

@bukowa
Last active June 27, 2025 06:04
Show Gist options
  • Save bukowa/f8e9c7c182c0773380d6280a18b9fda9 to your computer and use it in GitHub Desktop.
Save bukowa/f8e9c7c182c0773380d6280a18b9fda9 to your computer and use it in GitHub Desktop.
archlinux dell wyse dx0d xorg 5010 1024x768 fujitsu 7500 lcd
#!/bin/sh
xrandr --output VGA-2 --mode 1024x768 --pos 0x0;
xterm &
tint2 &
exec openbox-session
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
sudo pacman -Syu xorg-server xorg-xinit openbox xorg-xrandr xterm falkon tint2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment