修改/etc/X11/xorg.conf
國網中心sources.list
每次更新Ubuntu都粉慢嗎?
可以把國網中心加入sources.list即可.
deb http://ftp.twaren.net/ubuntu feisty main restricted universe multiverse
deb http://ftp.twaren.net/ubuntu feisty-updates main restricted universe multiverse
deb http://ftp.twaren.net/ubuntu feisty-security main restricted universe multiverse
deb http://ftp.twaren.net/ubuntu feisty-backports main restricted universe multiverse
deb-src http://ftp.twaren.net/ubuntu feisty main restricted universe multiverse
deb-src http://ftp.twaren.net/ubuntu feisty-updates main restricted universe multiverse
deb-src http://ftp.twaren.net/ubuntu feisty-security main restricted universe multiverse
deb-src http://ftp.twaren.net/ubuntu feisty-backports main restricted universe multiverse
screen
cd /usr/ports/sysutils/screen
make installvi /usr/local/etc/screenrc
#啟動 screen 時不顯示訊息
startup_message off#在畫面下方顯示視窗資訊
caption always “%{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw %=%{mk}@%H %{yk}%D %{ck}%M%{wk} %{ck}%d %{gk}%c”or
caption always “%{= wk} %{= KY} [%n]%t @ %H %{-} %= %{= KR} %l %{-} | %{= KG} %Y-%m-%d %{-} ”
hardstatus alwayslastline ” %-Lw%{= Bw}%n%f %t%{-}%+Lw %=| %0c:%s ”#關閉錯誤警告
vbell on
vbell_msg ” Wuff —- Wuff!! ”#login後自動開啟screen
if [ -z “$STY” ]; thenexec screen -dR
fi
移除換行控制碼^M
在不硬平台上面編輯過的檔案…
傳到Linux-like平台上面…
常常後面都會多出一個符號^M
其實無傷大雅還是可以用…(還沒遇到因為^M發生程式錯誤的狀況…)
但是一向要求完美的我…當下一定會手賤想要把他移除…
cat oldfile | tr -d ‘\r’ > newfile
搞定…