Lab 20

Back Up

horizontal rule

Home
Lab 1
Lab 2
Lab 3
Lab 4
Lab 5
Lab 6
Lab 7
Lab 8
Lab 9
Lab 10
Lab 11
Lab 12
Lab 13
Lab 14
Lab 15
Lab 16
Lab 17
Lab 18
Lab 19
Lab 20

 Lab 20

(Chapter 21)

 

 


 

Learning Objectives

  1. To use the xf86config program to do a post-installation examination of system hardware device specifications.
  2. To practice customizing XFree86 and fvwm2.
  3. To practice using the K Desktop facilities of the Panel, Konqueror, and K Package Manager.
  4. To practice using MAC OS X GUI facilities.

Lab Work

 

The first six (6) exercises below require use of a non-integrated GUI system.

0.   On your own computer system at home or in your dorm room, install a UNIX system, such as FreeBSD, and along with it, install a non-integrated GUI system, with only a window manager such as fvwm2. When you boot the system and log in, type startx at the shell prompt, and you will be working with the fvwm2 window manager.

  1. On older UNIX systems, a program named xconfigurator allowed the user to do a post-installation modification of the specifications of the physical devices used for input and output by the X Window System running as the front-end to your system. The modern equivalent of xconfigurator for UNIX is xf86config, a text-based program that can be run at the UNIX command line, and allows you to set the specifications for mouse, keyboard, monitor, display, and video card by using a simple text-based dialog session. If this program is available for your use, and after obtaining authorization from your instructor, experiment with changes to only those specifications of your system that your instructor authorizes. For an even more user-friendly way of doing this, see exercise 7 below.
  2. Open a new xterminal window as a background process on your display by using the xterm command, and use proper command options and option arguments to set the following characteristics of the xterm window (Note: You may use an integrated or non-integrated GUI system to do this exercise.

Characteristic

Option and Argument

Set the text color to red.

 

Set the background color to blue.

 

Run the vi text editor automatically as soon as the xterm opens.

 

Open an xterminal with a scrollbar that keeps 150 lines of text.

 

Open an xterminal with no scrollbar.

 

Size 120 by 120, position 120,10.

 

Size 30 by 30, position 0,0.

 

 

  1. Examine and change the .Xdefaults file in your home directory to change the characteristics of your XFree86 display, or add additional application programs to it. Add sufficient comments to the file to describe the changes, and make a printout of your new .XDefaults file.
  2. Examine and change the .fvwm2rc file in your home directory to change the characteristics of the fvwm2 window manager to suit your likes or dislikes. Add sufficient comments detailing your changes or additions, and make a printout of your new .fvwm2rc file.
  3. In your .fvwm2rc file, design a custom menu activated by the right-most mouse button that launches popular application programs on your system. Add sufficient comments to this section of the .fvwm2rc file, and make a printout of the new file.

The following 9 exercises deal with KDE.

  1. On top of the non-integrated GUI installation you did in exercise 0 above, install the KDE Desktop with all components.
  2. Use the KDE Main Menu choice Settings>Control Center>Peripherals>X Display to achieve a similar result to exercise 1 above. In KDE version 3.1, it launches K XConfig, a graphical version of the text-based xf86config program.
  3. How do you remove an icon from the KDE Panel?

 

 

  1. Add an application button to the KDE Panel.
  2. If your UNIX system and KDE come with the K Package Manager, add a new application to your system with it from a distribution CD-ROM with packages on it. Note the similarity between K Package Manager and Section 21.3.3 sysinstall, or RedHat RPM. An alternative way of doing this is to download the package from the Internet, and then use the K Package Manager to install it on your system.
  3. If your UNIX system and KDE come with the K Package Manager, use it to delete the package that you installed in exercise 9 above from the system.
  4. Use K Package Manager to install other useful applications that you want on your UNIX system.
  5. Use the Konqueror file manager to create and then delete the following structure of text files (1st, 2nd, 1stcopy) and directories under your home directory. A directory is shown as a parallelogram; a text file is shown as a rectangle.

 

 

 

  1. Use the Konqueror file manager to create and then delete the following structure of text files (1st, 2nd, and 1stcopy) and directories under your home directory. A directory is shown as a parallelogram; a text file is shown as a rectangle.

 

 

The following six (6) exercises deal with Mac OS X UNIX

  1. Use the Terminal Preferences dialog box and the Terminal Inspector to make changes to The Terminal similar to those done on an xterm in exercise 2 above. Also, change the default shell to something other than the default, and something other than zsh, with the NetInfo Manager, if you have admin privileges on your computer.
  2. Add icon(s) to the Dock and subtract others, or rearrange the icons already there to customize the appearance of the Dock to your liking, i.e., with icons to launch applications that you use most frequently.
  3. How could you most easily transfer a text file, created in Mac OS X UNIX with the text editor vi, to a Windows XP computer, and see the text formatted on-screen in Windows exactly the same way it was formatted on-screen on the Mac?

 

 

 

 

 

  1. When an icon on The Dock is bouncing up and down, what does that mean?

 

 

  1. Use the Finder to create and then delete the following structure of text files (1st, 2nd, 1stcopy) and directories under your home directory. A directory is shown as a parallelogram; a text file is shown as a rectangle.

 

  1. Use the Finder file to create and then delete the following structure of text files (1st, 2nd, and 1stcopy) and directories under your home directory. A directory is shown as a parallelogram; a text file is shown as a rectangle.

 

 

     

 

horizontal rule

Back to CS140U Homepage
This page was last modified September 26, 2004
wmorales@pcc.edu