/26/2007 - 13:09 — alan

Links

安裝icewm
$ sudo aptitude install icewm menu 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/

  1. freshmeat.net | IceWM
  2. LXIce
  3. SpreadBuntu

preferences
可以參考:IceWM: Preferences
$ vi ~/.icewm/preferences

# Command to shutdown the system
ShutdownCommand="sudo /sbin/shutdown -h now"

# Command to reboot the system
RebootCommand="sudo /sbin/shutdown -r now"

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

startup
$ vi ~/.icewm/startup

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

記得加上可執行權限
$ chmod +x ~/.icewm/startup

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

keys
$ vi ~/.icewm/keys

key "Super+a" audacious
key "Super+c" xcalc
key "Super+d" stardict
key "Super+e" emacs
key "Super+f" iceweasel
key "Super+g" gimp
key "Super+m" gmplayer
key "Super+n" amsn
key "Super+p" pcmanfm
key "Super+t" roxterm
key "Super+u" urxvtc
key "Super+v" gvim
key "Super+w" oowriter
key "Super+x" rox-filer
key "Super+y" /usr/bin/su-to-root -X -c /usr/sbin/synaptic
key "Super+z" filezilla

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