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

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

Embed Size (px)

Citation preview

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

1© 2001 John Urrutia. All rights reserved.

Chapter 6

Graphical User InterfacesGraphical User Interfaces

GUI’s

Page 2: 1 © 2001 John Urrutia. All rights reserved. Chapter 6 Graphical 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

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

3© 2001 John Urrutia. All rights reserved.

Topics (cont.)Customizing the fvwm Window Mgr.

Customizing the MOTIF Window Mgr.

X applications

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

4© 2001 John Urrutia. All rights reserved.

The command line interfaceText based

Cryptic

Hard to learn

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

5© 2001 John Urrutia. All rights reserved.

What is Gooey

G um

I ce Cream

U cky Stuff

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

6© 2001 John Urrutia. All rights reserved.

What is a GUIA Graphical User Interface

Visual

Object based

Intuitive

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

7© 2001 John Urrutia. All rights reserved.

Components of a GUIWindows

ControlsTitle Bars

Buttons

Sliders

Scroll Bars

Icons

Menus

Dialog Boxes

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

8© 2001 John Urrutia. All rights reserved.

Title Bars

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

9© 2001 John Urrutia. All rights reserved.

Menus

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

10© 2001 John Urrutia. All rights reserved.

Buttons

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

11© 2001 John Urrutia. All rights reserved.

Scroll Bars

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

12© 2001 John Urrutia. All rights reserved.

Tool Bars

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

13© 2001 John Urrutia. All rights reserved.

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

14© 2001 John Urrutia. All rights reserved.

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

15© 2001 John Urrutia. All rights reserved.

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

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

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

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

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

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

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

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

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

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

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

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

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

22© 2001 John Urrutia. All rights reserved.

The X Window SystemX Window System Managers

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

23© 2001 John Urrutia. All rights reserved.

Linux and the X Window System

Virtual Consoles

The X ServerStarting

Stopping

FeaturesDisplay ResolutionVirtual Display

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

24© 2001 John Urrutia. All rights reserved.

Linux and the X Window System

The Andrew User Interface System

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

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

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

26© 2001 John Urrutia. All rights reserved.

The fvwm Window ManagerSelecting the Active Window

The fvwm Title Bar

The Window Ops Menu

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

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

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

28© 2001 John Urrutia. All rights reserved.

The fvwm Window ManagerCopy and Paste

Using Icons

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

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

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

30© 2001 John Urrutia. All rights reserved.

The MOTIF window managerCopy and paste

Scrolling text

The standard motif scroll bar

The Athena scroll bar

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

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

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

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

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

33© 2001 John Urrutia. All rights reserved.

TopicsCustomizing the fvwm Window Mgr.

Customizing the MOTIF Window Mgr.

X Applications

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

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

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

35© 2001 John Urrutia. All rights reserved.

Customizing the fvwm window mgr.

Application-specific Customizations

Building menus for fvwm

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

36© 2001 John Urrutia. All rights reserved.

TopicsCustomizing the fvwm Window Mgr.

Customizing the MOTIF Window Mgr.

X Applications

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

37© 2001 John Urrutia. All rights reserved.

Customizing the MOTIF Window Mgr.

The .mwmrc file

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

38© 2001 John Urrutia. All rights reserved.

TopicsCustomizing the fvwm Window Mgr.

Customizing the MOTIF Window Mgr.

X Applications

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

39© 2001 John Urrutia. All rights reserved.

The X Applications