After a good browser, the humble file manager is arguably the most important tool in your productivity arsenal. Although the stock file manager in Ubuntu is adequate for basic file management chores, occasionally, you might need something more powerful, flexible, and perhaps a little less conventional than the bundled tool. In this case, why not give a twin-panel file manager a try? Several solid tools that fall into that category, and in this article, I'll look at a few worthy replacements for Ubuntu's default file manager.
At first blush, Sunflower [1] looks like a rather simplistic twin-panel file manager. Behind Sunflower's unassuming appearance, however, is a rather capable file management tool that offers several useful features. The project's website does provide a dedicated PPA, but it contains a version that is several steps behind the current release.
Your best bet is to install the file manager using the latest .deb package from the project's website. You also need to install the optional python-vte package, which enables the built-in terminal capabilities (Figure 1) and allows you to run commands directly from within Sunflower. To install the package, run the sudo apt-get install python-vte command.
Before you start using Sunflower, you might want to tweak its basic settings. To do this, choose Edit | Preferences. All options in the Preferences panel are grouped into several sections. In the Display section, for example, you can enable the command buttons by ticking the Show command bar check box under the Main tab, whereas the options available under Tabs let you configure the behavior and appearance of tabs in Sunflower.
The file manager's default functionality can be extended with plugins, and the file manager comes with several useful modules. Not all of them are enabled by default, though, and you can enable the desired plugins in the Plugins section (Figure 2). At the very least, you might want to enable the Basic rename options, Basic find file options, and Sessions plugins which add renaming and search functionality as well as the ability to handle multiple sessions.
Because of its user-friendly and uncluttered interface, Sunflower is easy to master, and you shouldn't have problems coming to grips with its basic functionality. The file manager also supports tabs, so if two panes are not enough, you can open as many tabs as you need.
When you quit and launch Sunflower, it picks up right where you left off, preserving all the previously opened tabs and current locations. Better still, if you enabled the Sessions plugin, you can save Sunflower's current state as a session. Adding and managing sessions in Sunflower is not particularly complicated. Use the Session button in the upper right corner of the main window to access the Session section and manage sessions.
If you enabled the Show command bar option, you can perform common actions like creating, renaming, copying, moving, and deleting files and directories via a dedicated button at the bottom of the main window. Sunflower also offers a bookmarking feature, which can come in handy when you need to quickly jump to often used directories. Using the History button, you can easily navigate to any previously visited directory.
The file manager packs a few other useful features, too. Using the command bar, you can run commands without leaving the convenience of the file manager. Need to select all .php files in the current directory? Select a .php file, choose the Mark | Choose with same extension command, and Sunflower conveniently selects all .php files for you.
The Mark | Select with pattern command allows you to select files that match specified regular expressions (Figure 3), and the Advanced Rename tool (Tools | Advanced Rename) can be used to batch rename multiple files. Both of these features require a working knowledge of regular expressions, however. Mark | Compare directories is yet another useful command that compares the contents of the directories in the right and left panels and automatically selects files missing in either directory.
Sunflower can also handle remote servers, and the file manager supports the FTP, SFTP, Samba, and WebDav protocols. The mount manager, which is accessible via Tools | Mount manager, lets you create, manage, and mount remote volumes. Additionally, Sunflower provides extensive support for keyboard shortcuts, so you can perform practically any task without using the mouse. If the default key bindings don't suit you, you can change them in the dedicated section in the Preferences panel.
In short, despite being a lightweight file manager, Sunflower is definitely not light on features. Unfortunately, some of its advanced features have yet to be documented. Even without them, however, Sunflower is still a capable tool for juggling files.
Why have two panels when you can have four? If you think this line of reasoning makes sense, then you'll appreciate the 4Pane file manager [2]. Thanks to its speed and the lack of fancy trimmings, 4Pane lets you focus on what's important (i.e., managing files), while the four-pane interface gives you a lot of room for working with files and directories (Figure 4).
Although 4Pane is not available through the official software repositories, the project provides its own repository along with downloadable Ubuntu .deb packages for Ubuntu. So, deploying the file manager on the Ubuntu desktop is a rather straightforward affair.
Although 4Pane may look like a bare-bones file manager, it has a few tricks up its sleeve. Similar to Sunflower, 4Pane supports tabs called pages, and you can have up to 26 pages (each containing four panes) opened simultaneously, which should be enough even for the most demanding users. Each tab (or page) can be saved as a template similar to Sunflower's session. Additionally, a bookmark feature lets you save and quickly access often used directories. The file manager even has a dedicated bookmark manager to help you organize and manage bookmarks (Figure 5).
When it comes to searching capabilities, 4Pane provides a graphical interface to three powerful tools: locate, find, and grep. Although the graphical interface makes it easier to construct search queries, a working knowledge of these tools is helpful if you want to get the most out of 4Pane's searching capabilities. Unlike Sunflower, 4Pane does not have a built-in terminal, but you can launch the default terminal using Ctrl+T (or by choosing Tools | Launch Terminal).
Using the commands tucked under the right-click menu, you can perform a variety of operations on the selected file or directory. Better still, 4Pane lets you add your own custom actions called tools (Figure 6). For example, you can add an action that opens the currently selected file in the nano text editor. To do this, choose Options | Configure 4Pane and switch to the Tools | Add a Tool section. Enter the nano %a command (%a is a placeholder replaced by the currently selected file), give the command a descriptive name, choose the existing menu or create a new one, and press Add the Tool. Then, press Apply and Finish, and you can access the added tool by choosing the Tools | Run a Program menu.
4Pane sports the dedicated Archive menu, which gives you access to commands for creating and managing archives. The file manager also offers shortcuts to frequently used editors, and you can easily replace the default editors with your own preferred applications. Choose Options | Configure 4Pane, switch to The Display | Misc section, and press the Configure toolbar editors button. You can then add your favorite applications.
4Pane also is supplied with comprehensive online documentation [3], which will help you to get the most out of this nifty file manager.
Krusader [4] has been around for quite a while, and this mature twin-panel file manager offers a veritable cornucopia of useful tools and features. Krusader is available in the official software repository, so installing the file manager on Ubuntu and its derivatives is easy. Because Krusader is designed to work with KDE, it's probably better suited for Kubuntu; however, the file manager runs fine on Ubuntu and its other flavors, too.
When you launch Krusader for the first time, it runs the Krusader configuration wizard, which locates helper utilities that Krusader uses for added functionality. Once Krusader has scanned your system, it shows an overview of installed and missing utilities. Although you can simply skip the provided recommendations, spending time installing the missing components is worthwhile.
Because Krusader follows closely the twin-panel file manager conventions, the tool is relatively easy to master. You can copy and move files from one panel to another and move around directories using the navigation buttons at the top. The function buttons at the bottom let you perform the most common file operations with a single mouse click. Other creature comforts, such as history and bookmark features, are also present and accounted for.
Like any file manager worth its salt, Krusader can access remote servers, and it supports popular protocols like SSH, FTP, SFTP, and Samba (Figure 7). Establishing a connection to a remote server in Krusader couldn't be easier: Choose Tools | New Net Connection, select the desired protocol from the Protocol drop-down list, specify the required connection info, and hit Connect.
Disk Usage is another nifty feature, which provides a graphical overview of the disk space used by files and folders in the specified directory. To use this feature, choose Tools | Disk Usage, specify the path to the desired directory, and press OK. You should then see a disk usage graph (Figure 8). Instead of the conventional bar chart, you can view disk usage stats as a donut chart by pressing the Filelight View button.
Finally, Krusader features a handy synchronization tool, which offers a few advanced functions that make it rather powerful. For example, it can perform an asymmetric synchronization that moves files only in one direction, which effectively turns Krusader into a no-frills backup tool. You can also specify a filter, so the file manager syncs only specific files.
To synchronize two directories, select them in the left and right panels and choose Tools | Synchronize Directories. Pay particular attention to what directories are set as target and source (you can swap the target and source directories by clicking on the Swap Sides button in the lower left corner of the window). Press the Compare button to see a list of synchronization actions for each file. Finally, press Synchronize to sync the directories.
If you plan to perform the specified synchronization again, you can save it as a profile (Figure 9). To do this, press the Profiles button in the lower left corner of the window, select Add new entry, and give your profile a name. The next time you need to synchronize the directories, you can simply choose the created profile.
Although Krusader might look slightly out of place in a graphical desktop environment other than KDE, it may still earn a place on your desktop thanks to its comprehensive feature set and customization options.
This article covered only a subset of the features that the three file managers have to offer. However, I hope it was enough to whet your appetite and compel you to try to replace the stock file manager with a twin-panel tool. l
Infos