Table of Contents

Preface

Assumptions

Organization

Bulk Sales Information

xshowfonts.c and Other Free Programs

PART ONE: Using X

1 An Introduction to the X Window System

Anatomy of an X Display

Standard X Clients versus Motif Clients

X Architecture Overview

The X Display Server

Clients

The Window Manager

The xterm Terminal Emulator

The Display Manager

Other X Clients

Customizing Clients

2 Getting Started

Starting X

Logging On in the Special xdm Window

Logging In at a Full Screen Prompt

Starting X Manually

Starting the mwm Window Manager

Typing In a Window Once mwm is Running

3 Working in the X Environment

Creating Other Windows

Using the Pointer

Raising, Moving, and Iconifying Windows

Raising a Window or Icon

Moving a Window

Converting a Window to an Icon

Converting an Icon to a Window

Moving an Icon

Exiting from an xterm Window

Starting Additional Clients

Command Line Options

Window Geometry: Specifying Size and Location

Running a Client on Another Machine: Specifying the Display

Once You Run a Remote xterm using -display

Logging In to a Remote System

Monitoring the Load on a Remote System

Other Command Line Options

Putting it All Together

Customizing the X Environment: Specifying Resources

Where to Go From Here

4 More about the mwm Window Manager

Using Special Keys

Input Focus and the Window Manager

Focusing Input on an Icon

Transferring the Focus with Keystrokes

What to do if mwm Dies and the Focus is Lost

Using the mwm Window Frame

Maximizing a Window

The Maximize Button

Resizing a Window

The Window Menu Button: Display a Menu or Close the Window

Using the Window Menu

Invoking Window Menu Items

Pointer Commands to Manage Icons

Using the Window Menu on Icons

The Root Menu

5 The xterm Terminal Emulator

Terminal Emulation and the xterm Terminal Type

Resizing an xterm Window

Using the Scrollbar

Copying and Pasting Text Selections

Selecting Text to Copy

Pasting Text Selections

More About Text Selections

Copying and Pasting between Release 2 and 3 Clients: xcutsel

Saving Multiple Selections: xclipboard

Problems with Large Selections

Editing Text Saved in the xclipboard

Running a Program in a Temporary xterm Window

The xterm Menus

The Main Options Menu

VT Options Menu

VT Fonts Menu

Tek Options Menu

6 Font Specification

Font Naming Conventions

Font Families

Stroke Weight and Slant

Font Sizes

Other Information in the Font Name

Font Name Wildcarding

The Font Search Path

The fonts.dir Files

Font Name Aliasing

Making the Server Aware of Aliases

Utilities for Displaying Information about Fonts

The Font Displayer: xfd

Previewing and Selecting Fonts: xfontsel

Previewing Fonts with the xfontsel Menus

Selecting a Font Name

Changing Fonts in xterm Windows

The Great Escape

The Selection Menu Item

7 Graphics Utilities

Creating Icons and Other Bitmaps

Bitmap Editing Commands

Pointer Commands

Bitmap Command Boxes

Acting on the Entire Grid: Clear All, Set All, Invert All

Acting on an Area: Clear Area, Set Area, Invert Area

Copy Area, Move Area; Overlay Area

Drawing: Line, Circle, Filled Circle

Filling in a Shape: Flood Fill

Hot Spots: Set Hot Spot, Clear Hot Spot

Saving and Quitting: Write Output, Quit

Dialog Boxes and Command Buttons

Creating a Bitmap from a Cursor

Magnifying Portions of the Screen: xmag

Quitting xmag

What xmag Shows You

Dynamically Choosing a Different Source Area

The Portable Bitmap Toolkit

8 Other Clients

Desk Accessories

Clock Programs: xclock and oclock

Removing an xclock or oclock

A Scientific Calculator: xcalc

Terminating the calculator

Mail Notification Client: xbiff

Monitoring System Load Average: xload

Browsing Reference Pages: xman

The xedit Text Editor

Printing Utilities: xwd, xpr, xdpr

Killing a Client Window with xkill

Problems with Killing a Client

Window and Display Information Clients

Displaying Information about a Window: xwininfo

Listing the Window Tree: xlswins

Listing the Currently Running Clients: xlsclients

Generating Information about the Display: xdpyinfo

User-contributed Clients

Previewing Colors for Your Monitor: xcol

Working with Motif Applications

Dialog Boxes and Push Buttons

Menu Bars and Pull-down Menus

File Selection Box

Selecting a File from the Files Box

Choosing a File from another Directory in the Directories Box

Choosing a File from Another Directory on the System

The Motif Scrollbar

Drawn Buttons

Radio Boxes and Toggle Buttons

PART TWO: Customizing X

9 Command Line Options

Window Title and Application Name

Starting a Client Window as an Icon

Specifying Fonts on the Command Line

Reverse Video

Specifying Color

The rgb.txt File

Release 4 Color Names

Alternative Release 4 Color Databases

Hexadecimal Color Specification

The RGB Color Model

How Many Colors are Available?

Border Width

10 Setting Resources

Resource Naming Syntax

Syntax of Toolkit Client Resources

Tight Bindings and Loose Bindings

Instances and Classes

Precedence Rules for Resource Specification

Some Common Resources

11 Customizing mwm

Activating Changes to the Window Manager

The system.mwmrc File

mwm Functions

Menu Specifications

Key Bindings

Button Bindings

Customizing the Root Menu

Creating New Menus

Cascading Menus

Setting mwm Resources

Component Appearance Resources

mwm-specific Appearance and Behavior Resources

Client-specific Resources

Setting the Focus Policy

Using an Icon Box

12 Setup Clients

xset: Setting Display and Keyboard Preferences

Keyboard Bell

Bug Compatibility Mode

Keyclick Volume

Enabling or Disabling Auto-repeat

Changing or Rehashing the Font Path

Keyboard LEDs

Pointer Acceleration

Screen Saver

Color Definition

Help with xset Options

xsetroot: Setting Root Window Characteristics

Setting Root Window Patterns

Foreground, Background Color and Reverse Video

Changing the Root Window Pointer

xmodmap: Modifier Key and Pointer Customization

Keycodes and Keysyms

Procedure to Map Modifier Keys

Displaying the Current Modifier Key Map

Determining the Default Key Mappings

Matching Keysyms with Physical Keys Using xev

Changing the Map with xmodmap

Expressions to Change the Key Map

Key Mapping Examples

Displaying and Changing the Pointer Map

PART THREE: Client Reference Pages

Intro

X

Xserver

appres

bdftosnf

bitmap

listres

mkfontdir

mwm

oclock

resize

showsnf

xauth

xbiff

xcalc

xclipboard

xclock

xcol

xcutsel

xditview

xdm

xdpr

xdpyinfo

xedit

xev

xfd

xfontsel

xhost

xinit

xkill

xload

xlogo

xlsatoms

xlsclients

xlsfonts

xlswins

xmag

xman

xmh

xmodmap

xpr

xprop

xrdb

xrefresh

xset

xsetroot

xstdcmap

xterm

xwd

xwininfo

xwud

PART FOUR: Appendices

A System Management

Including X in Your Search Path

Setting the Terminal Type

A Startup Shell Script

What Should Go in the Script

Starting X

Starting X with the Display Manager, xdm

Getting Started with xdm on a Single Display

Setting Up the Configuration File and Other Special Files

B Release 4 Standard Fonts

C Standard Bitmaps

D Standard Cursors

E xterm Control Sequences

xterm Control Sequences

Definitions

VT102 Mode

Tektronix 4014 Mode

F Translation Table Syntax

Event Types and Modifiers

Detail Field

Modifiers

Complex Translation Examples

G Athena Widget Resources

The Widget Class Hierarchy

Widgets in the Application

What all this Means

Complications

Box

Command

Dialog

Form

Grip

Label

List

MenuButton

Paned

Scrollbar

Simple

SimpleMenu

Sme

SmeBSB

SmeLine

StripChart

Text

Toggle

Viewport

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.13.255