Mozilla 官方 PPA:
sudo add-apt-repository ppa:mozillateam/firefox-next
sudo aptitude update
sudo aptitude install firefox # or aptitude update
軟體開發和生活瑣事
Mozilla 官方 PPA:
sudo add-apt-repository ppa:mozillateam/firefox-next
sudo aptitude update
sudo aptitude install firefox # or aptitude update
開啟 /usr/share/glib-2.0/schemas/com.canonical.unity-greeter.gschema.xml,並找到「com.canonical.unity-greeter」,將 key「background」改成新的圖片路徑:
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="unity-greeter">
<schema id="com.canonical.unity-greeter" path="/com/canonical/unity-greeter/">
<key name="background" type="s">
<default>'/usr/share/backgrounds/warty-final-ubuntu.png'</default>
<summary>Background file to use, either an image path or a color (e.g. #772953)</summary>
</key>
將設定值重新編譯:
cd /usr/share/glib-2.0/schemas/
sudo glib-compile-schemas .
Vim configure 時預設不會支援 multi-byte,若要讓 vim 支援需設定參數 –with-features=big (或 huge) 及 –enable-multibyte:
./configure --prefix=/usr/ --with-tlib=ncurses --with-features=big --enable-multibyte
因為手賤,發現 ThinkPad x230 上並沒有 CapsLock 警示燈,而 Ubuntu 上面預設也不會提示,好在有工具可以用。
Indicator Keylock 能讓大小寫鎖定時,在工具列顯示圖示:

安裝 Indicator Keylock:
sudo add-apt-repository ppa:tsbarnes/indicator-keylock && sudo apt-get update
sudo apt-get install indicator-keylock
安裝完以後執行「indicator-keylock」即可。
Regerence:
Indicator Keylock Displays The Keyboard Lock Keys On Machines Without Keyboard LEDs ~ Web Upd8: Ubuntu / Linux blog
http://www.webupd8.org/2010/07/indicator-keylock-displays-keyboard.html
Apache 和 Nginx 預設頁尾都會加上伺服器資訊,像是:

有些環境或許很忌諱出輸出這類的資料,可以修改設定將他隱藏起來。
Apache conf 中調整 ServerTokens 參數,將頁尾伺服器資訊作不同的調整。設定檔路徑可能會不一樣,可以 grep ServerTokens,以下是 Ubuntu 的路徑。
/etc/apache/conf.d/security:
#ServerTokens OS
ServerTokens Prod
Nginx conf 裡面則是用 server_tokens 參數,將其設定為 off 則不會輸出伺服器版本號。
server {
server_tokens off;
...
}