Abstract
File managers have grown to become multi-tasking applications, which do not only take care of basic tasks such as copying and moving files around. In fact, with Konqueror you are able to manage your files, browse a LAN, play audio files such as MP3s, surf on the web, and more.
In this chapter, we take for granted that you have used a file manager before, and that it is not necessary to describe elementary features which are self-explanatory. We decided to talk about Konqueror which is KDE default file manager.
You access your file manager by clicking on the Home icon located on the top left of your desktop.
The right side of the window displays the current folder's contents (by default, what your home directory contains). On the left side of the window is the sidebar (refer to the section called “Sidebars”). Each file or sub-directory is represented by an icon, although you can change that view through the -> menu.
Here are short definitions of the icons in Konqueror's sidebar:
Table 11.1. Konqueror Sidebar Icons
Icon | Meaning |
---|---|
![]() | Show Navigation Panel. This icon lets you change the sidebar view, add new folders, and more. |
![]() | Bookmarks. Where you can store your preferred web and FTP sites. |
![]() | Devices. Gives you access to the CD-ROM, the Floppy, removable devices (such as USB keys under the Hard disk entry), and Remote Shared folders, such as NFS or SMB shares (see the section called “Local Disk Sharing: Allowing Users to Share Folders”). |
![]() | History. A list of the folders and network (web, FTP, etc.) sites you have visited during the current session. |
![]() | Home Directory. Represents your personal folder in which you organize your audio and data files. |
![]() | Network. Gives you access to FTP archives as well as Mandrakelinux- and KDE- specific web sites (of course, you can add or delete some sites). |
![]() | Root Folder. Lets you access your whole tree structure. Usually, you do not have enough rights to manipulate files outside your home directory. Only the system administrator (root) possesses the rights to do so. |
![]() | Services. Gives you access to the Audio CD Browser, Devices, Fonts, the LAN Browser and the Print System Browser. |
Copying Files. Let's imagine you want to copy test.png to the Documents folder. With Konqueror, you first need to access the -> (or press the Ctrl-Shift-L keys) menu or the -> (or press the Ctrl-Shift-T keys) menu. Your window will be duplicated and you will be able to drag'n'drop the test.png image file into the Documents folder. Once you let go the file on the folder, a pop up menu will ask you whether you want to move, copy or link the file. The easiest way is still the drag'n'drop technique.
![]() | Note |
---|---|
There are many ways to manipulate files within your file manager. Drag'n'drop, keyboard shortcut combinations, opening two file managers, etc. Choose the one you prefer. |
Moving Files. The same principle applies to moving files around. However, use the Ctrl-X shortcut instead of Ctrl-C to move your files. Of course, you can accomplish this by drag'n'drop too.
Linking Files. Linking files allows you to access them without actually copying them all around your home directory. Let's imagine one of your files is deeply buried into the /home/queen/Music/Artists/FavoriteArtist/ directory and you want to access it quickly. Here's how to proceed. With Konqueror simply drag it to the desired location, release the mouse button and select Link Here.
Deleting Files. There are “safe” and “unsafe” ways to delete files. The safe way would be to move it to the Trash, while the unsafe one would be to delete it for good directly. To delete a file, select it and press the Del key. To restore it, double-click on the Trash icon on your desktop and drag the file(s) back into your browser. To delete trashed files, simply Empty Trash Bin with a right click on it. To delete a file directly, right-click on it and select Delete.
If you frequently browse through directories containing HTML files, for example your distribution's documentation, these directories generally contain a file called index.html.
Let's take the /usr/share/doc/HTML/ diresctory as an example. If you do not activate the Use index.html option, you will only get a list of files and directories which that folder contains. If you activate that option, Konqueror displays the contents of the index.html file, and you can browse through the documentation, as if you were on the web. To activate it, access the -> .
Browsing the web with Konqueror is as easy as using a “real” web browser (please see Chapter 8, Surfing with Mozilla). Just type in the URL of the site you want to visit in the location bar and surf.
Abstract
This feature allows you to share your documents with other people on the local network and access documents other people share. It also enables system administrators to provide users with common repositories where everyone can add, modify and consult files.
If file sharing is activated through the Mandrakelinux Control Center (please see the section called “Local Disk Sharing: Allowing Users to Share Folders”) you can right-click on folders in your Konqueror window and choose . It allows you to share one or as many folders as you like through NFS [7] or Samba [8].
You can browse all available shared files on the network by opening the LAN Browser section in the Services sidebar icon. All machines offering shared files will appear as folders under this section. Inside the host name folder appears one folder per protocol supported by this machine. Those may be:
This protocol relies on ssh communications. So every local machine having an ssh server running on it will allow you to connect to it (providing proper authentication) and browse all the folders you have access to.
Under this folder will appear the shares provided by UNIX machines (see the section called “Importing Remote NFS Directories”).
Shares provided by Windows or SMB-enabled machines will show up under this folder (see the section called “Importing Remote SMB Directories”).
[7] NFS (Network File System) allows you to share, export/import files from/to your computer in a networked environment. Although the NFS setup is easier than the Samba one, it can only be used within a UNIX-based system (like GNU/Linux). Moreover, NFS is an insecure protocol and should be used exclusively in a secure local environment.
[8] SMB is a protocol by which PCs share resources such as files and printers. Windows, GNU/Linux (through Samba) and OS/2 operating systems, among others, support the SMB protocol. It can be considered an alternative to Netware and NFS.