File juggling with Krusader

Konqueror, KDE’s default file manager and browser, is a good all-around tool, but this doesn’t necessarily mean that it fits all your file management needs. Sometimes a dedicated file manager can be a better choice for daily computing. Krusader is a powerful and versatile file manager that can make your work more efficient and productive. Krusader is available with most KDE-based major Linux distributions, including Kubuntu (and Ubuntu with KDE), PCLinuxOS, KANOTIX, etc., and you can easily install the tool using your distro’s package manager.

When you launch Krusader for the first time, it runs the Krusader configuration wizard. It does one simple but rather important thing: it locates helper utilities that Krusader uses for added functionality. Once Krusader has scanned your system, it shows an overview of installed and missing utilities. While you can simply skip the provided recommendations, it’s worth spending time on installing the missing components. Take a closer look at the missing utilities, and use the package manager to install them (on my laptop, for example, I had to install Krename, Kompare, and Kget).


Figure 1: Konfigurator allows you to tweak Krusader’s settings

Once the wizard has scanned your system, it opens the Konfigurator window, where you can tweak Krusader’s settings. First of all, you have to add paths to the installed helper utilities. Click on the Dependencies icon, and enter the paths into their respective fields. Enter, for example, /usr/bin/kompare into the kompare field and /usr/bin/kget into the kget field. Another thing you might want to configure is startup directories. For example, usually you’d want Krusader to display your home directory in the left panel and some other directory in the right panel. To do this, click on the Startup icon, select the “Start with following settings” option and enter the desired paths into the Homepage fields. Alternatively, select the “Save settings on exit” option, and Krusader will always open the last used directories on the startup. When you are satisfied with the settings, press the Close button, and you should see Krusader in all its glory.


Figure 2: Krusader’s main window is divided into two panels

If you’ve ever tried to work with a twin-panel file manager, you’ll feel at home in Krusader. And even if you are new to it, you should be able to figure out most of Krusader’s basic features. You can copy and move files from one panel to another, and you can move around directories using the navigation buttons at the top. The function buttons at the bottom allow you to perform the most common file operations with a single key press. Using context menus you can perform different actions on files and directories: right-click on a file, and you can see its preview, open it with a specified application, and manipulate it in a number of ways. In other words, you don’t even have to read the manual in order to master Krusader’s basics. But if you want to unleash its full potential and call yourself a Krusader power user, then read on.

One of the smartest features in Firefox (or any modern browser for that matter) is tabs: using them you can manage multiple Web pages in a single browser window. While Krusader is not a browser, its Tabs feature is equally useful and efficient. Using it, you can open multiple windows in the same panel and switch between them by clicking on their tabs. This feature can come in rather handy in many situations. Let’s say you have to copy files from different locations into one directory. Simply open the source directories in separate tabs in the left panel and the target directory in the right panel. Use then the tabs to switch between the source locations and copy files from them into the target directory.

Krusader includes two nifty tools that make navigation through directories faster and more efficient. The first one is the History button; Click on it, and you will see a list of all previously visited locations. Select a destination from the list to jump to it.


Figure 3. Using History, you can quickly jump to previously visited directories

Another useful tool is the bookmark manager (BookMan), and as the name suggests, it allows you to add bookmarks to locations. Using Bookmarks is easy. To bookmark, for example, the currently opened directory, press the Bookmark button and select Bookmark Current. BookMan also keeps a list of often visited locations, so you don’t even have to bookmark the most popular directories. To keep tabs on your bookmarks, use the Bookmark Editor, which allows you to add and edit bookmarks as well as group them into folders.

Krusader truly excels when it comes to dealing with multiple files: the file manager offers several indispensable tools that help you to easily manage hundreds of files. Say you have a music folder containing several hundred .ogg and .mp3 files, and you want to select all .mp3 files and move them into a separate folder. Using Krusader, you can create a filter that selects only the files that match the specified criteria. To do this, press the “Select files using the filter” button and specify the filter. Since you want to select all mp3 files, type “.mp3” into the Enter a selection field. Press OK, and Krusader selects all files with the .mp3 extension. Better yet, you can save the specified filter by pressing the Add button, so you can select the desired filter from the list when needed.

Need to rename several files in one go? No problem: select the files you want to rename and choose File > Multi Rename. This starts the Krename tool that guides you through the renaming process.

One thing that might confuse you in the beginning is how Krusader manages the removable media such as a USB stick and CDs. Normally, when you connect a USB stick, it appears on the Desktop, but to access it via Krusader, you have to navigate to /media directory. Here you should see and access all your removable storage devices.

Krusader also offers a nifty feature that can chop a file into smaller pieces, which can come in handy when you need to send a large file via email, or burn a huge backup file on several CDs. Select the file you want to chop, choose File → Split File, specify the size of each chunk, and press Split. Of course, Krusader allows you to assemble chopped files into one (File > Combine Files).

Krusader can also deal with files stored in remote locations, and it can access files via FTP (and its secure version SFTP), FISH (the protocol used to access files on remote Linux machines), and SMB (the protocol used to access files on remote Windows machines). Simply press the New Net Connection button, select the desired protocol, enter the required login info, and you can access the files as they were on your local hard disk.


Figure 4. Synchronizer is Krusader’s powerful synchronization tool

Finally, let’s take a look at Krusader’s most advanced and useful feature called Synchronizer. As the name suggests, this feature allows you to keep two directories in sync. This may not sound like much, but Synchronizer offers a few advanced functions that make it a rather powerful tool. You can, for example, perform an asymmetric synchronization that moves files only in one direction, which effectively turns Synchronizer into a backup tool. You can also specify a filter, so Synchronizer syncs only specific files.

To synchronize two directories, select them in the left and right panels and choose Commands > Synchronize Directories (or press Ctrl-Y). 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 the Synchronize button to sync the directories. If you plan to perform the specified synchronization again, you can save it as a profile. To do this, press the Profile button in the lower left corner of the window, select Add new entry, and give your profile a name. Next time you need to synchronize the directories, simply choose the created profile.

Final word

These are just a few of Krusader’s features, and there is much more to it than meets the eye. If you want to manage other aspects of this excellent file manager, make sure to read the official documentation, which you can find at http://krusader.sourceforge.net/handbook/.

Related articles:

PageDateUserTags
Collecting and organizing "stuff" with ScrapBook and Basket 2007/08/20 08:59 Dmitri Popov , , , , ,
Creating interactive forms with OpenOfice.org Writer 2007/09/07 09:51 Dmitri Popov ,
File juggling with Krusader 2007/07/15 17:34 Dmitri Popov , ,
Managing your mobile phone with floAt's Mobile Agent 2007/07/15 12:21 Dmitri Popov , , ,
Must-have open source applications for writers 2007/10/01 13:20 Dmitri Popov ,
Pepping up OOo Writer documents with sparklines 2007/09/07 12:46 Dmitri Popov ,
Thunderbird productivity guide 2007/09/04 09:24 Dmitri Popov ,
Using Thunderbird as a context management tool 2007/08/29 17:32 Dmitri Popov , ,
Visualizing your del.icio.us bookmarks DeliciousMind 2007/08/14 15:44 Dmitri Popov , , ,
iKog: The tiny task manager that could 2007/08/25 19:44 Dmitri Popov ,

AddThis Social Bookmark Button

 
articles/krusader.txt · Last modified: 2008/06/01 16:16 (external edit)
 
OpenOffice.org user? Read the Writer for Writers and Advanced Users book
GNU FDL OpenOffice.org Powered by DokuWiki