last modified on

Open Theme Standard

Open Theme Standard について

OTS: Open Theme Standard(よい訳語はないので以降も OTS と書きます)は、Windows 用に開発されている互換シェルの LiteStep で使われる「テーマ(theme)」の制作ガイドラインです。LiteStep はプログラム・ファイル(".exe", ".dll" といった実行ファイル)をただインストールして起動するだけではなにもしてくれません。「デスクトップ」というユーザーインターフェイスとして機能させるには、step.rc をはじめとする設定ファイルを記述して、LiteStep に何をさせるかを選び、拡張機能を提供する「プラグイン」をそれらの設定ともども追加して、場合によっては見栄えを整えるために画像ファイルも追加しなければなりません。そうした、LiteStep を実際にユーザーインターフェイスとして使い物にするための設定と追加ファイルなどの一式を「テーマ」と呼んでいます。そして、OTS はそのテーマをどのようにつくればよいかという指針を与えるために公開されました。

LiteStep が Windows 用の互換シェルの中で最も「パワフル」と言われている理由の一つは、実行ファイルをインストールしただけでは何も起こらない、つまりユーザーが自由に自分のデスクトップ環境を殆ど一から構築できる(逆に言えば「殆ど一から構築しなければ何もできない」)点にあります。これを Windows 標準のシェルであるエクスプローラと比べてみましょう。エクスプローラでは、タスクバーをスクリーンの上辺や右辺に移動させたり、高さを或る一定の単位ごとに伸縮させられます。これに対し、LiteStep ではエクスプローラができることに加えて「タスクバーなし」という選択も可能ですし、タスクバーを半分の幅にしたり 1 ピクセル単位で高さを設定できます。見栄えについても好きな画像を使えます。しかしこのようにかなり融通の利くソフトウェアは、設定をユーザー側に任せるということになるので、カスタマイズの幅があるのと同時に初心者には敷居が高いという特徴をもちます(敢えて「欠点」とは言いません)。

テーマの構成いまむかし

これに加えて、LiteStep の挙動や動作環境を設定する step.rc ファイルには、外部のテキストファイルから設定を読み込む "include" 命令が使えるようになり、設定のおおもとになる step.rc ファイルには include 命令だけを書いて、実質的な設定内容は他のファイルに書くという習慣が広まりました。そのため、ユーザーごとに設定ファイルの位置やフォルダの位置関係がバラバラになりがちです。また、LiteStep のコミュニティーでは幾つかのサイトでユーザーが使っている(あるいは公開目的でわざわざ制作した)テーマを公開して他のユーザーに使ってもらうという慣行があり、設定ファイルの場所やフォルダの位置関係がユーザーごとに異なっているという状況は、自分で最初からテーマを設定する代わりに他の人が用意したテーマを使って LiteStep を使ってみようという初心者(実際にはパワーユーザーも混乱する)を混乱させることにもなりました。

LiteStep's customizability and openness stem from many things such as its internal architecture, its reliance on plugins to implement features rather than a bloated core, and the fact that when it comes to themes, it doesn't really dictate how things should be done. This meant that up until a few years ago, every LiteStep theme was unique - not only in its appearance and functionality - but in its file structure and internal architecture. Therefore every single LiteStep theme had to be installed in a unique manner. Users would download a theme, pore over installation instructions (when these were provided), adjust settings, tweak certain aspects to their preference (usually hotkeys and popup menu), hope they covered everything, and then try using the theme. And they would have to do this repeatedly, but in a different manner, for each theme. Returning now to the Open Theme Standard for LiteStep, the OTS defines a set format for LiteStep themes. LiteStep themes are still as aesthetically and functionally distinct as they ever were, but certain aspects of their behaviour have been reigned in, in order to provide users with some consistency in their user interface (mainly hotkeys and popup menu) and simplify the process of LiteStep theme installation. By defining a set structure for LiteStep themes, the OTS aims to organise and simplify the process of installing, creating, using and distributing LiteStep themes. These were the overriding considerations in drafting the OTS specification, i.e.: To establish a standard format for LiteStep themes To standardise and simplify the process of installing themes To make user-defined personal settings (application paths, hotkeys, popup, etc.) available in all themes To do all of the above without impinging on theme authors' flexibility in creating themes, and without making theme creation cumbersome

Author: 河本孝之 (Takayuki Kawamoto, also known as philsci).
[contact with philsci]
1st appeared on [2003-02-18 01.36 (JST: GMT+0900) @733].
Revised on 17th July, 2004.
Acknowledgement: Francis Gastellu, the founder of this shell replacemnet and every members in the LiteStep development team.

copyright©1999-2004 by takayuki kawamoto (philsci), all rights reserved.
written in xhtml 1.0 strict, cascading stylesheets level 2.1, and javascript 1.2 or later with encoding in utf-8n [cr/lf].