Date: Tue, 14 May 2002 03:22:11 -0700 From: "Michael W. Collette" <metrol@metrol.net> To: FreeBSD Mailing Lists <freebsd-mobile@FreeBSD.org> Subject: Thinkpad T23 Setup (part 2) Message-ID: <200205140322.11966.metrol@metrol.net>
next in thread | raw e-mail | index | archive | help
Finally, getting to X. This post will be assuming that you are utilizing the latest XFree86-4.2.0 compiled from a recently cvsup'd ports tree. If you're using one of the packages your results may vary greatly. I will also be assuming that you will be wanting TrueType font support. I already had my own fonts which meant I had to define my TrueType directory manually. If you don't already have fonts you could also just install x11-fonts/webfonts. You may have to adjust a FontPath in there if you go that route. For those of you just pulling fonts directly off a Windows box like I did, the following procedure will get you there. You'll need to install x11-fonts/ttmkfdir to get this to work. http://www.freebsd.org/handbook/x-fonts.html#TRUETYPE The good news is that I did not need to go hunting down an S3/Savage driver off the net. The stock driver appears to work perfectly. Now then, the magical config... /etc/X11/XF86Config ------------------------------------------------------------------------ # ThinkPad T23 with 1400x1050 resolution using an S3/Savage # video card with 16M of RAM. # # File generated by Metrol # 12 May 2002 Section "ServerLayout" Identifier "Metrol Metlap Lappy" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/X11R6/lib/X11/fonts/CID" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" FontPath "/usr/X11R6/lib/X11/fonts/100dpi" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/X11R6/lib/X11/fonts/Speedo" FontPath "/usr/X11R6/lib/X11/fonts/TrueType" EndSection Section "Module" Load "dbe" Load "type1" Load "speedo" Load "freetype" Load "GLcore" Load "extmod" Load "pex5" Load "dri" Load "glx" Load "pex5" Load "record" Load "xie" SubSection "extmod" Option "omit xfree86-dga" EndSubSection EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc101" Option "XkbLayout" "us" Option "XkbVariant" "basic" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/mouse" Option "Emulate3Buttons" "no" EndSection Section "Monitor" Identifier "Monitor0" VendorName "IBM" ModelName "Real Perty LCD Laptop Kinda Thing" HorizSync 31.5-90 VertRefresh 59-75 Option "dpms" # -- 1400x1050 -- # 1400x1050 @ 60Hz, 65.8 kHz hsync Modeline "1400x1050" 129 1400 1464 1656 1960 1050 1051 1054 1100 +HSync +VSync # 1400x1050 @ 70Hz, 76.8 kHz hsync Modeline "1400x1050" 151 1400 1464 1656 1960 1050 1051 1054 1100 +HSync +VSync # 1400x1050 @ 75Hz, 82.3 kHz hsync Modeline "1400x1050" 162 1400 1464 1656 1960 1050 1051 1054 1100 +HSync +VSync # 1400x1050 @ 85Hz, 93.2 kHz hsync Modeline "1400x1050" 184 1400 1464 1656 1960 1050 1051 1054 1100 +HSync +VSync EndSection Section "Device" Identifier "S3 Savage/MX" Driver "savage" VendorName "S3 Savage/MX" BoardName "S3 Savage/MX" EndSection Section "Screen" Identifier "Screen0" Device "S3 Savage/MX" Monitor "Monitor0" DefaultDepth 24 Subsection "Display" Depth 24 Modes "1400x1050" "1400x1050" ViewPort 0 0 EndSubsection EndSection Section "DRI" Mode 0666 EndSection ------------------------------------------------------------------------ In addition to the basic config, I also installed x11/wrapper so I didn't have to muck with X's security settings. I don't use xdm, kdm, gdm, or any of them graphical logins personally. Once that is in play, the last thing you'll need to do is get together the startup config in your user directory. Here's what mine looks like. $HOME/.xinitrc ------------------------------------------------------------------------ # .xinitrc # Turn off that damn bell! xset b off # Uncomment out the window manager of your choice # exec startkde # exec blackbox # exec gnome-session # exec enlightenment ------------------------------------------------------------------------ And just to prove that this really all does work, here's a screen shot. Fair warning, it's in full res as a 772k png. Just couldn't bring myself to blur this up with a jpeg. http://www.metrol.net/thinkpad/ Obviously a KDE desktop. Above I've got "The Matrix" running with VLC from the DVD player. Xmms in the other corner. Everything is working very sweet! One last segment in this saga coming up. Some additional setting notes, as well as some questions for the list. Hopefully this has been helpful for you Thinkpad kinda folks thus far. Later on, -- "Outside of a dog, a book is man's best friend. Inside of a dog, it's too dark to read." - Groucho Marx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205140322.11966.metrol>