wiki:UmuiCustomising

Customising the UMUI

There are several customisations that you can make to the UMUI which may make it more user friendly to you.

Changing Fonts in the Navigation System

You can alter the fonts used in the job entry system by including a file called .umui_appearance in your home directory.

Use the following as a template file - just edit the font names in quotes:

# Font naming is straightforward. Change the number to change the size.

# Status line font: Normal value "helvetica 9"
set fonts(lines) "helvetica 9"
# GHUI Main navigation window font. Normal value "helvetica 9"
set fonts(navigation) "helvetica 9"
# GHUI panel fonts (text, checkbutton widgets etc) Normal value "helvetica 11"
set fonts(normal) "helvetica 11"
# GHUI table fonts for normal panels. Font fonts(tables,entries) must
# be in "font_name font_size" format.
# Normal values "helvetica 11 bold" and "courier 10"
set fonts(tables,headings) "helvetica 11 bold"
set fonts(tables,entries) "courier 10"
# Large buttons and menubuttons. Normal value "times 14"
set fonts(buttons) "times 14"
# Used when outputting chunks of text - eg help windows. Normal values "courier 11"
set fonts(textOutput) "courier 11"
# Certain dialog box messages. Normally "times 14"
set fonts(message) "times 14"

# The following alter the spacing of components in input panels:
# Height of window components (in pixels). Change height with Font.
set component_height 25 ;# standard is 25
set gap_height 25 ;# standard is 25
# Width of indentation of blocks in pixels
set indent_width 25 ;# standard is 25

###########################################################
# The following few are required to support UMUI STASH code
# STASH buttons -
set font_butons "helvetica 10 bold" ; # Normally "helvetica 11 bold"
# Size of Profile name boxes
set font_tables "courier 8" ; # Normally "courier 10"
# Average size of diagnostic table (vn4.3+ only)
set fonts(STASHTable) "helvetica 9" ; # Normally "helvetica 10"
###########################################################

Setting the Background Colours for a Job's Windows.

If you find that you often have several jobs open at once and find it difficult figuring out which window belongs to which job then you may find this plug-in useful. When you open a job you get presented with a colour swatch from which to choose the window background colour for this job. You will then be able to instantly see which window belongs to which job.

To activate this you will need to

  1. Download the following 2 files.

htdocs:downloads/navigation-override.tcl
htdocs:downloads/setcols.tcl

  1. Place both files in your $HOME directory somewhere E.g. $HOME/bin/umui
  1. Either create a new file $HOME/.umui_appearance or append to the file, if you already have one, the following lines making sure to change the path to reflect the location you chose in step (2).
    source /path/to/setcols.tcl
    source /path/to/navigation-override.tcl
    
  1. Close and restart the UMUI for changes to take effect.

Hopefully when you now open a job you will be given a colour swatch to choose from.

Last modified 7 years ago Last modified on 16/01/13 17:49:24