Gentoo Linux 安装(九)Xorg

选择使用哪些驱动程序,然后增加必要的配置设置到这个文件: /etc/portage/make.conf
CODE   make.conf 文件样板
## (对于鼠标、键盘和Synaptics touchpad的支持) INPUT_DEVICES = "evdev synaptics" ## (对于 NVidia 显卡) VIDEO_CARDS = "nouveau"

如果推荐的设置不起作用,emerge  x11-base/xorg-drivers (请参阅下面的步骤)。检查所有可用的选项,并选择适用于该系统的那些选项。这个例子是用于使用键盘,鼠标,Synaptics触摸板,以及Radeon显卡的系统配置。
root # emerge --ask --verbose x11 -base/xorg-drivers
These are the packages that would be merged, in order: Calculating dependencies... done![ebuild R ] x11-base/xorg-drivers-1.9 INPUT_DEVICES="evdev synaptics-acecad -aiptek -elographics% -fpit% -joystick -keyboard -mouse -penmount -tslib-virtualbox -vmmouse -void -wacom"VIDEO_CARDS="radeon -apm -ark -ast -chips -cirrus -dummy -epson -fbdev -fglrx(-geode) -glint -i128 (-i740) (-impact) -intel -mach64 -mga -neomagic (-newport)-nouveau -nv -nvidia -r128 -rendition -s3 -s3virge -savage -siliconmotion -sis-sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx)-tdfx -tga -trident -tseng -v4l -vesa -via -virtualbox -vmware (-voodoo) (-xgi)"0 kB

(上面是x11 数字11 不是字母ll)我讨厌区分这个!!!

设置好所有必需的变量后,我们可以安装Xorg了:
root # emerge --ask x11-base/xorg-server
 附注
x11-base/xorg-x11  元包可以被安装,而不是轻量化的 x11-base/xorg-server 。在功能上 x11-base/xorg-x11  和  x11-base/xorg-server  它们是一样的。 然而, x11-base/xorg-x11 附带更多的包,大多数的系统可能不需要。他的附加软件包,包括各式各样的语言字体包,它们不是X11工作框架所必需的。
当安装完成后,在继续之前一些环境变量将需要重新初始化。更新profile配置文件命令:
root # env-update

root #source /etc/profile


使用 startx
试试 startx 来运行  X server 。  startx 即执行一个'X会话'脚本;这个脚本 x11-apps/xinit 生成. 也就是说,它启动了X服务器并在它上面的一些图形应用程序。它使用下面的方式来判断该运行哪些应用程序:
  • 如果一个叫做.xinitrc的文件存在于主目录(home)中,它会执行里面列出的命令。
  • 否则,它会从/etc/env.d/90xsession读取 XSESSION 这个变量的值,并且将执行一个与之相对应的会话。XSESSION的值可以在/etc/X11/Sessions/文件中进行配置。例如,设置系统默认会话,以root身份运行:
root # echo XSESSION="Xfce4" > /etc/env.d/90xsession
这将创建文件: 90xsession ,然后设置默认X会话 Xfce 。 记得在 90xsession 修过后,执行命令 env-update

user $ startx

后面的我也不知道了,因为根本特么不是我做的啊!!!!


选择性安装
Additional applications
There are a number of additional applications which are either part of Xfce or support this desktop environment nicely.
Package Description
x11-terms/xfce4-terminal A popular terminal emulator for Xfce; far superior to the standard xterm program.
xfce-base/xfce4-appfinder Application finder
xfce-base/thunar File manager
xfce-extra/xfce4-mixer Volume control
app-editors/mousepad A lightweight text editor.
xfce-extra/thunar-volman Removable media and drives manager
xfce-extra/tumbler Previewer for files from Thunar
app-cdr/xfburn CD burning application
xfce-extra/thunar-archive-plugin Plugin for Thunar for work with archives, uses app-arch/file-roller
xfce-extra/xfce4-battery-plugin Display battery percentage, time remaining, power source (AC or battery), fan status, warnings, and can even be configured to execute commands at certain power levels. This feature can be used to put the laptop into hibernate mode when the battery is almost exhausted.
xfce-extra/xfce4-verve-plugin A small command line embedded into the panel. It's quicker than opening up another terminal to run a command.
xfce-extra/xfce4-mount-plugin A handy method of mounting devices listed in /etc/fstab just by clicking with the mouse.
xfce-extra/xfce4-sensors-plugin Monitor hardware sensors, such as CPU temperature, fan RPM, hard drive temp, motherboard voltage, and more.
x11-themes/xfwm4-themes Several window manager themes
x11-misc/alacarte Enables Xfce4 menu editing
x11-terms/tilda Lightweight quake style terminal emulator
app-office/orage A simple, handy calendar
xfce-extra/xfce4-power-manager An application to monitor and manage power usage. This is especially important for laptops! The power manager allows to adjust screen brightness, choose maximum performance or battery-saving modes, and setup hibernate, suspend, and shutdown actions when the lid is shut or buttons are pressed. Set xfce4-power-manager to warn when the battery reaches certain levels, or even turn off the machine. The application comes with a couple of helpful panel plugins to display battery/charging status, and a brightness control.


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值