Browsing the System, Files and Folders on the CentOS 6 Desktop
Previous | Table of Contents | Next |
Configuring the CentOS 6 Desktop Menu System | Configuring the CentOS 6 Nautilus File Manager |
You are reading a sample chapter from the CentOS 6 Essentials Essentials book. Purchase a copy of the fully updated CentOS 8 edition in eBook ($24.99) or Print ($36.99) format CentOS 8 Essentials Print and eBook (ePub/PDF/Kindle) editions contain 31 chapters and over 260 pages. Learn more... |
The CentOS 6 GNOME desktop includes a powerful graphical environment that provides easy access to files, folders, network locations and storage devices. Whilst such a concept may not be revolutionary to those who are familiar with Windows Explorer (the technology that enables you browse your disks, files, folders etc on Microsoft Windows) it is important to keep in mind that up until the late 1990s Linux didn't have anything like this.
The technology that provides this functionality is called Nautilus. Nautilus was created by a company called Eazel. Eazel was founded by Andy Hertzfeld, one of the original developers of the first Apple Macintosh. Sadly, Eazel went out of business a few years after it was started. Fortunately, thanks to the unique power of open source software, Nautilus lived on and is now an integral part of the GNOME desktop. The current version of Nautilus bundled with CentOS 6 is version 2.28.4.
Accessing Nautilus
Nautilus may be accessed a number of ways. One way is to click either a folder or the Computer icon on the CentOS 6 GNOME Desktop. Nautilus may also be invoked by selecting an option from the Places menu. Any of these options will open a Nautilus window displaying the contents of the specified location.
Nautilus and the Computer Icon
Double clicking on the Computer desktop icon will invoke Nautilus with a list of devices and locations available for browsing. The following figure shows a typical Nautilus display:
In the above example the primary storage devices and file systems on the system are listed. Double clicking on any of these icons will open a new window containing the files and folders on those devices.
The properties of any icon (such as file system type and disk usage) can be displayed by clicking with the right mouse button over an icon and selecting Properties from the resulting menu. The following figure shows the properties dialog for a file system:
Adding Emblems to Files and Folders
Recent versions of Nautilus provide a useful feature that allows descriptive emblems to be placed next to file or folder icons. For example, you might want to display a Camera emblem next a folder in which you store digital pictures, or a Presentation emblem next to a file containing a presentation. The addition of emblems is achieved using the Nautilus Properties panel. As an example, we will add emblems next to the following Documents and Mail Archive folders:
To add an emblem, select the Documents folder and right click with the mouse. From the popup menu, select Properties and in the properties dialog click on the Emblems tab:
Scroll down the list of emblems until you find the documents emblem and select the checkbox to add the emblem. Note that you can add more than one emblem to each file or folder. Repeat these steps to add a Mail emblem to the Mail Archives folder and close the properties dialog. The end result should appear as follows:
Changing File and Folder Permissions
The access permissions on files and folders may also be changed using Nautilus. As with most other file and folder settings this is achieved using the Properties dialog. Click with the right mouse button over the file or folder to be changed and select Properties from the popup menu. In the resulting properties dialog select the Permissions tab to display the current settings for the file or folder:
Permissions are divided into three main categories with a few miscellaneous settings at the bottom of the dialog:
- Owner - Defines the permissions for the owner of the file or folder
- Group - Specifies the permissions for users in the same group as the owner of the file or folder
- Others - Specifies the permissions for any users that do not fall into the above categories
- Execute - Defines whether the file can be executed as a program or not
- SELinux Context - A setting specific to the Security Enhanced Linux standard
Pressing the Apply permissions to enclosed files button will set the chosen permissions on all files contained in the selected folder (this button is not available when a file, rather than a folder, is selected).
Renaming and Deleting Files and Folders
Files and folders can be renamed by right clicking on the icon and selecting Rename from the popup menu. Files can be moved to the Trash in a number of ways. One option is to simply select the icon and press the Delete key on the keyboard. Another is to click on the icon and drag and drop into the trash can in bottom right corner of the desktop. Yet another option is to right click on the icon and select Move to Trash.
Now that we have looked at some of the features of Nautilus we will now look at configuring the CentOS 6 File Manager.
You are reading a sample chapter from the CentOS 6 Essentials Essentials book. Purchase a copy of the fully updated CentOS 8 edition in eBook ($24.99) or Print ($36.99) format CentOS 8 Essentials Print and eBook (ePub/PDF/Kindle) editions contain 31 chapters and over 260 pages. Learn more... |
Previous | Table of Contents | Next |
Configuring the CentOS 6 Desktop Menu System | Configuring the CentOS 6 Nautilus File Manager |