TAILIEUCHUNG - Professional Information Technology-Programming Book part 129

Tham khảo tài liệu 'professional information technology-programming book part 129', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | requirements. It also makes a great development platform for practically any modern computer programming language. You definitely want the Ports tree installed for a desktop operating environment because you ll probably be installing a relatively large number of programs. . Configuring There is no clean way to install after OpenBSD has been installed. The best and officially supported way to do it is during installation. If you did not install and want to install it now it would be easiest to reinstall OpenBSD. Configuring is simple. Just run this command from a root terminal X -configure The preceding command is reasonably competent when it comes to auto-detecting your hardware and settings. The best way to test it is to use it with the window manager or desktop environment that you plan on being in most often. The configuration file will be saved to root . Go ahead and move it over to the proper directory with this command mv root etc X11 If you want to test the configuration right away you can do so with the default OpenBSD window manager fvwm. The startx script is already configured to use it so just type startx and press Enter to test out the settings. When you want to leave fvwm you can press Ctrl-Alt-Backspace to kill the X session. If you see some settings that need to be changed or if X fails to start with the startx script you can edit etc X11 and make any necessary changes. Configuring is a subject unto itself so here are a few basic pointers If the scroll wheel does not work on your mouse add this line to the mouse s InputDevice section Option ZAxisMapping 4 5 If you get no display at all go to the Device section for the video card and change the Driver line from its current setting it s probably something like ati nv or fbdev to vesaa generic setting that should work with any video card but won t force you into a low resolution or color depth. Since OpenBSD can t do .