GnomeFiles 上有個很有用的 shell script 檔案可以優化 GNOME 及幾個主要應用軟體執行速度,叫 Desktop Optimization。
http://gnomefiles.org/app.php/Desktop%20Optimization
網站上說的原理就是很簡單,原來是把各樣應用軟體執行時所需要先讀取的 XML 類型檔案中的不必要的空白格移除,使檔案縮小,從而減少 CPU 及 記憶體使用的負荷:
參照:
Optimize different GNOME applications to make it more faster and responsive.
XML Optimization is a set of method that reformat the XML metadata for use with XML stream. The process is used in websites to minimize network bandwidth consumption and increase the memory space for the applications who store them locally. XML metadata is used by modern applications like OpenOffice.org, GNOME, Evolution, Rhythmbox, GDM, etc., and is used in SVG graphic rendering. By Optimizing the XML metadata that those applications use, the application who parse them will require less memory usage, and less time parsing, thus improving speed and responsiveness.
在下使用 OpenOffice.org 優化後已看到載入明顯加快,主觀覺得快幾秒吧?不過請留意,openoffice-optimize 那個 shell script 內定 OOo 執行檔路徑為"/usr/lib/openoffice",如果在裝的 OOo 路徑就不同,就會出現路徑錯誤的了,所以要自行修改。
Desktop Optimization 已在 GnomeFiles 人氣排名提升至第七位,想不到小小的 .sh 檔可以有這樣的威力......