1 © 2001 John Urrutia. All rights reserved. Chapter 6 Graphical User Interfaces GUI’s

Preview:

Citation preview

1© 2001 John Urrutia. All rights reserved.

Chapter 6

Graphical User InterfacesGraphical User Interfaces

GUI’s

2© 2001 John Urrutia. All rights reserved.

TopicsWhat is a GUI

The X Window System

Using the fvwm Window Manager

Using the MOTIF Window Manager

Customizing Your X Work Environment

3© 2001 John Urrutia. All rights reserved.

Topics (cont.)Customizing the fvwm Window Mgr.

Customizing the MOTIF Window Mgr.

X applications

4© 2001 John Urrutia. All rights reserved.

The command line interfaceText based

Cryptic

Hard to learn

5© 2001 John Urrutia. All rights reserved.

What is Gooey

G um

I ce Cream

U cky Stuff

6© 2001 John Urrutia. All rights reserved.

What is a GUIA Graphical User Interface

Visual

Object based

Intuitive

7© 2001 John Urrutia. All rights reserved.

Components of a GUIWindows

ControlsTitle Bars

Buttons

Sliders

Scroll Bars

Icons

Menus

Dialog Boxes

8© 2001 John Urrutia. All rights reserved.

Title Bars

9© 2001 John Urrutia. All rights reserved.

Menus

10© 2001 John Urrutia. All rights reserved.

Buttons

11© 2001 John Urrutia. All rights reserved.

Scroll Bars

12© 2001 John Urrutia. All rights reserved.

Tool Bars

13© 2001 John Urrutia. All rights reserved.

14© 2001 John Urrutia. All rights reserved.

15© 2001 John Urrutia. All rights reserved.

16© 2001 John Urrutia. All rights reserved.

Components of a GUI (cont.)Screen Layout

Raising and lowering windows

Tiling windows

Window Managerdefines the appearance and interface

Provides some session-management

17© 2001 John Urrutia. All rights reserved.

Components of a GUI (cont.)Desktop Manager

Manages file like functions on icons:Open, Close, Copy, Move, Size

Designed to address novice usersby eliminating command line interface

18© 2001 John Urrutia. All rights reserved.

Components of a GUI (cont.)Workspace Manager

Simulates multiple windowing sessions

Allows organization of multiple related windows into virtual desktops

19© 2001 John Urrutia. All rights reserved.

TopicsWhat is a GUI

The X Window System

Using the fvwm Window Manager

Using the MOTIF Window Manager

Customizing Your X Work Environment

20© 2001 John Urrutia. All rights reserved.

The X Window SystemDeveloped 1984 by MIT

First widely available windowing system

X-consortium (1988)Releases Version 11 Release 6.1

Constructed of widget-setsInterface components/controls

21© 2001 John Urrutia. All rights reserved.

The X Window SystemRemote computing and local displays

Allows execution on one computer and view the output from another

X-term

22© 2001 John Urrutia. All rights reserved.

The X Window SystemX Window System Managers

23© 2001 John Urrutia. All rights reserved.

Linux and the X Window System

Virtual Consoles

The X ServerStarting

Stopping

FeaturesDisplay ResolutionVirtual Display

24© 2001 John Urrutia. All rights reserved.

Linux and the X Window System

The Andrew User Interface System

25© 2001 John Urrutia. All rights reserved.

TopicsWhat is a GUI

The X Window System

Using the fvwm Window Manager

Using the MOTIF Window Manager

Customizing Your X Work Environment

26© 2001 John Urrutia. All rights reserved.

The fvwm Window ManagerSelecting the Active Window

The fvwm Title Bar

The Window Ops Menu

27© 2001 John Urrutia. All rights reserved.

The fvwm Window ManagerOpening a Windows

Closing a Windows

Moving a Windows

Raising and Lowering Windows

Sizing Windows

Breaking Windows

28© 2001 John Urrutia. All rights reserved.

The fvwm Window ManagerCopy and Paste

Using Icons

29© 2001 John Urrutia. All rights reserved.

TopicsWhat is a GUI

The X Window System

Using the fvwm Window Manager

Using the MOTIF Window Manager

Customizing Your X Work Environment

30© 2001 John Urrutia. All rights reserved.

The MOTIF window managerCopy and paste

Scrolling text

The standard motif scroll bar

The Athena scroll bar

31© 2001 John Urrutia. All rights reserved.

TopicsWhat is a GUI

The X Window System

Using the fvwm Window Manager

Using the MOTIF Window Manager

Customizing Your X Work Environment

32© 2001 John Urrutia. All rights reserved.

Customizing your X work environment

Re-mapping Mouse Buttons

Customizing X Applications

The .xinitrc File

Setting X Resources

33© 2001 John Urrutia. All rights reserved.

TopicsCustomizing the fvwm Window Mgr.

Customizing the MOTIF Window Mgr.

X Applications

34© 2001 John Urrutia. All rights reserved.

Customizing the fvwm window mgr.

The .fvmrc file

Setting the major operating modes

Setting the virtual desktop configuration

Good stuff

35© 2001 John Urrutia. All rights reserved.

Customizing the fvwm window mgr.

Application-specific Customizations

Building menus for fvwm

36© 2001 John Urrutia. All rights reserved.

TopicsCustomizing the fvwm Window Mgr.

Customizing the MOTIF Window Mgr.

X Applications

37© 2001 John Urrutia. All rights reserved.

Customizing the MOTIF Window Mgr.

The .mwmrc file

38© 2001 John Urrutia. All rights reserved.

TopicsCustomizing the fvwm Window Mgr.

Customizing the MOTIF Window Mgr.

X Applications

39© 2001 John Urrutia. All rights reserved.

The X Applications

Recommended