## ## 設定メモ ## # # ウインドウ名を個別指定する場合の名前は # xprop コマンドで表示される WM_CLASS の最初の値参照のこと。 # WM_CLASS がない場合は WM_NAME を使う。 # ## ## オプションいろいろ ## #ClientBorderWidth DecorateTransients ## ウインドウ移動などの時にサーバをGrabしない NoGrabServer ## なるべく位置を保存する RestartPreviousState ## ウインドウ表示位置を指定しないで自動表示 RandomPlacement ## スクリーン外への移動を禁止する DontMoveOff ## ウインドウ移動の際に枠以外も表示する #OpaqueMove ## ## Function 設定 ## Function "move-or-iconify" { f.move f.deltastop f.iconify } Function "move-or-lower" { f.move f.deltastop f.lower } Function "move-or-raise" { f.move f.deltastop f.raise } ## ## マウス動作の設定 ## ## ドラッグ開始の大きさ MoveDelta 3 ## 左クリック Button1 = : icon : f.function "move-or-iconify" Button1 = : iconmgr : f.iconify Button1 = : title : f.function "move-or-raise" Button1 = : frame : f.resize Button1 = m : window|icon : f.function "move-or-raise" ## 中クリック Button2 = : icon : f.iconify Button2 = : iconmgr : f.iconify Button2 = : title : f.raiselower Button2 = m : window|icon : f.iconify ## 右クリック Button3 = : root : f.menu "rootmenu" Button3 = m : window : f.resize ### ### キーボード動作の設定 ### ## ショートカット "F5" = m : all : f.exec "exec mlterm &" "F6" = m : all : f.exec "exec emacs &" "F7" = m : all : f.exec "exec sylpheed &" "F8" = m : all : f.exec "exec xmms &" #"F9" = m : all : f.exec "exec mozilla -splash &" "F9" = m : all : f.exec "exec netscape -splash &" ## アイコン化する "F12" = : all : f.iconify "F12" = m : all : f.exec "exec xset dpms force off &" ### ### フォント設定 ### IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*" MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ### ### 色設定 ### Color { ## 枠の色 BorderColor "black" { ## アプリ別個別指定 "xosview" "rgb:d6/d6/d6" "dclock" "rgb:10/24/4d" "TWM Icon Manager" "rgb:d6/d6/d6" } DefaultBackground "rgb:d6/d6/d6" DefaultForeground "rgb:00/00/00" TitleBackground "rgb:7b/a1/bd" TitleForeground "rgb:3b/3b/3b" MenuBackground "rgb:d6/d6/d6" MenuForeground "rgb:00/00/00" MenuTitleBackground "rgb:7b/a1/bd" MenuTitleForeground "rgb:3b/3b/3b" IconBorderColor "rgb:d6/d6/d6" IconBackground "rgb:7b/a1/bd" IconForeground "rgb:3b/3b/3b" IconManagerBackground "rgb:7b/a1/bd" IconManagerForeground "rgb:3b/3b/3b" } # # アイコンマネージャ設定 # ## アイコンマネージャを表示 ShowIconManager ## タイトルをアルファベット順に並べる #SortIconManager ## アイコンマネージャの位置・サイズ IconManagerGeometry "250x10+0+0" ## アイコンマネージャに表示しないアプリ IconManagerDontShow { #"XMMS_Player" "XMMS_Equalizer" "XMMS_Playlist" "dclock" "ticker.app" "gkrellm" ## X 付属アプリ "xclock" "xeyes" "xosview" } ## アイコン画像の場所 #IconDirectory "" ## アイコンの指定 #Icons #{ #} ## アイコン化した場合にアイコンを表示しない IconifyByUnmapping ## 強制的にアイコンを指定する #ForceIcons ## アイコンの枠の太さ IconBorderWidth 4 ## アイコンを配置する場所の範囲を決める IconRegion "500x200+250+0" North East 25 25 ## ## ウインドウ切り替えの設定 ## ## Alt + Tab で次のウインドウに切り替える "Tab" = m : all : f.warpring "next" ## Alt + Shift + Tab で前のウインドウに切り替える "Tab" = m|s : all : f.warpring "prev" ## 切り替えるアプリケーション WindowRing { "Aria" "AcroRead" "Emacs" "Gimp" "Gxine" "mlterm" "Sylpheed" "RealPlayer" "GImageView" "Xnp2" "XMMS_Player" #"XMMS_Equalizer" #"XMMS_Playlist" "XPlns" "xv" "JNetHack" "Gflashplayer" "Mozilla" "Firefox-bin" ## JAVA 関連 "sun.plugin.navig.motif.Plugin" "sun.applet.AppletViewer" # アプレットビューア "CrimChat.CrimChat" # IRC ソフトウェア LatteChat "V2C.V2CMain" ## X 付属アプリ "kterm" "xcalc" "xcolorsel" "xfd" "xfontsel" "xmag" "xmh" "xterm" } ### ### タイトルバーの設定 ### ## タイトルバーを伸縮する SqueezeTitle ## タイトルバーを伸縮しないアプリ DontSqueezeTitle { #"Mozilla" #"RealPlayer" "CrimChat.ChatWindow" # LatteChat メインウインドウ } ## タイトルバーを表示しないアプリ NoTitle { ##その他 "XMMS_Player" "XMMS_Equalizer" "XMMS_Playlist" "dclock" "ticker.app" "gkrellm" ##日本語入力関連 "kinput2" "selectionShell" "auxShell" "mozilla-im-status" ## X 付属アプリ "TWM Icon Manager" "xclock" "xeyes" "xosview" } ## ボタン周りのインデント ButtonIndent 2 ## 閉じるボタン RightTitleButton ":xlogo" = f.delete ## 最大化ボタン #RightTitleButton ":menu" = f.fullzoom ### ### ウインドウ枠の設定 ### ## 枠の太さ BorderWidth 4 ## ハイライト非表示のアプリ NoHighlight { ## その他 "dclock" ## 日本語入力関連 "kinput2" "selectionShell" "auxShell" "mozilla-im-status" ## X 付属アプリ "TWM Icon Manager" "xclock" "xeyes" "xosview" } ### ### カーソル設定 ### Cursors { Frame "top_left_arrow" Title "top_left_arrow" Icon "top_left_arrow" IconMgr "top_left_arrow" Move "fleur" Resize "fleur" Menu "top_left_arrow" Button "hand2" Wait "watch" Select "dot" Destroy "pirate" } ### ### メニュー設定 ### ## メニューの影を表示しない NoMenuShadows ## ルートメニュー menu "rootmenu" { "RootMenu" f.title "AcrobatReader" f.exec "exec acroread -geometry 800x900 &" "Aria" f.exec "exec aria &" "GIMP" f.exec "exec gimp &" "GImageView" f.exec "exec gimv &" "GNU Emacs" f.exec "exec emacs &" "GXine" f.exec "exec gxine &" # "JNetHack" f.exec "exec /home/kz/jnethack/games/jnethack -D &" # "KTerm" f.exec "exec kterm -fg white -bg black &" "Java Web Start" f.exec "exec /usr/lib/java/jre/javaws/javaws &" "MLTerm" f.exec "exec mlterm &" # "Mozilla" f.exec "exec mozilla &" "Netscape7" f.exec "exec netscape -splash &" "RealPlayer" f.exec "exec realplay &" "Sylpheed" f.exec "exec sylpheed &" "XMMS" f.exec "exec xmms &" "XPlns" f.exec "exec xplns &" "" f.nop "Emulators" ("rgb:3b/3b/3b" : "rgb:7b/a1/bd") f.menu "emumenu" "Tools" ("rgb:3b/3b/3b" : "rgb:7b/a1/bd") f.menu "toolmenu" "Window" ("rgb:3b/3b/3b" : "rgb:7b/a1/bd") f.menu "windowmenu" "" f.nop "Restart" f.restart "Exit" f.quit } ## エミュレータメニュー menu "emumenu" { "Emulators" f.title "Xnp2" f.exec "exec xnp2 &" } ## ウインドウ操作メニュー menu "windowmenu" { "WindowMenu" f.title "Kill" f.destroy "Delete" f.delete "" f.nop "Iconify" f.iconify "Lower" f.lower "Move" f.move "Raise" f.raise "Resize" f.resize "" f.nop "Focus" f.focus "Unfocus" f.unfocus "" f.nop "Show Icon Manager" f.showiconmgr "Hide Icon Manager" f.hideiconmgr } menu "toolmenu" { "Tools" f.title "Audio Mixer" f.exec "exec aumix &" "Calcurator" f.exec "exec xcalc &" "ColorSelector" f.exec "exec xcolorsel -rgb8 &" "Eyes" f.exec "exec xeyes &" "FontSelector" f.exec "exec xfontsel &" "GTK+ 2.x Prefs" f.exec "exec gtk2_prefs &" "Load Average" f.exec "exec xload -update 1 &" "Magnify Screen" f.exec "exec xmag &" } ## ## 小物アプリURL ## # dclock # http://bach.ece.jhu.edu/~tim/programs/ # exec dclock -g 100x50-0-0 -bg rgb:10/24/4d -fg rgb:7b/a1/bd -led_off rgb:20/20/60 -date "%m/%d %Y" & # # Ticker.app # exec ticker.app -bw -f ~/.tbsnews -fn "-microsoft-ms ui gothic-bold-r-normal--15-*-*-*-*-*-*-*" -fp "-microsoft-ms ui gothic-bold-r-normal--12-*-*-*-*-*-*-*" -pp +258+0 -p -bg rgb:7b/a1/bd -fg rgb:3b/3b/3b &