[Previous] [Contents] [Index] [Next]

Getting Started

This chapter covers the basics of using Photon. Topics include:

How to start Photon

To start Photon, enter the following at the QNX system prompt:

ph


Note: If your Photon system has been set up to start automatically at power up, you won't need to enter the ph command. But you may need to enter your user ID and password in the Photon login dialog.

If Photon has just been installed...

When Photon starts for the first time, you'll see a dialog for selecting display preferences:

Display preferences

Choose a graphics setting that best suits your desired working environment. The default setting is a "safe" choice determined by Photon when scanning your hardware. Typically, you'll choose the highest resolution and color depth that your hardware supports. For detailed instructions, see "Changing the graphics resolution and color depth" in the Customizing Photon chapter.

A typical workspace

After Photon has started, it displays a workspace, an area in which you can run applications and display windows. Here's a typical Photon workspace, with some sample applications:

Typical Photon Workspace

Photon actually works with a much larger area than your screen; your desktop consists of nine workspaces or consoles. This is somewhat like your physical desk-the entire desktop is usually bigger than the area you're currently using.

Near the bottom of the screen you see the Photon Desktop Manager (PDM), a convenient tool for launching applications, navigating around the Photon desktop, and more. For more info on using this tool, see the chapter on the Photon Desktop Manager.

At the very bottom of the screen, you see the Taskbar, which shows you at a glance all the applications running on your entire desktop and lets you quickly switch from one application to another. To learn how to use the Taskbar, see "Using the Taskbar" in this chapter.

Using the mouse

Two common mouse operations are:

clicking
pressing and releasing a mouse button.
dragging
holding down a mouse button, moving the mouse, and then releasing the button.

Note: Whenever you see the word "click" or "drag" in Photon documentation, and no mouse button is specified, use the LEFT mouse button. When you're supposed to use the right button, you'll be explicitly instructed to do so.

For a two-button mouse

You use the left mouse button for most operations (such as clicking on a button or dragging an object).

You use the right mouse button to bring up a context-sensitive menu in most applications. For example, you use it to bring up:

For a three-button mouse

When running the Photon Desktop Manager and Window Manager with a three-button mouse, use the far-left button as "left" and the far-right button as "right." Applications that make use of the middle button will tell you how to use it.

Pointers

As you move the mouse, the pointer sometimes changes to give you feedback on your actions. Here are the pointers you'll see most often:

Figure showing basic pointer
Basic pointer-lets you select objects.
Figure showing help pointer
Help pointer-appears when you click on a question-mark help button in some applications; simply position the help pointer on an object you want to know about and click on it, and the appropriate section of text will appear in the Helpviewer.
Figure showing busy pointer
Busy pointer-tells you to wait until an operation is finished before you can resume working.
Figure showing resize pointer
Resize pointer-appears when the pointer passes over a window frame; the two arrows indicate the direction you can stretch or shrink the window.
Figure showing move pointer
Move pointer-appears when the pointer passes over a window title bar; simply hold down the mouse button and drag the window to a new location.
Figure showing I-beam pointer
I-beam pointer-appears in text-entry fields to indicate that the application is ready to accept keyboard input.
Figure showing no-input pointer
No-input pointer-tells you the window isn't accepting input.

Anatomy of a Photon window

Here's a typical Photon application window:

Figure showing typical window

Most windows include these elements:

Using the Window Menu

To bring up an application's Window menu:

The Window menu lets you:


Caution: Selecting the Close item may immediately terminate the application running in that window without prompting you to confirm. Always remember to save your work before you click on Close!

Using the Taskbar

The Taskbar provides a quick and easy way to switch from one application to another, to restore applications to their normal size on the workspace, to get help, and to tell the time.

Photon Taskbar buttons

The Taskbar includes the following:

As you run more and more applications, the Taskbar fills up. When there's no more room for a button, all the buttons get smaller, down to a set minimum width. Then they start on another row, which is hidden. To see the other row:

  1. Point at the top of the Taskbar. There's a 2-pixel gap on the top where your pointer will change into a resize pointer.
  2. Drag the top of the Taskbar upward to enlarge it.

The expanded Taskbar looks like this:

Taskbar with two rows of buttons

To switch to any running application:

=>> Click on the application's button in the Taskbar. The application's window will be restored if minimized, brought to the front, and become the focus window.

If you click on the button of the application that's in focus, the application is minimized.


Note: If you hide the Taskbar (see "Setting workspace options" in the Customizing Photon chapter), it will reappear temporarily whenever you move the pointer to the very bottom of your workspace.

Setting the time

To set the time, double-click the clock button on the Taskbar.

pwmclock

The time is separated into three fields: hours, minutes, and seconds. To change the time:

  1. Click on the field that you wish to change.
  2. Click the scroll up or down arrows, or type the time.
  3. Select either AM or PM.
  4. Click Apply&Save to save, or Cancel to quit.

The RTC option sets the clock chip. This option may be disabled on your system. The hh:mm:00 button sets the seconds field to 00.

Keyboard shortcuts

The following tables summarize the keyboard shortcuts you can use for:


Note: If the Alt keychords listed below don't work, it may be because some character-based applications need to receive Alt key presses. To run such an application successfully, you need to configure its pterm window to pass the Alt to the application. See "Configuring pterm" in the Terminal Window chapter.

To use the following keychords after doing this, press Ctrl -Alt instead of just Alt.


Workspace operations

If you want to: Press:
Move back window to the front of the window stack. Alt -Esc
Move front window to the back of the window stack. Alt -Shift -Esc
Cycle through applications, showing the name first; to bring a displayed application to the front, release Alt. Alt -Tab
Cycle though applications, but moving front to back. Alt -Shift -Tab
Display Workspace Menu. Alt -Enter
Toggle between bringing the Taskbar and Desktop Manager to the front and sending them to the back. If they were hidden, they'll be brought to the front. Alt -F11
Exit Photon (see "How to exit Photon"). Ctrl -Alt -Shift -Backspace

Window operations

All of these commands affect the focus window:

If you want to: Press:
Move the window to the front. Alt -F2
Move the window to the back. Alt -F3
Close the window. Alt -F4
Restore the window to previous size if it has been maximized. Alt -F5
Move the window. Alt -F7
Resize the window (use the mouse or cursor keys to choose the new size). Alt -F8
Minimize the window. Alt -F9
Maximize the window. Alt -F10
Display the window menu. Alt -Space
Close the window menu. Esc

CUA operations

Common User Access (CUA) is a standard that defines how a user can change the keyboard focus within a window.

Here are two of the more common CUA keys:

To go to the: Press:
Next button or text field Tab
Previous button or text field Shift -Tab

Using the clipboard

Photon is equipped with a very versatile and easy-to-use clipboard. It lets you cut, copy, and paste between text fields and pterm. You can also copy from the Helpviewer, but it supports only full-line copying.

You can use either the mouse or keyboard to cut, copy, and paste to and from the clipboard.

Operations in text fields

If you want to: Keyboard actions: Mouse actions:
Select a section of text. Hold the Shift key down and use the arrow keys to highlight the desired text. Press the left mouse button and drag the mouse to highlight the desired text.
Cut a section of selected text. Ctrl -X or Ctrl -Alt -X n/a
Copy a section of selected text. Ctrl -C or Ctrl -Alt -C While holding the left mouse button down, press the right mouse button.
Paste a section of selected text. First, give focus to the field where you want to paste the text, then do the correct keyboard or mouse action. Ctrl -V or Ctrl -Alt -V Hold the Ctrl key down and press the right mouse button.

Operations in a pterm

If you want to: Keyboard actions: Mouse actions:
Select a section of text. n/a Press the left mouse button and drag the mouse to highlight the desired text.
Copy a section of selected text. Ctrl -Alt -X While holding the left mouse button down, press the right mouse button.
Paste a section of selected text. First, give focus to the field where you want to paste the text, then: Ctrl -Alt -V Hold the Ctrl key down and press the right mouse button.

Note: You can also press the right mouse button that invokes the pterm menu containing the copy and paste options. For more information, see "Using the pterm menu" in the Terminal Window chapter.

See the pterm utility in the Photon Installation & Configuration guide for a the complete list of pterm-specific keychords.


How to exit Photon

There are two ways to exit Photon: via the mouse or the keyboard.


Caution: Exiting Photon will close all the windows, terminating the applications running in them without prompting you to confirm. If this is a problem, you should exit your applications one at a time before exiting Photon.

Using the mouse

To exit Photon with the mouse:

  1. Bring up the Workspace menu:
  2. Click on the Shutdown item. You'll see a dialog asking you to confirm the shutdown.
    Note: The shutdown dialog doesn't appear if the PHWMEXIT environment variable is set. For more information, see your system administrator.

Using the keyboard

You can also use the following keychord to exit Photon:

Ctrl -Alt -Shift -Backspace


Note: The shutdown dialog doesn't appear when you use this keychord.


[Previous] [Contents] [Index] [Next]