因為工作關係又得回來使用blog記錄了~

參考自:http://ubuntuforums.org/showthread.php?t=1320438

ubuntu之前的Desktop版本中,如果開機要直接進入文字模式,可以修改/etc/rc2.d/S30gdm
但是現在9.10不行了,要修改:/etc/default/grub
將:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
改成:GRUB_CMDLINE_LINUX_DEFAULT="text"

重點是那個"text"

 

同樣是修改這個檔案,可以順便禁用ipv6,參考自:http://www.joehacker.com/index.php?title=Ubuntu_Tips#Disable_IPv6_on_Karmic_9.10

將:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
改成:GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet splash"

2010/3/16新增:修改完畢後要執行"sudo update-grub"才會生效!

 

另外由於pietty的顯示中,深藍色總是很難看清楚,因此參考:http://phorum.study-area.org/index.php?action=profile;u=12764;sa=showPosts

將以下內容寫進.bashrc中,可是會出現錯誤,但是出錯之後效果似乎會一直存在,因此source .bashrc一下就可以把這個註解掉了!

declare -x LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35: bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31: *.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31: *.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31: *.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35: *.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35: *.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35: *.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35: *.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.ogg=01;35:*.mp3=01;35: *.wav=01;35:"

arrow
arrow
    全站熱搜

    kuster 發表在 痞客邦 留言(0) 人氣()