Customizing Photon
This chapter covers the following topics:
- Customizing your workspace
- Changing the graphics resolution and color depth
- Launching an application at startup
Customizing your workspace
To customize your Photon workspace, you use two facilities:
- the Options item on the Workspace menu
- the Desktop Manager Configuration tool
Setting workspace options

The Photon Window Manager menu lets you set several options that control how windows behave and appear on your workspace.
To set a workspace option:
- Click on the Window Manager menu button (the one with the QNX logo) on the
Taskbar to bring up the Workspace menu.
Or
Position your pointer anywhere on the workspace background and click the right mouse button.
- Click on the Options item.
The following dialog appears:

You'll see a toggle button beside each option in the dialog. You enable an option by clicking on its toggle button, and disable it by clicking again. If a button appears pressed in, you know the option is enabled.
At the bottom of the dialog are four buttons:
- Apply
- Apply your changes, but leave the dialog open.
- Apply & Save
- Apply and save your changes, and close the dialog.
- Defaults
- Reset the options in the dialog to their default values.
- Cancel
- Close the dialog, discarding any changes that haven't yet been applied.
Here are the options you can set:
- Full Window Dragging-Lets you drag a full window (rather than just its outline) around the workspace. If you have a slow CPU or graphics card, you shouldn't enable this option.
- Cursor Focus-You need to click on a
window in order to make it the focus window. But if you want
focus to occur merely by passing your pointer over a window,
enable this option.

Make sure your pointer is on the focus window when you're entering text. If it's not, the characters you type won't appear in the window.
- Click to Front-Lets you click anywhere on a window (rather than just its title bar or frame) to bring it to the front.
- Taskbar Front-Normally, the focus window appears on top of all other windows on your workspace. But if you want the Taskbar to be the topmost window, enable this option.
- Taskbar Hide-Normally, the Taskbar always
appears at the bottom of your workspace. If you want to hide
it, enable this option.

If you hide the Taskbar, it will reappear temporarily whenever you move the pointer to the very bottom of your workspace. To keep the Taskbar on your workspace, just click again on the Taskbar Hide toggle button.
- Multi-Monitor Placement-New windows usually appear on your current monitor. But in a multi-monitor environment, where several monitors make up a single workspace, you may want the new windows to open relative to the entire group of monitors, rather than just the current monitor. If so, enable this option.
- Left, Center, Right-These buttons allow you to specify how a window's title is to be aligned in the title bar.
- Window Active Frame-Lets you choose the color of the frame for the active window.
- Window Inactive Frame-Lets you choose the color of the frame for inactive windows.
- Window Title Color-Lets you choose the text color of your windows' title.
- Background Color-Lets you choose the background color for your workspace.
- Cursor-Lets you customize the basic mouse pointer shape and color.

If you want to specify the background color in this way, turn off any backdrops. See "Using the Configuration tool" for more information.
Using the Configuration tool

The Configuration tool lets you set up the Desktop Manager to suit your needs. The tool also lets you select backdrops and screen savers for your workspace.
When you click on the Configuration tool, the following dialog appears:
You'll find the following folders in the Configuration tool dialog:
- Applications-Lets you set up the quick-launch applications and their icons that appear in the Desktop Manager bar. This is also where you set up a Jump Gate to a specific Photon node in the QNX network.
- Groups-Lets you create or edit the quick-launch tab groups.
- Backdrops-Lets you choose the backdrop images you see in your workspace, and in the Extended Workspace View and World View.
- Screen Savers-Lets you choose the Photon screen saver and set the wait time.
- Display-Lets you specify display options, including the graphics resolution and color depth.
To change any of the default settings, simply:
- Click on the appropriate tab within the dialog.
- Enter your changes in the text fields.
- Click on Apply.
![]() |
You can enter shell (sh) commands in the Command field. For
example, the following command runs Voyager in compact mode in a shell:
sh -c "SOCK=1 voyager" |
Configuration example: changing the backdrop
Here's a simple exercise to show you how to use the Configuration tool. We'll change the workspace backdrop image.
- Click on the Configuration tool.
- Click on the Backdrops tab.
- Try choosing a different backdrop image from the file list. As you select an image file, you'll see a small sample in the box beside the list. Below the box is a group of tiling options that indicate how the selection should appear. To see what the backdrop will look like, click on Apply. Feel free to experiment!
- Once you've decided on a backdrop, click on Save & Close. You'll see your new backdrop immediately.
Changing the graphics resolution and color depth
When you start Photon for the first time, you'll be presented with the following dialog to choose display preferences for your workstation (you can also use the Display folder in PDM's Configuration tool, or select Configure Display... from the PWM menu to display this dialog at any time):
![]() |
The list of available graphics modes displayed in the following dialog will most likely be different from those on your machine. |
The initial settings are the result of a hardware scan Photon did during the installation. The default selection is a "safe" choice based on this scan; you'll probably want to choose something better. The hardware detection program presents only options that correspond to the kind of graphics card you have. To save these initial settings, choose the Done button.
Changing the graphics resolution
Photon supports the following settings for the color depth, depending on the capabilities of your graphics card:
| Number of colors | Number of bits |
|---|---|
| 16 million | 32 |
| 16 million | 24 |
| 64,000 | 16 |
| 32,000 | 15 |
| 256 | 8 |
| 16 | 4 |
| monochrome | 1 |
Choose the best one!
The resolution setting that's currently in effect for your type of display is shown by an icon to the left of the setting. The default setting is 256 color with a 640*480 resolution.
The type of graphics card Photon detected is one of a family of cards that are listed in the Driver Family list (top left corner). One card may support different families, such as generic drivers. A driver can be selected using the Driver Family button.
Selecting the refresh rate
The refresh rate determines how often the image on your display is redrawn. Selecting a higher refresh rate can produce a better screen image with less flicker, but it may slow down some graphics cards. The options include:
- Interlaced
- The horizontal refresh is interlaced (one pass on even scan lines, followed by one pass on odd scan lines). There may be a noticeable flicker at this setting.
- Low
- A vertical refresh, typically 60 Hz. This setting could apply to a card that supports an interlaced refresh.
- Medium
- A vertical refresh rate that's higher than 60 Hz.
- High
- The best refresh rate supported by your graphics card.
- Custom
- Allows the entry of any refresh rate.
![]() |
Setting the refresh value incorrectly can damage your monitor. Consult your monitor and video card manuals first. |
Selecting the color palette
The color palette is used by 256- and 16-color graphics drivers. It provides the base set of colors a graphics driver can use to display images on your screen.
Click the button beside the Palette field to choose from a list of palette files. All palette files are kept in the /usr/photon/palette directory. The default setting is symbolically linked to the photon11.pal file. For a life-like rendering of flesh tones, try portrait.pal.
Launching an application at startup
If you want Photon to automatically launch an application at startup, add the name of the application's executable to your $HOME/.photon/phapps configuration file.

