In GTK-HID there is a Preferences… dialog in the File menu.
The Colors tab presents a convenient way to set all the colors pcb uses via the standard GTK color chooser.
The colors are saved to $HOME/.pcb/preferences on shut down of the application.
With Lesstif-HID there is no preference dialog. Colors can be set in $HOME/.pcb/settings
You can set the default options of the postscript printing dialog as command line parameters when invoking pcb.
Type pcb --help
for a list of available options.
These options can also be set in a file $HOME/.pcb/settings.
A settings file for a4 paper, no alignment marks, multi page output would contain:
media = A4
align-marks = 0
multi-file = 1
There is no GUI way to modify the mouse behavior. However, you can adapt it to your needs without recompiling.
This is how:
- locate the file
gpcb-menu.res
on your box. For lesstif there is a similar file calledpcb-menu.res
- copy the file to
$HOME/.pcb
- edit to your needs, save
- on start-up, pcb will read this localised copy. This will overwrite whatever settings were made by the system gpcb-menu.res
The GTK version of pcb includes a neat way to change shortcuts on the fly:
- go to the menu and let the mouse hover over the item to be configured. Don't press any mouse button.
- type whatever shortcut you'd like to assign to the item under the mouse.
- the shortcut will be working immediately. Conflicts with other shortcuts will be resolved by removing the shortcut of the conflicting definition.
This setting will be reset at the next session of pcb.
Default keyboard shortcuts are defined in files called
gpcb-menu.res
if you use the default GTK interface.
On start-up pcb reads the configuration from a system path, e.g.
/usr/local/share
or /usr/share/
.
For permanent change of keyboard shortcuts you can copy the system file
to $HOME/.pcb/gpcb-menu.res
and edit to your needs.
Settings in this file will overwrite the system configuration.
The lesstif interface reads pcb-menu.res
files instead.
The menu is defined in gpcb-menu.res
for the GTK-UI.
You can place a localized copy in $HOME/.pcb/
.
See the notes above on configuration of keyboard shortcuts and mouse behavior.