Search Contact information
University of Cambridge Home Department of Engineering
University of Cambridge >  Engineering Department >  computing help

Customising (Unix)

Contents

The Teaching System has been customised to make things easy for new users without obstructing those who are experts. For many people, the defaults will be fine, but you may wish to set some preferences to make common tasks easier, or to make text easier to read. Some programs have built-in preferences menus, but many don't, and it's not always obvious which program has to be customised, let alone how the customisation can be done. This page tries to list the various methods.

You can customise the system at various levels. Here we shall go from the general to the specific.

Typing or Clicking?

Some high-level programs tend to be customised using configuration files which you have to edit by hand. Like programs, they're hard to get right first time. So don't customise unless you need to, and you have enough time.

Command Line Interpreter (The "Shell")

When you log in, the file /etc/profile is executed, which runs /etc/bash.bashrc and then your .profile file if you have one. You'll find the Shell Scripts and Awk handout useful if you're going to configure the shell. Things you might do are

X Windows

X windows applications can pick up their defaults from a variety of places. On our system, /usr/X11R6/lib/X11/Xresources sets up many defaults. Defaults can be set that affect all programs, one program or even particular types of buttons in programs. For example, if you'd like a big 12x24 pixel font in all your programs, you can create a file call .Xresources in your home directory containing the line

      *Font:  12x24
and run
xrdb -merge $HOME/.Xresources
See the X11 manual page for more details. Many application-specific Xdefault files are in the /usr/X11R6/lib/X11/app-defaults/ directory. For more information on X Customisation see

The Desktop

The (in the Systems section of the applications panel - use the greenarrow) gives access to many customisation options.

control centre

Gnome Control centre - click to zoom in
The desktop can easily be customised too. Two useful features are

To see how to customise the flashier options, see the Compiz page.

Multi-program configuring

Saving your desktop set-up

Sometimes the system tries to remember what windows were open at log-out time so that it can restore windows on the next log-in. This facility can be turned on permanently in a Preferences menu, or done on a per-session basis on the log-out panel.

The info is recorded in ~/.gconfd/ (I think), in a file called saved_state.

Mailers

See our Using Mail User Agents page.

Other Programs

Trouble-shooting

If the wrong program's being started when you click on a file (on the desktop or with Firefox) and you can't see why, you may wish to remove the desktop-related configuration files altogether and start afresh. Only do this if you don't mind reverting to the system defaults. The desktop (gnome) files are in the .local, .gconf, .gconfd, .gnome2 and .config folders in your home folder.

© Cambridge University Engineering Dept
Information provided by Tim Love (tpl)
Last updated: August 2011