You are not logged in.
Okay, I am currently trying out arch linux and openbsd in vmware on my winblows xp pc, which I am forced to use due to work. Every time I install arch linux, I end up being trapped in xorg hell, between trying to get this and that to work, etc. Long story short, I would like to make an xorg.conf file by hand, that I can save on my usbstick, and it will work for my current hardware configuration for xorg 7.
Unfortunately, I do not have a lot of practice dealing with Xorg. That is where I ask for your help. I don't need 3d acceleration and am just fine with the vesa driver, to start out my setup, so let's worry about that at another time. So here are my specs, and I greatly appreciate the help you guys will give me:
Dell 1704 FPT (17" flat panel monitor with digital video input cable)
Nvidia 6800 graphics card (256 MB RAM)
1GB RAM
Pentium 3.4 Ghz HT processor
250GB Maxtor Hard drive
NEC cd/dvd burner
Standard keyboard that plugs into the PS/2 port
Logitech USB mouse
I am reinstalling arch linux right now with a base system, and will pacman -Syu it. That is the only change I will have done to the system, except change the network configuration to dhcp.
Thanks a lot, I really appreciate the help,
Alphalutra1
Offline
Recommended install is imo
pacman -Sy xorg
For configuring xorg there you have xorgconfig and hwd.
I prefer hwd cause it was made for archie/archlinux.
Do a
pacman -S hwd
hwd -u && hwd -x
and then check your /etc/X11/xorg.conf.hwd if there is anything you would like to change. Usually not necessary (maybe mouse buttons).
Then remove the .hwd suffix and you should be set.
good luck!
cheers,
detto
Offline
I have done that before, but the xorg.conf was ridiculously long, with a ton of nn stuff, and it didn't work as well. So I was just wondering how going through each item I have, how I could make a custom config. I will be away from my computer for about twelve hours, but I will try to look up a bunch more stuff on google and post back with my xorg.conf I made from hand. Any hints would be appreciated of course
Thanks
Alphaltura1
Offline
You mean from scratch by hand xorg.conf? Puh that would be time consuming and isnt necessary either imo :shock:
Post your xorg.conf that you get with hwd please. We could take a look at it then.
Offline
I tried building an xorg.conf (well, back then it was XF86Config) by hand once... It made me cry... Luckily, I was using Debian at the time, so debconf made me a working config that worked really well. Anyway, here is a pretty basic xorg.conf which you can just mod as you need. More specifically, it is my xorg.conf for my desktop... You can get it: http://chris.mortimore.googlepages.com/xorg.conf <-- there. Sections to pay attention to: keyboard (make sure you have the right layout and language), mouse (make sure its the right kind of mouse), monitor (make sure the refresh rates and stuff are right for your monitor) and graphics (just change the driver). And you'll want to remove some nvidia-specific options, but leaving them there won't hurt, they should just get ignored.
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB
Offline
Xorg -configure
Usually yields a managable file (in size) that you can the tweak.
Offline
xorg -configure causes vmware server to freeze :? on both arch linux and openbsd, so it is not an os problem. So I just used hwd -x and tried to trim it down to the max, and it will work with openbox. Anything else I could do to trim it down, in particular getting rid of some of the fonts? Here are the apps I mainly use:
Opera, Sylpheed, aterm, gvim, java sdk. and that's about it
Thanks for the help
Alphalutra1
Section "ServerLayout"
Identifier "Xorg Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "PS/2 Mouse" "CorePointer"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
FontPath "/usr/share/fonts/cyrillic"
# FontPath "/usr/share/lib/X11/fonts/latin2/75dpi"
# FontPath "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/ttf/western"
FontPath "/usr/share/fonts/ttf/decoratives"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/truetype/openoffice"
FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
FontPath "/usr/share/fonts/latex-ttf-fonts"
FontPath "/usr/share/fonts/defoma/CID"
FontPath "/usr/share/fonts/defoma/TrueType"
EndSection
Section "Module"
Load "ddc" # ddc probing of monitor
Load "dbe"
Load "dri"
Load "extmod"
# Load "glx"
Load "bitmap" # bitmap-fonts
Load "type1"
Load "freetype"
Load "record"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" ""
Option "XkbVariant" ""
EndSection
Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
# Auto-generated by Archie mkxcfg
Section "Monitor"
Identifier "Monitor0"
Option "DPMS" "true"
# HorizSync 28.0 - 78.0 # Warning: This may fry very old Monitors
HorizSync 28.0 - 96.0 # Warning: This may fry old Monitors
VertRefresh 50.0 - 75.0 # Very conservative. May flicker.
# VertRefresh 50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
# 1024x768 @ 75Hz (VESA) hsync: 60.0kHz
ModeLine "1024x768" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
EndSection
# Auto-generated by Archie mkxcfg
Section "Device"
Identifier "Card0"
Driver "vesa"
VendorName "All"
BoardName "All"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 16
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
[/code]
Offline
I'd say thats about as "trimmed down" as a working xorg.conf should ever be to be honest.
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB
Offline
Sounds good. Thanks for the advice. Now it is time to go and mess some more stuff up :twisted:
Alphalutra1
Offline