1.5. Accessing Folders and Files

You can access folders and files on your computer and on a network.

1.5.1. Managing Folders and Files with the File Manager

Use the File Manager to create and view folders and documents, run scripts, and create CDs of your data. In addition, the File Manager provides support for Web and file viewing.

You can open the File Manager in the following ways:

  • Click Computer+Home Folder

  • Double-click your Home directory icon on the desktop.

  • Click Computer+More Applications+File Manager.

Figure 1.3. File Manager

File Manager

You can change to the browser mode by right-clicking the folder, then clicking Browse Folder. This gives you a familiar view with a location window that shows the current path and buttons for common functions. This applies to the current File Manager window.

Figure 1.4. File Manager in Browser Mode

File Manager in Browser Mode

Some simple shortcuts for navigating in the File Manager include the following:

Table 1.4. File Manager Navigation Shortcuts

Shortcut

Description

<— or Alt-

Opens the parent folder.

or

Selects an item.

Alt-, or Enter

Opens an item.

Shift-Alt-

Opens an item and closes the current folder.

Shift-Alt-

Opens the parent folder and closes the current folder.

Shift-Ctrl-W

Closes all parent folders.

Ctrl-L

Opens a location by specifying a path or URL.

Alt-Home

Opens your home directory.

For more information, click Help+Contents in the File Manager.

You can change the File Manager preferences by clicking Edit+Preferences. The configurable preferences are organized on five tabs:

1.5.1.1. Views

To configure the appearance of the File Manager, click Edit+Preferences+Views, then select from the following options:

Table 1.5. File Manager Views Options

Section

Option

Description

Default View

View new folders using

Determines whether new folders are displayed as icons or as a list.

 

Arrange items

Sets the order items are listed in. Items can be listed by name, size, type, modification date, or emblems.

 

Sort folder before files

Places this folder at the top of the list, if this check box is selected (the default).

Show hidden and backup files

Shows hidden files and backup files in your directories. If this check box is not selected (the default), hidden and backup files do not appear.

Icon View Defaults

Default zoom level

Sets the size of items that appear in the File Manager.

 

Use compact layout

Displays items closer together.

 

Text beside icons

Displays icon captions next to the icons, rather than under them.

List View Defaults

Default zoom level

Determines the size of items that appear in the list view.

Tree View Defaults

Show only folders

When selected, displays on folders in the tree in the side pane.

1.5.1.2. Behavior

To configure the behavior of the File Manager, click Edit+Preferences+Behavior, then select from the following options:

Table 1.6. File Manager Behavior Options

Option

Description

Single Click to Activate Item

Performs the default action for an item when you click the item. If this option is selected and you point to an item, the title of the item is underlined.

Double Click to Activate Items

Performs the default action for an item when you double-click the item.

Always Open in Browser Windows

Opens the File Manager in Browser mode whenever you open it.

Run Executable Files When They Are Clicked

Runs an executable file when you click the file. An executable file is a text file than can execute (that is, a shell script).

View Executable Files When They Are Clicked

Displays the contents of an executable file when you click the file.

Ask Each Time

Displays a dialog when you click an executable file. The dialog asks whether you want to execute the file or display the file.

Ask Before Emptying Trash or Deleting Files

Displays a confirmation message before the Trash is emptied or before files are deleted.

Include a Delete Command That Bypasses Trash

Adds a Delete menu item to the Edit menu and the pop-up menu that is displayed when you right-click a file, folder, or desktop object. When you select an item and click Delete, the item is immediately deleted from your file system.

1.5.1.3. Display

To configure the way icon captions and dates appear in the File Manager, click Edit+Preferences+Display, then select from the following options:

Table 1.7. File Manager Display Options

Option

Description

Icon captions

Sets the order of information to appear beneath icon names. You can set three information types, in the order that they appear.

Date

Configures the date format.

1.5.1.4. List Columns

To configure the columns that appear in the File Manager, as well as the order in which they appear, click Edit+Preferences+List.

Select the columns that you want to appear. To change the order, click Move Up or Move Down.

1.5.1.5. Preview

To configure how file previews appear in the File Manager and whether or not folders show the number of items they contain, click Edit+Preferences, then set the following options:

Table 1.8. File Manager Preview Options

Option

Description

Show text in icons

Specifies when to preview the content of text files in the icons that represent the files.

Show thumbnails

Specifies when to show thumbnails of image files in the icons that represent the files.

Only for files smaller than

Specifies the maximum file size for files represented by thumbnails.

Preview sound files

Specifies when to preview sound files.

Count number of items

Specifies when to show the number of files contained in folders. In the Icon view, you might need to increase your zoom level to see the number.

1.5.2. Accessing Floppy Disks, CDs, or DVDs

To access floppy disks, CDs, or DVDs, insert the medium into the appropriate drive. For several types of removable media, a File Manager window pops up automatically when the media is inserted or attached to the computer. If File Manager does not open, double-click the icon for that drive to view the contents.

[Warning]Warning

Do not simply remove disks from the drive after using them. Floppy disks, CDs, and DVDs must always be unmounted from the system first. Close all File Manager sessions still accessing the medium, then right-click the icon for the medium and select Eject from the menu. Then safely remove the floppy disk or CD when the tray opens automatically.

Floppy disks can also be formatted by clicking Computer+More Applicatiodns+System+Floppy Formatter. In the Floppy Formatter dialog, select the density of the floppy disk and the file system settings: Linux native (ext2), the file system for Linux, or DOS (FAT) to use the floppy with Windows systems.

1.5.3. Finding Files on Your Computer

To locate files on your computer, click Computer, enter your search terms in the Search field, then press Enter. The results are displayed in the Desktop Search dialog box.

Figure 1.5. Desktop Search Dialog Box

Desktop Search Dialog Box

You can use the results lists to open a file, forward it via e-mail, or display it in the file manager. Simply right-click an item in the results list and select the option you want. The options available for an item in the results list depend on the type of file it is. Clicking a file in the list displays a preview of the file and information such as the title, path, and when the file was last modified or accessed.

Use the Search menu to limit your search to files in a specific location, such as your address book or Web pages, or to display only a specific type of file in your results list. The Sort menu lets you sort the items in your results list according to name, relevance, or the date the file was last modified.

You can also access Desktop Search by clicking Computer+More Applications+System+Beagle Search Tool pressing F12, or clicking Desktop Search icon on the bottom panel.

1.5.3.1. Search Tips

  • You can use both upper and lowercase letters in search terms. Searches are not case sensitive by default.

    To perform a case sensitive search, put double quotation marks (“) around the word you want to match exactly. For example, if you use “APPLE” in a search, apple would be ignored.

  • To search for optional terms, use OR (for example, apples OR oranges).

    [Important]Important

    The OR is case-sensitive when used to indicate optional search terms.

  • To exclude search terms, use a minus sign (-) in front of the term you want to exclude (for example, apples -oranges would find results containing apples but not oranges).

  • To search for an exact phrase or word, put quotation marks (“) around the phrase or word.

  • Common words such as “a,” “the,” and “is” are ignored.

  • The base form of a search term is used when searching (for example, a search for “driving” will match “drive,” “drives,” and “driven”).

1.5.3.2. Performing a Property Search

By default, the Beagle search tool looks for search terms in the text of documents and in their properties. To search for a word in a particular property, use property_keyword:query. For example, author:john searches for files that have “john” listed in the Author property.

Table 1.9. Supported Property Keywords

Keyword

Property

album

Album of the media

artist

Artist

author

Author of the content

comment

User comments

creator

Creator of the content

extension or ext

File extension (for example, extension:jpeg or ext:mp3). Use extension:or ext: to search in files with no extension.

mailfrom

E-mail sender name

mailfromaddr

E-mail sender address

mailinglist

Mailing list ID

mailto

E-mail recipient name

mailtoaddr

E-mail recipient address

tag

FSpot and Digikam image tags

title

Title

Property searches follow the rules mentioned in Section 1.5.3.1, “Search Tips”. You can use property searches as an exclusion query or OR query, and phrases can be used as query. For example, the following line will search for all PDF or HTML documents containing the word “apple” whose author property contains “john” and whose title does not contain the word “oranges.”

apple ext:pdf OR ext:html author:john -title:oranges

1.5.3.3. Setting Search and Indexing Preferences

Use the Search Preferences dialog box to set search and indexing preferences. To open Search Preferences, click Computer+More Applications+Beagle Settings. You can also click Search+Preferences in the Desktop Search dialog box.

On the Search tabbed page, click Start search & indexing services automatically to start the search daemon when you log in (this is selected by default). You can also choose the keystrokes that will display the Desktop Search window by specifying any combination of Ctrl, Alt, and a function key. F12 is the default keystroke.

On the Indexing tabbed page, you can choose to index your home directory (selected by default), to not index your home directory, and to add additional directories to index. Make sure you have rights to the directories you add. You can also specify resources that you don’t want indexed (see Section 1.5.3.4, “Preventing Files and Directories from Being Indexed” for more information).

1.5.3.4. Preventing Files and Directories from Being Indexed

Use the Search Preferences dialog box to specify resources that you don’t want indexed. These resources can include directories, patterns, mail folders, or types of objects.

  1. Click Computer+More Applications+System+Search Settings.

  2. On the Indexing tabbed page, click Add in the Privacy section.

  3. Select a resource to exclude from indexing, then specify the path to the resource.

  4. Click OK twice.

1.5.4. Accessing Files on the Network

This chapter helps you access network resources using the following tasks:

1.5.4.1. Connecting to Your Network

You can connect to a network with wired and wireless connections. To view your network connection status, click Computer. In the Status area of the main menu, The Network Connections icon shows your network connection status. For example, in the following figure, the computer is connected to a wired network using an Ethernet connection.

Figure 1.6. Network Connections Icon in the Main Menu

Network Connections Icon in the Main Menu

Click on the icon to get information about your connection, such as IP address, gateway address, and similar details.

1.5.4.1.1. Connecting to a Wired Connection
  1. Make sure that an Ethernet cable is connected to your computer's network interface card.

  2. Click the Network Connections icon on the main panel, then click Ethernet: eth0.

After a wired network connection is established, the Network Connections icon changes to show your connection type.

A connection to the network is confirmed when Wired is listed next to the Network menu item. You can also confirm connectivity by clicking the Network Connections icon. If connected, the Connection Information window displays your IP address and other details about your connection.

1.5.4.1.2. Connecting to a Wireless Connection
  1. Make sure that your computer contains a wireless network interface card.

  2. Click the Network icon on the main menu, then click Wireless: <device>.

The Network Connections icon changes to a wireless signal strength bar, and any detected wireless networks are displayed in the Network Connections menu.

If your network name is displayed, select the network name from the Network Connections menu. After you are connected, the Network icon shows that you have a wireless connection.

If you do not see your wireless network name in the Network Connections menu:

  1. Click the Network icon on the main panel, then click Other.

  2. In the Specify an ESSID dialog, type the wireless network name in the ESSID: field.

  3. (Conditional) If the wireless network is encrypted, click Show Encryption Key to display the Encryption Key field.

  4. Type the encryption code, then click OK.

    Your wireless network's name should now appear in the Network Connections menu.

  5. Select the wireless network's name.

    Upon connection, the Network icon turns blue.

You can also confirm connection by clicking the Network icon and viewing Connection Information. If connected, your IP address and other details are displayed in the Connection Information dialog.

1.5.4.2. Managing Network Connections

The Network icon lets you monitor, manage, and configure your network connections. Clicking the icon opens a window that displays which network connection is active, if you have more than one network device in your computer.

For example, if your laptop computer is configured to use a wireless port and a port for a network cable, you will see two network connections in the list.

If you are connected to the network via a cable and need to switch to use your wireless, simply click the Network icon and then click Wireless: eth1. This switches your network connection and acquires a new IP address, if needed.

[Important]Important

Prior to making the change, you should save any data, because the change in services might require that certain applications or services be restarted.

Using the menu, you can view connection informations such as the IP address being used and your hardware address.

If you need to update or make changes to your network settings, click Computer+Control Panel+Network Card. This launches the Network Card Setup wizard, which steps you through the configuration process. Using this option requires you to provide the password for root.

1.5.4.3. Accessing Network Shares

Other network devices, like workstations and servers, can be set up to share some or all of their resources. Typically, files and folders are marked to let remote users access them. These are called network shares. If your system is configured to access network shares, you can use Nautilus File Manager to access them.

To access network shares, double-click Computer+Home Folder, then click Network Servers. The window displays the network shares that you can access. Double-click the network resource that you want to access. You might be required to authenticate to the resource by providing a username and password.

To access NFS shares, double-click the UNIX Network icon. A list of UNIX shares available to you is displayed.

To access Windows shares, double-click the Windows Network icon. The Windows shares available to you are displayed.

Figure 1.7. Workgroups on a Windows Network

Workgroups on a Windows Network
1.5.4.3.1. Adding a Network Place
  1. Click Computer+Home Folder+File+Connect to Server.

  2. Specify the name you want displayed for this link and its URL, then click Connect.

    An icon for the network place is added to the desktop.

1.5.4.4. Sharing Directories from Your Computer

You can make directories on your computer available to other users on your network.

1.5.4.4.1. Enabling Sharing

Use YaST to enable sharing on your computer. In order to enable sharing, you must have root privileges and be a member of a workgroup or domain.

  1. Click Computer+More Applications+System+YaST.

  2. In YaST, click Network Services+Windows Domain Membership.

  3. In the Windows Domain Membership module, click Allow Users To Share Their Directories.

  4. Click Finish.

1.5.4.4.2. Sharing a Directory

If directory sharing is enabled on your computer, use the following steps to configure a directory to be shared.

  1. Open the File Manager and browse to the directory you want to share.

  2. Right-click the folder for the directory you want to share, then click Sharing Options.

  3. Select the Share this folder check box, then type the name you want to use for this share.

  4. If you want other users to be able to copy files to your shared directory, select the Allow other people to write in this folder check box.

  5. (Optional) Type a comment, if desired.

  6. Click Create Share.


openSUSE GNOME User Guide 10.2