home
manual & docs drivers & updates software GNU/Linux Introduction Read this What you need to know about the aero Partitioning the harddisk Choosing the installation method Preparing the Aero for a Red Hat 6.1 harddisk install The Red Hat 6.1 Installation Process RAM-problems The Floppy Access to DOS-Partitions The Linux-BootLoader Configuring X-Windows Patching and compiling a new kernel Solving the RAM problem Installing PCMCIA and configuring it for Bad RAM Finished - What comes next? Advanced Power Management Getting WebDAV to work with XP Conclusion GNU Free Documentation License FreeDOS internal speaker the press the people (& their mails) the aeros wildest dream... links about |
X-Windows |
|
The Linux-GUI
|
||
This chapter contains information about The x-server The window-manager The desktop-manager Configuration of XFree86 --- Section "Files" --- Section "Flags" --- Section "Keyboard" --- Section "Pointer" --- Section "Monitor" A faster Window Manager |
||
The x-window-system is the graphical interface of linux. It consists of three parts, every part can be chosen and used individually. The x-server
The basic software that accesses your video-hardware. The most common one is XFree86. It needs special configuration that can be set with the textfile "XF86Config" which in my distribution resides in the directory "/etc/X11". The window-manager
The window-manager controls the appearance of windows and how the user can interact with them (like f.i. "drag-and-drop"). On the aero they are very different in speed. For instance the window-manager "enlightenment" needs up to five minutes to load. Others like the IceWM-Window-Manager are loaded in seconds. Also "BlackBox" is told to be fast enough on the aero. A very good introduction in the concept of x and window-managers can be found at: The desktop-manager
The desktop-manager or desktop-environment uses a special toolkit to represent the icons and everything on the desktop; it provides Drag-and-Drop, a taskbar with preconfigured links to the software and tries to keep everything consistent and easy to use. Examples for desktop-managers are KDE and Gnome. On the aero I had the impression that kde wasn't as slow as gnome, but I might be wrong (ever watched a race of two snails?). Configuration of XFree86
To configure the aero for x DON'T use the installation software like "Xconfigurator" or "xf86config" - they won't detect the aeros hardware, just because it is an laptop and it is too old. Go to the directory "/etc/X11" and edit the file "XF86Config" by hand. Section "Files"
The first lines of the files section points to the "rgb-file" which should be found at "/usr/X11R6/lib/X11/rgb": RgbPath "/usr/X11R6/lib/X11/rgb"
The rgb-file normally is a text file "rgb.txt". In XF86Config it is listed without its extension. It is responsible for X showing colors and not only monochrome pixels. If the "rgb"-file is not found, use the midnight commander to search for it and change the path in the XF86Config. If it is still not detected try copying it from "rgb.txt" into the file "rgb". FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
In RedHat 6.1 there is an automatic font server installed that feeds X with the fonts. Therefore you only have one line like FontPath "unix/:-1"
To use this server you have to enable the module "xfs" with the modul-configuration-tool /usr/sbin/ntsysv. Section "Flags"
I never changed settings in the flags section. Section "Keyboard"
In the Keyboard section you may specify the keyboard to your country settings. In my case (german, if you did not already knew it from the english I write ;-)) I made the following lines: Protocol "Standard" AutoRepeat 500 5 XkbKeycodes "xfree86" XkbTypes "default" XkbCompat "default" XkbSymbols "de(pc102)" XkbGeometry "pc" XkbRules "xfree86" XkbModel "pc102" XkbLayout "de" XkbVariant "nodeadkeys"
Note that the Xkb Layout has to match with the other language settings - otherwise there is an error message when starting X. Section "Pointer"
This is no problem, if you choose the mouse correctly while installation. It should have been a ps/2 mouse with a third button emulated, so there should be these lines here: Protocol "PS/2" Device "/dev/mouse" Emulate3Buttons Emulate3Timeout 50
If these lines are different you should also set it it right for the console-mode. Use for this the tool "mouseconfig". Section "Monitor"
These following sections are the most important ones. Change the settings like it is described in the Aero-FAQ and in the Aero-Linux-FAQ: Identifier "LCD" VendorName "Compaq" ModelName "Unknown" Bandwidth 31.5 HorizSync 25-40 VertRefresh 50-80 Mode "640x480" DotClock 28.322 HTimings 640 680 720 864 VTimings 480 488 491 521 EndMode Graphics device Identifier "dispcard" VendorName "Tseng" BoardName "ET4000" Chipset "generic" Clocks 28.3 VideoRam 512 Screen sections # The 16-color VGA server Section "Screen" Driver "vga16" Device "dispcard" Monitor "LCD" Subsection "Display" Modes "640x480" ViewPort 0 0 Virtual 640 480 EndSubsection EndSection # The Mono server Section "Screen" Driver "vga2" Device "dispcard" Monitor "LCD" Subsection "Display" Modes "640x480" ViewPort 0 0 Virtual 640 480 EndSubsection EndSection
Note that the names of "Device" and "Monitor" have to match the "Identifiers" in the Monitor and the Graphics device sections - otherwise you get an error message. rpm -ivh XFree86-VGA16-3.3.5-3.i386.rpm
(at least that's the name with my version of RedHat, maybe with yours the name is slightly different. A faster Window Manager
Like I said the preinstalled window manager "enlightement" is very! slow on the aero. I found a good replacement in the window manager IceWM. More information about IceWM is available at: exec /usr/X11R6/bin/icewm
This must be the only line in this file. |
||
Comments
Suggestions for this page? Ideas? Please drop a note! |
||
|
||