GNOME 2.0 Desktop for the Solaris Operating Environment User Guide

Desktop Objects

A desktop object is an icon on your desktop that you can use to open your files, folders, and applications. All objects on your desktop reside in the desktop directory. When you move objects to the desktop, the objects are moved to this directory. You can also use your home directory as the desktop directory.

By default, your desktop contains three objects. You can also add objects to your desktop to provide convenient access to files, folders, and applications that you use frequently. For example, you can add a launcher to your desktop to enable you to open a particular application that you use often.

Table 8–2 describes the types of object that you can add to your desktop.

Table 8–2 Types of Desktop Objects

Object Type 

Description 

Symbolic link 

A symbolic link is an object that points to another file or folder. When you choose a symbolic link from the desktop, the file or folder that the symbolic link points to is opened. You can move or copy a symbolic link to the desktop. 

You can identify symbolic links by the default arrow emblem that appears on all symbolic links. 

Launcher 

You can add the following types of launcher to the desktop: 

  • Application: Starts a particular application.

  • Link: Links to a particular file, folder, or URL.

File 

You can add files to your desktop. Files on your desktop reside in your desktop directory.  

Folder  

You can move folders to your desktop, and you can create folders on your desktop. Folders on your desktop reside in your desktop directory. 

You can modify desktop objects in the following ways:

The following sections describe how to work with objects on the desktop.

To Select Objects on the Desktop

To select an object on the desktop, click on the object. To select multiple objects, press-and-hold Ctrl, then click on the objects that you want to select.

You can also select an area on the desktop to select all objects within that area. Click-and-hold on the desktop, then drag over the area that contains the objects that you want to select. When you click-and-hold then drag, a grey rectangle appears to mark the area that you select.

To select multiple areas, press-and-hold Ctrl, then drag over the areas that you want to select.

To Open an Object from the Desktop

To open an object from the desktop, double-click on the object. Alternatively, right-click on the object, then choose Open. When you open on an object, the default action for the object executes. For example, if the object is a text file, the text file opens in a Nautilus window. The default actions for file types are specified in the File Types and Programs preference tool.

To execute an action other than the default action for an object, right-click on the object, then choose Open With. Choose an action from the Open With submenu.

The items in the Open With submenu correspond to the contents of the following parts of the File Types and Programs preference tool:

You can set your preferences in a Nautilus window so that you click once on a file to execute the default action.

To Add a Launcher to the Desktop

A desktop launcher can start an application or link to a particular file, folder, or FTP site.

To add a launcher to your desktop, perform the following steps:

  1. Right-click on the desktop, then choose New Launcher. A Create Launcher dialog is displayed.

  2. For information on how to enter the properties of the launcher in the Create Launcher dialog, see Working With Panels.

    The command that you enter for the launcher is the command that is executed when you use the desktop object. The following table shows some sample commands and the actions that the commands perform.

    Sample Command 

    Action 

    gedit

    Starts the gedit application.

    gedit /user123/loremipsum.txt

    Opens the file /user123/loremipsum.txt in the gedit application.

    nautilus /user123/Projects

    Opens the folder /user123/Projects in a Nautilus window.

To Add a Symbolic Link to the Desktop

You can create symbolic links on your desktop to perform the following actions:

To create a symbolic link on the desktop, perform the following steps:

  1. Display the file or folder for which you want to create a symbolic link in a Nautilus window.

  2. Create a symbolic link to the file or folder. To create a symbolic link to a file or folder, select the file or folder to which you want to create a link. Choose Edit -> Make Link. A link to the file or folder is added to the current folder. You can identify symbolic links by the default arrow emblem that appears on all symbolic links. The following figure shows a symbolic link to a file:

    File icon with symbolic link emblem.
  3. Drag the symbolic link to the desktop. The icon for the object is moved to the desktop.

Adding a File or Folder to the Desktop

The following sections describe how you can add file objects and folder objects to the desktop.

To Move a File or Folder to the Desktop

You can move a file or folder from a Nautilus window to the desktop. To move a file or folder to the desktop, perform the following steps:

  1. Open a Nautilus window.

  2. In the view pane, display the file or folder that you want to move.

  3. Drag the file or folder to the desktop. The icon for the file or folder is moved to the desktop. The file or folder is moved to your desktop directory.

    Alternatively, select the file or folder, then choose Edit -> Cut Files. Right-click on any desktop object, then choose Paste Files.

To Copy a File or Folder to the Desktop

You can copy a file or folder from a Nautilus window to the desktop. To copy a file or folder to the desktop, perform the following steps:

  1. Open a Nautilus window.

  2. In the view pane, display the file or folder that you want to move.

  3. Press-and-hold Ctrl, then drag the file or folder to the desktop. An icon for the file or folder is added to the desktop. The file or folder is copied to your desktop directory.

    Alternatively, select the file or folder, then choose Edit -> Copy Files. Right-click on any desktop object, then choose Paste Files.

To Create a Folder Object on the Desktop

To create a folder object, right-click on the desktop to open the Desktop menu. Choose New Folder. An untitled folder is added to the desktop. Type the name of the new folder, then press Return. The folder is displayed with the new name. The new folder resides in your desktop directory.

To Remove an Object from the Desktop

To remove an object from the desktop, right-click on the object, then choose Move to Trash. Alternatively, drag the object to Trash.

To Delete an Object from the Desktop

When you delete an object from the desktop, the object is not moved to Trash, but is immediately deleted from the desktop. The Delete menu item is only available if you select the Include a Delete command that bypasses Trash option in the Nautilus Preferences dialog.

To delete an object from the desktop right-click on the object, then choose Delete.