本节的翻译还未完成。在未完成之前,所有的未完成部分都将使用英语原文。

Haiku的图形用户界面

Haiku的图形用户界面是系统的组成部分。与基于Unix的操作系统不同的是,Haiku没有独立的窗口管理器,而且在启动时不能够进入命令行界面。Haiku所面向的人群是桌面用户,所以命令行界面不是非常必要。

鉴于您已经有过使用其他图形环境的经历,那么我们就跳过这些标准,例如,菜单,右键菜单,拖拽操作等; 直接开始了解Haiku图形用户界面与其他系统不同的地方。

gui.png

Haiku的图形界面只有很少一部分不是很常见,可能需要进行解释。

  1. 桌面栏可以看做是Haiku的"开始"菜单和任务栏(如果您愿意这样认为的话),详情参阅桌面栏主题。

  2. 黄色的标签不仅仅提供了程序名或者文档的文件名:
    • 在拖动窗口时,您可以同时按下 SHIFT 键来移动标签,这样您可以将许多窗口进行叠加,而只需要点击标签即可方便的进行访问。
    • 双击标签可以最小化窗口(或者使用 CTRL ALT M 组合键)。通过这种方式隐藏的窗口可以通过 桌面栏 或者 Twitcher 进行访问。
    • 您可以通过右键点击标签(或者窗口边界)来置后窗口。
  3. 关闭按钮

  4. “缩放”按钮(也可以通过CTRL ALT Z 组合键进行缩放)。对于大多数的程序,该按钮将会把窗口最大化。但并不是都如此,例如Tracker窗口,该按钮将会依据其内容将窗口放大至合适大小。

  5. 可调整的窗口边角。在窗口的边缘拖拽将会移动整个窗口。

如果同时按下 CTRL ALT 键,您可以使用左键点击在窗口的任意位置对它进行移动,而右键点击将会使其返回原位。

index 打开和保存面板

从任意的程序打开或保存文件都将会打开类似于下面的面板:

open-save.png

It has all the usual things: A list of files of the current folder to choose from, in case of a save panel, a text field to enter a filename and a pop-up menu for different file formats and their settings.
You can enter parent folders with the pop-up menu above the file listing.

If you already have a Tracker window with the location for a file open, you can simply drag either any file or the folder-representation (i.e. the symbol to the far right in its menu bar) into the panel. This changes the panel to that new location.

index 快捷键

Many shortcuts in open and save panels are the same used in Tracker. Besides the commands that are also available through the File menu, there are a few not that obvious:

ALT N Creates a new folder.
ALT E Lets you rename the selected entry.
ALT Moves into the parent folder.
ALT or ENTER Moves into the selected folder.
ALT D Takes you to your Desktop.
ALT H Takes you to your Home folder.

index 收藏夹和最近的文件夹

The Favorites menu in open and save panels provides recently visited folders and favorite locations that you can set up yourself. As indicated by the little arrow, you can also use these locations to navigate further down the hierarchy via submenus.

favorites.png

To add a Favorite, you simply navigate to your destination and choose Favorites | Add Current Folder. From now on it will appear in every open/save panel. To remove a Favorite, choose Favorites | Configure Favorites... and delete its entry.
All Favorites are kept in /boot/home/config/settings/Tracker/Go/. So you might as well add and remove links to files and folders there directly.

index Replicants

Replicants are small self-contained parts of applications that can be integrated into other programs. Provided Deskbar's option to Show Replicants is activated, you'll recognize a replicantable part of an application by its small handle, normally in the bottom right corner:

replicant.png

The most prominent place that accepts Replicants is the Desktop: You simply drag&drop the little handle onto it. From now on it's part of the Desktop and the Replicant's originating app doesn't have to be started for it to work.
A right-click on a Replicant handle offers a context menu to show the originating app's About window and to Remove Replicant.

Should you experience difficulties with a Replicant on the Desktop and just can't get rid of it, delete ~/config/settings/Tracker/tracker_shelf. Unfortunately, this will remove all Replicants from the Desktop.

Examples for replicatable applications are the graphs of the ActivityMonitor, the Workspaces applet or DeskCalc.