歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 從Ubuntu Server安裝最精簡桌面

從Ubuntu Server安裝最精簡桌面

日期:2017/2/28 16:53:06   编辑:Linux教程

我的筆記本在安裝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彌補

Copyright © Linux教程網 All Rights Reserved