顯示具有 Linux 標籤的文章。 顯示所有文章
顯示具有 Linux 標籤的文章。 顯示所有文章

星期六, 6月 28, 2008

開機光碟製作

「百毒不侵救命碟」 免費製作

Mk-boot-usb: 可開機 usb 碟製作速成

星期六, 6月 21, 2008

安裝 Sun xVM VirtualBox 應裝之套件

sudo apt-get -f install build-essential linux-headers-`uname -r`

星期三, 9月 05, 2007

網誌轉移工程

剩忍城的圖片未修,有部份圖片因為不會日文所以只能從字面上猜意思。


最近發生大魔導聖者的網站糾紛,再來檢測自己也有這個問題,所以圖片替換中。目前有問題圖片之網頁先行下架,這兩天會陸續開放。順便加入授權方式2007/09/01

整理索引連結。2007/08/31

因無名90天未登入帳號被刪掉,重新申請又麻煩,所以將所寫網誌轉來這裏。
預計將本人所寫三個網誌作一整合

非主流OS - Yahoo!奇摩部落格
20070709 所有文章轉移完成。

Monster's Home ( Shard : YAM ) - yam天空部落
20070713 轉了三天的uo文章,當初怎麼作那麼多圖片啊,現在要轉移好麻煩,才轉了不到十篇,不過看著分類中wow居然有75篇,希望uo也有怎麼多篇。繼續努力轉移中...
20070718 完成 模擬器(1) Linux(2) UO重製(1) 草稿(9) 技能訓練(1) 奇幻文學(9) UO趣聞(6) 物品製作(5)
20070719 職業分類(6) 地城攻略(8) 任務解謎(7)
20070722 任務解謎(7) UO活動記事(15) 就快完成轉移了,還剩約15%左右。
20070723 UO活動記事(10) 站務(23,部份無轉移必要),已完成所有轉移。
2007/08/30 突然發現有幾篇還未轉移過來,難怪覺得少了什麼東西。(網路創世紀Ultima Online 註冊簡介、Ultima Online Gold 15-day Trial 免費15天帳號申請流程、開卡免費一個月使用方式、uo相關連結)
2007/09/05 轉移Ultima Online Gold 15-day Trial 免費15天帳號申請流程、開卡免費一個月使用方式
Monster's 魔獸世界
20070707 已完成魔獸世界之 巨集系統、插件系統、生產技能、聲望系統、裝備、站務 等項目轉移。
20070708 已完成所有轉移。

本篇在轉移工程完成前會暫時置頂一段時間。造成不便請多見諒

星期六, 8月 18, 2007

7.04 Howto: 安裝Compiz Fusion特效 + Fusion Icon 管理器

http://peachwaneversay.blogspot.com/2007/06/compiz-fusion_28.html
轉貼自企鵝幫魚,魚幫兔: Compiz Fusion最新版


本篇的消息來源來自Ubuntu-tw的論壇,感謝uranus0206提供的消息!

Compiz Fusion是Compiz與Beryl的合併版本,目前的進度是不穩定的0.0.1版,有興趣的人可以在TuxFamily伺服器下載套件,下載方法是:

利用文字模式或Synaptics增加套件庫來源,來源位置是:
deb http://download.tuxfamily.org/3v1deb feisty eyecandy
deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy

套件金鑰是:
http://download.tuxfamily.org/3v1deb/DD800CD9.gpg

完成後請先移除所有Beryl/Compiz/Emerald等舊套件,這些Ubuntu官方預設的套件會與新版的Compiz Fusion產生不明的影響,建議移除。

完成移除後更新套件庫,接著安裝以下套件:
compiz
compiz-gnome (如果你是用Kubuntu,就選擇套件compiz-kde)
compizconfig-settings-manager
compiz-fusion-*

完成之後,請先用主選單 -> 附屬應用程式 -> 終端機,開啟文字介面,接著輸入:
compiz --replace -c emerald

這樣就能開啟3D桌面特效了,請先檢查桌面特效的執行有沒有問題,若無問題就請依這篇指南的最後部份,將初始應用程式增加Compiz項目,指令就是compiz --replace -c emerald,並重新開啟x-server或重新開機,就能享受到Compiz Fusion最新的特效了!

如 果要調整選項,請開主選單->系統->偏好設定-> CompizConfig Setting Manager,就可以看到Compiz Fusion的設定程式(在論壇的簡稱為CCSM),但是很多功能還沒確實實做出來,例如我就沒辦法關閉某些動畫特效,期待穩定版的組態管理程式能夠回到 甚至超越Beryl的水準!

ps:這個版本的Compiz Fusion由於是發展版,所以很可能會有許多Bug,讓你的電腦掛掉或消耗很多資源,因此請小心使用。若是Compiz Fusion出了穩定版,請馬上更換到穩定版。
ps2:記得天天跑主選單->系統->管理 ->更新管理員,Compiz Fusion的git版基本上會天天更新。


http://www.ubuntu.org.tw/modules/newbb/viewtopic.php?topic_id=5552&viewmode=flat&order=ASC&type=&mode=0&start=0
vegbird 8/3 14:11:52 7.04 Howto: 安裝Compiz Fusion特效 + Fusion Icon 管理器

這個Howto這是寫給新手的看的, 但大概沒啥鳥用, 因為 7.10聽說就要內建Compiz Fusion了...

很多人反應Compiz Fusion不穩, 不過我個人覺得它比Beryl甚至是Ubuntu內建的Compiz都還穩定多了!

Anyway, 有興趣嘗鮮的人請用吧:

注意(1): Virtualbox/Vmware等虛擬機器, 並不支援3D特效


注意(2) 首先請務必確定自己的顯卡有沒有支援, 驅動有沒有裝好:
系統 => 偏好設定 => 桌面特效 : "啟動"

如果能正常顯示則表示顯卡有被支援

如果不幸畫面變白, 請勿亂動鍵盤滑鼠 , 等40秒之後會自動回復預設值

開特效畫面變白只有有兩個可能:

1. 顯卡硬體不支援 : 這個無解
2. 顯卡硬體有支援, 但相關驅動沒裝 : 這個請搜尋論壇以及WIKI

確定正常後, 請關閉Ubuntu預設的桌面特效, 開始安裝超炫的Compiz Fusion:

(參考資料"企鵝幫魚魚幫兔"Blog: http://peachwaneversay.blogspot.com/2007/06/compiz-fusion_28.html)

1. 套件庫認證
先下載金鑰到桌面:
http://download.tuxfamily.org/3v1deb/DD800CD9.gpg

Synaptic > 套件庫 > 認證 > 匯入/Import > 瀏覽桌面選DD800CD9.gpg

2. 加入套件庫位置
Synaptic > 套件庫 > 第三方套件, 新增, 依序貼上:

deb http://download.tuxfamily.org/3v1deb feisty eyecandy
deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy




3. Synaptic請按重新載入按鈕, (Synaptic不用關掉)

4. 避免新舊版衝到:

如果先前有裝過beryl, 請先確定Beryl或是Ubuntu內建桌面特效有確實關閉, 然後 Synaptic 按搜尋 > "依名稱搜尋" > 找出所有 "beryl", "compiz", "emerald" , 並按右鍵選擇"標記為移除" ==> 套用
移除後不用關閉Synaptic


你也可以用指令一次移除所有舊版 - 在終端機打:

sudo apt-get remove compiz* beryl* emerald*


5. 開始安裝Compiz Fusion

Synaptic 按搜尋 > "依名稱搜尋" > 找出所有下列關鍵字:
compiz
compiz-gnome (如果你是用Kubuntu,就選擇套件compiz-kde)
compizconfig-settings-manager
compiz-fusion-(所有類似名稱的套件全部選擇)
emerald
emerald-themes

每個都按右鍵, 並標記為安裝 > 套用

或是可以用指令一口氣安裝全部, 在終端機打:

sudo apt-get install compiz compiz-gnome compizconfig-settings-manager compiz-fusion-* emerald-*



這樣就裝好了! Control Alt Backspace 重新登入吧!

6. 測試:
完成安裝之後,請Alt+F2打開程是啟動器,接著輸入:

compiz --replace -c emerald



7. 安裝Compiz Fusion系統匣管理器: Fusion Icon
先裝這2個套件:

終端機內(或是Synaptic)輸入:

sudo apt-get install git git-core compiz-dev



再來到這個網頁:
http://forum.ubuntu.org.cn/about64461.html

下載這個: http://forum.ubuntu.org.cn/download.php?id=15664&sid=c1c9a32626223c407465d810274f702a

下載好, 雙擊滑鼠安裝

安裝成功後, 啟動Compiz Fusion 管理圖示: ALT+F2 輸入:

fusion-icon



如果一切正常, 系統匣會出現一個新圖示, 可以用那個快速切換2D或3D桌面設定, 以及視窗裝飾等等...

也可以放在系統>偏好設定>作業階段 讓他啟動時執行

===

PS.: 除了偶然發現Compiz Fusion穩定度較高以外, 這是我捨Beryl改用Compiz Fusion的主要理由:

類似Windows Vista / Leopard 超炫又超實用 Shift Switcher

http://linuxdesktop.cn/wp-content/uploads/2007/07/compiz-fusion-new-1.jpg
http://linuxdesktop.cn/wp-content/uploads/2007/07/compiz-fusion-new-2.jpg

圖片來源 : http://linuxdesktop.cn/2007/07/28/config-flip-and-cover

星期三, 7月 25, 2007

Ubuntu最小安裝

參考網址:
https://help.ubuntu.com/community/Installation/LowMemorySystems
http://wiki.ubuntu.org.tw/index.php/HowtoInstallLowMemorySystem
http://fluxbuntu.org/

星期二, 7月 24, 2007

UltimaOnline +Beryl

作業系統: Ubuntu 7.04
CPU: Dual Celeron 533
主機板: Abit BP6
記憶體: 128mb*3
顯示卡: Matrox Millennium G400
wine: 0.9.4.1(非Ubutu套件,採wine官方套件,要先更新到這個版本,否則無法使用SCIM輸入中文,安裝方式詳註一)
使用方式如下:


1.在UO的啟動要作些更改
env LC_ALL=zh_TW.UTF-8 WINEPREFIX="/home/alf/.wine" wine "C:\Program Files\EA Games\Ultima Online 9th Anniversary Collection\uo.exe" "-opengl"
zh_TW.Big5 要記得改成 zh_TW.UTF-8

2.啟動後看到更新畫面是亂碼,不過沒關系,進入遊戲後就是正常的文字了。但是會有一個問題,就是在進入登入畫面後,在畫面中央會有一個視窗無法消除,請使用ALT+ENTER先切換到全畫面模式,再切換回來視窗模式,即可消除中央障礙物。


螢幕擷取




註一 加入套件庫
1.加入金鑰
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

2.加入APT套件庫
For Ubuntu Feisty (7.04):
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list -O /etc/apt/sources.list.d/winehq.list

For Ubuntu Edgy (6.10): *64-bit packages not available*
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/edgy.list -O /etc/apt/sources.list.d/winehq.list

For Ubuntu Dapper (6.06): *64-bit packages not available*
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/dapper.list -O /etc/apt/sources.list.d/winehq.list

For Debian Etch (4.0): *64-bit packages not available*
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/etch.list -O /etc/apt/sources.list.d/winehq.list

3.更新套件庫
sudo apt-get update
4.安裝
sudo apt-get install wine

降低firefox記憶體使用量

減少 Tabs 記憶體使用

1. 在網址列輸入 about:config
2. 新增一個『整數』變數,名稱為

『browser.sessionhistory.max_total_viewers』
3. 將這個變數的值設為 2 或 3。
4. 重新啟動 Firefox。


最小化後釋放記憶體

1. 在網址列輸入 about:config
2. 尋找 config.trim_on_minimize
3. 將這個變數的值設為 true
4. 重新啟動 Firefox


依系統記憶體調整

1. 在網址列輸入 about:config
2. 尋找browser.cache.disk.capacity
3. 將這個變數的值設為
系統記憶體是
128MB-512MB 設成 5000
512MB-1GB 設成 15000。
1GB以上 設成 15000
4. 重新啟動 Firefox

系統記憶體快取

1. 在網址列輸入 about:config
2. 新增 integer 值browser.cache.memory.capacity
3. 將這個變數的值
系統記憶體 Firefox 快取 (KB)
32 MB 2048
64 MB 4096
128 MB 8192
256 MB 14336
512 MB 22528
1 GB 32768
2 GB 45056
4 GB 59392
8 GB 75776
4. 重新啟動 Firefox

預先載入網頁

1. 在網址列輸入 about:config
2. 找到 network.prefetch-next
3. 將這個變數的值設為 false。
4. 重新啟動 Firefox。

星期二, 7月 17, 2007

最近迷上了beryl +aiglx linux系統

CPU: 賽陽1G
記憶體: 256mb + 128mb sdram
顯示卡: ATI radeon 7200
OS: Ubuntu 6.10 Edgy Eft
最近迷上了 beryl + aiglx 立體桌面
看一下圖片吧



星期三, 7月 11, 2007

beryl + 觸控螢幕



Ubuntu on USB碟

如何把ubuntu 7.04(完整Linux系統,非Live CD)裝入隨身碟中(傻瓜必勝版)

把我們的 Ubuntu 7.04 USB 隨身作業系統改造成任何電腦都能開機

星期一, 7月 09, 2007

WMaker 應用

●設定支援中文
windo maker本身對ii18n已有良好支援,不過中文部分還需修改部分地方
1.檢查 $HOME/GNUstep/Defaults/WMGLOBAL 檔是否存在,如不存在請自行建立
2.檔案內如下:
{
MultiByeText = YES;
}

●選單中文化
1.將 ~/GNUstep/Defaults/WMRootMenu 內容改為 "menu.zh_TW.Big5"
2.再cp /usr/share/WindowMake/menu.zh_TW /usr/share/WindowMaker/menu

●Dock建議
wmcpuload
wmmemload
wmdiskmon
wmnet
wmclockmon

●RootMenu修改
"影像處理" EXEC gimp
"X 檔案管理員" EXEC xffm
"火狐" EXEC firefox
"筆記本" EXEC gedit
"圖片管理" EXEC gqvies
"多媒體播放" EXEC totem
"多媒體剪輯" EXEC kino
"音樂播放" EXEC beep-media-player
"光碟燒錄" EXEC gnomebkaer
"向量圖形編輯器" EXEC inkscape

IceWM

因為我的電腦跑太慢了(好想快點存錢換電腦><),只好使用icewm,
但一開始登入後,卻發現圖示超小的,看得快要吐血,
經過google查尋後,總算找出一些設定方法,
所以我的系統是有gnome再加上icewm的。
在這裡只是想把我找到的資料分享出來,如果有侵權,請告訴我一聲。

目前我最下方工具列的圖示是32x32的,比之前16x16大多了。
我是依照網路上的說法,
先將/etc/X11/icewm/裡的perferences、toolbar、winoptions、mewn 複製到家目錄下/home/你的id/.icewm下,接著就使用文字編輯器來修改這些檔案囉。

1.首先是preferences
你的id@ubuntu:~$. cd .icewm
你的id@ubuntu:~/.icewm$gedit. preferences
在這裡我是使用gedit來編輯,你可以使用任何你喜愛的文字編輯器來修改,其中一些mail的設定我用#把它註譯掉了,因為我都是上網收信,而且沒有信箱支援pop3的收信,所以那些設定我用不到。
-----------以下就是我preferences檔裡的資料----------
#啟用「點擊取得動作焦點」模式。
ClickToFocus=1
#視窗在取得動作焦點時昇至頂層。
RaiseOnFocus=0
#當點擊視窗的子區域時昇至頂層。
RaiseOnClickClient=0
#視窗在現形後會取得焦點。
FocusOnMap=1
#當點擊視窗邊框時昇至頂層。
#RaiseOnClickFrame=1
#當點擊而使視窗昇起時,子視窗也同時昇起。
#PassFirstClickToClient=1
#取得動作焦點的視窗會在經過 AutoRaiseDelay 後自動昇起。
AutoRaise=0
#即是沒有對視窗進行任何滑鼠動作,當滑鼠經過某個視窗時會讓該視窗取得焦點。
#StrongPointerFocus=0
#暫時視窗在現形後會取得焦點。
FocusOnMapTransient=1
#當視窗被應用程式呼叫時取得動作焦點。
FocusOnAppRaise=1
#Colormap 的焦點是跟隨著指標。
PointerColormap=1
#視窗在最大化之後還是可以改變大小。
SizeMaximized=0
#視窗同時會縮小到桌面去(除了到工作列之外)。
MinimizeToDesktop=0
#啟用 Alt+Tab 視窗切換器。
QuickSwitch=1
#Alt+Tab 也會切換到最小化的視窗。
QuickSwitchToMinimized=1
#Alt+Tab 會切換到任何作業區上視窗。
QuickSwitchToAllWorkspaces=0
#在視窗 搬移/改變大小 時可以看到視窗 搬移/改變大小 後的狀況。
ShowMoveSizeStatus=1
#在切換作業區時顯示目前的作業區名稱
ShowWorkspaceStatusAfterSwitch=1
#在對視窗進行動作後顯示目前的作業區名稱。
ShowWorkspaceStatusAfterActivation=1
#當使用鍵盤來改變焦點時,指標焦點變換成 Pointer Focus Move。
WarpPointer=0
#視窗在拖動的時後會立即移動,不會顯示預覽外框。
OpaqueMove=0
#視窗在拖動的時後會立即改變大小,不會顯示預覽外框。
OpaqueResize=0
#讓三個額外的功能鍵產生作用。這些鍵會對映至 MetaL、MetaR 及 Menu。左邊那一個會呼叫「開始」選單而右邊那一個會顯示視窗列表。
Win95Keys=1
#視窗必須由使用者手動配罝位置。
ManualPlacement=0
#忽略某些視窗所傳送的「不接受焦點」要求。
IgnoreNoFocusHint=0
#如果啟用的話,即使是沒有按下任何滑鼠鍵,選單還是會追蹤滑鼠的動作。
MenuMouseTracking=1
#在移動視窗時對齊最接近的 螢幕邊緣/視窗。
SnapMove=1
#在視窗對齊前的 pixels 距離。
SnapDistance=8
#在滑鼠移到螢幕邊緣時切換作業區。
EdgeSwitch=0
#設定為 1 時將會自動重新載入 menu 檔案。
AutoReloadMenus=1
#顯示「佈景主題」次選單。
ShowThemesMenu=1
#顯示「說明」選單項目。
ShowHelp=1
#在訊息盒上是預先選擇 取消(0) 或 確定(1)
MsgBoxDefaultAction = 0
#讓工具列出現。
ShowTaskBar=1
#工具列出現在螢幕的上方
TaskBarAtTop=0
#將工具列放在平常的視窗之下。
TaskBarKeepBelow=1
#在滑鼠離開後工具列會自動隱藏。
TaskBarAutoHide=0
#在工具列上顯示「開始選單」的按鈕。
TaskBarShowStartMenu=1
#在工具列上顯示「視窗清單」的按鈕。
TaskBarShowWindowListMenu=1
#在工具列上顯示「作業區切換按鈕」。
TaskBarShowWorkspaces=1
#在工具列上顯示所有作業區的視窗。
TaskBarShowAllWindows=0
# 在工具列上顯示時鐘。
TaskBarShowClock=1
#以 LCD 風格的圖像來顯示時鐘。
TaskBatClockLeds=1
#顯示郵件信箱的狀況(由 $MAIL 環境變數所決定)
TaskBarShowMailboxStatus=0
#當收到新郵件是發出 Beep 聲。
TaskBarMailboxStatusBeepOnNewMail=0
#在工具提示上顯示郵件的總數。
TaskBarMailboxStatusCountMessages=0
#設定工作列是否使用兩行的高度。
TaskBarDoubleHeight=0
#在工具列上顯示 CPU 狀況。
TaskBarShowCPUStatus=1
#支援滑鼠的滾輪。
UseMouseWheel=1
#類似於 auto raise 的延遲時間。
DelayPointerFocus=0
#設定工具列上的時鐘的 時間 格式。(請參考 strftime(3) 手冊)
TimeFormat="%H:%M"
#設定工具列上的時鐘的 日期 + 時間 格式。(請參考 strftime(3) 手冊)
DateFormat="%c"

#指到郵件信箱的路徑。非本機的郵件信箱可以經由使用 Common Internet Scheme 語法 (RFC 1738) 格式的超連結來存取。
#scheme://[user[:password]@]server[:port][/path]
#所支援的方法有:"pop3"、"imap" 及 "file"。其中若未指定方法時以 "file://" 為預設值。IMAP 的子目錄可以經由指定路徑項目來存取。
#保留字元像是「斜線」、「小老鼠」及「冒號」可以經由使用跳脫字元加上 16 進位編碼來指定。像是以 %2f 代表「斜線」或是以 %40 代表「冒號」。
#範例:
# file:///var/spool/mail/captnmark
# pop3://markus:%2f%40%3a@maol.ch/.
# imap://mathias@localhost/INBOX.Maillisten.icewm-user
#MailBoxPath


#左/右 邊框的寬度。
BorderSizeX=6
#上/下 邊框的高度。
BorderSizeY=6
#無法變更大小的視窗的 左/右 邊框的寬度。
DlgBorderSizeX=2
無法變更大小的視窗的 上/下 邊框的高度。
DlgBorderSizeY=2
#視窗邊角的寬度。
CornerSizeX=24
#視窗邊角的高度。
CornerSizeY=24
#標題列的高度。
TitleBarHeight=20
#當使用滑鼠把視窗移出螢幕之外時的阻抗力。把它設定為 10000 時阻抗力則為無限。
EdgeResistance = 32
#視窗管理員所使用的基本視窗按鈕點擊的位元遮罩。
#UseRootButtons=3 # [0-255]
#當按下時即將視窗昇起的位元遮罩。
#ButtonRaiseMask
#在移動之前點擊視為拖動。
ClickMotionDistance=4
#辨視為雙擊的時間間隔 (ms)。
MultiClickTime=400
#視窗自動昇起時間間隔(首先必須啟用 AutoRaise)。
AutoRaiseDelay=200
#多少時間後工具列即自動隱藏。(首先必須啟用 TaskBarAutoHide)。
AutoHideDelay=300
#顯示工具提示前的等待時間。
ToolTipDelay=1000
#工具提示視窗隱藏前的等待時間(0 表示不隱藏)。
ToolTipTime=60000
#最初的捲軸列多少時間後即自動捲軸。
#ScrollBarStartDelay
#捲軸列多少時間後即自動捲軸。
ScrollBarDelay=30
#多少時間後即開始自動捲軸。
#AutoScrollStartDelay
#多少時間後即自動捲軸。
AutoScrollDelay=60
#顯示PPP撥接狀態
TaskBarShowPPPStatus=0
#抓取根視窗
GrabRootWindow=1
#限制啟動位置
LimitPosition=1
#限制啟動大小
LimitSize=1
#顯示『關閉』按鈕
ShowXButton=0
#按下變成拉引前延遲
ClickMotionDelay=200
#指標 焦點 延遲
PointerFocusDelay=200
#工作區作用邊界延遲
EdgeSwitchDelay=600
#圖示路徑(這一個我還在摸索它的用處當中,因為我還沒感覺到設定後和設定前有什麼不同)
IconPath="/usr/share/icon"
#動作中的工具列項目的字型名稱。
ActiveTaskBarFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"
#Alt+Tab 視窗切換器的字型名稱。
QuickSwitchFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"
#工具列上的時鐘的的字型名稱。
ClockFontName="-arphic-ar pl new sung-medium-r-normal-*-*-18-*-*-m-*-iso8859-1"
#選單的字型名稱。
MenuFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"
#一般工具列項目的字型名稱。
NormalTaskBarFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"
#顯示狀態的字型名稱。
StatusFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"
#標題列的字型名稱。
TitleFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"
#工具提示的字型名稱
ToolTipFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"
#視窗清單的字型名稱。
WindowListFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"
#桌面背景的顏色。
DesktopBackgroundColor="rgb:00/20/40"
#桌面背景的圖片 (.xpm)。如果想取消 icewm 的桌面背景顏色/圖片,將 DesktopBackgroundColor 及 DesktopBackgroundImage 設定為空字串 ("")。
DesktopBackgroundImage="你圖片的路徑.jpg"
#將桌面背景的圖片置中且不要鋪排。(設為 0 或 1)。
DesktopBackgroundCenter=1
#作業區名稱的列表,你可以隨便命名
WorkspaceNames=" 風 ", " 花 ", " 雪 ", " 月 "

Theme=""
### 視窗選项
# 設定是否顯示 GNOME 的選單項目
ShowGnomeAppsMenu=1 # 0/1
# 設定是否顯示選單項目按鈕圖示
ShowMenuButtonIcon=1 # 0/1
#時鐘
ClockCommand="1"
#鎖定
LockCommand=""
#登出
LogoutCommand=""
#取消登出
LogoutCancelCommand=""
#郵件
MailCommand=""
#開啟
OpenCommand=""
#執行
RunCommand=""
###其實以下這兩個選項只對 eterm 和 mlterm 等支援半透明視窗的 Terminal 有用
# Color to announce for semi-transparent windows
#半透明的視窗
DesktopTransparencyColor="1"
# Image to announce for semi-transparent windows
DesktopTransparencyImage="1"

#########結束##########
存檔後關閉

2.toolbar

你的id@ubuntu:~/.icewm$gedit. toolbar
------------以下是toolbar的內容-------------
# This is an example for IceWM's toolbar definition file.
#
# Place your variants in /etc/X11/icewm or in $HOME/.icewm
# since modifications to this file will be discarded when you
# (re)install icewm.
#
prog XTerm /usr/share/icewm/themes/IceBlueCurve/icons/xterm_32x32.xpm x-terminal-emulator
prog "Firefox" /home/egg/firefox/firefox.xpm /home/egg/firefox/firefox -t
prog "Rox" rox rox
prog "gthumb" /usr/share/pixmaps/gthumb.xpm gthumb
prog "Pcmanx" /usr/share/pixmaps/pcmanx.png pcmanx
prog "Gaim" /usr/share/pixmaps/gaim-menu.xpm gaim


########以下是說明,可以不用copy到你的toolbar檔案裡
###在這個檔案裡,是工具列的快速啟動程式所顯示的程式
###以下是編輯的範例:
#prog 程式名稱 程式在toolbar顯示的圖片 要執行這個程式在終端機裡輸入的命令
#例一:
#prog "gthumb" /usr/share/pixmaps/gthumb.xpm gthumb
#例二:
#prog "Rox" rox rox
#在例二中,因為找不到rox這個檔名的圖片,所以他就會用文字來顯示。

##########存檔結束##########

3.menu

你的id@ubuntu:~/.icewm$gedit. menu

-------------以下是menu的內容-------------
## 自定義 IceWM 菜單
## 包涵 Ubuntu 菜單 /etc/X11/icewm/menu
include /etc/X11/icewm/menu
separator
## 自定義菜單
menu "常用程式" folder {
prog "StarDict" /usr/share/pixmaps/stardict.png stardict
prog "Gaim" /usr/share/pixmaps/gaim-menu.xpm gaim
prog "Nautilus" /usr/share/pixmaps/nautilus.xpm nautilus --no-desktop
prog "Firefox" /home/egg/firefox/firefox.xpm /home/egg/firefox/firefox -t
prog "Rox" rox rox
prog "gthumb" /usr/share/pixmaps/gthumb.xpm gthumb
prog "Pcmanx" /usr/share/pixmaps/pcmanx.png pcmanx
prog "Gimp" /usr/share/pixmaps/gnome-gimp.png gimp

}

separator

######存檔結束#######
######說明:在這裡我是自已定義menu,icewm內建的menu存在/etc/X11/icewm/menu,所以你想要修改內建的menu的話,必需去修改/etc/X11/icewm/menu這個檔。
##########這裡編輯模式如同toolbar的方式,一樣是
#prog 程式名稱 程式在toolbar顯示的圖片 要執行這個程式在終端機裡輸入的命令

--------------------------------------------------
4.startup 這一個是用來讓你登入icewm時執行程式、命令用的。

你的id@ubuntu:~/.icewm$. gedit startup

--------------------startup的內容---------
#!/bin/sh
### IceWM 自動載入項目
### 您可以在下面加入您想讓 IceWM 啟動時自動載入的程式或命令,每一行用 & 作為结束

## 啟動 Rox 來顯示桌面圖示和桌面背景
rox-filer --pinboard=PIN

### Gnome 相關
## 啟動 gnome-settings-daemon 來設置 Gnome 主题,字體等
gnome-settings-daemon &
## 啟動 nautilus 來顯示桌面圖示和桌面背景 ( 要啟動 gnome-settings-daemon )
nautilus &
## 用 gnome-volume-manager 來自動掛載 U 盤等
# gnome-volume-manager &

### 啟動其它您想讓 IceWM 自動啟動的程式
# stardict -h &
# kmix &

-----------------------存檔結束-----------------
存檔後要讓~/.icewm/startup 有可執行屬性

你的id@ubuntu:~/.icewm$chmod. +x ~/.icewm/startup

這樣一來,startup才有真正的在作用。


5.winoptions

你的id@ubuntu:~/.icewm$gedit. winoptions

我突然想起,我好像沒有變動到這個檔@__@?所以這一個參考參考就好.

# This is an example for IceWM's window options file.
#
# Place your variants in /etc/X11/icewm or in $HOME/.icewm
# since modifications to this file will be discarded when you
# (re)install icewm.

xterm.icon: xterm
rxvt.icon: xterm
urxvtc.icon: urxvt
urxvt.icon: urxvt
nxterm.icon: xterm
Gimp.icon: gimp
fte.icon: fte
emacs.Emacs.icon: emacs
AcroRead.icon: pdf
Netscape.icon: netscape
Navigator.Netscape.icon: communicator-browser
MailThread.Netscape.icon: communicator-mail
MailFolder.Netscape.icon: communicator-mail
Editor.Netscape.icon: communicator-composer
AddressBook.Netscape.icon: communicator-abook
AWTapp.icon: java
xv.icon: xv
xv.nonICCCMconfigureRequest: 1
xload.icon: xload
mozillaComponentBar.icon: netscape
mozillaComponentBar.layer: OnTop
mozillaComponentBar.ignoreTaskBar: 1
mozillaComponentBar.allWorkspaces: 1
mozillaComponentBar.dSysMenu: 0
xeyes.ignoreWinList: 0
xeyes.ignoreTaskBar: 1
xeyes.allWorkspaces: 1
xeyes.dTitleBar: 0
xeyes.dBorder: 0
xeyes.dSysMenu: 0
xeyes.dResize: 0
xeyes.dClose: 0
xeyes.dMinimize: 0
xeyes.dMaximize: 0
xeyes.ignoreNoFocusHint: 1

XClock.ignoreNoFocusHint: 1
Vim.icon: vim

applix.ignoreNoFocusHint: 1
XDdts.noFocusOnAppRaise: 1
Wingz.noFocusOnAppRaise: 1
WingzPro.noFocusOnAppRaise: 1

gkrellm.Gkrellm.allWorkspaces: 1
gkrellm.Gkrellm.ignoreTaskBar: 1
gkrellm.Gkrellm.layer: Below
#gkrellm.Gkrellm.doNotCover: 1

MainWindow.licq.allWorkspaces: 1
MainWindow.licq.ignoreQuickSwitch: 1
MainWindow.licq.ignoreWinList: 1
MainWindow.licq.layer: Below
#MainWindow.licq.doNotCover: 1

# ROX-Filer pinboard and panel
ROX-Filer.icon: folder
ROX-Panel.layer: Dock
ROX-Panel.doNotCover: 1
ROX-Panel.ignoreWinList: 1
ROX-Panel.ignoreTaskBar: 1
ROX-Panel.ignoreQuickSwitch: 1
ROX-Pinboard.layer: Below
ROX-Pinboard.ignoreWinList: 1
ROX-Pinboard.ignoreTaskBar: 1
ROX-Pinboard.ignoreQuickSwitch: 1
ROX-Filer.layer: Normal

##存檔結束###


6.此外,最重要的是theme,
ICEMW的theme在在/usr/share/icewm/themes/下
而我是使用SilverXP,而要調整設定就是編輯default.theme檔
(必需使用sudo才能更改)

你的id@ubuntu:~$. sudo gedit /usr/share/icewm/themes/SilverXP/default.theme

---------------以下就是內容--------------
# preferences(1.2.14) - generated by genpref
# This file should be copied to /etc/icewm/ or $HOME/.icewm/ directory
# NOTE: All settings are commented out by default, be sure to
# uncomment them if you change them!
# -----------------------------------------------------------
# Themable preferences. Themes will override these.
# To override the themes, place them in ~/.icewm/prefoverride
# -----------------------------------------------------------

#-----------------------------------------------------

ThemeDescription="http://icewmsilverxp.sourceforge.net"
ThemeAuthor="Alexander Portnoy - alexpor@users.sourceforge.net".

Look=metal

Gradients="menubg.xpm menusel.xpm switchbg.xpm taskbarbg.xpm dialogbg.xpm taskbuttonbg.xpm taskbuttonactive.xpm taskbuttonminimized.xpm buttonA.xpm buttonI.xpm toolbuttonbg.xpm workspacebuttonbg.xpm workspacebuttonactive.xpm"


# Does it support the 'O' title bar button images (for mouse rollover)
RolloverButtonsSupported=1 # 0/1

# Task bar clock/APM uses nice pixmapped LCD display (but then it doesn't display correctly in many languages anymore, e.g. for Japanese and Korean it works only when a real font is used and not the LEDs
TaskBarClockLeds=1 # 0/1

# Surround the tray with plastic border
TrayDrawBevel=0 # 0/1

# Draw window title centered (obsoleted by TitleBarJustify)
TitleBarCentered=0 # 0/1

# Join title*S and title*T
TitleBarJoinLeft=0 # 0/1

# Join title*T and title*B
TitleBarJoinRight=0 # 0/1

# Show application icon over menu button
ShowMenuButtonIcon=1 # 0/1

# Horizontal window border
BorderSizeX=4 # [0-128]

# Vertical window border
BorderSizeY=4 # [0-128]

# Horizontal dialog window border
DlgBorderSizeX=4 # [0-128]

# Vertical dialog window border
DlgBorderSizeY=4 # [0-128]

# Resize corner width
CornerSizeX=30 # [0-64]

# Resize corner height
CornerSizeY=30 # [0-64]

# Title bar height
TitleBarHeight=26 # [0-128]

# Justification of the window title
TitleBarJustify=0 # [0-100]

# Horizontal offset for the window title text
TitleBarHorzOffset=0 # [-128-128]

# Vertical offset for the window title text
TitleBarVertOffset=0 # [-128-128]

# Scrollbar width
ScrollBarX=16 # [0-64]

# Scrollbar (button) height
ScrollBarY=16 # [0-64]

# Menu icon size
MenuIconSize=25 # [8-128]

# Dimension of the small icons(把這一項和下一項設成32,工具列的圖示就變成32啦)
SmallIconSize=32 # [8-128]

# Dimension of the large icons
LargeIconSize=32 # [8-128]

# Dimension of the large icons
HugeIconSize=48 # [8-128]

# Horizontal margin of the quickswitch window
QuickSwitchHorzMargin=3 # [0-64]

# Vertical margin of the quickswitch window
QuickSwitchVertMargin=3 # [0-64]

# Vertical margin in the quickswitch window
QuickSwitchIconMargin=4 # [0-64]

# Distance between the active icon and it's border
QuickSwitchIconBorder=2 # [0-64]

# Height of the separator between (all reachable) icons and text, 0 to avoid it
QuickSwitchSeparatorSize=6 # [0-64]

# Theme author, e-mail address, credits
ThemeAuthor="Alexander Portnoy - alexpor@users.sourceforge.net".

# Description of the theme, credits
ThemeDescription="http://icewmsilverxp.sourceforge.net"

# Titlebar buttons from left to right (x=close, m=max, i=min, h=hide, r=rollup, s=sysmenu, d=depth)
TitleButtonsLeft="s"

# Titlebar buttons from right to left (x=close, m=max, i=min, h=hide, r=rollup, s=sysmenu, d=depth)
TitleButtonsRight="xmi"

# Titlebar buttons supported by theme (x,m,i,r,h,s,d)
TitleButtonsSupported="xmis"

#
TitleFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"

#
TitleFontNameXft="verdana:size=16"

#
MenuFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"

#
MenuFontNameXft="verdana:size=16"

#
StatusFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"

#
StatusFontNameXft="verdana:size=16"

#
QuickSwitchFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"

#
QuickSwitchFontNameXft="verdana:size=16"

#
NormalButtonFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"

#
NormalButtonFontNameXft="verdana:size=16"

#
ActiveButtonFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"

#
ActiveButtonFontNameXft="verdana:size=16"

#
NormalTaskBarFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"

#
NormalTaskBarFontNameXft="verdna:size=16"

#
ActiveTaskBarFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"

#
ActiveTaskBarFontNameXft="verdana:size=16"

# fallback: NormalButtonFontName
ToolButtonFontName=""

# fallback: NormalButtonFontName
#ToolButtonFontNameXft=""

# fallback: NormalButtonFontName
NormalWorkspaceFontName=""

# fallback: NormalButtonFontName
#NormalWorkspaceFontNameXft="verdana:size=10"

# fallback: ActiveButtonFontName
ActiveWorkspaceFontName=""

# fallback: ActiveButtonFontName
#ActiveWorkspaceFontNameXft=""

#
MinimizedWindowFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"

#
MinimizedWindowFontNameXft="verdana:size=16"

#
ListBoxFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"

#
ListBoxFontNameXft="verdana:size=16"

#
ToolTipFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"

#
ToolTipFontNameXft="verdana:size=16"

#
ClockFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"

#
ClockFontNameXft="verdana:size=16"

#
ApmFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"

#
ApmFontNameXft="verdana:size=16"

#
InputFontName="-*-monospace-medium-r-*-*-*-140-*-*-*-*-*-*"

#
InputFontNameXft="monospace:size=16"

#
LabelFontName="-arphic-ar pl new sung-medium-r-normal-*-*-16-*-*-m-*-iso8859-1"

#
LabelFontNameXft="verdana:size=16"

# Background of dialog windows
ColorDialog="rgb:e0/df/e3"

# Border of inactive windows
ColorNormalBorder="rgb:64/75/9b"

# Border of active windows
ColorActiveBorder="rgb:3d/55/90"

# Background of regular buttons
ColorNormalButton="rgb:e0/df/e3"

# Textcolor of regular buttons
ColorNormalButtonText="rgb:00/00/00"

# Background of pressed buttons
ColorActiveButton="rgb:e0/df/e3"

# Textcolor of pressed buttons
ColorActiveButtonText="rgb:00/00/00"

# Background of titlebar buttons
ColorNormalTitleButton="rgb:C0/C0/C0"

# Textcolor of titlebar buttons
ColorNormalTitleButtonText="rgb:00/00/00"

# Background of toolbar buttons, ColorNormalButton is used if empty
ColorToolButton=""

# Textcolor of toolbar buttons, ColorNormalButtonText is used if empty
ColorToolButtonText=""

# Background of workspace buttons, ColorNormalButton is used if empty
ColorNormalWorkspaceButton=""

# Textcolor of workspace buttons, ColorNormalButtonText is used if empty
ColorNormalWorkspaceButtonText="rgb:00/00/00"

# Background of the active workspace button, ColorActiveButton is used if empty
ColorActiveWorkspaceButton=""

# Textcolor of the active workspace button, ColorActiveButtonText is used if empty
ColorActiveWorkspaceButtonText="rgb:00/00/00"

# Background of the titlebar of regular windows
ColorNormalTitleBar="rgb:6d/72/7a"

# Textcolor of the titlebar of regular windows
ColorNormalTitleBarText="rgb:d8/d8/d8"

# Textshadow of the titlebar of regular windows
ColorNormalTitleBarShadow="rgb:40/40/40"

# Background of the titlebar of active windows
ColorActiveTitleBar="rgb:rgb:28/4a/68"

# Textcolor of the titlebar of active windows
ColorActiveTitleBarText="rgb:00/00/00"

# Textshadow of the titlebar of active windows
ColorActiveTitleBarShadow="rgb:c7/c2/d1"

# Background for mini icons of regular windows
ColorNormalMinimizedWindow="rgb:e0/df/e3"

# Textcolor for mini icons of regular windows
ColorNormalMinimizedWindowText="rgb:00/00/00"

# Background for mini icons of active windows
ColorActiveMinimizedWindow="rgb:e0/df/e3"

# Textcolor for mini icons of active windows
ColorActiveMinimizedWindowText="rgb:00/00/00"

# Background of pop-up menus
ColorNormalMenu="rgb:FF/FF/FF"

# Textcolor of regular menu items
ColorNormalMenuItemText="rgb:00/00/00"

# Background of selected menu item, leave empty to force transparency
ColorActiveMenuItem="rgb:BB/B7/C7"

# Textcolor of selected menu items
ColorActiveMenuItemText="rgb:00/00/00"

# Textcolor of disabled menu items
ColorDisabledMenuItemText="rgb:80/80/80"

# Shadow of regular menu items
ColorDisabledMenuItemShadow=""

# Background of move/resize status window
ColorMoveSizeStatus="rgb:e0/df/e3"

# Textcolor of move/resize status window
ColorMoveSizeStatusText="rgb:00/00/00"

# Background of the quick switch window
ColorQuickSwitch="rgb:e0/df/e3"

# Textcolor in the quick switch window
ColorQuickSwitchText="rgb:00/00/00"

# Rectangle arround the active icon in the quick switch window
ColorQuickSwitchActive="rgb:9B/97/97"

# Background of the taskbar
ColorDefaultTaskBar="rgb:e0/df/e3"

# Background for task buttons of regular windows
ColorNormalTaskBarApp="rgb:e0/df/e3"

# Textcolor for task buttons of regular windows
ColorNormalTaskBarAppText="rgb:00/00/00"

# Background for task buttons of the active window
ColorActiveTaskBarApp="rgb:e0/df/e3"

# Textcolor for task buttons of the active window
ColorActiveTaskBarAppText="rgb:FF/FF/FF"

# Background for task buttons of minimized windows
ColorMinimizedTaskBarApp="rgb:e0/df/e3"

# Textcolor for task buttons of minimized windows
ColorMinimizedTaskBarAppText="rgb:00/00/00"

# Background for task buttons of windows on other workspaces
ColorInvisibleTaskBarApp="rgb:80/80/80"

# Textcolor for task buttons of windows on other workspaces
ColorInvisibleTaskBarAppText="rgb:00/00/00"

# Scrollbar background (sliding area)
ColorScrollBar="rgb:ea/ed/ef"

# Background of the slider button in scrollbars
ColorScrollBarSlider="rgb:e0/df/e3"

# Background of the arrow buttons in scrollbars
ColorScrollBarButton="rgb:BB/B7/C7"

# Background of the arrow buttons in scrollbars (obsolete)
ColorScrollBarArrow="rgb:e0/df/e3"

# Color of active arrows on scrollbar buttons
ColorScrollBarButtonArrow="rgb:00/00/00"

# Color of inactive arrows on scrollbar buttons
ColorScrollBarInactiveArrow="rgb:00/00/00"

# Background of listboxes
ColorListBox="rgb:ff/ff/ff"

# Textcolor in listboxes
ColorListBoxText="rgb:00/00/00"

# Background of selected listbox items
ColorListBoxSelection="rgb:bb/b7/c7"

# Textcolor of selected listbox items
ColorListBoxSelectionText="rgb:00/00/00"

# Background of tooltips
ColorToolTip="rgb:FF/FF/E1"

# Textcolor of tooltips
ColorToolTipText="rgb:00/00/00"

# Background of labels, leave empty to force transparency
ColorLabel="rgb:C0/C0/C0"

# Textcolor of labels
ColorLabelText="rgb:00/00/00"

# Background of text entry fields (e.g. the addressbar)
ColorInput="rgb:FF/FF/FF"

# Textcolor of text entry fields (e.g. the addressbar)
ColorInputText="rgb:00/00/00"

# Background of selected text in an entry field
ColorInputSelection="rgb:bb/b7/c7"

# Selected text in an entry field
ColorInputSelectionText="rgb:00/00/00"

# Background of non-LCD clock, leave empty to force transparency
ColorClock=""

# Background of non-LCD monitor
ColorClockText="rgb:00/00/00"

# Background of APM monitor, leave empty to force transparency
ColorApm=""

# Textcolor of APM monitor
ColorApmText="rgb:00/00/00"

# User load on the CPU monitor
ColorCPUStatusUser="rgb:00/FF/00"

# System load on the CPU monitor
ColorCPUStatusSystem="rgb:FF/00/00"

# Inturrupts on the CPU monitor
ColorCPUStatusInterrupts="rgb:FF/FF/00"

# IO Wait on the CPU monitor
ColorCPUStatusIoWait="rgb:60/00/60"

# Soft Interrupts on the CPU monitor
ColorCPUStatusSoftIrq="rgb:00/FF/FF"

# Nice load on the CPU monitor
ColorCPUStatusNice="rgb:00/00/FF"

# Idle (non) load on the CPU monitor, leave empty to force transparency
ColorCPUStatusIdle=""

# Outgoing load on the network monitor
ColorNetSend="rgb:FF/FF/00"

# Incoming load on the network monitor
ColorNetReceive="rgb:00/FF/00"

# Idle (non) load on the network monitor, leave empty to force transparency
ColorNetIdle=""


###WorkspaceNames=" Main ", " Inet ", " Devel "

#
# icewmbg preferences
#
# IMPORTANT: You MUST run icewmbg (probably before icewm)
# to set the background!
#

# Display desktop background centered and not tiled
# DesktopBackgroundCenter=0 # 0/1

# Support for semitransparent terminals like Eterm or gnome-terminal
# SupportSemitransparency=1 # 0/1

# Desktop background scaled to full screen
# DesktopBackgroundScaled=0 # 0/1

# Desktop background color
# DesktopBackgroundColor="rgb:00/20/40"

# Desktop background image
# DesktopBackgroundImage=""

# Color to announce for semi-transparent windows
# DesktopTransparencyColor=""

# Image to announce for semi-transparent windows
# DesktopTransparencyImage=""

#

------------------大概就是這樣囉--------
老實說我不敢保證我的是完全沒有錯誤的,
但至少大家可以參考參考~


關於 IceWM 無法在 zh_TW.UTF-8 下看到中文介面的問題
ln -s /usr/share/locale/zh_TW.Big5/LC_MESSAGES/icewm.mo /usr/share/locale/zh_TW/LC_MESSAGES/
然後重新啟動 IceWM 即可。

Xfce4使用心得

首先要有xfce4-session
然后chmod u+s /usr/sbin/xfce4-shutdown
然后修改/etc/xfce4/shutdown.allow
加入要允许关机的用户名就可以了~

Mezzo desktop

http://en.wikipedia.org/wiki/Mezzo_%28desktop_environment%29
http://en.wikipedia.org/wiki/Symphony_OS
http://www.symphonyos.com/
http://www.tuxmachines.org/node/3232
http://shots.osdir.com/slideshows/slideshow.php?release=644&slide=4


HOWTO: Mezzo desktop on Ubuntu
UPDATED (02/01/2006): installation steps updated to reflect corrections highlighted in this post on

the Symphony Forums. Thanks Ryan.


Seeing a new Linux distro out there is kind of like seeing another cloud in the sky, but every now and

then something comes along with a fresh idea or approach; enter Symphony OS. Described on their

website, ”Symphony OS is a Desktop computer operating system based on Debian GNU/Linux and Knoppix

GNU/Linux. Rather than using the KDE or Gnome Desktop environments as most Linux distributions do, the

Symphony OS team has created the revolutionary Mezzo Desktop environment. Symphony provides what we

consider to be the easiest to use Linux experience there is.” I really like their idea that, ”Mezzo

disposes of standard concepts like “The desktop is a folder” and referring to it as a “junk drawer

”. Whatever distros or OS I’m on (Linux, OS X, Winders) I always dump all of my desktop icons, and

have since I figured out how to back in the Gnome 1.4 days! So while the distro is interesting, the

real attraction is the new desktop environment, and how they’ve dealt with things differently.

Another overview of what Symphony OS was born out of from this post reads, ”Symphony OS is a Linux-

based operating system that attempts to correct what are percieved interface errors present in todays

modern computing interfaces. It does so through an interface known as the Mezzo Desktop, integrating

ideas from Fitt’s Law, as well as Jason Spisak’s Laws of Interface Design.” Needless to say, this

is far from just another distro, it addresses UI and useability issues that no other other UI has

successfully improved upon; this is exciting. Looking at the screenshots it’s hard to see that too

much is changed, but when you actually demo it you’ll get how the “Laws” referred to above are

applied, and it’s very nice. Looking through the (now outdated) Mezzo UI 1.0 Mockups will give you a

bit more into the feel for the look of the desktop. A novel approach is that although the window

manager (somehow) uses FVWM, it’s also apparently served up via a local webserver, allowing for a

desktop to support web apps, ala “Web 2.0” stuff like gmail, Flickr and the like. Think about how

Konfabulator, OS X Widgets allowed for bits and pieces of the web to enter the desktop (RSS, weather,

ebay searches) and then you’ll see how Mezzo’s approach can really opens things up in a way no other

desktop every has, and I can see developers chomping at the bit on that one. Until now you’ve had to

download/install their Symphony OS to play around with Mezzo, but now it’s available to use on Debian

based distros, Ubuntu Linux included. Here I present the first HOWTO on installing Mezzo on Ubuntu.

While they document this on their site, the docs are incomplete, thus I felt the need to share (and I

will share them with them as well). I’ll update this as I learn how to add more to the desktop, it

looks like this is going to be a fun alternative to the KDE/Gnome contingent, and I can’t wait for a

1.0.

To install the Mezzo, and the requred Orchestra package, on Ubuntu Linux 5.10 (Breezy Badger) become

root:

su - root

Or if you don’t have a regular root account (as is the default in Ubuntu) do:

sudo su -

And then enter your normal users’ password when prompted.

Next add the following to you /etc/apt/sources.list:

deb http://archive.progeny.com/symphonyos/apt/ ./

Now update apt:

apt-get update

And then install Mezzo and Orchestra packages, with a couple of other needed deps:

apt-get install mezzo orchestra libstdc++5 xdialog

(Optional) Install the MetaTheme, which is “…a project dedicated to unification of appearance

between different graphics toolkits (currently GTK2, QT and Java).” According to Symphony OS creator,

Ryan, ”MetaTheme is in no way required. It makes things look pretty but that is about it” Also,

currently the bundled MetaTheme package is broken [source] so you should not install it via apt-get.

Instead, either wait for an updated package, or do what I did; download the tarball and follow the

manual install steps. MetaTheme needs the dev headers for libgtk2, which I didn’t have installed, so

make sure you have those by using apt-get:

apt-get install libgtk2.0-dev

Now get, configure, install and configure Metatheme:

wget http://www.metatheme.org/download/metatheme-0.0.6.tar.bz2
tar xvjf metatheme-0.0.6.tar.bz2
cd metatheme-0.0.6
./configure

Watch for errors, then make it:

make

Finally install it:

make install

Then back to your normal user (doesn’t sound right to me either, but…) to activate Metatheme in all

supported toolkits:

exit
metatheme-install

Now you have to restart your session, so logout of your Desktop Manager and come back in. Next run the

‘mt-config’ application as your normal user to configure Metatheme and choose your favorite theme:

mt-config

UPDATE: thanks to comments from Gabriele Tassoni below, here’s another step that is very important.

You have to manually copy the .metatheme directory from your normal user’s home directory to root’s

home. Without doing this no GUI apps that need root/sudo privledges (Synaptic for Debian/Ubuntu users

is a major one) will run! I’m going to email the MetaTheme devs about this to see if they can fix it

for the next release. So, to avoid this pitfall:

sudo cp -R ~/.metatheme /root/.metatheme

Now, back to the Mezzo install, you need to copy the Mezzo and Orchestra settings and base desktop

files to the home directory, so again as your regular user:

cp -Rvf /etc/skel/.mezzo ~/
cp -Rvf /etc/skel/.orchestra ~/
cp -Rvf /usr/share/fvwm/.fvwm2rc ~/.fvwm

Once you’re back up and in your default desktop, logout, then from your GDM or KDM login manager,

login as normal, but choose the Mezzo ‘Session’.

If GDM or KDM does not show Mezzo as an option, you may need to restart the login manager for it to

find it (I didn’t need to do this, but Ryan pointed it out):

/etc/init.d/gdm restart

or

/etc/init.d/kdm restart

That’s it, once in click in the corners to get aquinted and start playing around. I’ll post more

about this as I learn it, I think it’s pretty cool at this stage.
geek howto

光碟掛載無亂碼

vi /etc/fstab
在 option 加入
codepage=950
iocharset=big5
iocharset=cp950
上述任一即可


sudo nano /etc/fstab
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto,iocharset=utf8 0 0

嘸蝦米輸入法

嘸蝦米輸入法安裝on debian
xcin之方法

(如果你已經有了liu57a.tab的話,請直接跳到第3步驟)

1.修改liu57a.cin如下:

代碼:

%gen_inp
%ename liu57a
%cname 嘸蝦米
%selkey 0123456789
%keyname begin
a A
b B
c C
d D
e E
f F
g G
h H
i I
j J
k K
l L
m M
n N
o O
p P
q Q
r R
s S
t T
u U
v V
w W
x X
y Y
z Z
, ,
. .
' ’
[ 〔
] 〕
%keyname end
%chardef begin
a 對
aa 寸
..
..
]]v ︼
]]v ︾
%chardef end

2.執行
代碼:
cin2tab liu57a.cin

會產生liu57a.tab

(以下用root)
3.然後把liu57a.tab拷到/usr/lib/xcin/tab/big5/
4.修改/etc/xcinrc,把嘸蝦米的設定加進來

代碼:
(define zh_TW.Big5
'((DEFAULT_IM "liu57a")
(DEFAULT_IM_MODULE "gen_inp")
(DEFAULT_IM_SINMD "phone")
(PHRASE "default.phr")
(CINPUT (liu57a cj .....))
...

代碼:
(define liu57a@big5
'((SETKEY 11)
(AUTO_COMPOSE YES)
(AUTO_UPCHAR YES)
(AUTO_FULLUP NO)
(SPACE_AUTOUP YES)
(SELKEY_SHIFT NO)
(SPACE_IGNOR NO)
(SPACE_RESET YES)
(AUTO_RESET YES)
(WILD_ENABLE YES)
(BEEP_WRONG YES)
(BEEP_DUPCHAR YES)
(END_KEY NO)
(AUTO_SELECT NO)
(SINMD_IN_LINE1 NO)
))


然後把 (CINPUT (liu57a cj .....))裡的jyutping0去掉

完成後,請重新啟動xcin,或者是重新啟動X-window也可以。
代碼:
killall xcin
xcin&

開機自動執行script

1. 將您寫好的script (假設為iptables.sh)放至/etc/init.d
2. 切換至/etc目錄下執行

代碼:
/etc# update-rc.d iptables.sh defaults 50


50為開機時的執行順序, 端看您如何設定.

Discover 偵測硬體模組

Discover 這個程式越來越好玩了:

列出顯示卡晶片型號:(以我的顯示卡為例)

代碼:
discover --model video
NV28 [GeForce4 Ti 4200 AGP 8x]


列出音效卡所使用的模組:(以我的音效卡為例)
代碼:
discover --module sound
i810_audio


列出顯示卡製造商:(以我的顯示卡為例)
代碼:
discover --vendor video
NVIDIA Corporation


列出所使用的 XFree86 模組:(以我的顯示卡為例)
代碼:
discover --xdriver video
parse error reading X server string `unknown'
unknown


列出所使用的 XFree86 模組:(以 VMware 的顯示卡為例)
(註:我的 VMware 裡面並沒有安裝 XFree86!那它到底是如何偵測到的呢?)
代碼:
discover --xdriver video
vmware


偵測所有介面上的顯示卡:(以我的顯示卡為例)
代碼:
discover --enable-all video
NVIDIA Corporation NV28 [GeForce4 Ti 4200 AGP 8x]

dpkg 語法

dpkg 是 Debian GNU/Linux 底下管理套件的工具,提供比較低階的安裝維護功能,一般而言,使用者會使用比較友善的 dselect 或是 aptitude

顯示目前裝在系統中的所有 packages(rpm 用 rpm -qa)

dpkg --list

想知道總共有那些檔案安裝在系統中(rpm 為 rpm -ql samba)

dpkg --listfiles samba

或是在系統中有某個執行檔, 想知道屬於那個 package, 這樣在別台機器中才有辦法安裝

$ which smbd
/usr/sbin/smbd
$ dpkg --search /usr/sbin/smbd
samba: /usr/sbin/smbd

最前面的 samba 即為 package 名稱, 先用 which 找到 smbd 這個執行檔放在那個路徑, 再用 dpkg --search 來找到 package

名稱(redhat 中則用 rpm -qf /usr/sbin/smbd)

看 package 的說明(redhat 為 rpm -qi samba)

dpkg --status package_name 

dpkg -s package_name

假設我們由網路上自行抓了一個 .deb 的檔回來, 這時就要用 dpkg 來安裝(redhat 為 rpm -i xxx.rpm)

dpkg --install package_name.deb

dpkg -i package_name.deb

移除某個 package(rpm 為 rpm -e package_name)

dpkg --remove package_name

dpkg -r package_name

徹底移除 package

dpkg --purge package_name 

dpkg -P package_name

在還未安裝到系統中前, 查看會安裝那些檔案在系統中(rpm 用 rpm -qlp xxx.rpm)

dpkg --contents package_name.deb

dpkg -c package_name.deb

在還未安裝到系統中前, 查看 deb 檔es的資訊(rpm 用 rpm -qip xxx.rpm)

dpkg --info xxx.deb

顯示目前各個軟體套件的安裝狀態(未安裝、正確安裝、被移除、完整移除、安裝失敗等等)

dpkg --get-selections

如何在升級套件時, 讓某些套件不要更新:

echo "packagename hold" | dpkg --set-selections

aptitude 介紹

介面

先來看一下 aptitude 的畫面。
http://chuany.net/gallery/album26/C8_3_aptitude_main?full=1

解釋一下這六個項目:

1. New Packages:update list 後所增加的套件
2. Installed Package:系統已安裝的
3. Not Installed Package:尚未安裝的
4. Obsolete and Locally Created Package:非 apt port 所安裝的package,通常為自己建立的deb居多
5. Virtual Packages:這邊的package本身不存在,通常是為了套件相依性而產生,也可以下拉看看該package的版本,比如kernel-image-2.4,往下拉就會看到更多不同版本,比如686/k6/k7等。
6. Tasks:類似tasksel,以不同需求分類package,比如一般桌面使用,我們可以在 End-User 這個區域找到方便使用的軟體

套件狀態

1. h:Hold,保留
2. d:Remove,移除
3. p:Purge,同移除,但會將設定檔也刪除
4. B:Broken,表示該套件與其他套件的相依性出錯
5. i:Install,安裝
6. r:Reinstall,重新安裝
7. u:Upgrade,該套件有新的版本可供升級

功能鍵說明

在使用 aptitude 之前,一些操作的指令與模式需要先熟悉,以下列出的是常用的按鍵組合:

1. +:安裝
2. -:移除
3. _:同移除,但會將設定檔也刪掉
4. =:保留套件不被升級
5. L:重新安裝
6. u:同 apt-get update
7. g:執行 apt-get install
8. d:找出packages與此套件的相依性:suggest/recommanded/depends
9. r:找出套件 depends on 的package
10. enter:顯示套件資訊
11. /:收尋套件
12. \:收尋結果的上一步
13. ?:help視窗

上面最有爭議的大概就是 r / d 這兩個用法了,舉個例子來說明會比較清楚一點,我們就拿xserver-xfree86吧。

這是按下 "r" 的結果:
http://chuany.net/gallery/album26/C8_3_aptitude_1
游標停在 x-window-system-core這一個package上,在此套件上一行寫著 Depends,這代表什麼呢?這表示 x-window-system-core 是 depends on xserver-xfree86,要安裝 x-window-system-core 的話,就會安裝 xserver-xfree86以符合相依性,但對 xserver-xfree86 這個套件來說,有無安裝 x-window-system-core 並不影響。

如果事先已經安裝了 x-window-system-core,且在這個視窗我們進行移除 xserver-xfree86的話,就會發現 x-window-system-core 會有 "B"(broken)的狀態,見下圖:
http://chuany.net/gallery/album26/C8_3_aptitude_1_B
這是按下 "d" 的結果:
http://chuany.net/gallery/album26/C8_3_aptitude_2
游 標停在 xserver-common 的地方,上兩行寫著 Depends,這又是代表什麼呢?表示說 xserver-xfree86 depends on xserver-common的意思,如果將 xserver-common移除,那 xserver-xfree86就會出現 "B"(Broken),見下圖:
http://chuany.net/gallery/album26/C8_3_aptitude_2_B
以上這些指令與狀態表皆可在aptitude的help中看到。

心得

通常安裝package最怕的就是出現 broken 訊息時,往往只是看到一個 apt-get 的訊息,移除了一個之後,發現又出現下一個,這時,我建議是透過 aptitude,然後利用 r/d 來找出是那個 package 出了問題,會是比較方便且快速的辦法。

別小看 aptitude 這些功能,其實aptitude還可以"downgrade",只要將source.list中加入舊版的資訊,在aptitude中就可以安裝特定的版本,如果遇到 dependency 的麻煩,就善用上面所說的技巧,找出最穩當的方式來操作,相信會比貿然"降級",而發現系統掛掉來的有保障多了。