A Tour of the Fedora/RHEL Desktop 101 in .NET Implement Code-128 in .NET A Tour of the Fedora/RHEL Desktop 101

A Tour of the Fedora/RHEL Desktop 101 generate, create code-128b none in .net projects GS1 Barcodes Knowledge Figure 4-9. Part of a workspace with a Nautilus File Browser window The Desktop Directory The files on the deskt op are held in a directory that has a pathname (page 193) of /home/username/Desktop, where username is your login name or, if you are logged in on a live session, liveuser. The simple directory name is Desktop. See the tip on page 99 to turn off the Nautilus Spatial view before continuing.

When you select Main menu: Places Desktop, GNOME opens a File Browser window showing the files on the desktop (Figure 4-9). Initially there are no files. (Nautilus does not show the Computer, home directory, and Trash files in the browser window; see the adjacent optional section for an explanation.

) If you click the pencil-and-paper object at the left edge near the top of the File Browser window, the Location text box shows the pathname of the directory Nautilus is displaying.. optional Although icons for the Computer, home directory, and Trash files appear on the desktop, these files a re not stored in the /home/username/Desktop directory. Because they are not in the Desktop directory, they do not appear in a Nautilus window that displays the contents of the Desktop directory. These icons appear on the desktop because of the way the GNOME configuration files are set up.

The GNOME configuration files are XML (page 1116) files that reside in the directory hierarchy with its root at /home/username/.gconf. Although it is not recommended, you can edit these files with gconf-editor.

You must install the gconf-editor package to use this editor. See projects.gnome.

org/gconf for more information. To see the correspondence between the graphical desktop and the Desktop directory, right-click anywhere within the large clear area of the Desktop File Browser window. Select Create Document Empty File.

Nautilus creates a new file on the desktop and displays its object in this window. When you create this file, GNOME highlights the name new file under the file: You can type any name you like at this point. Press RETURN when you are finished entering the name.

If you double-click the new file, Nautilus assumes it is a text file and opens the file in a gedit window. (The. 102 4 Introduction to Fedora and Red Hat Enterprise Linux gedit utility is a sim ple text editor.) Type some text and click Save on the toolbar. Close the window either by using the File menu or by clicking the x at the right end of the titlebar.

You have created a text document on the desktop. You can now double-click the document object on the desktop or in the File Browser window to open and edit it..

Next, create a folder Code 128 Code Set A for .NET by right-clicking the root window (any empty part of the workspace) and selecting Create Folder. You can name this folder in the same way you named the file you created previously.

The folder object appears on the desktop and within the Desktop File Browser window. On the desktop, drag the file until it is over the folder; the folder opens. Release the mouse button to drop the file into the folder; GNOME moves the file to the folder.

Again on the desktop, double-click the folder you just moved the file to. GNOME opens another File Browser window, this one displaying the contents of the folder. The file you moved to the folder appears in the new window.

Now drag the file from the window to the previously opened Desktop File Browser window. The file is back on the desktop, although it may be hidden by one of the File Browser windows. Next, open a word processing document by selecting Main menu: Applications Office OpenOffice.

org Writer. If that program is not available, select Main menu: Applications Accessories gedit Text Editor. Type some text and click the Save (floppy disk) icon or select menubar: File Save to save the document.

The editor displays a Save or Save As window (Figure 4-10). Type the name you want to save the document as (use memo for now) in the text box labeled Name. You can specify the directory in which you want to save the document in one of two ways: by using the drop-down list labeled Save in folder or by using the Browse for other folders section of the Save window.

Click the triangle to the left of Browse for other folders to open and close this section of the window. Figure 4-10 shows the Save window with this section closed. With the Browse for other folders section closed, you can select a directory from the drop-down list labeled Save in folder.

This technique is quick and easy, but presents a limited number of choices of folders. By default, it saves the document in your home folder (/home/username). If you want to save the document to the desktop, click Desktop in this drop-down list and then click Save. saves the document with a filename extension of .odt, which indicates it is an OpenOffice.

org word processing document. The object for this type of file has some text and a picture in it..

Figure 4-10.
Copyright © . All rights reserved.