Dolphin has been the default file manager for the KDE desktop beginning with Fedora 10. Other distributions that use KDE as a desktop option also use it as their default file manager. It is very powerful and provides some very advanced features.
The purpose of a file management application like Dolphin is to enable users to locate specific files when you need to use them in some way, such as to open them in a word processor or a spreadsheet program, or to delete, copy or move them. Dolphin and other file management programs also allow you to organize your files by moving or deleting files and entire folders. As a very organized Virgo I like this aspect of Dolphin.
If Dolphin is not already installed on your Linux host, you can use the following command for RPM based distributions.
yum -y install dolphin
For more recent releases of Fedora, starting with Fedora 21, you would use the dnf command which replaces yum for package management.
Dolphin can be launched directly from the KDE 4 desktop. Simply click on the folder icon with the house in it. Dolphin can also be launched from the KDE Kickoff menu; it is one of the default items in the Favorites tab of the menu.
The Dolphin Window
The default Dolphin window looks like that in Figure 2. This configuration is easy for beginners to understand, but Dolphin is highly configurable and its rich feature set can be made easily available to the most advanced users.
Like Konqueror, Dolphin can be used to browse through the file system and locate files and directories (folders). Files can be opened in various applications, they can be deleted, moved to other locations or copied. Unlike Konqueror, which can also be used as a web browser, Dolphin can only be used as a file manager. It cannot be used as a browser.
The Dolphin Interface
The Dolphin interface as shown in Figure 3, below, consists of the following major components:
- Menu bar
- Tool Bar
- Location bar
- Places Panel
- Folders Panel
- Information Panel
- Filter Bar
- Status bar
Figure 3 shows two workspaces but the default is to have only one. Using two workspaces allows you to easily drag files from one to the other to move or copy them. Files and folders can also be moved or copied by dragging them from the workspace to a folder shown in the Places or Folders panels.
The Menu Bar contains the drop-down menus that allow access to all of the features and functions of Dolphin. This includes things such as the ability to choose which panels are displayed, configuring the toolbars to show additional icons and configuring the overall functions of Dolphin. The View=>Panels menu allows you to specify which of the Panels you wish to have displayed; this is where you can place a checkmark next to the Folders Panel so that it would be displayed.
The Tool Bar is the row of icons just under the Menu Bar. It provides ready access to many functions of Dolphin. You can configure the Tool Bar to contain the icons for the functions you use most.
The Location Bar shows the path to the folder(s) being viewed in the Workspace(s). Note in Figure 3 that there are two styles which can be configured. The style of the Location Bar on the left is a standard text entry field in which you can type the complete path to a folder and which displays the path in command line interface (CLI) style to the directory displayed in the Workspace.
The Location Bar for the Workspace on the right side of Figure 3 is a new “bread crumb” style in which each folder (directory) in the path is displayed as a button. You can click on any folder button in the path to navigate immediately to that folder. Once you do so, however, the buttons for the deeper levels of the directory tree are no longer displayed. The deepest level of the tree shown is the one currently displayed in the Workspace.
The Places and Folders panels on the left side of the Dolphin window allow you to navigate to various locations.
These panels can be moved to other locations on the Dolphin window. Grab the title bar of the panel you want to move and drag it to another location in the stack of panels or move it to the opposite side of the Dolphin window. In some versions of Dolphin. the panels can also be dragged out to the desktop and undocked from the Dolphin window completely. Notice that the Folders and Places panels are stacked and that you can use the tabs to select which panel you want to interact with. Stacking the panels like this can allow you to use your valuable screen real estate more effectively.
Clicking on the diamond icon, if it exests, also undocks the panel and moves it out to the desktop.Clicking on the diamond icon while the panel is undocked redocks it back into its previous location in the Dolphin Window.
Any panel can be removed completely by clicking on the X button in the upper right corner on its title bar.
The Places Panel is a configurable list of folders and other places such as permanent and removable drives to which you may need to navigate. To add a new place to this panel, simply drag the folder from a workspace to the location you want it in the Places Panel. You can move items in this panel by dragging them up or down in the list.
The Places Panel is not hierarchical. It is a single layer of places. I typically add places to which I frequently navigate. To navigate to any of the folders in the Places Panel just single click on it.
The Folders Panel is somewhat similar to the Places Panel in that it allows you to navigate to folders displayed in it. This panel, however, is a complete directory tree of the entire file system. This tree cannot be changed as it reflects the exact current state of the filesystem. What you can do with the Folders Panel is click on a folder to display the contents of the folder in the active Workspace. You can drag and drop folders and files from the active Workspace to any folder displayed in the Folders Panel to move them to that target folder. You can also drag and drop folders from one place in the Folders Panel to another in order to move them.
The Folders Panel does not display files. It only displays folders. Files are only displayed in the Workspace.
The Information Panel displays information about the currently selected file or folder, or the file or folder over which the mouse pointer is hovering. If the file is a document or graphic of some type, Dolphin will try to display a preview of it. In Figure 1 you can see the preview of the PDF document selected in the right hand Workspace.
Other information displayed in the Information Panel are the size and type of the file as well as the last time it was modified.
If Dolphin cannot display a preview of the file, it will display an icon representing the type of file it is.
The filter bar allows you to type in a name or filename extension and filter the display so that only files and folders whose names match the typed string of characters are displayed. The Filter Bar also accepts some regular expression characters such as the period (.) to denote that any character can occupy a place in the text string. Note that this string is not case sensitive.
Figure 4, above shows the results of using the Filter Bar in the left Workspace. Other than the fact that I have typed a string in the Filter Bar, this is the same directory (folder) as in Figure 3. In Figure 4 I typed the string “d.v” so that only files which have the characters “d” and “v” but separated by a single place which can be any character at all. In this case the files now displayed include the strings “Dav”, “dav”, “dev”, and “drv”. The period (.) in the filter string I typed stands for “any character.” Two periods would mean any two characters. This is called a regular expression and it provides the ability to make very specific yet flexible matches with a single matching string.
Other regular expressions you can use might look like “d[ae]v” in which case the results would contain only files with the strings “dav” or “dev” but not “drv” or any other string in which “d” and “v” are separated by any other single character besides the specified “a” or “e”. The square brackets represent a single character place in the string, but the (in this case) two characters within the brackets represent the characters allowed in that position. So “d[ae]v” is a three character string, but only “a” or “e” are allowed in the second position.
You don’t have to use regular expressions. You could simply type “dav” in the Filter Bar to display only those files which have the specific string “dav” somewhere in their names.
Regular expressions can be very complex and there are entire books written on using regular expressions. Needless to say a complete discussion of regular expressions far exceeds the scope of this document.
Note that it is possible to configure Dolphin so that the Filter Bar is not displayed. If you need to add or remove the Filter Bar you can do so. See the section Configuring Dolphin for details of adding or removing the Filter Bar.
The Status Bar is located at the bottom of each Workspace. It displays information about the selected file or folder or, if no objects are selected, it contains information about the folder that is being viewed in the Workspace. This can be the total number of files and folders contained in the folder being viewed and the total disk space used by the objects in the folder.
Last but not least we have the Workspace. This is the center of your interaction with Dolphin. The Workspace displays the files in the folder you are viewing.You can have one or two Workspaces. The default is one, but it is easy to add the second. On the Tool Bar locate and click on the icon that is an icon of two Workspaces with a green plus sign (+) on one side. This will add the second Workspace. If you hover the mouse pointer over this icon the tooltip says “Split.”
Note that the background color of the current, active Workspace, that is the one in which you are working, is lighter than the background of the inactive is shaded a little gray. To close the active Workspace locate and click on the icon in the Tool Bar that has two workspaces and a red minus sign (-). The previously inactive workspace now fills the window and becomes the active workspace. Hovering the mouse pointer over this icon shows a tooltip that says “Close.”
The Dolphin Tool Bar
The Dolphin Tool Bar, like the tool bar for any application, provides a focal point for easy access to features and functions. All of the functions that can be accessed using the Dolphin Tool Bar can also be accessed using the menus in the Menu Bar. The Tool Bar reduces the number of clicks required to do so.
Figure 7 shows a Dolphin Tool Bar that has been somewhat customized with additional buttons. Your Dolphin Tool Bar will almost certainly look different from this one in that it will have either the default set of buttons or the ones you prefer if you have already modified it. These icons represent the features which I find most useful to which to have ready access. Let’s discuss each in order from left to right.
The Create New button, which looks like a document with a green plus sign badge, allows you to create a new folder, text or HTML file or link to a device, file or folder. It creates this new object in the currently active directory, i.e., the active folder the active Workspace. Click and hold this button to display the context menu that provides these choices.
There is also a “Create Folder” button, that looks like a folder with a green plus sign badge. Just click this to easily create a new folder. This button is not shown in the tool bar above, but can be easily added.
In either case, be sure to use the resultant menu to verify the folder location in which the new object will be created and type in the name for the new object before you press the Ok button.
The Delete button permanently deletes any and all selected objects in the active Workspace. In Figure 7, the “X” in the button is greyed out because nothing is selected. When a deletable object is selected, the “X” is red. Simply select the files, links and folders you want to delete and click on this button.
Warning: Objects deleted with the Delete button are permanently deleted. They can not be recovered.
The Folders button is a toggle, that is, it toggles the Folders Panel on and off. When clicked once, it causes the Folders Panel to be displayed and the button remains depressed. When clicked again, the button is raised and the Folders Panel disappears. Notice in Figure 7 that the Button is depressed.
Navigation – Up, Back Forward
The Navigation buttons allow rapid navigation between certain folders.
Clicking the Up button, which is not on the Tool Bar by default, it takes you to the next higher level of the directory (folder) tree. Clicking the Back button it takes you to the directory that was previously the current active directory. If you click the Forward button after clicking the Back button, it takes you forward to the directory you just left.
The Home button will always take you to the folder specified in the Dolphin configuration as the Home directory. See Configuring Dolphin for details of setting the desired location.
The Reload button forces Dolphin to reload the information for the current folder. Thus if a file has been added to the folder, deleted or modified, the change can be forced to show up. Most of the time changes are updated by Dolphin automatically because some underlying daemons (background programs) look at each folder and send update notifications programs that are working in or monitoring those folders, such as Dolphin.
The New Tab button opens a new tab in the Workspace panel of Dolphin. See Figure 3 on the page, Configuring Dolphin. This affords more flexibility in navigating and managing files. It is like tabbed browsing in the Firefox web browser. They both allow you to have multiple locations open simultaneously in only a single instance of the program.
This button allows you to delete the currently active tab. Other tabs are left open. If there is only one remaining Workspace tab, the tabs will no longer be displayed. It is not possible to delete the last remaining tab.
The New Window button launches a new instance of Dolphin. It is possible to copy and move files and folders from one Dolphin window to another. This is another flexibility option that gives you the ability to work in whatever way is comfortable for you.
The three Views buttons are designed to display the contents of folders in different ways, again giving you the option of viewing things in a way that is most meaningful and useful for you or in a particular situation.
The leftmost of these three buttons is the Icon view. This is just display of the icons in left-right rows. Where possible, the files are shown as previews rather than icons. The left Workspace in Figure 3 shows the icon view.
The middle button in Figure 8 is the compact list view. This is a vertical listing of each file and folder with no other data.
The rightmost button is the Details view. It lists the files in the displayed folder and includes information such as the file size, type, the date the file was created or last modified, the permissions and the owner of the file. In Figure 9 below many of the columns are not shown but you can slide the horizontal scroll bar to see the other columns.
The Preview button turns the preview feature on and off. Previews show the first page of a document or a small thumbnail view of a graphic. Having this enabled takes memory and CPU cycles so can be a drag on the performance of systems with slow processors or small amounts of RAM. In such instances you may want to disable previews.
The Split icon, the one with the green plus (+) sign is shown when there is a single Workspace in a tab. Clicking on this button splits the Workspace into two. Figures 3, 4 and 9 show a split Workspace. When the Workspace is split, the Close icon, with the red minus (-) sign is displayed. Clicking on the Close button closes the active workspace.
The Zoom icons, one for zoom in and one for zoom out, increase and decrease the size of the icons or previes in the active Workspace. This is the same function as the zoom slider at the bottom of the right hand Workspace in Figure 4, above.
Configure Toolbar / Configure Dolphin
These buttons open the windows to configure the Toolbar and to configure Dolphin, respectively. Refer to Configuring Dolphin for details on configuring Dolphin and the Toolbar.
This button opens the Dolphin handbook which is a very nice set of instructions for using Dolphin.
About Dolphin / About KDE
These two buttons open small windows with a little bit of information about Dolphin and KDE, respectively. This information is the version number and the author(s) as well as some other tidbits.
Just what its name implies, this button exits from Dolphin and closes it.
Dolphin is highly flexible and can be configured to meet almost any needs pertaining to filesystem navigation and file management. The major aspects of configuring Dolphin include the icons on the Tool Bar, the tools available in the user interface (UI) and how Dolphin acts in certain specific circumstances.
Configuring the Tool Bar
The Dolphin Tool Bar is the row of icons just under the Menu Bar. It provides ready access to many functions of Dolphin. You can configure the Tool Bar to contain the icons for the functions you use most.
The Dolphin Tool Bar in Figure 11 will probably not look the same as yours. I have added several icons to this one that are not in the default configuration.
Adding icons to the Tool Bar is quite easy. Using the Menu Bar choose Settings=>Configure Toolbar and the Configure Toolbars window is displayed as shown in Figure 12.
Simply drag the tools (icons) you want from the Available actions side on the left to the Current actions on the right. Drop them where you want them in the sequence. Once the icons are on the right side you can change their position by dragging them up or down in the list. You can click on Apply to make the changes and keep this window open or click on OK to apply the changes and close the window.
To remove a tool from the Tool Bar, drag it from the Current actions panel to the Available actions panel and it will automatically be placed in the correct alphabetical order in the list.
The tools I find most useful that are not on the toolbar by default are the following:
- Up button, which along with the Back and Forward buttons allows you to navigate the directory tree structure. The Up button always takes you to the next higher directory level, while the Back button takes you to the previously viewed directory. The Forward button takes you to the directory that you just left.
- The New Tab button allows you to add a new tab to the Workspace so that you can have more flexibility in the number of folders (directories) you can work with simultaneously. Note that you can drag a file or folder from the visible tab to the background tab (“LinuxBook” in Figure 3) and drop it there and move or copy the object to the directory named on the background tab.
The Dolphin Preferences menu (Menu Bar=>Settings=>Configure Dolphin) allows you to configure the basic look and behavior of Dolphin.
The Startup tab provides configuration for the default folder Dolphin is to display when it is first launched. The Documents folder in your home directory is a good place to start and should be the default setting already.
You can also specify that Dolphin starts in Split View with two Workspaces instead of the default one. The editable location bar allows you to edit the path displayed in the location bar to move directly to a new folder to display. Otherwise you can navigate using the various Panels, the icons on the Tool Bar and the Workplaces themselves.
The View Mode tab allows you to define the visual characteristics of each of the three viewing modes, as well as some general properties that apply to all views. The General tab allows you to specify whether all folders are to use the same viewing properties, which I like because I prefer the Details view for viewing all folders. The other option remembers a specific set of properties for each folder when you change them. For example you may want your basic home directory (folder) displayed in the default Icons view but a directory filled with many files to be displayed in Details mode.
The primary attributes that can be changed in each of the three view modes are the fonts and their size, the icon sizes and the size of document previews when they are shown. The Icons view also has options to define whether the grid arrangement is arranged in rows or columns.
You must press the OK or Apply buttons to make the changes you have selected.
Navigating the Filesystem with Dolphin
The term “navigating the filesystem” is a fancy way of saying that you are moving from one folder (directory) to another to locate and manage files or other folders.
Using Dolphin to navigate the file system is quite easy. The Dolphin Interface contains a number of elements directly related to the process of filesystem navigation and locating files you need to find so that you can work with them.
- Location bar
- Places Panel
- Folders Panel
- Filter Bar
There are a number of options for how the files are displayed. The default view is Icons so you simply see the icons of the objects and their names. The difference between the Icon view and the Columns view is that the columns view lines up the icons in one neat column.
The Details view shows more information about the files and folders such a their size, the last time and date they were modified, who owns them, the file type and the files’ ownership. Using this view could tell you that the reason you cannot edit a file is that it does not belong to you and the permissions are set to disallow anyone but the owner of that file from changing it. Only the owner of the file or the root user can change the permissions of a file.
See the document Linux and Security for more information on file ownership and permissions.
You can choose from among these options using the Menu Bar or the icons on the Tool Bar. To use the menu bar, select View=>View Mode and then Icons, Details or Columns. I personally prefer the Details view because of the additional information it provides me.
Opening a File with an Application
Generally you can just use a single left click on a file such as an OpenOffice document or a Word document or a spreadsheet to open it in the appropriate application.If this works as you want it to then you need do nothing else.
However this is not always the case. In some instances the wrong application is used — at least wrong for what you want to do with the file — or no default application has been specified. You can also right click on the icon of the file you want to open and get a context menu that offers some additional options.
In Figure 17 you can see the context menu shows multiple applications that you could use on this file. The one at the top is the default. Since Okular is only a viewer you may want to open the file with OpenOffice.org Writer in order to edit it. Simply right click on the file, then click on Open With and then select OpenOffice.org Writer.
You can easily change the default application to use with any given file type, or add a new one. See the section Configuring Dolphin in this document for details of how to do this.
You can also use the context menu to move, copy and delete the files.
You can select multiple files to open, move, copy ore delete. There is no need to do those things one file at a time. To select all of the files in a sequence, click on the file at the top of the list in the Workspace then hold down the Shift key and click on the bottom file in the list. All of the files in between will also be selected; then you can perform the same operation on all of them.
You can also select a number of files that are not contiguous in the list. Select the first file, then hold down the Ctrl key and use the mouse to select the additional files you want to manipulate.
Selecting any one of the previously selected files deselects all the others, or you can use hold down the Ctrl key and click on selected files to deselect them. Clicking on any unselected file without holding down either the Shift or Ctrl keys deselects all the other files and selects the one on which you click.
Creating a new folder
Those of us who like to keep our home directories organized tend to create lots of folders in which to store our data files.
First navigate to the folder in which you wish to create the new folder. If the tool bar has the “Create New” or Create Folder” buttons displayed, you can simply click on one of those buttons. When using the “Create New” button, select “Folder”.
If neither of the “Create” buttons are displayed on the toolbar, you could add them using the instructions given previously in this document, or you could right click on an empty space in the workspace.
Be sure to use the resultant menu to verify the folder location in which the new object will be created and type in the name for the new object before you press the Ok button.
Moving and Copying Files
After having selected one or more files you can move or copy them to other locations (folders). Simply locate the target directory, i.e., the directory (folder) to which you want to move or copy the files. You can use either the Folder Panel, the Places Panel or the second Workspace. Then drag the selected files to the new folder and drop them. A pop-up menu appears and you have to select whether you want to move or copy the files; select move or Copy and the operation proceeds. You can also choose to cancel the operation.
There is a fourth possible operation, which is to create a link in the target folder to the original file. This means you only have one copy of the file but the link in the target directory allows you to manipulate it just as if it were actually in that directory. This allows you to have the same file available in multiple folders, but not have to worry about keeping them all up to date when you change it.
As the default desktop GUI file manager for KDE, many people encounter Dolphin and never explore it beyond the bare minimum necessary to perform the most basic file management tasks. I hope this article has provided you with some insight into the many powerful features available in Dolphin and that will enable you to more fully utilize this very capable tool.
Unfortunately, this page is not as comprehensive as I would like. So in collaboration with Pierre4L we have created a full length PDF document, entitled, A comprehensive guide to the Dolphin file manager. Please feel free to download and use it however you see fit. It was created using LibreOffice and is published under a Creative Commons Attribution-ShareAlike license.