Working with files
Selecting
| To select | Mouse | Keyboard |
|---|---|---|
| One item | Click | ↑ / ↓, Home / End |
| Add or remove one | Ctrl+click | — |
| A range | Shift+click | Shift+↑ / ↓ / Home / End |
| Everything | — | Ctrl+A |
| Several at once | Drag a rectangle from empty space (Ctrl: add to the selection) | — |
A click on empty space clears the selection.
Right-click an item for its menu: Open, Open with…, View, Edit, Calculate size, Cut, Copy, Paste, Rename…, Pack…, Extract… (archives), Delete and Show details.
Opening
- Folders: double-click, Enter or →. Go back up by double-clicking the .. row at the top of the list, or with Backspace or ←; 2fip selects the folder you came from.
- Files: double-click or Enter opens a file with its default app. If its type has no default app yet, 2fip shows Open with… instead, with Always use this app ticked: choose the app once and that type opens with it from then on (in other apps too).
- Programs: an executable program, such as an AppImage, runs.
- Archives (zip, tar, tgz, txz, 7z): double-click or Enter opens them like a folder (see Archives).
- F3 View shows text files and images in 2fip’s own viewer; PDFs, videos and other files with an app of their own open in that app. Ctrl+Q Quick View shows the file under the cursor in the other panel.
- F4 Edit always opens the text editor (images: the image viewer), even for files whose default app is something else. Choose the editor in Settings. Shift+F4 creates a new file and opens it.
- Open with… (right-click) lists the apps for the file’s type first, then all the others. Tick Always use this app to make the choice the default for that file type.
Copying and moving
- F5 Copy and F6 Move send the selection to the other panel’s folder.
- Clipboard: Ctrl+C (copy) or Ctrl+X (cut), then Ctrl+V in any folder.
- Duplicates: Ctrl+C then Ctrl+V
in the same folder makes a copy next to the original, named
readme - Copy.txt, thenreadme - Copy (2).txtand so on (folders too), as in Windows Explorer. - Drag and drop between the panels, into a folder, or from and to other apps. Dropping copies; hold Shift to move.
Operations run in the background, with a progress panel and Cancel. If a file already exists, 2fip asks: Replace, Skip, the same for all, Rename (keep both), or Cancel (stop the whole operation).
Renaming and new folders
- F2 (or Shift+F6, as in Total Commander) renames the selected item.
- F7 creates a new folder.
Folder colors
Give any folder a color to find it at a glance: right-click it (or select folders and use Edit) → Folder color…. A small window shows the colors (red, orange, yellow, green, blue, purple, pink and grey): click one. Default takes the color away; Esc or Cancel leaves it.
- Colors show in both panels, the folder tree and Folder Size, with the Vivid, Windows style and macOS style icons, and with your icon theme (Colorful). The Monochrome style has no colors.
- A folder renamed or moved with 2fip keeps its color.
- They’re 2fip’s own: saved in
folder-colors.jsonnext to the settings, nothing is written into the folders, and other file managers don’t show them. - Special folders (Documents, Downloads…) can get a color too; they keep their symbol.
Deleting
- F8 or Delete moves the selection to the trash, after asking.
- Shift+Delete or Shift+F8 deletes permanently, without the trash. This can’t be undone, so 2fip asks first, with a red warning.
- On a server, deleting is always permanent (servers have no trash).
In the question, ← / → or Tab choose the button and Enter confirms; Esc cancels.
Archives
Pack files
Select files and folders, then:
- Right-click → Pack… creates the archive in the same folder;
- the Pack files button or Alt+F5 creates it in the other panel’s folder.
In the window you choose:
- Archive (folder and name): where the archive goes; you can type another folder or name.
- Format: zip, tar, gz, tgz, xz, txz or 7z. gz and xz pack a single file; use tgz or txz for folders or several files.
- Password: for zip and 7z, encrypts the archive (AES-256).
- Move to archive: deletes the originals once the archive is complete.
Extract files
Select one or more archives, then:
- Right-click → Extract… unpacks them in the same folder as the archive;
- the Extract files button or Alt+F9 unpacks them into the other panel’s folder.
Options: Unpack path names if stored with files (on: recreates the archive’s folders; off: everything goes straight into one folder), Overwrite existing files (off: 2fip asks for each one), and a Password for encrypted archives.
Inside an archive
Double-click an archive (or press Enter) to open it like a folder, with all its folders and files. From there:
- F5 copies (and drag and drop copies) files and folders out, to the other panel;
- F6 moves them out: they are removed from the archive;
- F8 deletes them from the archive;
- Enter, F3 and F4 open a file (2fip extracts it to its cache first).
An archive opened this way is read-only otherwise: nothing can be pasted or dropped into it, and renaming or creating folders there isn’t possible. Moving or deleting inside a big archive takes a while, because the whole archive is written again. Encrypted 7z archives with hidden file names can only be extracted (with their password).
More
- Folder sizes: select folders and press Space; their total size appears in the Size column. To see what takes the space inside a folder, use Folder Size.
- Details: Alt+Enter shows type, size, dates, permissions and owner.
- Compress… (right-click) packs the selection into a ZIP archive.
- Terminal: F9 opens your terminal in the current folder. 2fip
uses the terminal chosen in COSMIC Settings, then
$TERMINAL, then the usual terminals of other desktops. - Hidden files: Ctrl+H shows or hides files whose name starts with a dot.
- Refresh: Ctrl+R re-reads both panels.