从Ubuntu Server安装最精简桌面


我的笔记本在安装Ubuntu初期,内核启动到时候,总是提示acpi相关到错误而无法引导到安装界面,则在boot: 后面加上linux acpi=off关闭acpi,就进入了安装界面。

安装完基本系统后是个字符见面的,于是安装xserver

apt-get install x-window-system-coreapt-get install enlightenment   (如果想用gnome的话就apt-get install gnome-core)

看到网上说最好安装一下gnome-language-selector,这个可以很方便的安装所有的中文相关包,但是我apt-get install language-selector后,最然能启动,但是无法执行,可能还需要装别的包,哪位知道的请告诉我。

另外,Ubuntu-server安装时键盘布局自动检测出的键盘布局在笔记本上有问题,引号键会失效,大家可以使用如下命令重新配置键盘布局,不要选国际键盘,直接用104键美国英语就可以了:

sudo dpkg-reconfigure console-setup==================安装ati显卡驱动,apt-get install xorg-driver-fglrx linux-restricted-modules-`uname -r`sudo depmod -asudo aticonfig --initial -f 如果出错,提示没有显卡驱动,则

修改/etc/X11/xorg.conf

在Device段,添加一行Driver  "fglrx",再执行sudo aticonfig --initial -f,若还报错,提示没有设置分辨率。则修改nano /etc/X11/xorg.conf (如果此文件中有出现“ati”到话,改成“fglrx”)

在Screen段,添加一行。大概如下:

Defaultdepth 24

 SubSection "Display"

  Depth 1

  Modes  "1280x800" "1024x768"  "800x600"

EndSubSection

再加上以下行

Section "Extensions"

    Option    "Composite"  "0"

EndSection

重启之后,显卡驱动就搞定了。

==============================

=====安装声卡驱动===========

apt-get install alsa-base alsa-utils

再安装一个声音控制器apt-get install aumix(这是个命令行的tui工具)

==================================================

===========安装enlightenment==========

(当时源里的是e16)后,默认的xterm对中文支持不好,故安装了mlterm,

其配置文件/etc/mlterm/main内容如下(留以备忘):

use_combining=true
font_size_range=5-50
scrollbar_view_name=sample
use_scrollbar=true
mod_meta_mode=8bit
use_bidi=true
copy_paste_via_ucs=true
compose_dec_special_font=true
termtype=mlterm
icon_path=/usr/share/pixmaps/mlterm-icon-wmaker.png
conf_menu_path_2=mlterm-zoom
use_anti_alias = true
# logsize=128
fontsize=12
# tabsize=8
use_xim=true
open_xim_in_startup=true
# use_login_shell=false
# ptys=1
# bel_mode=sound
# use_transbg=false
# big5_buggy=false
not_use_unicode_font=false
# only_use_unicode_font=false
# iso88591_font_for_usascii=false
# col_size_of_width_a=1
fg_color=black
bg_color=white
# ENCODING=auto
ENCODING=GB2312
# fontsize=1

****mlterm的复制和粘贴

mlterm 内部复制采用鼠标选中要复制区域,Shift键+Insert键粘贴到光标处.

mlterm 向外部(firefox)复制用鼠标选中复制区域,按鼠标中键粘贴到目标处.

外部如firefox向mlterm复制两种方法都可以.(备忘)

=====================到这里为止,系统启动后直接运行到控制台模式,想输入帐户和密码后直接登入X,而不必手动startx:在$HOME/.bash_profile中加入一句:/usr/bin/startx

============终端缺少tab功能,则安装screen弥补

  • 1
  • 2
  • 下一页

相关内容