# .Xdefaults(8)

[Home] [Commands] [Variables] [Macro-Dev] [Glossary]

## NAME

.Xdefaults - UNIX Window Manager defaults file

## SYNOPSIS

MicroEmacs.font: font
MicroEmacs.geometry: char-width x char-height [+-]xoffset [+-]yoffset
MicroEmacs.name: name
MicroEmacs.iconname: name

## PLATFORM

UNIX environments only

## DESCRIPTION

.Xdefaults is the UNIX X-Windows configuration file that permits some of the X-Windows start up settings to be configured. The file is typically loaded into the X database when the Window Manager starts and the values are read from the database by MicroEmacs at start up, over-riding any internal defaults.

The .Xdefaults file is used by other applications and MicroEmacs may be added to the end of any existing file.

The values interpreted by MicroEmacs are defined as follows:

MicroEmacs.font: font

Specifies the font to use.

MicroEmacs.geometry: char-width x char-height [+-]xoffset [+-]yoffset

The geometry of the X-Window at start-up. char-width and char-height define the width and depth of the frame specified in characters of the current font. xoffset and yoffset specify the position of the wind with respect to the top left of the screen, defaults are used when specified as 0.

MicroEmacs.name: name

Over-rides the name prefix used in the X-Window title bar, by default this is specified as MicroEmacs.

MicroEmacs.iconname: name

Over-rides the name prefix used in a X-Window iconic display, by default this is specified as MicroEmacs.

## EXAMPLE

The following is an example of the .Xdefaults file:-

    !######################################################################
    !#                                                                    #
    !# Defaults for MicroEmacs startup                                    #
    !#                                                                    #
    !######################################################################
    !# MicroEmacs.font: <fontname>
    !# Set the default font.
    MicroEmacs.font: -*-lucidatypewriter-medium-r-*-*-*-*-*-*-m-*-*-*
    !# MicroEmacs.font: -*-clean-medium-r-*-*-*-130-*-*-*-*-*-*

    !# MicroEmacs.geometry: <char-width>x<char-height> {+/-}<xoffset> {+-}<yoffset>
    !# Set up the default screen size and position.
    !# 102x65 characters please, 30 pixels from top left
    MicroEmacs.geometry: 102x65 30 30

    !# MicroEmacs.name: <name>
    !# The name displayed in the title bar format is <name>: <file>
    MicroEmacs.name: JASSPAs MicroEmacs

    !# MicroEmacs: <icon-name>
    !# The name displayed when MicroEmacs is iconized
    MicroEmacs.iconname: JASSPAs MicroEmacs

## NOTES

The .Xdefaults file is typically read once at login and and any changes to the files are not enacted until the Window Manager is re-started or a new login session commences.

The settings in the .Xdefaults may be subsequently overridden by the settings defined in user-setup(3).

## SEE ALSO

user-setup(3).

(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12

</HMTL>