製作著作 © 2004, 2005, 2006 Benedikt Meurer
製作著作 © 2006. Daichi Kawahata (daichi@xfce.org)
フリーソフトウェア財団が公表する GNU フリー文書利用許諾契約書の第1.1版、あるいはそれ以降のいずれかの版の条件下において、この文書の複製、配布および/または変更が許可されます。変更出来ない箇所、表紙文および裏表紙文があってはいけません。この利用許諾契約書の全文はフリーソフトウェア財団から取得する事ができます。
April 2006
Xfce デスクトップ環境の 4.x シリーズを通じて、例えばハイパーリンクを開くのに使用されるウェブブラウザーのように、ユーザーが簡単にお気に入りのアプリケーションを設定する方法はありませんでした。このフレームワークXfceお気に入りのアプリはこの制約を取り除いてユーザーが好きなウェブブラウザー、メールリーダー、ターミナルエミュレーターを選べるように Xfce 4.3 で新たに追加されました。
You can access the configuration dialog by clicking on the Xfce Settings Manager. The configuration dialog is split into two pages, which are described in the following sections.
button in theThe first page of the configuration dialog allows you to select your preferred Web Browser and Mail Reader. The selected Web Browser will be used to open hyperlinks that you click on and to display the documentation, whereas the Mail Reader will be used to compose mails.
To select a different Web Browser than the current default one, click on the button in the Default Web Browser section and a list of web browsers that were detected on your system will appear, as shown in 図 2. 「ウェブブラウザーの選択」.
If the Web Browser you are looking for is not automatically detected by the system, you can select 図 3. 「Specify a custom Web Browser」.
from the drop down menu and a dialog will appear asking you to enter the command for the custom Web Browser, as shown in
The special marker %s
in the command will be
substituted with the URL when you click on a hyperlink. When
running just the preferred Web Browser without any URL, i.e.
using exo-open --launch WebBrowser, only the
binary of the specified command will be used and the parameters
will be stripped off. In the example above, with mywebbrowser
"%s" as custom Web Browser, the command
mywebbrowser will be used to open the Web
Browser without an URL.
The first page of the configuration dialog allows you to select your preferred terminal emulator. The preferred terminal emulator will be used throughout the Xfce Desktop Environment to launch applications that need to be run in a CLI (command line interface) environment.
For custom terminal commands, the special marker %s
will be substituted with the application to run in the terminal.
Otherwise the same rules apply as described in インターネットアプリケーション項.
A simple command line frontend to the Xfce Preferred
Applications framework is included, named
exo-open
. Users and developers can use
this utility to launch the preferred application for a certain
category or open URLs with the default URL handler.
exo-open
supports two operation modes.
The first will simply launch the preferred application for a
certain category, optionally passing a parameter (the exact meaning
of the term parameter depends on the category).
For example, to launch the command mutt in the
preferred Terminal Emulator, you would use
exo-open --launch TerminalEmulator mutt
while to just open the preferred Web Browser, the following command would be used:
exo-open --launch WebBrowser
The second mode supported by exo-open
opens
all parameters passed to it with the default URL handlers. Here URLs
mean either fully qualified URLs (i.e.
http://www.xfce.org/
or
mailto:xfce4-dev@xfce.org
) or local paths (i.e.
/home/dude/myfile.txt
). For example to open
/home/dude/file1.mp3
and
/home/dude/file2.txt
in the default
applications, you would use the following command:
exo-open /home/dude/file1.mp3 /home/dude/file2.txt
To start composing a mail to the xfce4-dev mailing list, you can do:
exo-open mailto:xfce4-dev@xfce.org
The Xfce Preferred Applications framework and its
components was written by Benedikt Meurer (<benny@xfce.org>
)
for the Xfce Desktop Environment. For more information, please visit
the Xfce website.
To report a bug or make a suggestion regarding the software or this
manual, use the Xfce
Bug Tracking System (Product: libexo
,
Component: helpers
).
If you have questions about the use or installation of this package, please ask on the xfce mailing list. Development discussion takes place on the xfce4-dev mailing list.
このソフトウェアはフリーソフトウェア財団が公表する GNU 一般公衆利用許諾契約書の条件下に配布されています。第2版あるいは、あなたが選ぶそれ以降の版のいずれかが適用されます。
このプログラムには、GNU 一般公衆利用許諾契約書のコピーが附属するはずですが、もし無いのであればフリーソフトウェア財団に連絡して下さい。59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.