Haiku's grafiska miljö
Haiku's grafiska gränssnitt är integrerat i själva operativsystemet. Till skillnad från Unix-baserade operativsystem finns det ingen separat fönsterhanterare, det går därför inte att starta upp Haiku till skalet. Haiku's fokus är på skrivbordsanvändaren, därför anses det inte vara nödvändigt.
Eftersom du antagligen har erfarenhet av andra grafiska miljöer hoppar vi över saker som menyer, höger-klick, drag-och-släpp med mera. I stället tar vi och tittar på vad som är unikt med Haiku's grafiska miljö.
Det finns några få saker i Haiku's grafiska miljö som kanske inte är helt självklara, och därför förtjänar en förklaring.
Deskbar är Haiku's motsvarighet till Windows startmeny, och även verktygsfält om du så vill. Avsnittet Deskbar beskriver dess funktionalitet ytterligare.
- The yellow tab offers more than just a program's name or a document's filename:
- You can move it by holding the SHIFT key while dragging it to another position, enabling you to stack a number of windows and conveniently access them by their named tab.
- You minimize a window with a double-click on its tab (or with CTRL ALT M). A such hidden window can be accessed by its entry in the Deskbar or the Twitcher.
- You can send a window to the back with a right-click on its tab (or its border).
Stängningsknapp.
The "zoom" button (or CTRL ALT Z). In most applications, this will expand a window to maximum size. It doesn't have to, however. Tracker windows, for example, will resize to best fit the contents.
Hörn för storleksändring av fönster. Dragning någon annan stans på fönsterkanten kommer att flytta fönstret.
Ett snabbt sätt att flytta och ändra storlek på fönster
Moving and resizing windows is a large part of interacting with several concurrently running applications. Instead of aiming at the small yellow title tab or the even tinier window border, there's a more convenient way to move a window. Also, additionally to its small size, the resize corner has another limitation: It only allows resizing at and in the direction of the lower right corner.
To address these issues, Haiku provides a neat solution using the window management key combo CTRL ALT and the mouse. See also chapter Shortcuts and key combinations for more shortcuts concerning window management.
Holding down CTRL ALT will highlight the window borders nearest to the mouse pointer. Move the mouse in the direction of another border to change the target. Click and dragging with the right mouse button will resize the window along the highlighted border(s).
Hold down CTRL ALT and click and drag with the left mouse button anywhere in a window to move it around. A quick click with the right mouse button sends it to the back.
Dialogrutorna Öppna och Spara
When opening or saving a file from any application, a panel like this opens:
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.
Kortkommandon
Flera kortkommandon i dialogrutorna för öppna och spara är samma som i Tracker. Förutom dom kommandon som också är tillgängliga via
menyn, finns det några fler som kan vara bra att känna till:ALT N | Skapar en ny mapp. | |
ALT E | Döpa om mapp. | |
ALT ↑ | Öppnar överordnad mapp. | |
ALT ↓ eller ENTER | Öppnar underordnad mapp. | |
ALT D | Tar dig till Skrivbordet. | |
ALT H | Tar dig till din Hem mapp. |
Favoriter och senaste mapparna
The
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.To add a Favorite, you simply navigate to your destination and choose
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.
Replikanter
Replicants are small self-contained parts of applications that can be integrated into other programs. Provided Deskbar's option to
is activated, you'll recognize a replicantable part of an application by its small handle, normally in the bottom right corner: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 window and to .
Examples for replicatable applications are the graphs of the ActivityMonitor, the Workspaces applet or DeskCalc.