icewm

安裝icewm

$ sudo aptitude install icewm menu xlockmore
# icemc iceconf

將/usr/share/icewm 裡要修改的檔案 cp 到 ~/.icewm/

toolbar

$ vi ~/.icewm/toolbar

prog    "urxvt" urxvt /usr/bin/urxvt
prog    "iceweasel" iceweasel /usr/bin/iceweasel

格式是prog [顯示名稱] [圖示] [指令]

theme

$ mkdir .icewm/themes
$ mv yourtheme .icewm/themes/

preferences

可以參考:IceWM: Preferences

$ vi ~/.icewm/preferences

WorkspaceNames=" 1 ", " 2 "

#  Auto hide task bar after delay
# TaskBarAutoHide=1 # 0/1

#  Show APM/ACPI/Battery/Power status monitor on task bar
# TaskBarShowAPMStatus=1 # 0/1

#  Show APM status on task bar in time-format
# TaskBarShowAPMTime=0 # 0/1

# Command to lock display/screensaver
LockCommand="xlock"

#  Clock Time format (strftime format string)
TimeFormat="%H:%M"

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

winoptions

$ vi ~/.icewm/winoptions

# keep apps maximized and without title bar

emacs.startMaximized: 1
emacs.dTitleBar: 0

startup

$ vi ~/.icewm/startup

#!/bin/sh
#啟動 urxvt 的 daemon
urxvtd -q -f -o &
#啟動 emacs-snapshot
emacs-snapshot &

記得加上可執行權限

$ chmod +x ~/.icewm/startup

cursor theme

$ sudo aptitude install dmz-cursor-theme
$ sudo update-alternatives --config x-cursor-theme

keys

保留 Super + r 跟 s ,免得跟emacs相衝。目前 icewm 好像沒辦法設 Super_L

Super = win = Alt+Ctrl

$ vi ~/.icewm/keys

key "Super+e" emacs
key "Super+f" iceweasel
key "Super+p" pcmanfm
key "Super+t" urxvtc
key "Super+x" xterm

key "Print" scrot
key "Ctrl+Alt+k" xkill

相關網站

[ 書籤 | 搜尋 | blog | 留言 | Home ]

Firefox Emacs Muse Debian

最後更新 五月 12, 2008 , by alan

Creative Commons License
本 著作 係採用 創用 CC 姓名標示-非商業性-相同方式分享 2.5 台灣 授權條款授權.