IceWM

alan's 的頭像

安裝icewm
$ sudo aptitude install icewm menu xlockmore

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

toolbar
$ vi ~/.icewm/toolbar

prog    "urxvt" urxvt /usr/bin/urxvt

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

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

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

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

WorkspaceNames=" 1 ", " 2 "

# Task bar at top of the screen
TaskBarAtTop=1 # 0/1

#  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 &

記得加上可執行權限
$ 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+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" urxvt
key "Super+v" gvim
key "Super+w" oowriter
key "Super+y" /usr/bin/su-to-root -X -c /usr/sbin/synaptic

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

Links

發表新回應

這個欄位的內容會保密,不會公開顯示。
  • 可使用的 HTML 標籤:<a> <em> <pre><strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><img><h1><h2><h3>
  • 自動斷行和分段。

更多關於格式選項的資訊