income
   Linux Bible
income
income
 
  • Home

  • Add user and machine information
  • When you create
  • After that
  • To build and install

  •  

    After that, you should choose some desktop applications to install. For example, here's how to install the Firefox Web browser and Abiword word processor:
    # emerge mozilla-firefox abiword


    34. Configure the X server. Now that your desktop software is installed, you need to config- ure the X Window System to work properly with your video card and monitor. Type the following to configure your video card and monitor:
    # Xorg -configure
    The previous command creates a sample configuration file:
    /root/xorg.conf.new.
    Type the following command to test that configuration file:
    # X -config /root/xorg.conf.new
    If you see a gray screen with your mouse cursor represented by an X and able to move, the configuration file is basically working. To exit from X, press Ctrl+Backspace. Copy the file to its permanent location:
    # cp /root/xorg.conf.new /etc/X11/xorg.conf
    Now, you should be able to start your desktop interface:
    # startx
    If no window manager is found, or if you get a window manager you don't want such as twm, create a $HOME/.xinitrc file and indicate the file manager to use. For example, to use fluxbox as your window manager, add the following line to your.
    xinitrc
    file:
    XSESSION=enlightenment You can run startx again to start your desktop with the new window manager.


    At this point you should have a working desktop. If you need help getting it working, refer to the Gentoo X Server Configuration HOWTO (www·gentoo·org/doc/en/xorg-config.xml). For documentation on configuring other parts of your Gentoo system, I recommend that you check outwww·gentoo·org/doc/en/index·xml


    Getting Software with emerge


    Following are some examples of some common uses of the emerge command that you can use with Gentoo. To use some of the examples, you need to either have a connection to the Internet or have downloaded all package updates to your local computer.
    When the emerge command is run to install software or to get updated software packages, it looks on a Gentoo mirror site if it can't find the packages it needs locally. The first example lets you search (-s) the /usr/portage directory tree for packages that interest you. For example, to search for the package named bzflag, type the following:
    # emerge -s bzflag