Gentoo:安装KDE桌面:修订间差异
imported>Soleverlee |
imported>Soleverlee |
||
(未显示同一用户的2个中间版本) | |||
第4行: | 第4行: | ||
<source lang="bash"> | <source lang="bash"> | ||
emerge --ask xorg-server | emerge --ask xorg-server | ||
env-update | |||
source /etc/profile | |||
emerge --ask x11-drivers/nvidia-drivers | |||
nvidia-xconfig | |||
eselect opengl set nvidia | |||
emerge --ask x11-apps/mesa-progs | |||
# 安装中文字体 | # 安装中文字体 | ||
emerge --ask wqy-microhei | emerge --ask wqy-microhei |
2016年12月31日 (六) 02:46的最新版本
安装KDE
参考官方WIKI安装。 profile选择 default/linux/amd64/13.0/desktop/plasma,
emerge --ask xorg-server
env-update
source /etc/profile
emerge --ask x11-drivers/nvidia-drivers
nvidia-xconfig
eselect opengl set nvidia
emerge --ask x11-apps/mesa-progs
# 安装中文字体
emerge --ask wqy-microhei
emerge --ask emerge --ask kde-plasma/plasma-meta
sddm --example-config > /etc/sddm.conf
vim /etc/conf.d/xdm
#DISPLAYMANAGER="sddm"
rc-update add xdm default
/etc/init.d/xdm start
注意:需要添加用户,否则进去没有用户可以选,什么都干不了:
useradd -m -G users,wheel,audio -s /bin/bash larry
注意:貌似要安装一下的软件。记得不知为何,sddm登陆不上,直接运行startx命令即提示错误,安装后正常:
emerge --ask twm xterm xclock
安装应用
kde-apps/kdeaccessibility-meta Accessibility applications and utilities. kde-apps/kdeadmin-meta Administrative utilities, which helps in managing the system. kde-apps/kdecore-meta Basic applications such as file browser, editor, terminal emulator. kde-apps/kdeedu-meta Educational applications and games. kde-apps/kdegames-meta Standard desktop games. kde-apps/kdegraphics-meta Graphics applications such as image viewers, color pickers, etc. kde-apps/kdemultimedia-meta Audio and video playback applications and services. kde-apps/kdenetwork-meta Network applications and VNC services. kde-apps/kdepim-meta PIM applications such as emailer, addressbook, organizer, etc. kde-apps/kdesdk-meta Various development tools. kde-apps/kdeutils-meta Standard desktop utilities such as a archiver, a calculator, etc. kde-apps/kdewebdev-meta Web development tools.
emerge --ask kdecore-meta
显卡驱动
emerge --ask x11-drivers/nvidia-drivers
emerge --ask bumblebee
vim /etc/bumblebee/bumblebee.conf
#Driver=nvidia
/etc/init.d/bumblebee start
rc-update add bumblebee default
Problems
ail -f daemon.log Dec 17 07:50:08 riguz obexd[20332]: OBEX daemon 5.43 Dec 17 07:50:08 riguz obexd[20332]: obex_server_init failed ...
Stop blueteeth in settings.
vim /etc/conf.d/hwclock 将里面的时钟改为local,否则时间i不对。改完重启。
编译耗时纪录
各项编译耗时大致如下:
编译项目 | 耗时 | 备注 |
---|---|---|
kernel | 10m | 4.4.38/-j5/-j2/-j9 |
xorg-server | 35m | |
KDE | 3h40m |
系统配置:
- Intel-i7-4700MQ
- 8G DDR3
- 40G SSD