Web site development - 118 Part I . Linux First Steps .
118 Part I . Linux First Steps . Video device The Device section is where you identify the driver to use with your video driver and any options to use with it. It s important to get this section right. The Xorg command described earlier usually does a good job detecting the driver. If you want to change to a different one, this is where to do so. Here s an example of the Device section after I added a video driver from NVIDIA to my system (the driver name is nv): Section Device Identifier Card0 Driver nv VendorName nVidia Corporation BoardName Unknown Board BusID PCI:1:0:0 EndSection . Screen resolution The last major piece of information you may want to add is the screen resolution and color depth. There will be a screen resolution associated with each video card installed on your computer. The Screen section defines default color depths (such as 8, 16, or 24) and modes (such as 1024 768, 800 600, or 640 480). Set the DefaultDepth to the number of bits representing color depth for your system, and then add a Modes line to set the screen resolution. To read more about how to set options in your xorg.conf file, type man xorg.conf. If your X server is XFree86, type man XF86Config. Choosing a Window Manager Fully integrated desktop environments have become somewhat unfriendly to changing out window managers. However, you can completely bypass KDE or GNOME, if you like, and start your desktop simply with X and a window manager of your choice. Although I m using Slackware as the reference distribution for describing how to change window managers, the concept is the same on other Linux systems. In general, if no desktop environment is running in Linux, you can start it by typing the following: $ startx This command starts up your desktop environment or window manager, depending on how your system is configured. Although a variety of configuration files are read and commands are run, essentially which desktop you get depends on the contents of two files: . /etc/X11/xinit/xinitrc If a user doesn t specifically request a particular desktop environment or window manager, the default desktop settings will come from the contents of this file. The xinitrc file is the system-wide X configuration file. Different Linux systems use different xinitrc files.
Note: In case you are looking for affordable webhost to host and run your servlet application check Vision ecommerce web hosting services