|
|
|||
![]() |
Department of Engineering |
| University of Cambridge > Engineering Department > computing help |
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.
The Command Line - Some people like using a command line. Characters typed on the command line are understood by a "command line interpreter" program (otherwise known as a "shell"). There's a choice of shells. By default we use one called bash. Shells are very customisable, but you need to customise by writing little programs (called "shell scripts")
Graphical Interface - Most people interact with computers using mice and graphics. All our graphics use X windows, a way of doing graphics that has its own way of general or per-program configuring.
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.
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
alias fortran="g77"
then typing fortran will run the hard-to-remember fortran compiler. If you want this
alias available each time you log in, create a text file called .profile in your home
folder, and add the aliases to it.
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/.XresourcesSee 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
(in the Systems section of the applications panel - use the
) gives access to many customisation options.
To see how to customise the flashier options, see the Compiz page.
is in the System section of the Application Browser and lets you configure many programs.
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.
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.
| | Infrastructure Servers | computing help | |