mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-23 21:20:42 +08:00
[手动选题][tech]: 20221221.4 ⭐️⭐️ My 4 favorite features of the 4pane file manager on Linux.md
This commit is contained in:
parent
d16e5e2c3c
commit
9b9f8a7b6d
@ -0,0 +1,100 @@
|
||||
[#]: subject: "My 4 favorite features of the 4pane file manager on Linux"
|
||||
[#]: via: "https://opensource.com/article/22/12/linux-file-manager-4pane"
|
||||
[#]: author: "Seth Kenlon https://opensource.com/users/seth"
|
||||
[#]: collector: "lkxed"
|
||||
[#]: translator: " "
|
||||
[#]: reviewer: " "
|
||||
[#]: publisher: " "
|
||||
[#]: url: " "
|
||||
|
||||
My 4 favorite features of the 4pane file manager on Linux
|
||||
======
|
||||
|
||||
4Pane is a multi-pane file manager for Linux that allows for customized layout, and provides quick access to traditional desktop conveniences as well as common Linux tools. 4Pane aims for speed over visual effects, and places the way you want to work above all else. In honor of its name, I've got a list of my four favorite features of this fine file manager.
|
||||
|
||||
### 1. Flexible interface
|
||||
|
||||
![The 4Pane file manager is a fast multi-pane application for managing files.][1]
|
||||
|
||||
The most prominent feature of the 4Pane window is the same as its name: there are four panes in the window by default. In a way, though, there's actually only two, or said another way, each of the two panes is divided into two columns. The column on the left is a directory tree of your current location (home, by default.) Files are never displayed in the left column. It's only a directory tree.
|
||||
|
||||
The adjacent column displays the contents of the selected directory. When you double-click on a file, it opens in its default application. When you double-click on a directory, that directory is revealed in the left column and the right column displays its contents.
|
||||
|
||||
This same model is duplicated in the other window pane.
|
||||
|
||||
4Pane only has 4 panes by default, but it doesn't enforce that view. If you're overwhelmed by the four-pane view, click on the **View** menu and select **Unsplit panes**. This displays just one pane of two columns. It's a simplified view compared to what's possible, but it's a nice place to start while you're getting used to the column-style for browsing files.
|
||||
|
||||
#### Splitting panes
|
||||
|
||||
The advantage of a split view is that you don't have to open another window to drag and drop a file or folder from one location to another. This isn't the predominant model for file managers, but it's a popular subset. 4Pane is one of the few, in my experience, that recognizes that it's not always convenient to work laterally. If you prefer to have your second pane at the bottom of the window, go to the **View** menu and select **Split panes horizontally** (meaning that the _split_ is horizontal, so the panes are situated vertically to one another).
|
||||
|
||||
![You can create horizontal splits in 4Pane.][2]
|
||||
|
||||
### 2. Tooltip preview
|
||||
|
||||
One of my favorite features of 4Pane is the tooltip preview. To activate this, click the photo icon in the top toolbar. With this active, all you have to do is roll your mouse over a file to see a preview of its contents in a tooltip. It may not be a feature you want active all the time. The tooltips can be distracting when you're just browsing files. However, if you're looking for something specific or if you're just not sure exactly what's in a directory, a quick wave of your mouse to get an overview of the contents of several files is satisfyingly efficient.
|
||||
|
||||
### 3. Menu
|
||||
|
||||
The menu bar of 4Pane isn't quite like most file manager menu bars you may be accustomed to. There's a menu dedicated to archiving actions, mounting devices, and popular Linux commands such as [grep][3] and [find][4].
|
||||
|
||||
For instance, in the **Archive** menu, you can choose to extract an archive or compressed file, create a new archive, add a file to an existing archive, compress a file, and more. I love [Ark][5] and similar utilities, but I also recognize how useful it is for a file manager to make those utilities unnecessary. Especially when you're on an [old computer][6], the fewer applications you have to launch, the better.
|
||||
|
||||
Also impressive are the built-in front ends for `grep` and `find`. I'll admit that I probably won't use it often myself, but I never complain when a developer brings the power of Linux commands to users who aren't [yet] familiar with the terminal.
|
||||
|
||||
![4Pane can run grep and locate commands to help you find your data.][7]
|
||||
|
||||
The `locate` front end is probably the most useful of the bunch. It's fast and effective. There's just one field in the dialogue box, so it makes a file system search _fast_.
|
||||
|
||||
For example, say you're searching for the file `Zombie-Apocalypse-Plan-B.txt` because Plan A fell through, but in the heat of the moment (what with zombies knocking down your door, and all) you can't remember where you saved it. Go to the **Tools** menu and select **locate**. Type `zombie` in the search field, click the `-i` box so that your system ignores capitalization, and click **OK**. This returns both `Zombie-Apocalypse-Plan-A.txt` and `Zombie-Apocalypse-Plan-B.txt`.
|
||||
|
||||
Maybe that's good enough for you, or maybe you need a little more precision. In addition to `-i` for case insensitivity, you can click the `-r` option to leverage the power of [regex][8]. Type `zombie.B.` to narrow your search to a file starting with `zombie` and containing the letter `B` somewhere in the filename.
|
||||
|
||||
Effective and fast.
|
||||
|
||||
### 4. Undo
|
||||
|
||||
Finally, my (other) very favorite feature of 4pane is the **Undo** button. When you right click on a file or folder and select **Delete**, the item is sent to a secret location (it's not actually secret, but it's out of sight and out of mind). The item isn't scrubbed from the hard drive until you close the 4pane window. Up until then, you can always click the **Undo** button in the top toolbar to reverse decisions you've come to regret.
|
||||
|
||||
This is a separate action from sending a file to your system trash, so it _is_ meant to masquerade as an actual delete action. The difference is that it's a delayed delete. That may not suit you. Some users are disciplined enough to send files to the system trash, but others skip the trash. This feature is designed to protect you from yourself by delaying deletion until you close the window. I find it a reasonable and invaluable feature, and it's the one feature that I've already benefited from several times.
|
||||
|
||||
### Install 4Pane on Linux
|
||||
|
||||
If you're sold on 4Pane, or at least curious about it, then you should install it and try it out! On Linux, your distribution may package 4Pane in its software repository. If so, you can use your package manager to install. For example, on Fedora, Mageia, OpenMandriva, and similar:
|
||||
|
||||
```
|
||||
$ sudo dnf install 4pane
|
||||
```
|
||||
|
||||
On Debian and Debian-based systems:
|
||||
|
||||
```
|
||||
$ sudo apt install 4pane
|
||||
```
|
||||
|
||||
If your distribution doesn't carry 4Pane, you can download it from [4pane.co.uk][9].
|
||||
|
||||
Once installed, launch 4Pane from your application menu.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://opensource.com/article/22/12/linux-file-manager-4pane
|
||||
|
||||
作者:[Seth Kenlon][a]
|
||||
选题:[lkxed][b]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://opensource.com/users/seth
|
||||
[b]: https://github.com/lkxed
|
||||
[1]: https://opensource.com/sites/default/files/2022-10/4pane.webp
|
||||
[2]: https://opensource.com/sites/default/files/2022-10/4pane-split-horizontally.webp
|
||||
[3]: https://opensource.com/article/21/3/grep-cheat-sheet
|
||||
[4]: https://opensource.com/article/18/4/how-use-find-linux
|
||||
[5]: https://opensource.com/article/22/2/archives-files-linux-ark-kde
|
||||
[6]: https://opensource.com/article/19/7/how-make-old-computer-useful-again
|
||||
[7]: https://opensource.com/sites/default/files/2022-10/4pane-grep.webp
|
||||
[8]: https://opensource.com/article/18/5/getting-started-regular-expressions
|
||||
[9]: http://www.4pane.co.uk/
|
Loading…
Reference in New Issue
Block a user