28
CIS 116 SUNY Ulster Chapter L5 – The GUI Karl Wick

CIS 116SUNY Ulster

  • Upload
    ocean

  • View
    46

  • Download
    0

Embed Size (px)

DESCRIPTION

CIS 116SUNY Ulster. Chapter L5 – The GUI Karl Wick. GUIs and Linux. X Windows is a graphical interface to the underlying linux components. Client / Server relationship. - PowerPoint PPT Presentation

Citation preview

Page 1: CIS 116SUNY Ulster

CIS 116 SUNY Ulster

Chapter L5 – The GUI

Karl Wick

Page 2: CIS 116SUNY Ulster

GUIs and Linux

X Windows is a graphical interface to the underlying linux components.

Page 3: CIS 116SUNY Ulster

Client / Server relationship

The x window system has to power to run a program on one computer and take I/O from another computer. The computer that runs the program is called the X client and the computer that uses the program is called the X server. Note: These terms are reversed from 'normal' networking terminology.

Page 4: CIS 116SUNY Ulster

Common Window managers

Enlightenment - Used by GnomeKwm - Used by KDEOver 50 others

AnotherLevelCDEfvwmolwmmwmtwmGnome

Page 5: CIS 116SUNY Ulster

Gnome (sometimes pronounced guh-nome)

Is a desktop environment that requires a window manager.

Gnome uses EnlightenmentThe GUI that we installed on the class

computers is gnome,With the standard Red Hat installation you

have a choice of gnome or KDE or both if you have sufficient hard disk space.

Page 6: CIS 116SUNY Ulster

Starting the X Window System

Page 7: CIS 116SUNY Ulster

Starting X

From the text interface type startx <enter>It is best to use the GUI as a plain user

although it will allow you to come in as root. This will generate a warning message.

Gnome will display a picture and then a list of processed that it is starting. After a short wait you will see the main screen.

Page 8: CIS 116SUNY Ulster

Review

You can set the system to automatically run the GUI by editing the /etc/inittab file. If you do this, it is hard to get back to the text interface. If you boot into text mode it is easy to go back and forth between text and GUI shells.

Page 9: CIS 116SUNY Ulster

How It’s Done

Look for this line: id:3:initdefault in the /etc/inittab file

3 means boot to text shell 5 means boot to GUI Do NOT use any other value or you can trahs the

system! You can force the program to reread the

configuration file (and avoid the need to shutdown and restart manually) by typing init q <enter>

Page 10: CIS 116SUNY Ulster

Gnome - The screen

IconsThe PanelWindowsDesktop area

Page 11: CIS 116SUNY Ulster

Windows - Components

A borderTitle barOptions buttonIconify button (like mminimize)Minimixe/Maximize Button (like

maximize/restore)Close ButtonScroll bar

Page 12: CIS 116SUNY Ulster

Resizing

Click (single click) the help iconPractice resizing from all four sides and

cornersMove by dragging the title barShade (roll up the window) by double

clicking the title bar

Page 13: CIS 116SUNY Ulster

The options button

Choices vary with buildStacking is interestingSo is kill or annihilate

Page 14: CIS 116SUNY Ulster

The Panel

The foot is the main menuThe end arrows minimize the panel itselfStandard iconsHelpTerminal emulation

OpenTry commandsLeave open

Page 15: CIS 116SUNY Ulster

The Panel

Tool Box Netscape Virtual Desktop selector

Switch to unused and open help Click on terminal quarter, unused and help

Page 16: CIS 116SUNY Ulster

Clock

Right click to modify properties

Page 17: CIS 116SUNY Ulster

The File Manager

Notice the CDROM and floppy 0 icons on the desktop.

These may not appear automatically with all implementations

Click, foot, programs, file managerClick + and - signs at left.Similar to windows explorer

Page 18: CIS 116SUNY Ulster

The File Manager

/dev /home and other directories will be here open the /mnt directory.

You should see cdrom and floppy

Gnome tries to automatically mount these devices

Open /homeYou will see all user account directories (but not

root)

Page 19: CIS 116SUNY Ulster

Notice the buttons at the top of the windowIcons, brief, detailed, customMenu bar options

Page 20: CIS 116SUNY Ulster

Exercise - file management

Open a new virtual desktopOpen terminal emulationCreate test1 test2 text3 (touch test1 test2 test3)Switch to file manager desktopClick the rescan buttonGo to /home or /root (depending on how you

logged in)The files should appear

Page 21: CIS 116SUNY Ulster

Exercise - file management

Right click test1 and click on copy to test4

The display will automatically rescanRight click test1 and deleteRight click test2 and move to test5

Page 22: CIS 116SUNY Ulster

Multiple file operations

Switch to brief viewClick test3, Shift click test5Test3 test4 and test5 are selected. <Shift-

click> selects a range of files<CTRL-click> works too. It selects

multiple files

Page 23: CIS 116SUNY Ulster

Open file on the menu

Create a new directory called new_dirYou can use relative or absolute paths

Page 24: CIS 116SUNY Ulster

Some applicationsCalendar

footprint, programs, applications, calendarexplore it

SpreadsheetFootprint, programs, applications, GnumericGnumeric will read .xls files

Text editorFootprint, programs, applications, gedit

Emacs is also available

Page 25: CIS 116SUNY Ulster

Configuring the desktop

Click on configuration tool iconThe "control center" appearsAt the top left is the desktop sectionCheck out the background and

screensaver areasIn screensaver is where you can set a

password to get back on

Page 26: CIS 116SUNY Ulster

Adding applets to the panel

Right click on any empty part of panelApplets - monitorsCPU loadMEM loadDisk usage

Page 27: CIS 116SUNY Ulster

Adding icons to menus

Open footprintRight click any menu or sub menu Follow menus

Page 28: CIS 116SUNY Ulster

Games

Are found under programs