Tag Archives: ランチャー

Blackbox の slit に DockApp を設置

Blackbox の slit を使ってみた。

その前に、画面上部に設置したツールバーの右端。日付と時計を表示した。

これは、.blackboxrc を変更すればよい。

session.screen0.strftimeFormat: %Y-%m-%d %H:%M

さて、slilt は、画面の右端に設置した。ポジションはマウス右クリックで変更できる。

この画面では、上から、

  • wmpop3lb
  • wmtop
  • wmcube
  • wmcpuload
  • wmapmload
  • wmclockmon
  • wmpuzzle
  • wmappl

の順で slit の中にドックアプリケーションが並んでいる。

slit に格納したいドックアプリケーションは、あらかじめ make しておいて、.xsession に起動コマンドを記述すればよい。それぞれ、--help で起動オプションを確認すること。

.xsession の例

#!/bin/sh

wmcube &
wmtop &
wmpop3lb &
wmpuzzle &
wmcpuload -bl -lc YellowGreen &
wmclockmon -bl -lc orange -nl &
wmapmload -bl -lc hotpink &
wmappl &

blackbox

wmpop3lb は、メール着信を定期的に確認できる。.wmpop3rc という設定ファイルを編集する必要がある。

wmcube は、コンパイルなどで CPU を使うと、グルングルン回るので面白い。

wmappl は、アプリケーション起動アイコンを並べられる。16×16ピクセルサイズ。.wmapplrc というい設定ファイルを編集する。

 

Blackbox で SimDock

Blackbox で SimDock が使えたよなメモ。

まず壁紙を表示して、

> display -window root bg.jpg

Blackbox の toolbar は画面上部へ移動しておき、

.blackboxrc

session.screen0.toolbar.placement:  TopCenter

で、SimDock を インストールしてから、起動する。

# cd /usr/ports/x11/simdock
# make config-recursive
# make install clean

> simdock --background=bg.jpg

 こんな感じ↓に、画面下部にドックが表示される。

/usr/local/lib/firefox/icons/mozicon128.jpg を使おうとするとエラーが表示されるのが難点。

 

壁紙は、今回も .foto project 様よりお借りしました。

FVWM2 Crystal

デスクトップのデザインを変更するのに、もうひとつ。

x11-wm/fvwm-crystal

# cd /usr/ports/x11-wm/fvwm-crystal
# make config-recursive
# make install clean

の後に、.xsessions を変更。

#!/bin/sh

xterm -geometry 80×35+1+1 &
#fvwm2
fvwm-crystal

で、次の画面のようにかなり綺麗なデスクトップになる。

 

FVWM2 の FvwmButtons を 2 つ使う

この画像のように、従来からの画面右下の FvwmButtons の他に、画面右上にも別の FvwmButtons を設置した。

なお、画面右上の FvwmButtons に張り付いているアイコンは、SOFT ICONS から利用させて頂く。

.fvwm2rc

# Styles for various Fvwm modules:
Style “Fvwm*”       !Title,  Sticky, WindowListSkip
Style “Fvwm*”       BorderWidth 2, CirculateSkipIcon, CirculateSkip
Style “FvwmPager”   StaysOnTop
Style “FvwmBanner”  StaysOnTop
Style “FvwmButtons” Icon toolbox.xpm, ClickToFocus, HandleWidth 1
Style “FvwmButtonsSub”  HandleWidth 1

(途中略)

################## Initialization Functions ###################
AddToFunc StartFunction
 + I Module FvwmButtons

AddToFunc StartFunction
 + I Module FvwmButtons FvwmButtonsSub

(途中略)

################## FvwmButtons button-bar ##################
*FvwmButtons: Geometry -1-1
*FvwmButtons: Back bisque3
*FvwmButtons: Rows 1
*FvwmButtons: (Frame 2 Swallow(UseOld) “FvwmPager” “Module FvwmPager 0 0 “)
*FvwmButtons: (2×1 Frame 2 Swallow(UseOld,NoHints,Respawn) “xload” ‘Exec exec xload -bg li
ghtblue3 -fg lightblue4 -update 5 -nolabel’)
*FvwmButtons: (Size 60 60 Frame 2 Swallow(UseOld,NoHints,Respawn) “xclock” ‘Exec exec xclo
ck -bg olivedrab2 -fg black -hd black -hl black -padding 5 -update 1′)

*FvwmButtonsSub: Geometry -10+10
*FvwmButtonsSub: Back None
*FvwmButtonsSub: Columns 1
*FvwmButtonsSub: (Frame 0 Padding 10 4 Title “” Icon /home/regza/icon/term.png Action ‘Exe
c exec xterm &’)
*FvwmButtonsSub: (Frame 0 Padding 10 4 Title “” Icon /home/regza/icon/firefox.png Action ‘
Exec exec firefox3 &’)
*FvwmButtonsSub: (Frame 0 Padding 10 4 Title “” Icon /home/regza/icon/mail.png Action ‘Exe
c exec sylpheed &’)
*FvwmButtonsSub: (Frame 0 Padding 10 4 Title “” Icon /home/regza/icon/magik.png Action ‘Ex
ec exec display &’)
*FvwmButtonsSub: (Frame 0 Padding 10 4 Title “” Icon /home/regza/icon/graph.png Action ‘Ex
ec exec gimp &’)
*FvwmButtonsSub: (Frame 0 Padding 10 4 Title “” Icon /home/regza/icon/ascii.png Action ‘Ex
ec exec gvim &’)
*FvwmButtonsSub: (Frame 0 Padding 10 4 Title “” Icon /home/regza/icon/write.png Action ‘Ex
ec exec gedit &’)
*FvwmButtonsSub: (Frame 0 Padding 10 4 Title “” Icon /home/regza/icon/drive.png Action ‘Ex
ec exec rox &’)

 

FWVM2 の(マウスクリック)メニュー

マウスクリックでもアプリケーションを起動したいので .fvwm2rc を変更した。

######################## Menus ###################
AddToMenu RootMenu      “Root Menu”     Title
+                       “XTerm”         Exec exec xterm
+                       “Rxvt”          Exec exec rxvt
+                       “”              Nop
+                       “FireFox3″      Exec exec firefox3
+                       “Sylpheed”      Exec exec sylpheed
+                       “gFtp”          Exec exec gftp
+                       “”              Nop
+                       “GIMP”          Exec exec gimp
+                       “ImageMagick”   Exec exec display
+                       “”              Nop
+                       “rox-filer”     Exec exec rox
+                       “”              Nop
+                       “Remote Logins” Popup Remote-Logins
+                       “”              Nop
+                       “Utilities”     Popup Utilities
+                       “”              Nop
+                       “Fvwm Modules”            Popup Module-Popup
+                       “Fvwm Window Ops”         Popup Window-Ops
+                       “Fvwm Simple Config Ops”  Popup Misc-Ops
+                       “”              Nop
+                       “Refresh Screen”   Refresh
+                       “Recapture Screen” Recapture
+                       “”              Nop
+                       “Exit Fvwm”     Popup Quit-Verify