SSブログ

Rainmeterでデスクトップ領域を確保する方法 [Software]

GoogleデスクトップやWindowsVistaのサイドバーが無くなってからは、デスクトップのサイドバーとしてRainmeter(http://rainmeter.net/cms/)を利用しています。
スキンも豊富でカスタマイズの柔軟性も高いので重宝しているのですが、GoogleデスクトップやVistaのサイドバーのように、サイドバーの領域だけを確保して、他のウィンドウと重ならないようにできないものかと思っていました。(WindowsVistaで唯一よかったのはサイドバーだったんだけどな~)

で、絶対領域(http://himajin.me.land.to/)やMaxMax(http://www.kmtools.win-os.pl/omaxmax.php?lang=ang)などのデスクトップ領域を確保してくれるツールを利用していたのですが、Rainmeterのヘルプを見ていると以下のようなページが見つかったわけです。

http://docs.rainmeter.net/manual/settings/rainmeter-section
以下、ちらっと引用。
DesktopWorkArea
Defines the area for maximized windows.

With multiple monitors, use DesktopWorkArea@N (where N is the number of the monitor) to set the work area of a specifc monitor. DesktopWorkArea and DesktopWorkArea@0 both represent the primary monitor.

Note: Moving the taskbar will reset the workarea to Windows' default, as will changing screen resolution.

DesktopWorkAreaType Default: 0
If set to 1, DesktopWorkArea will be define margins relative to the edges of the screen.

Example: With DesktopWorkAreaType=0 and DesktopWorkArea=10,20,600,500, maximized windows will use an area of 600x500 pixels, which is located 10 pixels from the left and 20 pixels from the top of the screen. With DesktopWorkAreaType=1 and DesktopWorkArea=10,20,30,40, the area for maximized windows will be 10 pixels from the left, 20 pixels from the top, 30 pixels from the right, and 40 pixels from the bottom of the screen.

Rainmeterだけでも、Rainmeter.iniにDesktopWorkAreaの設定をしてやるとGoogleデスクトップやVistaのサイドバーのようにデスクトップ領域の設定ができるようです。
Googleさんに聞いてみると、それらしいページもいくつか引っかかります。

rainmeter.png

うちはデュアルディスプレイで、サブディスプレイ側にサイドバーを設置したかったのでRainmeter.iniにこんな感じで設定しています。
Rainmeter.iniの設定
[Rainmeter]
DesktopWorkArea@2=0,0,1720,1040

サブディスプレイに設置して、デスクトップ領域を確保する場合は、DesktopWorkAreaに@2をつけるのがミソです。2がRainmeter内のディスプレイ番号を表しているわけです。
ちなみに上のような設定だと、DesktopWorkAreaTypeを設定していないので、ディスプレイの左0ピクセル、上0ピクセルの位置から、1720x1040のサイズの領域が確保されます。
DesktopWorkAreaTypeを1に設定すると、ディスプレイの左、上、右、下に指定ピクセル分の領域を除いた部分がデスクトップ領域になるようです。

nice!(0)  コメント(0)  トラックバック(0) 
共通テーマ:パソコン・インターネット

nice! 0

コメント 0

コメントを書く

お名前:
URL:
コメント:
画像認証:
下の画像に表示されている文字を入力してください。

トラックバック 0

トラックバックの受付は締め切りました

この広告は前回の更新から一定期間経過したブログに表示されています。更新すると自動で解除されます。