Science and technology

Take pleasure in two-panel file administration on Linux with far2l

Far2l is a port of the Windows text-based file supervisor Far. And to be clear, that is a lower-case L (as in “Linux”) not a quantity 1. It runs within the terminal and is designed round a plug-in construction, enabling compatibility with SSH, WebDAV, NFS, and extra. You can compile and run far2l on Linux, Mac, and BSD, or Far on Windows.

Install far2l

Far2l is at the moment in beta, so that you’re unlikely to search out it in your Linux distribution’s software program repository. However, you may compile it from source by downloading cloning its Git repository:

$ git clone --depth 1

You can flick thru the supply code to see all of its completely different elements. The foremost supply information are in utils/src:


The file ZombieControl.cpp works to mitigate a zombie apocalypse (at the very least, by way of processes), the file ThreadedWorkQueue.cpp helps pace processes alongside through the use of threading. Far2l is not simply constructed for extensibility, it is constructed responsibly!

Assuming you have already ready your system for compiling code, as described within the compiling from source article, you need to additionally set up some growth libraries required by far2l. On Fedora, CentOS, OpenMandriva, and Mageia, the minimal listing is:

On Debian, the minimal listing is:

  • libwxgtk3.0-gtk3-dev

  • libuchardet-dev

  • libspdlog-dev

  • libxerces-c-dev

Use CMake to arrange the makefiles:

$ mkdir construct
$ cd !$
$ cmake .. -DUSEUCD=no

The -DUSECD=no choice is required provided that you do not have the event libraries for chardet put in. If you do, then you may omit that choice.

Finally, compile the code and set up far2l to a short lived location:

$ make -j$(nproc --all)
$ mkdir ~/far2l
$ make set up DESTDIR=~/far2l

If you like to put in it to your system as an alternative of to a short lived listing, then omit the DESTDIR=~/far2l choice.

To launch far2l, invoke the binary saved within the bin subdirectory of your set up path. For occasion:

$ ~/far2l/native/bin/far2l

Using far2l

When you first launch far2l, it creates a configuration listing in ~/.config and prompts you to decide on what font you want to make use of. On my system, 16 pt font measurement was the default, and something lower than that was not possible to learn. I used the open supply Fantasque Mono Regular as my font, however any monospace font must work.

Far2l is a two-panel file supervisor, that means that the default view has a spot to show two separate directories. At launch, each directories occur to be your house listing. To maximize the quantity of display house used for itemizing information, far2l makes use of two columns in every panel, and you should utilize the Left and Right arrows to alter from one column to the opposite.

In the correct column, it’s also possible to use the Right arrow to maneuver “down” the listing of information by one display. In the left column, use the Left arrow to maneuver “up” the listing of information by one display.

(Seth Kenlon, CC BY-SA 4.0)

This navigation takes some getting used to, particularly for those who’re used to terminal file managers that solely use the Right arrow to descend right into a listing. However, when you get used to far2l’s navigation, you are more likely to recognize the added pace you achieve from this straightforward pagination.

Open a file or folder

To open a folder, choose a folder in your file listing and press the Return key. This causes the lively panel to alter to a view of that listing. The inactive panel does not change, so it is not unusual for far2l to at all times be displaying two completely different directories on the identical time. That’s a characteristic of the two-panel file supervisor design, though it will possibly take some getting used to for those who’re not within the behavior of splitting home windows.

After you have moved right into a listing, you may transfer again into its mother or father folder by choosing the double dots (..) on the prime of the file itemizing and urgent Return.

To open a file, choose a folder in your file listing and press the Return key. The file opens in keeping with your desktop’s mimetype preferences.

To transfer from one panel to a different, press the Tab key.

The enjoyable factor about far2l is that its file itemizing is definitely a layer excessive of your terminal. To disguise the file itemizing quickly, and to disclose it as soon as it is gone, press Ctrl+O (that is the letter O not the digit zero).

You may also regulate how a lot of your terminal the file panels take up. Press Ctrl+Up and Ctrl+Down to regulate the vertical measurement of the file panels.

Make no mistake, although, you are not simply suspending far2l whenever you entry the terminal beneath. This is not your normal terminal, it is a far2l terminal that interacts with the file supervisor and provides a number of options to your customary terminal expertise. For instance, the find command positive factors graphical auto-completion.

(Seth Kenlon, CC BY-SA 4.0)

Copying and shifting information

All the standard file administration features can be found inside far2l can be found with operate keys. These are listed alongside the underside of the far2l window. There are a number of choices for a few of the actions, which is both over-complex or actually actually highly effective, relying in your desire.

(Seth Kenlon, CC BY-SA 4.0)

Exiting far2l

To shut far2l, kind exit far into the command immediate on the backside of the far2l window.

Far out

Far2l is a dynamic and responsive text-based file supervisor. If you are a fan of traditional two-panel file managers, then you definately’ll really feel at house with far2l. Far2l gives an attention-grabbing and novel interpretation of a terminal, and for those who do not attempt far2l for its two-panel file administration, you need to at the very least attempt it for its terminal.

Most Popular

To Top