Open-source News

Explore the features of the Linux Double Commander file manager

opensource.com - Tue, 12/20/2022 - 16:00
Explore the features of the Linux Double Commander file manager sethkenlon Tue, 12/20/2022 - 03:00

Double Commander is a graphical dual-pane file manager for Linux, in the tradition of Midnight Commander (mc). While Midnight Commander (like the DOS application Norton Commander before it) has its fans, its audience is limited by the fact that it only runs in a terminal window. Not everyone wants to use a "flat" interface embedded in a terminal to browse their file system, and so Double Commander provides a similar interface in a way that feels familiar to many desktop users.

Image by:

(Seth Kenlon, CC BY-SA 4.0)

Install Double Commander

To install Double Commander, visit its website and download a package. It's not packaged for a specific Linux distribution, so just download an archive for your CPU architecture.

If you only want to try it out, you can unarchive it and then launch it from your Downloads folder.

To install it permanently, unarchive the package, move it into a location in your path, and then symlink doublecmd to the executable in the source directory:

$ tar xvf doublecmd*tar.xz
$ mv doublecmd ~/.local/bin/doublecmd-X.Y.Z
$ ln -s ~/.local/bin/doublecmd-X.Y.Z/doublecmd ~~/.local/bin/doublecmdHow to start Double Commander

To start Double Commander, use the command doublecmd.

Alternatively, you can add an entry for Double Commander in your application menu. First, create the file ~/.local/share/applications/doublecmd.desktop and enter this text into it:

[Desktop Entry]
Encoding=UTF-8
Name=doublecmd
GenericName=Double Commander
Comment=doublecmd
Exec=../bin/doublecmd
Icon=/usr/share/icons//Adwaita/scalable/apps/system-file-manager-symbolic.svg
Terminal=false
Type=Application
Categories=System;FileTools;Utility;Core;GTK;FileManager;

Now Double Commander appears in your desktop application menu. Note that this does not make Double Commander your default file manager. It only adds it as an application you can launch when you want to.

More Linux resources Linux commands cheat sheet Advanced Linux commands cheat sheet Free online course: RHEL technical overview Linux networking cheat sheet SELinux cheat sheet Linux common commands cheat sheet What are Linux containers? Our latest Linux articles Two panels

Dual-panel file management is a tradition within a subset of file managers, and to some users it's a little unsettling. If you think about it, though, most file management tasks involve a source location and a destination location. You might be used to a workflow that goes something like this:

  1. Open a file manager and find a file you want to move.

  2. Open another file manager window and navigate to the folder you want to move the file into.

  3. Drag and drop the file from one window to the other.

You might use a variation of this involving, for instance, a right-click to copy combined with some navigation and another right-click to paste. Either way, the ingredients are the same. You locate the source, you locate the destination, and then you make the transfer.

Given that common factor, it makes sense that a file manager like Double Command has a persistent view of the source location and the destination location. At the very least, it saves you from having to open another window.

Double Commander interface

Once you get used to the idea of two concurrent views in your file system, there are a lot more features to discover in Double Commander.

  • Menu bar: At the top of the window is a menu bar. That's pretty standard conceptually, but the menu entries are probably unlike any menu bar you've seen before: File, Mark, Commands, Network, Tabs, and more. These are task-specific menus, which is great because you can ignore an entire submenu you don't use.

  • Toolbar: Under the menu bar, there are buttons for common tasks such as opening a terminal, copying a file, synchronizing two directories, and more.

  • Locations: The location bar is situated just under the toolbar. It lists devices and file system locations, including your boot partition, optical media drive, virtual shared locations, the root directory, your home directory (listed as ~), and more.

  • File list: Most of the Double Commander window is occupied by the dual panel view of your file system.

  • Command: My favorite feature of Double Commander is the single command field below the file list pane. This allows you to enter an arbitrary command to run within the active pane. This is great for the odd command you need to run in a directory that no file manager expects you to run, and so no file manager has a function for. It's the brute force method of the plugin model: Provide a command line and let users run what they need to run whenever they need to run it.

  • Functions: Along the very bottom of the Double Commander window, as with Midnight Commander, there's a list of common functions, each assigned to a Function key on your keyboard.

Using Double Commander

Using Double Commander is a lot like using any file manager, except that Double Commander is focused on groups of actions. For instance, the File menu isn't an obligatory entry with just New Window and New Tab, it's full of useful functions, like creating a symlink or hard link, changing attributes, comparing contents, bulk renaming, splitting and combining files, and more. Double Commander is direct. It gets straight to the point, serving as a stand-in for all the commands you'd normally run in a terminal.

Graphical command interface

More than any other file manager I've seen, Double Commander feels like it's meant to be a graphical interface for commands. You can map almost everything in its interface to a command or series of commands you're used to running in a terminal.

Of course, the question then is whether you need a graphical command line. Why not just run the commands in a terminal? Interestingly, I had the opportunity to witness the value of this recently. There are times, as a support person for other computer users, when trying to get a user to navigate the terminal can be overwhelming. This is particularly true when your user is texting on an app on their mobile phone, and you're giving them commands to type into a terminal on their desktop. This introduces several opportunities for mistakes, and what was meant to be "the fast way" of doing something ends up taking an hour.

It's counter-intuitive to a terminal user, and it's not even always true, but there are times when a graphical interface really is easier to give instructions for. Picture it: A zombie apocalypse rages outside your compound, and the file permissions of a vital file need to be changed in order to activate the firewall. "Open a terminal and type chmod a+x /usr/local/bin/foo…​no, that's ch as in change, mod as in mode but without the e…​no, and then a space. Not between the ch and the mod, just after the mod. And then a space. It's chmod and then a space. Not the word space, just press the spacebar. It's the really long key under your thumb…​"

Or you could just say this: "Click on the file, now with that selected, go to the File menu up at the top and click on Change Attributes…​"

Double Command's central feature is in its powerful features disguised as a non-threatening graphical file manager. Download and try it out for yourself.

Double Commander is a graphical dual-pane file manager for Linux

Image by:

opensource.com

Linux What to read next This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. Register or Login to post a comment.

Progress – Show Percentage of Copied Data for (cp, mv, dd, tar) Commands

Tecmint - Tue, 12/20/2022 - 15:31
The post Progress – Show Percentage of Copied Data for (cp, mv, dd, tar) Commands first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

Progress, formerly known as Coreutils Viewer, is a light C command that searches for coreutils basic commands such as cp, mv, tar, dd, gzip/gunzip, cat, grep, etc currently being executed on the system and

The post Progress – Show Percentage of Copied Data for (cp, mv, dd, tar) Commands first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

16 Best Microsoft Teams Alternatives For Linux

Tecmint - Tue, 12/20/2022 - 13:25
The post 16 Best Microsoft Teams Alternatives For Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

Brief: In this guide, we explore the best Microsoft Teams alternatives for Linux that you can use to streamline your workflows and collaborate with your friends and colleagues. Microsoft Teams is one of the

The post 16 Best Microsoft Teams Alternatives For Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

Arch Linux Powered EndeavourOS "Cassini" Brings Desktop & Arm Improvements

Phoronix - Tue, 12/20/2022 - 07:16
EndeavourOS continues to prove itself as one of the easiest-to-use, quick-to-install Arch Linux powered operating systems out there. Out today is the EndeavourOS "Cassini" update with more desktop enhancements as well as a number of Arm hardware support improvements...

Updated Zstd Implementation Merged For Linux 6.2

Phoronix - Tue, 12/20/2022 - 03:47
It finally happened! An updated Zstd kernel implementation based on Zstd v1.5 upstream has been merged for the in-development Linux 6.2 to provide better performance and reliability for Zstd compression/decompression use-cases from compressed firmware to transparent file-system compression...

Linux 6.2 "char/misc" Changes Land With Continued Intel Gaudi2 Enablement

Phoronix - Tue, 12/20/2022 - 03:20
The "char/misc" changes have been merged for the in-development Linux 6.2 as the random catch-all area of the kernel for drivers not fitting well in other subsystem areas. Notably with this update for Linux 6.2 is continued work on enabling the Intel-owned Habana Labs Gaudi2 AI accelerator...

AMD 4th Gen EPYC 9654 "Genoa" AVX-512 Performance Analysis

Phoronix - Mon, 12/19/2022 - 23:00
With the great AMD 4th Gen EPYC Linux performance showing significant generational uplift and dominating against the current Xeon Scalable "Ice Lake" competition, it's a combination of the twelve channels of DDR5 system memory support, up to 96 cores per socket, introduction of AVX-512, and other Zen 4 micro-architectural improvements. As follow-up testing articles to all of the Genoa data delivered thus far, over the weeks ahead I have additional benchmark results to share looking more closely at these different areas of improvement for AMD 4th Gen EPYC. In today's article is a look at the EPYC 9654 2P performance with AVX-512 on/off while also looking at the CPU power consumption impact and the affect on CPU clock frequencies and thermals.

Pages