diff --git a/doc/en/cm_options.html b/doc/en/cm_options.html index 9bbebc0a..02e21131 100644 --- a/doc/en/cm_options.html +++ b/doc/en/cm_options.html @@ -46,7 +46,7 @@
| mode | text | -Show as Text | +show as Text |
| bin | -Show as Bin | +show as Bin | |
| hex | -Show as Hex | +show as Hex | |
| dec | -Show as Dec | +show as Dec |
-
-
- cm_SaveFileDetailsToFile(Beta version) |
+
Save all shown columns of selected items to file. You may specify the output filename into the first parameter. If no parameter is supplied, Double Commander will prompt user to enter one. |
@@ -1506,17 +1518,38 @@
Ctrl+Shift+C |
- Copy item full names to clipboard. | +Copy item full names to clipboard. + One parameter is available, we can specify the preferred directory separator: + +
|
||||||||||||
|
- Will copy the full path of the current selected items including an ending directory separator. | +Will copy the full path of the current selected items including an ending directory separator. + One parameter is available, we can specify the preferred directory separator, see the description of cm_CopyFullNamesToClip. |
||||||||||||||
|
- Will copy the full path of the current selected items excluding an ending directory separator. | +Will copy the full path of the current selected items excluding an ending directory separator. + One parameter is available, we can specify the preferred directory separator, see the description of cm_CopyFullNamesToClip. |
||||||||||||||
@@ -2516,12 +2549,12 @@ 2.16. Tabs | ||||||||||||||||
- cm_MoveTabLeft(Beta version) |
+
Move current tab to the left. | |||||||||||||||
- cm_MoveTabRight(Beta version) |
+
Move current tab to the right. | |||||||||||||||
+
+ Ctrl+Shift+A |
+ Show a menu with a list of all open tabs. + +
|
+ |||||||||||||||
An alternative form is also possible like this one:
doublecmd.exe [-C] [-T] [-P L|R] [-L path1\subpath1] [-R path2\subpath2]
Note: macOS command line has a some specificity, use the open command with the full application name ("Double Commander" with -a) and --args to pass parameters. For the second and subsequent instances, add -n.
The main files are:
doublecmd.xml – all the main program settings;
doublecmd.cfg(Beta version) – settings that are applied before initialization of all program components and loading doublecmd.xml;
doublecmd.cfg – settings that are applied before initialization of all program components and loading doublecmd.xml;
extassoc.xml – file extension association configuration;
favoritetabs.xml – favorite tabs;
pixmaps.txt – maps file extensions to MIME-types icon names;
multiarc.ini – external archivers;
shortcuts.scf – keyboard layout settings;
highlighters.xml – editor color settings;
colors.json – all color settings, Double Commander stores color values in the "Light" and "Dark" profiles and selects the profile automatically depending on the current theme (light or dark theme);
tabs.xml – list of opened tabs;
history.xml – command line and directory history, search and replace, etc.;
few others... – etc...
The configuration version in doublecmd.xml defines the data storage format: if it has changed in the new version of the program (for example, new parameters have been added or existing ones have changed), then at the first start Double Commander will update the configuration files. The upgrade process will back up the previous version of doublecmd.xml.(Beta version)
+The files are generated automatically, except for multiarc.ini and pixmaps.txt: they are included in the distribution of Double Commander (in the "default" folder) and are copied to the directory of configuration files when the program is first launched.
+The configuration version in doublecmd.xml defines the data storage format: if it has changed in the new version of the program (for example, new parameters have been added or existing ones have changed), then at the first start Double Commander will update the configuration files. The upgrade process will back up the previous version of doublecmd.xml.
The "Options" window allows to set almost all of the options in Double Commander, but there are several parameters that can only be changed manually in the doublecmd.xml configuration file. A filter by parameter name is available at the bottom of the window: the program will display only those sections that contain a matching parameter.(Beta version)
-To open the corresponding section in the program help, you can use the Help button or the F1 key.(Beta version)
+The "Options" window allows to set almost all of the options in Double Commander, but there are several parameters that can only be changed manually in the doublecmd.xml configuration file. A filter by parameter name is available at the bottom of the window: the program will display only those sections that contain a matching parameter.
+To open the corresponding section in the program help, you can use the Help button or the F1 key.
Double Commander has several internal commands to open the configuration dialog and quickly jump to the desired section.
Double Commander supports importing/exporting some settings: directory hotlist, favorite tabs, external archivers, toolbar (main and middle), tooltips. Also, the list of hotkeys can be saved to a new file and you can switch between them.
Note: To the right of the file or directory choose buttons is the button Some functions to select appropriate path
: the popup menu contains lists of variables (including environment variables) and some additional functions, see description here.
Almost all parameters and switches are available in the window of built-in viewer, there are only two groups of parameters in this section.
-
There are two groups of parameters in this section:
+
The first group allows you to specify an external program for viewing files. Double Commander will automatically add the full filename as the last launch parameter each time the viewer is called.
Additionally: Execute in terminal and Keep terminal window open after executing program can be useful if you are using a console program and/or if the program's terminal output is important (or just temporarily for debugging).
-The next group of parameters, Viewer Book Mode, is associated with a special text viewing mode: you can set the font color, background color and the number of columns of text (like a book spread or a newspaper).
+The next group of parameters is Internal viewer options, however almost all parameters and switches are available in the window of built-in viewer.
+Number of columns in book viewer – see description of this mode here.
There are also several parameters available that can only be changed manually in the doublecmd.xml configuration file.
Use spaces instead tab characters – Converts tab characters to a specified number of space characters (when entering).
Tab indents blocks – If enabled, Tab and Shift+Tab act as block indent, unindent when text is selected.
Smart Tabs – When the Tab key is used, caret will go to the next non-space character of the previous line.
+Group Undo – If enabled, all continuous changes of the same type will be processed in one call to the undo or redo command, instead of undoing/redoing each individual text change.
Tab width – The width of the tab character (in number of characters). If Use spaces instead tab characters is enabled, then the Tab key will insert the specified number of space characters. This setting does not apply if the Smart Tabs option is enable.
-Block indent(Beta version) – sets the number of characters by which the indent will increase or decrease when using the corresponding commands.
+Block indent – sets the number of characters by which the indent will increase or decrease when using the corresponding commands.
Right margin – Line length marker, thin vertical line at the given position: lines will not be truncated with a forced line break, it is just a visual hint. Useful in cases where there is a recommendation to limit the length of strings (for example, 80 or 120 characters).
You can change the text and background colors and font style (underline, bold, italic and strike out) used for keywords, strings, numbers, operators, and so on. For the default text, only the text and background colors are available.
Text-mark is used to add a border around the element: you can choose the color, the type of border and the type of line.
Use (and edit) global scheme settings and Use local scheme settings are for default text only: you can change the colors for all file types at once, or only for some.
-All settings are saved in the highlighters.xml file.
+All settings are saved in the colors.json file.
Note: Possible ways to change (fix or improve) parsing of files (syntactic analysis), keyword lists, and so on:
Default values:
Windows: cmd.exe
macOS(*): /Applications/Utilities/Terminal.app
macOS: Double Commander will automatically detect the program specified in the system settings.
Linux and other Unix-like systems:
For Debian and Debian-based distributions (antiX, Devuan, Ubuntu, Linux Mint and others), x-terminal-emulator will be used: this is a symbolic link to the terminal used in these systems by default.
2.5. Colors(Beta version)
-Dark mode – enables or disables dark mode support (only Windows 10 1809 and newer):
+ +This section contains color settings that are not included in other settings sections. The parameters are grouped by category.
+
1. Dark mode – enables or disables dark mode support (only Windows 10 1809 and newer). State:
Auto – system settings will be used.
Enabled – enable forcibly.
Disabled – disable forcibly.
2. Viewer – color settings that are used by the built-in file viewer (see description of viewing modes here):
+Book Mode – for the "Book" viewing mode, you can set the text color and background color.
+Image Mode:
+Background 1: – sets the background color of the window when viewing images.
Background 2: – if Show transparency is enabled, the internal viewer indicates transparency using a checkerboard pattern as background and Background 2 defines the color of the squares. If not set, the viewer will automatically calculate the value: for a dark background, light squares will be used and vice versa.
3. Differ – for the internal Differ tool: you can change the colors for added, deleted and modified lines, and the color for different characters in binary mode.
+4. Log – options that set the text colors in the log window for informational messages, error messages, and messages about successful operations. Also, these colors are used in the window with the result of verifying checksums.
+5. Synchronize Directories – for the internal directory synchronization tool:
+Left: – files selected for copying or deleting on the left.
Right: – files selected for copying or deleting on the right.
Unknown: – files with the same names, but not identical.
6. Drive Free Space Indicator – here you can change the appearance of the drive free space indicator:
+
Double Commander can display a gradient (from green to red) or simple monochrome indicator, in the second case you can choose the color and background. Indicator Threshold Color will be used if the free disk space is less than 10%.
+The indicator example is clickable, so you can see how it will look.
Use Inactive Sel Color – enables the display of the cursor also in the inactive panel.
Use Frame Cursor – Double Commander will use a frame instead of a solid rectangle.
Allow Overcolor enables the ability to use a color other than the default color for file names (see section Colors > File types).
-Also here you can decrease the brightness of the inactive panel and change the appearance of the drive free space indicator. Double Commander can display a gradient (from green to red) or simple monochrome indicator, for a monochrome indicator you can choose the color and background. Indicator Threshold Color(Beta version) will be used if the free disk space is less than 10%. The indicator example is clickable, so you can see how it will look.(Beta version)
+In the Current Path parameter group, you can change the text color and background color of the current directory bar for the active and inactive file panel.
+Also here you can decrease the brightness of the inactive panel.
There is a preview area at the bottom of the window, so you can see all the changes at once.
The Reset to DC default button will reset all parameters to their default values.
+The grid color can also be changed, but only manually. You need to close the application, open the colors.json file and replace the value of the GridLine key in the FilePanel object. (Don't forget that the colors in colors.json are stored in two profiles: "Light" for light themes and "Dark" for dark themes.)
+ About color format: Double Commander stores color values in the $BBGGRR format as a decimal number. For example, if you want to use the indigo color #4B0082 ($RRGGBB), then do the rearrangement, you will get 82004B and now you need to convert this hexadecimal number to decimal. Or you can temporarily add a color for some type of file (see below), find it in colors.json by name or mask, copy the value and delete.
The second part of the Unix/Linux template displays permissions: read (r), write (w), execute (x). The values are grouped in groups of three in the following order: user (owner), user's group, all others.
If attribute should not be set, it must be replaced with the "-" symbol, unnecessary attributes should be hidden: symbol "*" means match any number of characters, symbol "?" means any one character. For example, ?r* (Windows) or ?r-* (Linux) will find all read-only files and folders.
You can use a color from the list or specify yours using the ">>" button.
+You can use a color from the list or specify yours using the ".." button.
Do not forget to click "Apply" button after customization.
Double Commander checks the list from top to bottom until the first match: a rule higher in the list will overlap any rule below.
t AM/PMyyyy "AD"The next parameters sets the file size format:
@@ -554,8 +585,9 @@The screenshots below illustrate this subtle grid effect. The screenshot on the left has the vertical and horizontal lines enabled and the screenshot on the right does not.

It is possible to change the color of the lines, see more details here.
Auto fill columns – If enabled, when resizing the window (or if free space exists), Double Commander will resize the column, which selected in the next option Auto size column: (first or last). The horizontal scrollbar will not be available.
-Column titles alignment like values(Beta version) – If enabled, Double Commander will align the column header the same as the content (instead of left-aligned).
+Column titles alignment like values – If enabled, Double Commander will align the column header the same as the content (instead of left-aligned).
If the content of the column is larger than its width:
Cut text to column width – Sometimes column text can overlap into other columns. This option truncates any extra text at the column boundary.
GETFILEEXT – file extension (from the dot to the end, e.g. txt).
GETFILESIZE – file or directory size. By default, the appearance will depend on the option chosen in the Files views section, but all possible size formats are also available.
GETFILETIME – file or directory modification date. The appearance will depend on the option chosen in the Files views section.
GETFILECREATIONTIME – file or directory creation date (does not work in Linux/BSD, POSIX limitation).
GETFILECREATIONTIME – file or directory creation date.
GETFILELASTACCESSTIME – file or directory last access date.
GETFILECHANGETIME – file or directory status change date.
GETFILEATTR – file or directory attributes. You can choose a string or numeric (octal) value. In Windows, an octal value can be used if Unix attributes are displayed in the file panel (for example, with the FTP plugin). For a detailed description of the string value, see here.
Search plugins are Double Commander's own plugin type, these plugins use console programs to find files (for example, Locate, Everything or Recoll). The DSX plugins interface allows to send them search parameter values from the "Standard" and "Advanced" tabs.
Buttons:
Add – opens the file selection dialog. Alternatively, you can use the internal command cm_AddPlugin.
Add – opens the file selection dialog. Alternatively, you can use the internal command cm_AddPlugin (also plugins can be installed automatically).
Disable – allows to temporarily disable the selected plugin.
Remove – removes the selected plugin from the list (but not plugin file!).
@@ -689,7 +721,7 @@
2.10.3. Layout > Tree View Menu Colors
Here you can customize the appearance of the menu to your preference, a preview will show all changes before saving.
-

2.11. Toolbar and Toolbar > Toolbar Middle
@@ -786,7 +818,7 @@When restoring tab, existing tabs to keep: – i.e. the Favorite Tabs will be added to the already open tabs.
The following values are available for each parameter: Left, Right, Active, Inactive, Both or None.
-Keep saving dir history with Favorite Tabs – enables or disables saving the history of each tab.
+Keep saving dir history with Favorite Tabs – enables or disables saving the history of visited directories for each tab.
Also you can apply these parameters separately for each tabs set.
Default position in menu when saving a new Favorite Tabs – determines the order of adding a new set:


Location of configuration files – Here you can choose where to store all configuration files (also you can see the full path here):
Program directory (portable version).
The "settings" folder in the program directory (portable version).
User home directory.
As an indicator, Double Commander uses an empty doublecmd.inf file in the program directory: - if the file exists, Double Commander will load configuration files from the program directory and save them here, otherwise Double Commander will use the current user's folder. +
As an indicator, Double Commander uses an empty doublecmd.inf file in the "settings" folder in the program directory: + if the file exists, Double Commander will load configuration files from the "settings" folder and save them here, otherwise Double Commander will use the current user's folder. You can manually add the doublecmd.inf file and get a portable version, or delete it by switching the storage method to the user's folder.
If you launch Double Commander with the --config-dir parameter, then DC will just write Set on command line and show the full path to the configuration files.
To quickly navigate to the directory with configuration files, you can use the Special Dirs submenu in the Directory Hotlist menu or use the %DC_CONFIG_PATH% variable.
@@ -856,11 +888,16 @@This section contains parameters for which there was no suitable place in other sections of the settings:
-
Show splash screen(Beta version) – If enabled, before displaying the main window, Double Commander will show a splash screen containing the program icon and version, compilation date, and the version of Lazarus, FPC, and operating system.
+
Show splash screen – If enabled, before displaying the main window, Double Commander will show a splash screen containing the program icon and version, compilation date, and the version of Lazarus, FPC, and operating system.
Show warning messages ("OK" button only) – shows warning messages if enabled. (For example, if Double Commander cannot set some property or attribute of a file due to file system restrictions in the target directory.)
Always go to the root of a drive when changing drives – If unchecked, Double Commander will go to the last open directory on this drive (in this case, you can go to the root directory of the drive by pressing its button twice).
Show current directory in the main window title bar – If enabled, Double Commander will display the name of the current folder and the active panel path in the main window title bar.
+Default single-byte text encoding: – By default (NONE), the built-in file viewer and the built-in editor use automatic encoding detection, but you can specify one of the supported single-byte encodings as the default value. This parameter does not affect the automatic detection of multibyte encodings (UTF-8, UTF-16 and others). Special values are also available:
+ANSI – default system ANSI encoding (depends on the system locale).
OEM – default system OEM (DOS) encoding (depends on the system locale).
Thumbnails – Here you can enable to save cache of thumbnails of images and set their size. The thumbnail cache directory can be found in the Configuration section. Double Commander uses PNG or JPEG (only for .bmp, .jpg and .jpeg) formats. The thumbnail name is the MD5 sum of the full name of the source file. The full name of the source file, its size and modification date will be added to the file.
The Remove thumbnails for no longer existing files button will help to remove obsolete thumbnails.
File comments (descript.ion) – Here you can set the default encoding for existing file comments (OEM, ANSI or UTF-8) and the encoding for new files (UTF-8 BOM, UTF-16 LE or UTF-16 BE).
@@ -1014,7 +1051,8 @@{!TERMSTAYOPEN} – run in terminal and stay open at the end;
{!TERMANDCLOSE} – run in terminal and request to close it at the end.
{!TERMSTAYOPEN} and {!TERMANDCLOSE} have been added for unification and the ability to use the variables %t0 and %t1, {!SHELL} has been kept for backwards compatibility.
+"View" actions with the {!DC-VIEWER} macro will be taken into account for quick viewing, other macros and commands will be ignored.
+{!TERMSTAYOPEN} and {!TERMANDCLOSE} have been added for unification and the ability to use the variables %t0 and %t1, {!SHELL} has been kept for backwards compatibility.
As a command, you can use the internal commands of Double Commander. The parameters of the internal commands are specified one per line, so you can specify only one here. Also, using the internal command cm_ExecuteScript, you can run Lua scripts, in this case you can get the names of the selected files using cm_CopyFullNamesToClip or cm_SaveSelectionToFile.
Parameters – command parameters including variables:
2.23.1. File associations > File associations extra
-

Offer to add selection to file association when not included already – When accessing file association, offer to add current selected file if not already included in a configured file type. This is a quick way to add an "Open with" action: Double Commander will prompt you to specify a type name and an executable file, everything else will be done automatically.
Extended context menu – allows to add some items to the "Actions" submenu:
Default context actions (View/Edit)(Beta version) – Commands for opening a file in the viewer and editor. Built-in tools or external applications will be used (depending on the settings), internal file associations will be ignored.
Default context actions (View/Edit) – Commands for opening a file in the viewer and editor. Built-in tools or external applications will be used (depending on the settings), internal file associations will be ignored.
Run using macros {!SHELL}, {!TERMANDCLOSE} and {!TERMSTAYOPEN} (see details here):
Execute via shell
So generally, we don't have to manually edit the content of the configuration file.
But there are some very rare specific settings that required to be edited manually from the configuration file if we want to tweak the application.
WARNING: We will not edit that file WHILE Double Commander is running! Not only because anyway their values are read only when we're starting the application, but also because if we edited the file while DC is running, when we'll close the application the values we would have wrote will be overwritten by the application re-saving its current context for next session. If we need to edit the doublecmd.xml file, we need to make sure we close Double Commander, then we edit file, and then we re-launch the application.
-About color format: We can set color as hex number using format $BBGGRR. For example, if we want to use the indigo color #4B0082, we would write $82004B.
WARNING: We will not edit that file WHILE Double Commander is running! Not only because anyway their values are read only when we're starting the application, but also because if we edited the file while DC is running, when we'll close the application the values we would have wrote will be overwritten by the application re-saving its current context for next session. If we need to edit the doublecmd.xml file, we need to make sure we close Double Commander, then we edit file, and then we re-launch the application.
+ There is an alternative solution, see more details here (but to apply changes to some parameters, you may still need to restart the application).
The following table gives us these rare specific settings that we need to manually edit the file if we need to change them.
True) or not (False). False by default.| Tag | -File panel | -Description | -
|---|---|---|
| <ActiveColor> | -active | -background color | -
| <ActiveFontColor> | -font color | -|
| <InactiveColor> | -inactive | -background color | -
| <InactiveFontColor> | -font color | -
True) or text from the search history (False). True by default.True) or the number of files (False, by default).True, the status bar will also show the number of files when the cursor is on the ".." item. For links, target objects will additionally be displayed.| Value | -Description | -
|---|---|
| ANSI | -Default system ANSI encoding (depends on user locale). | -
| OEM | -Default system OEM (DOS) encoding (depends on user locale). | -
True value allows to use the file properties dialog window of the file manager, which is specified as the default program in the desktop environment settings (if it possible), otherwise, Double Commander will use its own properties window. False by default.True with False| Tag | -Description | -
|---|---|
| <Left> | -Files selected for copying or deleting on the left. | -
| <Right> | -Files selected for copying or deleting on the right. | -
| <Unknown> | -Files with the same names, but not identical. | -
yyyy.mm.dd hh:nn:ss.True) or disables (False) automatic copying of the selected text to the clipboard. True by default.ImageBackColor2 defines the color of the squares.The list of the following parameters will vary depending on the type of file operation and operating system family.
Verify – If enabled, Double Commander will compare the source file and the copied file in the target directory: a byte-by-byte comparison (Windows) or BLAKE2 checksums (Linux and others). Double Commander will try to minimize the disk cache effects; if the file system does not support direct access to the file (for example, tmpfs), the program will report the verification failure. Keep in mind, this function significantly reduces the speed of the operation. Not available in macOS(*).
Verify – If enabled, Double Commander will compare the source file and the copied file in the target directory: a byte-by-byte comparison (Windows) or BLAKE2 checksums (Linux and others). Double Commander will try to minimize the disk cache effects; if the file system does not support direct access to the file (for example, tmpfs), the program will report the verification failure. Keep in mind, this function significantly reduces the speed of the operation. Not available in macOS.
Check free space – Before copying the file, Double Commander will check if there is enough free disk space in the target directory.
Reserve space – If enabled, Double Commander will use pre-allocation of disk space, this will reduce the chances of file fragmentation. Also this is a faster way to create files. In Windows, Double Commander always reserves space.
Follow links – If enabled, Double Commander will consider symbolic links to folders as regular folders and copy their contents; instead of file links, the target files of this links will be copied. The indeterminate checkbox state (three-state): the program will ask each time what it should do.
Q: Is it a Total Commander for Linux?
-A: No, this is another program from other developers. It now supports Windows, GNU/Linux operating systems with toolkits GTK and Qt (depends on Lazarus, so at the moment, GTK2 and Qt5) and macOS(*), also Double Commander is available in the FreeBSD Ports collection.
+A: No, this is another program from other developers. It now supports Windows, GNU/Linux operating systems with toolkits GTK and Qt (depends on Lazarus, so at the moment, GTK2 and Qt5) and macOS, also Double Commander is available in the FreeBSD Ports collection.
Q: What is the difference between this program and my favorite file manager (Total Commander)?
@@ -127,22 +124,13 @@A: The project's official forum or GitHub.
Make sure you are using the latest version of the program and it's a good idea to check the development (alpha) version before reporting a bug or requesting a new feature.
Also see #117.
Q: How to update the portable version without losing settings?
-A: Upgrading is done by simply unpacking and replacing files, but you should pay attention to the following files:
-If you did not change these settings, then just agree with the replacement of files. Otherwise, compare with yours and copy the changes.
Q: Which version do I download?
-A: If you have KDE or LXQt – download a Qt-build; in other cases (Cinnamon, GNOME, LXDE, MATE or Xfce) a build for GTK toolkit. But this is not strict rule.
+A: If you have KDE, LXQt or Fly – download a Qt-build; in other cases (Cinnamon, GNOME, LXDE, MATE or Xfce) a build for GTK toolkit. But this is not strict rule.
Q: Where is the project repository?
@@ -340,35 +328,26 @@Q: On some text files lines go beyond the window's edge.
-A: Use "Show as Wrap text" option in the viewer (in the "View" menu). Internal editor does not support wrap lines.
+A: Enable "Wrap text" option in the viewer (in the "View" menu). Internal editor does not support wrap lines.
Q: Can you add column editing feature (like in Notepad++, UltraEdit etc)?
A: Internal editor supports column and line selection modes and multi-carets, see keyboard shortcuts here.
Q: Is it possible to add SVG support in the viewer?
-A: Supported via librsvg:
-Linux: install package librsvg.
Windows: needs libcairo-2.dll, librsvg-2-2.dll and libgobject-2.0-0.dll (+ all dependencies), for example, you can take DLLs from GIMP. You should copy this DLLs to Double Commander folder or in PATH.
Q: How can I use regular expressions to search in UTF-8?
A: This feature has been added to version 1.0.0. Needs PCRE2 library with support 8-bit code units and Unicode support enabled (usually enabled by default):
Linux: needs libpcre2-8.so.0. For example, package libpcre2-8-0 in Debian/Ubuntu or pcre2 in Arch Linux.
Windows: needs libpcre2-8.dll (by default, the Double Commander distribution contains this DLL).
macOS(*): needs libpcre2-8.dylib.
macOS: needs libpcre2-8.dylib.
Q: How to change the syntax highlighting scheme in the internal editor or add new ones?
A: DC uses two components:
1. SynEdit with built-in syntax highlighters. If you want to change any highlighter, you should change the DC or Lazarus source code.
- But you can easily change the colors used and the file extension lists: go to "Configuration" in the main menu > Options... > Tools > Editor > Highlighters. Do not forget to save customizations for each file type.
- All settings are saved in the highlighters.xml file.
2. SynUniHighlighter for custom syntax highlighting schemes (.hgl) and you can try to find or create this files yourself (see below).
This files are usual XML-based files, you can open them in a text editor and read/change. In the beginning of this files is the <General> tag (inside <Info>):
1) Old format: <General> has tags
@@ -381,7 +360,7 @@
How to create or edit:
Use UniHighlighter Editor or HglEditor (download). Both programs were written for Windows, but you can use Wine. HglEditor will save HGL-file in the new format.
Two packs of various highlighters are also available.
- In the Tools > Editor > Highlighters section, you can change the text and background colors and font style.(Beta version)
How to add:
1) Portable version
Copy (or move) your HGL-file(s) to the "highlighters" folder near doublecmd.exe and restart DC.
A: Date and time format is easy configurable: go to Configurations > Options > Files views > Formatting > Date and time format and use this table.
Q: Is it possible to add SVG thumbnails support in thumbnails view?
-A: It's already supported, see Is it possible to add SVG support in the viewer?
-Q: I want to see the filenames in the "Name" column with extensions, can I do it?
A: Yes, it's possible. Go to "Configuration" in the main menu > Options... > Files views > Columns > Custom columns,
now create a new column set or change existing default set: by default, DC uses GETFILENAMENOEXT field for name, use GETFILENAME instead.
A: This server requires session reuse support and the FTP plugin supports it, but the OpenSSL libraries are needed: put libeay32.dll and ssleay32.dll near doublecmd.exe or in the PATH.
+A: This server requires session reuse support and the FTP plugin supports it, but requires a library that supports SSL and TLS protocols (see the description of the plugin). Put the libraries near doublecmd.exe or in the PATH (Windows) or install the appropriate package (Linux and other Unix-like systems).
A: OpenSSL libraries required: put libeay32.dll and ssleay32.dll near doublecmd.exe or in the PATH.
+A: Requires a library that supports SSL and TLS protocols (see the description of the plugin). Put the libraries near doublecmd.exe or in the PATH (Windows) or install the appropriate package (Linux and other Unix-like systems).
Opened tabs – only directories of opened tabs will be used (tabs of active and inactive panels).
Selected directories and files – if enabled, the search will be conducted only among selected files and folders in the active panel. If there are selected files/folders in the file panel, this option will be enabled automatically.
Follow symlinks – if a symbolic link to a directory is found, the target directory will be read and used, otherwise this symbolic link will be considered a regular file.
Exclude subdirectories – a list of directories to be excluded from the search, here we can specify folder names and relative or absolute(Beta version) paths.
Exclude subdirectories – a list of directories to be excluded from the search, here we can specify folder names and relative or absolute paths.
Search subdirectories can have:
current dir only,
ANSI – default system ANSI encoding (depends on the system locale).
OEM – default system OEM (DOS) encoding (depends on the system locale).
The Encoding button (
) allows to specify more than one encoding.(Beta version)
The Encoding button (
) allows to specify more than one encoding.
The Start button starts search, Cancel stops search and Close closes the Find files window.
New search – clears the old results and allows to start a new search (also with new conditions).
Last search – loads parameters from the previous search (in the current session, before closing Double Commander).
-If history saving is enabled, then we can use Shift+Del to remove unnecessary entries from the history of input fields.
+By default, Double Commander saves the history of the input fields, to delete unnecessary entries from the history, we can use Shift+Del, and we can also disable saving history in the Configuration settings section.
diff --git a/doc/en/help.html b/doc/en/help.html index d5547eae..1fbfed00 100644 --- a/doc/en/help.html +++ b/doc/en/help.html @@ -93,14 +93,13 @@And you can build Double Commander yourself.
Version archive is also available.
-First, you must choose which operating system (Windows, Linux, macOS(*)), processor architecture and then you may select the version to download.
+First, you must choose which operating system (Windows, Linux, macOS), processor architecture and then you may select the version to download.
For Windows there is an executable file .exe (Inno Setup) or .msi and an archive .zip (which is the so-called portable version).
-For Linux there are versions based on GTK toolkit and based on Qt. Also portable versions are available (compiled binaries packed with XZ, use doublecmd.sh to launch).
-Note: The features of the update of the portable version are described in the FAQ.
+For Linux there are versions based on GTK toolkit and based on Qt. Also available: portable versions (compiled binaries packed with XZ) and files in the AppImage format.
On the first launch Double Commander will automatically detect the system language, and set it for the interface. DC is translated into many languages. The language can be changed in the menu via Configuration > Options... > Language.
Double Commander determines and uses the current system theme. It looks like this (Ubuntu, three themes and two icon sets):

As can be seen from the figure, there are left file panel, a command line and a lower window that is a log viewer (it shows all the actions from the file manager). Double Commander also supports dark mode in Windows (Windows 10 1809 and newer).(Beta version)
+As can be seen from the figure, there are left file panel, a command line and a lower window that is a log viewer (it shows all the actions from the file manager). Double Commander also supports dark mode in Windows (Windows 10 1809 and newer).
Double Commander uses Total Commander plugin API, so under Windows you can use plugins from Total Commander (many of them are compatible with DC). See the description of the types of plugins in the Plugins settings section. DC is distributed with several pre-installed plugins, other plugins can be installed manually.
@@ -130,7 +129,7 @@Create Directory (internal command cm_MakeDir) – creates a new subdirectory in the current directory. The file name (without extension) or directory name under the cursor will be offered, this is useful for creating multiple directories with similar names. You can also create several subdirectories in one operation, just separate the subdrectories with the directory separator (in Unix/Linux system it will be "/" and in Windows it will be "\").

If Extended syntax(Beta version) is enabled, the <[] template can be used to insert the current date/time: inside square brackets you can use date and time formatting characters and any characters allowed for filenames.
If Extended syntax is enabled, the <[] template can be used to insert the current date/time: inside square brackets you can use date and time formatting characters and any characters allowed for filenames.
Create Shortcut (Windows only) – Double Commander creates a shortcut (Microsoft Windows .lnk file) to the file under the cursor and places it in the folder opened in the opposite panel.
@@ -138,11 +137,11 @@Show file properties... (internal command cm_FileProperties) will show the default "Properties" dialog (Windows) or Double Commander own dialog (Linux and other Unix-like systems) like this:
-
-
-
+
+
+
which indicates the file or folder name, size, write and last access time, and also owner and group. On the "Attributes" tab you can change the access to the file (if you have the rights to do so). The "Plugins" tab is optional and is only available if you have a suitable content plugin (in this case it was DEB). Also see description of <SystemItemProperties>.
+which indicates the file or folder name, MIME type, size, write and last access time. For links, Double Commander will additionally show the link object (symbolic link) or their total number (hard link). On the "Attributes" tab you can change the access rights to the file and its owner (if you have the rights to do so). The "Plugins" tab is optional and is only available if you have a suitable content plugin (in this case it was DEB). Also see description of <SystemItemProperties>.
Using item Edit comment... (internal command cm_EditComment) you can create or change file comments, which stored in a file descript.ion. Supports UTF, ISO, KOI and ANSI encodings. In the Miscellaneous settings section you can set the default text encoding.
Comments only work with normal files on the local file system, but not on remote or virtual file systems (e.g. on FTP server, in archive, etc.). In order for Double Commander to take into account the contents of descript.ion when copying or moving files, make sure that Process comments with files/folders is enabled in the File operations settings section.
@@ -162,7 +161,7 @@Binary mode – result is presented in binary form.
Keep scrolling – allows synchronized scrolling (vertical and horizontal).
Also see description of <Added>, <Deleted> and <Modified> parameters and Position of frame panel after the comparison.
The colors used can be changed in the Colors settings section (the Differ category). Also see Position of frame panel after the comparison.
The two files will be chosen as follows
If two files are selected in the active panel, they will be opened in the compare tool. The first selected file will be opened in the left panel of the comparison tool.

In the Extract files matching file mask line, you can specify a mask, determining which files will be unpacked. The history of masks can be found in the drop-down list. The next line specifies the destination directory (where the archive will be unpacked). It can be changed manually or by clicking on the browse button at the far right.
-Unpack each archive to a separate subdir (name of the archive) – If checked, Double Commander will create a folder with the same name as the archive in the destination directory and extract the files into this folder. You can extract several archives at once with this option and each will be extracted into its own folder in the target directory. The indeterminate checkbox state (three-state) enables the smart extract(Beta version): if there are several objects in the root of the archive, then the contents of the archive will be unpacked into a folder with the name of the archive, but if there is one object, then the contents will be unpacked as is. By default it is unchecked and its state is not saved for the next call of the extract command.
+Unpack each archive to a separate subdir (name of the archive) – If checked, Double Commander will create a folder with the same name as the archive in the destination directory and extract the files into this folder. You can extract several archives at once with this option and each will be extracted into its own folder in the target directory. The indeterminate checkbox state (three-state) enables the smart extract: if there are several objects in the root of the archive, then the contents of the archive will be unpacked into a folder with the name of the archive, but if there is one object, then the contents will be unpacked as is. By default it is unchecked and its state is not saved for the next call of the extract command.
Unpack path names if stored with files – If checked, the directory structure in the archive will be kept. Otherwise, all files will be extracted without re-creating the directory structure.
Checkbox Overwrite existing files disables confirmation of overwriting existing files.
@@ -212,13 +211,15 @@
Save checksum file(s) to: – line specifies name and path to the calculated checksum.
Create separate checksum files for each file – if checksum calculates for multiple files, this option allows to create separate checksum files for each target file.
+File format – allows to specify the line ending type and directory separator instead of the commonly used values in Windows (CRLF and "\") and Unix-like systems (LF and "/").
Choose your preferred checksum and – select algorithm which will calculate checksums.
Item Verify Checksum... (internal command cm_CheckSumVerify) will start verification the list of checksums from the checksum file under the cursor. Also you can run this command by double mouse clicking on the checksum file (or using the Enter key).
Double Commander can check files one by one: select the file, run this command, now enter its checksum (or paste from the clipboard) and select the algorithm.
You can use checksum files, which generated by other programs, but first make sure Double Commander supports their algorithm and format.
-Item Wipe (internal command cm_Wipe) for secure deletion (shortcut Alt+Del by default): before deleting from the hard disk, the selected file will be renamed with a random name, and its contents will be overwritten with zeros, ones or random data. You can set number of wipe passes in Configuration > Options... > File operations. Directories and links will just be renamed before deleting.
+Item Wipe (internal command cm_Wipe) for secure deletion (shortcut Alt+Del by default): before deleting from the hard disk, the selected file will be renamed with a random name, and its contents will be overwritten three times (zeros, ones and random data). You can set number of wipe passes in Configuration > Options... > File operations. Directories and links will just be renamed before deleting.
+Note: Some features of solid-state drives (garbage collection, TRIM) significantly complicate the recovery of deleted files or make it impossible, therefore, using the cm_Wipe command on an SSD can be a pointless waste of device resource.
Item Delete (internal command cm_Delete) – will delete the selected files or the file under the cursor to trash (recycle bin) or permanently. By default, Double Commander moves files to trash, you can change this in Configuration > Options... > File operations. Deleting to trash can might not be available for all platforms.
To delete files inside archive (in this case the files will be deleted directly), you need to add a suitable WCX plugin or configure an external archiver, also the archive format must support the delete operation.
@@ -266,8 +267,8 @@Flat view (internal command cm_FlatView) will scan all the directories of panel to show all content in one single panel.
Open VFS List (internal command cm_OpenVirtualFileSystemList) will open a list of added file system plugins (WFX plugins) that use their own file systems or provide access to other file systems and devices (local or remote). As well as virtual folders:
Computer(Beta version) – contains a list of normal disks with a drive letter and devices that do not have a drive letter (for example, USB devices that are connected via the MTP protocol, i.e. smartphones, tablets or players). Windows only.
Linux(Beta version) – list of all Linux distributions that you added to WSL and their root file systems (Windows 10 and newer).
Computer – contains a list of normal disks with a drive letter and devices that do not have a drive letter (for example, USB devices that are connected via the MTP protocol, i.e. smartphones, tablets or players). Windows only.
Linux – list of all Linux distributions that you added to WSL and their root file systems (Windows 10 and newer).
Network – used to access shared network resources (Windows only).
Recycle Bin – used to access files deleted to trash.
![]()
Display tabs. Click on tabs with left mouse or you can use the keyboard to navigate tabs (Ctrl+Tab and Ctrl+Shift+Tab by default). To change the order of the tabs, use drag & drop or the cm_MoveTabLeft and cm_MoveTabRight commands(Beta version).
+Display tabs. Click on tabs with left mouse or you can use the keyboard to navigate tabs (Ctrl+Tab and Ctrl+Shift+Tab by default). To change the order of the tabs, use drag & drop or the cm_MoveTabLeft and cm_MoveTabRight commands.
You can protect tabs from closing or changing the directory, the available tab states are described in the "Tabs" subsection. Locked tabs are marked with an asterisk (if Show locked tabs with an asterisk * is enabled).
The methods of creating thumbnails and the supported file formats depend on the family of the operating system.
Windows: Double Commander uses the capabilities of the operating system (as in Windows Explorer), WLX plugins with thumbnail creation support and supplements the list with image formats that are supported by the built-in viewer.
macOS(*): Double Commander uses the capabilities of the operating system (Quick Look) and supplements the list with image formats that are supported by the built-in viewer. The program also supports the OpenDocument format (.odt, .ods, .odp, .odg) and will try to create thumbnails (if files contains "Thumbnails/thumbnail.png") before using the Quick Look API.
macOS: Double Commander uses the capabilities of the operating system (Quick Look) and supplements the list with image formats that are supported by the built-in viewer. The program also supports the OpenDocument format (.odt, .ods, .odp, .odg) and will try to create thumbnails (if files contains "Thumbnails/thumbnail.png") before using the Quick Look API.
Linux and other Unix-like systems: Double Commander creates thumbnails for the following formats:
Double Commander supports the ability to drag and drop files using the mouse (that is, with the left mouse button pressed) to the windows of external applications (for example, a text or graphics editor or viewer), to the toolbar and copying/moving files between directories. If the action is possible, the "+" symbol will be displayed near the mouse cursor.
When dragging a file to an empty place on the toolbar, a button with an external command will be created, the passed file will be used as a command. Dragging a file to a button is only possible if it is a button with an external command: the command will launched and the file will be passed to it as a launch parameter.
For file copy or move (using the Ctrl or Shift key) operations, the following targets are possible: the opposite file panel, any folder in the active or inactive panel (the folder name will be highlighted with a frame), the directory of any open tab (just drop the files on the header of the desired tab). Use ".." to copy files to the parent directory. Double Commander can also copy files to an archive if adding files is supported.
-If more than one file is selected, press the modifier key after the start of dragging.
Dragging using the right mouse button will show the menu with the following actions: Copy, Move, Create link (hard link), Create symlink and Cancel. If several files are selected, Double Commander will offer to create a link only for the first file in the list.
You can create a symbolic link using Ctrl+Shift.
When you drag files to the window of another application, Double Commander uses the system implementation of drag & drop. Using the Alt key, you can call an alternative action (for example, when dragging a file into the Windows Explorer window, a shortcut will be created instead of copying the file).
@@ -511,9 +511,15 @@Open – Open the file under the cursor in the default program (system file associations will be used).
The Actions submenu – contains all the actions added to the file association for files with the file extension under the cursor. Also you can add a few additional actions.
The Open with submenu – contains a list of applications suitable for opening a file. To get the list in macOS(*), Double Commander uses the Launch Services API, in other systems the program follows the Desktop Menu specification.
- The additional item Other... (not available in macOS(*)) will open the application selection window: you can choose an application from a list of all available applications or manually specify the command line to open the file. Also here you can save an additional system association for the file type, add a new one or change the default application (Double Commander will use the ~/.config/mimeapps.list file (see Association between MIME types and applications).
Services – system services (macOS(*) only).
The Open with submenu – contains a list of applications suitable for opening a file. To get the list in macOS, Double Commander uses the Launch Services API, in other systems the program follows the Desktop Menu specification.
+ The additional item Other...
macOS: will open a list of all installed applications.
Linux and other Unix-like systems: will open the application selection window, you can choose an application from a list of all available applications or manually specify the command line to open the file. Also here you can save an additional system association for the file type, add a new one or change the default application (Double Commander will use the ~/.config/mimeapps.list file (see Association between MIME types and applications).
Services – macOS only, an analogue of the "Services" system submenu.
Share... – macOS only, an analogue of the "Share" system submenu.
Pack here... – calls the command to pack the selected file(s), the current directory will be used as the target directory.
Extract here... – calls the command to unpack the selected file, the current directory will be used as the target directory. This item will be added only if the file extension is specified in the settings of archiver plugins or external archivers.
Calling basic file operations: Move (F6), Copy (F5), Delete (F8), Rename (F2).
Refresh – the command to reread the contents of the directory in the panel.
The Sort by submenu – contains commands for switching the sorting method: by name, file extension, size, modification date or attributes. Also added the Reverse Order command which switches the sorting direction.
Paste – used to copy and move files using the clipboard.
The New submenu – contains commands for creating a directory (F7) and a text file (Shift+F4). Also this submenu contains templates for new files, if the system directory with templates exists and is not empty (not available in macOS(*)).
The New submenu – contains commands for creating a directory (F7) and a text file (Shift+F4). Also this submenu contains templates for new files, if the system directory with templates exists and is not empty (not available in macOS).
Show file properties – Show the properties window of the current directory.
Context menu inside an open archive or a file system plugin (WFX) is always the same and does not depend on the operating system:
diff --git a/doc/en/images/imgDC/archiveimg1.png b/doc/en/images/imgDC/archiveimg1.png index ceee64ff..f1ad2fc6 100644 Binary files a/doc/en/images/imgDC/archiveimg1.png and b/doc/en/images/imgDC/archiveimg1.png differ diff --git a/doc/en/images/imgDC/archiveimg11.png b/doc/en/images/imgDC/archiveimg11.png index c4611e04..90127224 100644 Binary files a/doc/en/images/imgDC/archiveimg11.png and b/doc/en/images/imgDC/archiveimg11.png differ diff --git a/doc/en/images/imgDC/archiveimg15.png b/doc/en/images/imgDC/archiveimg15.png index aaffc6d3..3eade81c 100644 Binary files a/doc/en/images/imgDC/archiveimg15.png and b/doc/en/images/imgDC/archiveimg15.png differ diff --git a/doc/en/images/imgDC/archiveimg3.png b/doc/en/images/imgDC/archiveimg3.png index fe5b66ee..fda5f847 100644 Binary files a/doc/en/images/imgDC/archiveimg3.png and b/doc/en/images/imgDC/archiveimg3.png differ diff --git a/doc/en/images/imgDC/btemplate.png b/doc/en/images/imgDC/btemplate.png index a94a6969..2a71c198 100644 Binary files a/doc/en/images/imgDC/btemplate.png and b/doc/en/images/imgDC/btemplate.png differ diff --git a/doc/en/images/imgDC/dirhotconfigure.png b/doc/en/images/imgDC/dirhotconfigure.png index 6f10a7f6..69eec8e1 100644 Binary files a/doc/en/images/imgDC/dirhotconfigure.png and b/doc/en/images/imgDC/dirhotconfigure.png differ diff --git a/doc/en/images/imgDC/dirhotoverview.png b/doc/en/images/imgDC/dirhotoverview.png index eb0b0e68..aba24678 100644 Binary files a/doc/en/images/imgDC/dirhotoverview.png and b/doc/en/images/imgDC/dirhotoverview.png differ diff --git a/doc/en/images/imgDC/dirhotpersonalize.png b/doc/en/images/imgDC/dirhotpersonalize.png index 527cc823..df889a77 100644 Binary files a/doc/en/images/imgDC/dirhotpersonalize.png and b/doc/en/images/imgDC/dirhotpersonalize.png differ diff --git a/doc/en/images/imgDC/dirhotsettarget.png b/doc/en/images/imgDC/dirhotsettarget.png index 2c3738e8..d483e417 100644 Binary files a/doc/en/images/imgDC/dirhotsettarget.png and b/doc/en/images/imgDC/dirhotsettarget.png differ diff --git a/doc/en/images/imgDC/luaimg1.png b/doc/en/images/imgDC/luaimg1.png index eb5a60c2..668041e8 100644 Binary files a/doc/en/images/imgDC/luaimg1.png and b/doc/en/images/imgDC/luaimg1.png differ diff --git a/doc/en/images/imgDC/pic16.png b/doc/en/images/imgDC/pic16.png index 6e37394f..9e3b1ced 100644 Binary files a/doc/en/images/imgDC/pic16.png and b/doc/en/images/imgDC/pic16.png differ diff --git a/doc/en/images/imgDC/pic17.png b/doc/en/images/imgDC/pic17.png index 1a9981b0..c5adf16d 100644 Binary files a/doc/en/images/imgDC/pic17.png and b/doc/en/images/imgDC/pic17.png differ diff --git a/doc/en/images/imgDC/pic18.png b/doc/en/images/imgDC/pic18.png index 05d6e7fc..71458653 100644 Binary files a/doc/en/images/imgDC/pic18.png and b/doc/en/images/imgDC/pic18.png differ diff --git a/doc/en/images/imgDC/pic26.png b/doc/en/images/imgDC/pic26.png index 2e8c0384..fdc6ac44 100644 Binary files a/doc/en/images/imgDC/pic26.png and b/doc/en/images/imgDC/pic26.png differ diff --git a/doc/en/images/imgDC/pic30.png b/doc/en/images/imgDC/pic30.png index 3d978892..478d3693 100644 Binary files a/doc/en/images/imgDC/pic30.png and b/doc/en/images/imgDC/pic30.png differ diff --git a/doc/en/images/imgDC/pic31.png b/doc/en/images/imgDC/pic31.png index 6cc3783b..01ce89ca 100644 Binary files a/doc/en/images/imgDC/pic31.png and b/doc/en/images/imgDC/pic31.png differ diff --git a/doc/en/images/imgDC/pic41.png b/doc/en/images/imgDC/pic41.png index 68b59983..17abe7b2 100644 Binary files a/doc/en/images/imgDC/pic41.png and b/doc/en/images/imgDC/pic41.png differ diff --git a/doc/en/images/imgDC/pic46.png b/doc/en/images/imgDC/pic46.png index 1cba1d14..5cef3f16 100644 Binary files a/doc/en/images/imgDC/pic46.png and b/doc/en/images/imgDC/pic46.png differ diff --git a/doc/en/images/imgDC/pic50.png b/doc/en/images/imgDC/pic50.png index 15167c73..df022c6f 100644 Binary files a/doc/en/images/imgDC/pic50.png and b/doc/en/images/imgDC/pic50.png differ diff --git a/doc/en/images/imgDC/pic51.png b/doc/en/images/imgDC/pic51.png index 33f4cd00..a356ad88 100644 Binary files a/doc/en/images/imgDC/pic51.png and b/doc/en/images/imgDC/pic51.png differ diff --git a/doc/en/images/imgDC/pic59.png b/doc/en/images/imgDC/pic59.png new file mode 100644 index 00000000..3ee345f4 Binary files /dev/null and b/doc/en/images/imgDC/pic59.png differ diff --git a/doc/en/images/imgDC/pic6.png b/doc/en/images/imgDC/pic6.png index 575bbd5e..24115403 100644 Binary files a/doc/en/images/imgDC/pic6.png and b/doc/en/images/imgDC/pic6.png differ diff --git a/doc/en/images/imgDC/pic69.png b/doc/en/images/imgDC/pic69.png index 1db2c9ea..037ddb63 100644 Binary files a/doc/en/images/imgDC/pic69.png and b/doc/en/images/imgDC/pic69.png differ diff --git a/doc/en/images/imgDC/pic75.png b/doc/en/images/imgDC/pic75.png index ad14e3b7..20e5087c 100644 Binary files a/doc/en/images/imgDC/pic75.png and b/doc/en/images/imgDC/pic75.png differ diff --git a/doc/en/images/imgDC/pic79.png b/doc/en/images/imgDC/pic79.png index a7a95769..0adc0624 100644 Binary files a/doc/en/images/imgDC/pic79.png and b/doc/en/images/imgDC/pic79.png differ diff --git a/doc/en/images/imgDC/pic81.png b/doc/en/images/imgDC/pic81.png new file mode 100644 index 00000000..126cd8d8 Binary files /dev/null and b/doc/en/images/imgDC/pic81.png differ diff --git a/doc/en/images/imgDC/syncdirscomp.png b/doc/en/images/imgDC/syncdirscomp.png index ff567804..fd1bc26f 100644 Binary files a/doc/en/images/imgDC/syncdirscomp.png and b/doc/en/images/imgDC/syncdirscomp.png differ diff --git a/doc/en/images/imgDC/toolbarexternal.png b/doc/en/images/imgDC/toolbarexternal.png index 8645c9e1..074d1242 100644 Binary files a/doc/en/images/imgDC/toolbarexternal.png and b/doc/en/images/imgDC/toolbarexternal.png differ diff --git a/doc/en/images/imgDC/toolbarinternal1.png b/doc/en/images/imgDC/toolbarinternal1.png index 4ea601b8..f86aed62 100644 Binary files a/doc/en/images/imgDC/toolbarinternal1.png and b/doc/en/images/imgDC/toolbarinternal1.png differ diff --git a/doc/en/images/imgDC/toolbarinternal2.png b/doc/en/images/imgDC/toolbarinternal2.png index 9174996a..a9fb8ad3 100644 Binary files a/doc/en/images/imgDC/toolbarinternal2.png and b/doc/en/images/imgDC/toolbarinternal2.png differ diff --git a/doc/en/images/imgDC/viewer.png b/doc/en/images/imgDC/viewer.png index 764cfcaa..9bace7b5 100644 Binary files a/doc/en/images/imgDC/viewer.png and b/doc/en/images/imgDC/viewer.png differ diff --git a/doc/en/images/imgDC/viewerpreview.png b/doc/en/images/imgDC/viewerpreview.png index 8d9a9a43..e1c90468 100644 Binary files a/doc/en/images/imgDC/viewerpreview.png and b/doc/en/images/imgDC/viewerpreview.png differ diff --git a/doc/en/images/screenshot.png b/doc/en/images/screenshot.png index 804bd02b..3c216438 100644 Binary files a/doc/en/images/screenshot.png and b/doc/en/images/screenshot.png differ diff --git a/doc/en/lua.html b/doc/en/lua.html index 684f654a..241f1e78 100644 --- a/doc/en/lua.html +++ b/doc/en/lua.html @@ -59,7 +59,7 @@Detailed information about the Lua scripting programming language can be found on the Lua website.
Double Commander can execute Lua scripts via cm_ExecuteScript command.
Script parameters must be passed as is, without escaping (without quotes or "\"), for this we need to use the %"0 variable: for example, %"0%p0 for the file under cursor instead of %p0 or %"0%D for the current directory instead of %D. Otherwise, if Double Commander automatically adds quotes, they will be passed as part of the parameter and you will have to take them into account.
- To get a list of all selected files we can use variables (%LU, %FU or %RU) or internal commands (cm_SaveSelectionToFile, cm_SaveFileDetailsToFile(Beta version), cm_CopyFullNamesToClip or cm_CopyFileDetailsToClip).
+ To get a list of all selected files we can use variables (%LU, %FU or %RU) or internal commands (cm_SaveSelectionToFile, cm_SaveFileDetailsToFile, cm_CopyFullNamesToClip or cm_CopyFileDetailsToClip).
We can use, for example, %p: in this case, Double Commander will pass the names of all selected files in one line, separating the names with a space.
It is also possible to write content plugins using Lua script, examples can be found in the program folder (plugins/wdx/scripts). The Wiki has a page dedicated to writing plugins. @@ -106,7 +106,7 @@
In order to interpret Lua script file, we need to have a Lua DLL file, Double Commander supports versions 5.1 - 5.4.
-By default DC looks for a file with name lua5.1.dll (Windows), liblua5.1.so.0 (Unix or GNU/Linux) or liblua5.1.dylib (macOS(*)) in its directory and in the system directory. We can change the file name (and path) in the Lua library file to use parameter.
+By default DC looks for a file with name lua5.1.dll (Windows), liblua5.1.so.0 (Unix or GNU/Linux) or liblua5.1.dylib (macOS) in its directory and in the system directory. We can change the file name (and path) in the Lua library file to use parameter.
We can use DLL file from LuaJIT project. LuaJIT combines a high-speed interpreter, written in assembler, with a state-of-the-art JIT compiler. Also we get FFI library, which allows calling external C functions and using C data structures from pure Lua code.
DC distributives for Windows have Lua DLL by default (in DC 0.9.7 and newer from LuaJIT project), in other cases we may find and install it through our packages manager or compile it. If we're using a 64-bits version of DC, the DLL must be the 64-bits version as well.
@@ -438,6 +438,13 @@sSeparator and iMaskOptions (see above) are optional parameters.
sTempFileName = SysUtils.GetTempName()
+Will return a filename to use as a temporary filename (in the system directory for the temporary files), similar to the os.tmpname function, but the file will be created in a subdirectory that is automatically deleted when Double Commander is closed.
If the function could not create a unique name, it will return an empty string.
sItem = Dialogs.InputListBox(sTitle, sMessage, aItems, sDefault)
+sItem, iItem = Dialogs.InputListBox(sTitle, sMessage, aItems, sDefault)
Displays a dialog box to allow the user to choose from a list of items.
Here is the description of each field:
nil if the dialog is dismissed.LazUtf8.Next(String)
An iterator function that, each time it is called, returns the next character in the String and the position of the beginning of this character (in bytes).
@@ -1027,12 +1035,19 @@sEnc = LazUtf8.DetectEncoding(String)
+Returns the value of encoding of the transmitted text.
The list of supported encodings is similar to those used in the LazUtf8.ConvertEncoding function.
This library contains functions for checking whether a character belongs to a particular Unicode category, as well as getting the category of a character.
List of available functions in this library:
| Multi-Rename Tool file name preview table | |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
F3 |
- 1. On file: open file for view in internal viewer (multiple files are OK too) + | 1. On file: open file for view in internal viewer (multiple files are OK too) 2. On directory: open this directory |
|||||||||||||||||||||||||||||||||||||||||||
F4 |
Open file in editor | ||||||||||||||||||||||||||||||||||||||||||||
Shift+F4 |
+ Create a new text file and open in the internal editor or open existing file | +||||||||||||||||||||||||||||||||||||||||||||
F5 |
Copy items from source to target | @@ -348,6 +351,10 @@Ctrl+Shift+Home |
Change directory to home | ||||||||||||||||||||||||||||||||||||||||||
Ctrl+Shift+A |
+ Show a menu with a list of all open tabs | +||||||||||||||||||||||||||||||||||||||||||||
Ctrl+Shift+C |
Copy full names of selected items to clipboard | @@ -405,10 +412,6 @@Shift+F2 |
Set focus to command line | ||||||||||||||||||||||||||||||||||||||||||
Shift+F4 |
- Create a new text file and open in the internal editor or open existing file | -||||||||||||||||||||||||||||||||||||||||||||
Shift+F10 |
Show context menu for files and folders | @@ -831,10 +834,18 @@Ctrl+C |
Copy selected text to clipboard | ||||||||||||||||||||||||||||||||||||||||||
Ctrl+G |
+ Go to the specified line (only in code view mode) | +||||||||||||||||||||||||||||||||||||||||||||
Ctrl+P |
|||||||||||||||||||||||||||||||||||||||||||||
Ctrl+Z |
+ Undo (only in image viewing mode) | +||||||||||||||||||||||||||||||||||||||||||||
1 |
Show as text | @@ -849,7 +860,7 @@||||||||||||||||||||||||||||||||||||||||||||
4 |
- Show as wrapped text | +Show as dec | |||||||||||||||||||||||||||||||||||||||||||
5 |
@@ -863,6 +874,14 @@ 7 |
Show using plugin | |||||||||||||||||||||||||||||||||||||||||||
8 |
+ Office XML (DOCX and XLSX, ODT and ODS), text only | +||||||||||||||||||||||||||||||||||||||||||||
9 |
+ Show in code view mode | +||||||||||||||||||||||||||||||||||||||||||||
A |
Change encoding: ANSI | @@ -880,13 +899,29 @@Change encoding: UTF-8 | |||||||||||||||||||||||||||||||||||||||||||
N |
+ C |
+ Image: place in the center of the window | +|||||||||||||||||||||||||||||||||||||||||||
F |
+ Image: stretch image | +||||||||||||||||||||||||||||||||||||||||||||
L |
+ Image: stretch only large | +||||||||||||||||||||||||||||||||||||||||||||
N, Alt+ → |
Next file in multiple files | ||||||||||||||||||||||||||||||||||||||||||||
P |
+ P, Alt+ ← |
Previous file in multiple files | |||||||||||||||||||||||||||||||||||||||||||
W |
+ Wrap/unwrap text | +||||||||||||||||||||||||||||||||||||||||||||
Num + |
Zoom In | @@ -1242,6 +1277,18 @@Key | Action | ||||||||||||||||||||||||||||||||||||||||||
F7, Ctrl+F |
+ Find text | +||||||||||||||||||||||||||||||||||||||||||||
F3 |
+ Find next | +||||||||||||||||||||||||||||||||||||||||||||
Shift+F3 |
+ Find previous | +||||||||||||||||||||||||||||||||||||||||||||
Alt+Home |
First difference | @@ -1270,6 +1317,10 @@Alt+X |
Close | ||||||||||||||||||||||||||||||||||||||||||
Ctrl+G |
+ Go to the specified line | +||||||||||||||||||||||||||||||||||||||||||||
Ctrl+R |
Reload files | @@ -1282,6 +1333,7 @@||||||||||||||||||||||||||||||||||||||||||||
| Archivers | -|
|---|---|
| Key | -Action | -
F1 | Open the Archive handling help page |
To help us to configure our directory hotlist, we have plenty of shortcut keys.
This allows us to remain with the focus in the bottom three boxes to enter our names and path, and still being able to move into the hotlist tree without quitting the text box.
| Environment variables | |||
|---|---|---|---|
| Variable | Description | ||
%COMMANDER_EXE% |
+ The full name (path + file name) of the Double Commander executable file (symbolic link will be replaced with a real file) | +||
%COMMANDER_PATH% |
The directory where the Double Commander executable file is located | ||
%COMMANDER_DRIVE% |
+ The disk where the Double Commander folder is located: - Windows: drive letter (with colon); - Unix-like systems: mount point. |
+ ||
%COMMANDER_INI% |
The full name (path + file name) of the main configuration file (doublecmd.xml) | ||
%COMMANDER_DRIVE% |
- The disk where the Double Commander folder is located: - Windows: drive letter (with colon); - Unix-like systems: mount point. |
+ %COMMANDER_INI_PATH% |
+ The directory where the Double Commander configuration files are located | +
%DC_CONFIG_PATH% |
+ The directory where the Double Commander configuration files are located | ||
We can use environment variables in the Double Commander settings: in the names of executable files and icons on the toolbar, in the names of plugins, favorite directories, and so on. This is a convenient way to specify a path if we don't want to use absolute paths.
-Additionally, the %DC_CONFIG_PATH% variable is available, which returns the directory with the Double Commander configuration files. This is not an environment variable and it is not available for child processes (applications launched from Double Commander), but otherwise we can use %DC_CONFIG_PATH% in the same way as the environment variables described above.
In Windows, we can additionally use pseudo environment variables in the format %$Name%, which correspond to standard Windows system folders (to get the values, Double Commander uses the SHGetSpecialFolderPath and SHGetKnownFolderPath functions from the Windows API). These are not normal environment variables and are not available for child processes, but otherwise we can use them in a similar way to environment variables. All these variables are collected in the path selection assistant menu: to the right of the file or directory choose buttons is the button Some functions to select appropriate path
, see description here.
The variable names %COMMANDER_PATH% and %DC_CONFIG_PATH% are not case sensitive and we can use the percent symbol % regardless of the operating system family (for backward compatibility, this is convenient for a cross-platform application). However, in Unix-like systems, environment variable names are case-sensitive and are traditionally written in upper case, so using the traditional spelling can be a good habit.
In Windows, we can additionally use pseudo environment variables in the format %$Name%, which correspond to standard Windows system folders (to get the values, Double Commander uses the SHGetSpecialFolderPath and SHGetKnownFolderPath functions from the Windows API). These are not normal environment variables and are not available for child processes (applications launched from Double Commander), but otherwise we can use them in a similar way to environment variables. All these variables are collected in the path selection assistant menu: to the right of the file or directory choose buttons is the button Some functions to select appropriate path
, see description here.
All these variables have been added to the Directory Hotlist menu (the Special Dirs submenu).
diff --git a/doc/en/viewer.html b/doc/en/viewer.html index f34fbb39..92a8deb9 100644 --- a/doc/en/viewer.html +++ b/doc/en/viewer.html @@ -29,9 +29,10 @@The built-in viewer is designed to view files of any size in text, hexadecimal or binary format and image files.

The selected text will be automatically copied to the clipboard, to disable we can use the <AutoCopy>(Beta version) parameter.
-By default, the viewer call is assigned to the F3 key, we can change this in the settings.
-Supported image formats: BMP, CUR, GIF, ICNS, ICO, JPEG, PNG, PNM (PBM, PGM and PPM), PSD, SVG/SVGZ(Beta version), TIFF, XPM. In addition, if the required libraries are available:
+The selected text will be automatically copied to the clipboard, to disable we can use the <AutoCopy> parameter.
+By default, the viewer (internal command cm_View) call is assigned to the F3 key, we can change this in the Keys > Hot Keys settings section. If several files are selected, the first selected file will be opened and we can switch these files using the Previous file and Next file commands (otherwise, these commands will load files in the current directory).
+Supported image formats: BMP, CUR, GIF, ICNS, ICO, JPEG, PNG, PNM (PBM, PGM and PPM), PSD, SVG/SVGZ, TIFF, XPM. In addition, if the required libraries are available:
HEIF/HEIC and AVIF: libheif-1.dll (Windows) or libheif.so.1 (Linux and other Unix-like systems).
HEIF/HEIC and AVIF: libheif.dll (Windows) or libheif.so.1 (Linux and other Unix-like systems).
WebP: libwebp.so.n, where "n" is 7, 6 or 5 (Linux and other Unix-like systems).
SVG/SVGZ: librsvg-2-2.dll, libcairo-2.dll and libgobject-2.0-0.dll (Windows) or librsvg-2.so.2, libcairo.so.2 and libgobject-2.0.so.0 (Linux and other Unix-like systems). If these files are available, Double Commander will use the librsvg library instead of the built-in Image32 graphics library.(Beta version)
Double Commander supports the TurboJPEG library, it is a JPEG codec that uses SIMD instructions to accelerate the decoding and encoding of images: libturbojpeg.dll (Windows), libturbojpeg.so.0 (Linux and other Unix-like systems) or libturbojpeg.dylib (macOS(*)).
SVG/SVGZ: librsvg-2-2.dll, libcairo-2.dll and libgobject-2.0-0.dll (Windows) or librsvg-2.so.2, libcairo.so.2 and libgobject-2.0.so.0 (Linux and other Unix-like systems). If these files are available, Double Commander will use the librsvg library instead of the built-in Image32 graphics library.
Double Commander supports the TurboJPEG library, it is a JPEG codec that uses SIMD instructions to accelerate the decoding and encoding of images: libturbojpeg.dll (Windows), libturbojpeg.so.0 (Linux and other Unix-like systems) or libturbojpeg.dylib (macOS).
Note: In Windows, libraries must be located near the Double Commander executable file or in the PATH.
-Double Commander supports Windows Imaging Component (Windows Vista and newer)(Beta version): the Windows Imaging Component (WIC) provides an extensible framework for working with images. WIC includes several built-in codecs (BMP, DDS, GIF, ICO, JPEG, JPEG XR, PNG and TIFF), additionally available external codecs for free and proprietary RAW image formats, HEIF/HEIC, WebP. Double Commander will skip codecs for BMP, GIF, ICO, JPEG, PNG and TIFF, because these formats are already supported.
+Double Commander supports Windows Imaging Component (Windows Vista and newer): the Windows Imaging Component (WIC) provides an extensible framework for working with images. WIC includes several built-in codecs (BMP, DDS, GIF, ICO, JPEG, JPEG XR, PNG and TIFF), additionally available external codecs for free and proprietary RAW image formats, HEIF/HEIC, WebP. Double Commander will skip codecs for BMP, GIF, ICO, JPEG, PNG and TIFF, because these formats are already supported.
The built-in viewer supports saving to the following image formats: BMP, ICO, JPEG (we can choose the quality from 1 to 100; 80 by default, see <JpegQuality>), PNG (Double Commander will use the same color depth as in the original image) and PNM (Double Commander will use binary formats, the color depth will be set automatically: 1, 8 or 24 bits per pixel).
Note: When modifying an image, we must save all changes with the Save or Save As commands: Double Commander does not check the status of the file (changed or not) when closing the viewer window or when switching to another file.
We can assign or change hotkeys for commands available in the viewer in the Keys > Hot Keys settings section (switch to the Viewer category). Hotkeys can be set separately for text mode and image viewing mode.
@@ -72,12 +73,12 @@Items Previous and Next are used to load the previous or next file in the directory. The sort order in the file panel is used.
+Items Previous and Next are used to load the previous or next file in the directory. If several files are selected, the commands will load these files. The sort order in the file panel is used.
Items Save and Save As... are available only when viewing images.
Print... – opens a system dialog for sending a file for printing. Printing is only available when viewed with plugins that support printing files.
Print setup... – opens a dialog for setting the print borders (left, right, top and bottom page margins).
Reload – Double Commander will forcibly reread the file without closing the viewer window. This is convenient if the file has been modified by an external program.
-Auto Reload – only for text mode: if enabled, Double Commander will check the file size every 2 seconds and if it changes, reread the file and scroll its contents to the end. This is convenient for viewing constantly updated log files. This mode applies only to the current file and is disabled when switching to another file or when closing the viewer window. If enabled, Double Commander will show an asterisk "*" in the status bar before the file name.(Beta version)
+Auto Reload – only for text mode: if enabled, Double Commander will check the file size every 2 seconds and if it changes, reread the file and scroll its contents to the end. This is convenient for viewing constantly updated log files. This mode applies only to the current file and is disabled when switching to another file or when closing the viewer window. If enabled, Double Commander will show an asterisk "*" in the status bar before the file name.
Exit – Close the viewer window.
Show as Book – A special viewing mode: text will be displayed in multiple columns (like a book spread or a newspaper). We can set the font and size, text and background colors, and the number of columns (1, 2 or 3).
Graphics – switches to image viewing. See the list of supported image formats at the beginning of the page.
Plugins – Viewing with WLX plugins. If the selected file can be opened by several installed plugins, then repeated calls of this command will switch them in a circle.
Office XML (text only)(Beta version) – The viewer will show text from XML-based office documents: Microsoft Office (DOCX, XLSX) and OpenOffice/LibreOffice (ODT, ODS). Without text formatting, but preserving paragraphs.
Code(Beta version) – The viewer will show the selected file in code view mode: with syntax highlighting and line numbers. The same highlighting rules and lists of extensions will be used as for the built-in text editor (see more details here). Also see description of <SynEditMask>.
Office XML (text only) – The viewer will show text from XML-based office documents: Microsoft Office (DOCX, XLSX) and OpenOffice/LibreOffice (ODT, ODS). Without text formatting, but preserving paragraphs.
Code – The viewer will show the selected file in code view mode: with syntax highlighting and line numbers. The same highlighting rules and lists of extensions will be used as for the built-in text editor (see more details here). In this mode, the viewer uses the settings of the built-in editor, also see the description of <SynEditMask>.
Plugins have priority over other supported view modes.
-Wrap text(Beta version) – enables or disables wrapping lines that do not fit in the window (by word boundaries).
+Wrap text – enables or disables wrapping lines that do not fit in the window (by word boundaries).
Show text cursor – enables the display of a blinking text cursor.
The menu contains a list of all added and enabled WLX plugins. The first part of the menu will contain plugins that are suitable for the current file (Double Commander checks the detection string), all others will be listed in the second part.
+Without sorting, the same order is used in which the plugins were added in the corresponding settings section.
+ +When viewing files in text modes: menu with a list of available text encodings, auto-detection is enabled by default.
When using plugins, this menu includes only three items:
The Image menu will not be available when viewing GIF files.
Stretch – resizes the image so it fills the viewer window (the aspect ratio will be saved automatically).
Stretch only large – resizes the image only if it is larger than the current window size (the aspect ratio will be saved automatically).
Center – The image will be displayed in the center of the viewer window instead of the upper left corner.
-Show transparency(Beta version) – enables the use of a checkerboard pattern as a background for transparent parts of the image.
+Show transparency – enables the use of a checkerboard pattern as a background for transparent parts of the image.
The Rotate submenu includes several similar actions:
The first three commands rotate the image by a specified number of degrees around its center: + 90 (90 degrees to the right), + 180 and - 90 (90 degrees to the left).

The sort order in the file panel is used. The file with which the viewer was launched will always be the first in the list.
The preview panel can be expanded to display a list of thumbnails in multiple columns.
-Separate toolbar with several frequently used functions: Reload current file, Load Previous File, Load Next File, Copy File, Delete File and Move File, see description of similar buttons above.
+Separate toolbar with several frequently used functions: Reload current file, Load Previous File, Load Next File, Copy File, Delete File and Move File, see description of similar buttons above.
@@ -230,15 +238,22 @@Additional file viewing mode (Ctrl+Q by default): instead of a separate window, the contents of the file under the cursor will be shown in the opposite (inactive) file panel. As we navigate to next items, displayed content is updated, this allows to view the contents of files simply by moving the cursor in the file panel.
Quick view can be disabled by pressing Ctrl+Q again, also it will be disabled when switching any panel (active or inactive) to another tab.
-"View" actions added in the file association settings are ignored.
+"View" actions added in the file association settings are ignored, except for applications that are launched with the {!DC-VIEWER} macro.
Not all viewer commands can work in this mode, for example, commands to load the previous or next file in the directory (P and N by default).
+Right-click on the status bar brings up a menu that contains several submenus (depending on the current mode):
+"Plugins" mode: "View", "Plugins", "Encoding" and "Image";
"Graphics" mode: "View", "Plugins" and "Image";
other modes: "View", "Plugins" and "Encoding".
(See description above.)
Some interface elements may be hidden (for example, when viewing images in the "Graphics" mode, Double Commander will hide the toolbar). There is no general rule or recommendation for plugins, the decision is made by the plugin author.
See the description of the Double Commander settings sections: Tools > Viewer. There are several parameters that can only be changed manually in the doublecmd.xml configuration file.
+See the description of the Double Commander settings sections: Tools > Viewer and Colors (the Viewer category). There are several parameters that can only be changed manually in the doublecmd.xml configuration file.
| mode | text | -Показать как текст | +показать как текст |
| bin | -Показать в двоичном виде | +показать в двоичном виде | |
| hex | -Показать в шестнадцатеричном виде | +показать в шестнадцатеричном виде | |
| dec | -Показать в десятеричном виде | +показать в десятеричном виде |
-
-
- cm_SaveFileDetailsToFile(Бета-версия) |
+
Сохранить содержимое всех колонок выделенных файлов/папок в файл. Вы можете указать имя файла в первом параметре. Если параметр не используется, то Double Commander предложит указать имя файла. |
@@ -1506,17 +1517,38 @@
Ctrl+Shift+C |
- Копировать в буфер обмена полные имена файлов/папок. | +Копировать в буфер обмена полные имена файлов/папок. + Доступен один параметр, мы можем указать предпочтительный разделитель каталогов: + +
|
||||||||||||
|
- Копировать полные пути выделенных файлов/папок, включая разделитель каталогов в конце для папок. | +Копировать полные пути выделенных файлов/папок, включая разделитель каталогов в конце для папок. + Доступен один параметр, мы можем указать предпочтительный разделитель каталогов, смотрите описание cm_CopyFullNamesToClip. |
||||||||||||||
|
- Копировать полные пути выделенных файлов/папок без разделителя каталогов в конце для папок. | +Копировать полные пути выделенных файлов/папок без разделителя каталогов в конце для папок. + Доступен один параметр, мы можем указать предпочтительный разделитель каталогов, смотрите описание cm_CopyFullNamesToClip. |
||||||||||||||
@@ -2518,12 +2550,12 @@ 2.16. Вкладки | ||||||||||||||||
- cm_MoveTabLeft(Бета-версия) |
+
Переместить текущую вкладку влево. | |||||||||||||||
- cm_MoveTabRight(Бета-версия) |
+
Переместить текущую вкладку вправо. | |||||||||||||||
+
+ Ctrl+Shift+A |
+ Показать меню со списком всех открытых вкладок. + +
|
+ |||||||||||||||
Возможна альтернативная форма:
doublecmd.exe [-C] [-T] [-P L|R] [-L каталог1] [-R каталог2]
Примечание: Командная строка macOS имеет некоторую специфику, используйте команду open с полным именем приложения ("Double Commander" с -a) и --args для передачи параметров. Для второго и последующих экземпляров добавьте -n.
Основными файлами являются:
doublecmd.xml – все главные настройки программы;
doublecmd.cfg(Бета-версия) – настройки, которые применяются до инициализации всех компонентов программы и загрузки doublecmd.xml;
doublecmd.cfg – настройки, которые применяются до инициализации всех компонентов программы и загрузки doublecmd.xml;
extassoc.xml – настройки файловых ассоциаций;
favoritetabs.xml – избранные вкладки;
pixmaps.txt – сопоставляет расширения файлов с именами значков MIME-типов;
multiarc.ini – внешние архиваторы;
shortcuts.scf – настройки горячих клавиш;
highlighters.xml – настройки цветов редактора;
colors.json – все настройки цветов, Double Commander хранит значения цветов в профилях "Light" и "Dark" и выбирает профиль автоматически в зависимости от текущей темы (светлая или тёмная тема);
tabs.xml – список открытых вкладок;
history.xml – история каталогов, командной строки, поиска и так далее;
и несколько других...
Версия конфигурации в doublecmd.xml определяет формат хранения данных: если в новой версии программы он изменился (например, были добавлены новые параметры или изменились существующие), то при первом запуске программа обновит файлы конфигурации. В процессе обновления будет создана резервная копия предыдущей версии doublecmd.xml.(Бета-версия)
+Файлы генерируются автоматически, кроме multiarc.ini и pixmaps.txt: они включены в дистрибутив Double Commander (в папке "default") и копируются в каталог файлов конфигурации при первом запуске программы.
+Версия конфигурации в doublecmd.xml определяет формат хранения данных: если в новой версии программы он изменился (например, были добавлены новые параметры или изменились существующие), то при первом запуске программа обновит файлы конфигурации. В процессе обновления будет создана резервная копия предыдущей версии doublecmd.xml.
Диалоговое окно "Настройки" позволяет изменить почти все параметры Double Commander, но есть несколько параметров, которые можно изменить только вручную в файле конфигурации doublecmd.xml. В нижней части окна доступен фильтр по названию параметра: программа отобразит только те разделы, которые содержат совпадающий параметр.(Бета-версия)
-Для открытия соответствующего раздела в справке программы вы можете воспользоваться кнопкой Помощь или клавишей F1.(Бета-версия)
+Диалоговое окно "Настройки" позволяет изменить почти все параметры Double Commander, но есть несколько параметров, которые можно изменить только вручную в файле конфигурации doublecmd.xml. В нижней части окна доступен фильтр по названию параметра: программа отобразит только те разделы, которые содержат совпадающий параметр.
+Для открытия соответствующего раздела в справке программы вы можете воспользоваться кнопкой Помощь или клавишей F1.
В Double Commander есть несколько внутренних команд для открытия диалога настроек и быстрого перехода к нужному разделу.
Double Commander поддерживает импорт/экспорт некоторых настроек: избранные каталоги, избранные вкладки, внешние архиваторы, панель инструментов (главная и центральная), подсказки. Также список горячие клавиш можно сохранить в новый файл и вы можете переключаться между ними.
Примечание: Справа от кнопок выбора файла или каталога находится кнопка Некоторые функции для выбора подходящего пути
: всплывающее меню содержит списки переменных (включая переменные окружения) и некоторые дополнительные функции, описание смотрите здесь.
Почти все параметры и переключатели доступны в окне встроенного просмотрщика, в этом разделе лишь две группы параметров.
-
В этом разделе две группы параметров:
+
Первая группа позволяет указать внешнюю программу для просмотра файлов. Double Commander будет автоматически добавлять полное имя файла как последний параметр запуска при каждом вызове просмотрщика.
Дополнительно: Запускать в терминале и Не закрывать окно терминала после запуска программы могут быть полезны, если вы используете консольную программу и/или терминальный вывод программы имеет значение (или просто временно для отладки).
-Следующая группа параметров, Режим просмотра "Книга", связана с особым режимом просмотра текста: вы можете задать цвет шрифта, цвет фона и количество колонок текста (как книжный разворот или газета).
+Следующая группа параметров Опции встроенной программы просмотра, однако почти все параметры и переключатели доступны в окне встроенного просмотрщика.
+Количество колонок в режиме "Книга" – смотрите описание этого режима здесь.
Также доступно несколько параметров, которые можно изменить только вручную в файле конфигурации doublecmd.xml.
Использовать пробелы вместо символов табуляции – Конвертировать символы табуляции в заданное количество пробелов (при вводе).
Tab меняет отступ блоков – Нажатия клавиш Tab и Shift+Tab соответственно увеличивают и уменьшают отступ выделенного текста.
"Умные" табуляции – Нажатия клавиши Tab будут перемещать каретку к позиции под следующим непробельным символом предыдущей строки.
+Групповая отмена – Если включено, все непрерывные однотипные изменения будут обрабатываться за один вызов команды отмены или повтора вместо отмены/повтора каждого отдельного изменения текста.
Ширина табуляции – Ширина символа табуляции (в количестве символов). Если включено Использовать пробелы вместо символов табуляции, то клавиша Tab будет вставлять указанное количество символов пробела. Эта настройка не применяется, если включена опция "Умные" табуляции.
-Отступ блока(Бета-версия) – задаёт количество символов, на которое будет увеличиваться или уменьшаться отступ при использовании соответствующих команд.
+Отступ блока – задаёт количество символов, на которое будет увеличиваться или уменьшаться отступ при использовании соответствующих команд.
Правая граница – Маркер длины строк, тонкая вертикальная линия в заданной позиции: строки не будут обрезаться с принудительным переносом на новую строку, это просто визуальная подсказка. Полезно в случаях, когда существует рекомендация ограничить длину строк (например, 80 или 120 символов).
Вы можете изменить используемые цвета текста и фона и стиль шрифта (подчёркнутый, жирный, курсив и зачёркнутый) для ключевых слов, строк, чисел, операторов и так далее. Для текста по умолчанию доступны только цвета текста и фона.
Отметка используется для добавления рамки вокруг элемента: вы можете выбрать цвет, тип рамки и тип линии.
Использовать (и менять) глобальную схему и Использовать локальную схему предназначены только для текста по умолчанию: вы можете изменить цвета сразу для всех типов файлов или только для некоторых.
-Все настройки сохраняются в файле highlighters.xml.
+Все настройки сохраняются в файле colors.json.
Примечание: Возможные пути для изменения (исправления или улучшения) разбора файлов, списков ключевых слов и так далее:
Значения по умолчанию:
Windows: cmd.exe
macOS(*): /Applications/Utilities/Terminal.app
macOS: Double Commander автоматически определит программу, указанную в настройках системы.
Linux и другие Unix-подобные системы:
Для Debian и базирующихся на Debian дистрибутивов (antiX, Devuan, Ubuntu, Linux Mint и другие) будет использоваться x-terminal-emulator: это символьная ссылка на терминал, используемый в этих системах по умолчанию.
2.5. Цвета(Бета-версия)
-Тёмный режим – включает или выключает поддержку темного режима (только Windows 10 1809 и новее):
+ +В этом разделе собраны настройки цветов, не включенные в другие разделы настроек. Параметры сгруппированы по категориям.
+
1. Тёмный режим – включает или выключает поддержку темного режима (только Windows 10 1809 и новее). Состояние:
Авто – будут использоваться системные настройки.
Включён – включить принудительно.
Отключён – отключить принудительно.
2. Просмотр – настройки цветов, которые используются встроенной программой просмотра файлов (описание режимов просмотра смотрите здесь):
+Режим "Книга" – для режима просмотра "Книга", вы можете задать цвет текста и цвет фона.
+Режим изображения:
+Фон 1: – задаёт цвет фона окна при просмотре изображений.
Фон 2: – если отмечено Показывать прозрачность, программа просмотра отображает прозрачность используя фон в виде шахматной доски и Фон 2 определяет цвет клеток. Если не задано, просмотрщик автоматически рассчитает значение: для тёмного фона будут использоваться светлые клетки и наоборот.
3. Поиск различий – для встроенного инструмента сравнения файлов: вы можете изменить цвета для добавленных, удалённых и модифицированных строк и цвет для различающихся символов в бинарном режиме.
+4. Протокол – параметры, которые задают цвета текста в окне протокола для информационных сообщений, сообщений об ошибке и сообщений об успешных операциях. Также эти цвета используются в окне с результатом проверки контрольных сумм.
+5. Синхронизация каталогов – для встроенного инструмента синхронизации каталогов:
+Слева: – файлы, выбранные для копирования или удаления слева.
Справа: – файлы, выбранные для копирования или удаления справа.
Неизвестно: – файлы с одинаковыми именами, но не идентичные.
6. Индикатор свободного места – здесь вы можете изменить вид индикатора свободного места на диске:
+
Double Commander может отображать градиентный (от зелёного к красному) или простой однотонный индикатор, во втором случае вы можете выбрать цвет и фон. Цвет предела индикатора будет использоваться, если свободного места на диске менее 10%.
+Пример индикатора кликабельный, так что вы можете увидеть, как он будет выглядеть.
2.5.1. Цвета > Файловые панели
@@ -291,9 +316,12 @@Курсор в неактивной панели – включает отображение курсора также в неактивной панели.
Курсор-рамка – Вместо сплошного прямоугольника Double Commander будет использовать рамку.
Разрешить наложение цвета включает возможность использовать для имён файлов цвет, отличный от цвета по умолчанию (смотрите раздел Цвета > Типы файлов).
-Также здесь вы можете уменьшить яркость неактивной панели и изменить вид индикатора свободного места на диске. Double Commander может отображать градиентный (от зелёного к красному) или простой однотонный индикатор, для однотонного индикатора вы можете выбрать цвет и фон. Цвет предела индикатора(Бета-версия) будет использоваться, если свободного места на диске менее 10%. Пример индикатора кликабельный, так что вы можете увидеть, как он будет выглядеть.(Бета-версия)
+В группе параметров Текущий путь вы можете изменить цвет текста и цвет фона панели текущего пути для активной и неактивной файловой панели.
+Также здесь вы можете уменьшить яркость неактивной панели.
Внизу окна расположена область предварительного просмотра, таким образом, вы можете сразу увидеть все изменения.
Кнопка Сбросить на умолчания DC сбросит все параметры до значений по умолчанию.
+Цвет сетки также можно изменить, но только вручную. Необходимо закрыть приложение, открыть файл colors.json и заменить значение ключа GridLine в объекте FilePanel. (Не забывайте, что цвета в colors.json хранятся в двух профилях: "Light" для светлых тем и "Dark" для тёмных тем.)
+ О формате цвета: Double Commander хранит значения цветов в формате $BBGGRR как десятичное число. Например, если вы хотите использовать цвет индиго #4B0082 ($RRGGBB), то сделайте перестановку, вы получите 82004B и теперь вам нужно конвертировать это шестнадцатеричное число в десятичное. Или вы можете временно добавить цвет для какого-нибудь типа файлов (смотрите ниже), найти его в colors.json по имени или маске, скопировать значение и удалить.
Вторая часть шаблона для Unix/Linux отображает права доступа: чтение (r), запись (w), выполнение (x). Значения сгруппированы по три в следующем порядке: пользователь (владелец), группа пользователя, все остальные.
Если атрибут не должен быть установлен, его нужно заменить символом "-", ненужные следует скрыть: звёздочка "*" обозначает любое количество символов, знак вопроса "?" – любой один символ. Например, с ?r* (Windows) или ?r-* (Linux) будут найдены все файлы и папки только для чтения.
Вы можете использовать цвет из списка или указать свой с помощью кнопки ">>".
+Вы можете использовать цвет из списка или указать свой с помощью кнопки "..".
Не забывайте нажимать на кнопку "Применить" после внесения изменений в список или в свойства.
Double Commander проверяет список сверху вниз до первого совпадения: правило, находящееся выше в списке, будет перекрывать любое правило ниже.
В таблице внизу окна показаны назначенные клавиатурные сочетания, параметры и элементы интерфейса (см. ниже) для выделенной команды.
Добавить – откроет окно для добавления горячих клавиш.
-Редактировать – откроет то же окно, но с уже установленными горячими клавишами и другими параметрами.
+Изменить – откроет то же окно, но с уже установленными горячими клавишами и другими параметрами.
Удалить – удалит выделенную в списке горячую клавишу.
Окно для добавления горячих клавиш:

t AM/PMyyyy "от РХ"Следующие параметры задают формат размера файла:
@@ -554,8 +585,9 @@Изображения ниже иллюстрируют этот эффект сетки. На снимке экрана слева включены вертикальные и горизонтальные линии, справа – нет.

Доступна возможность изменить цвет линий, подробнее смотрите здесь.
Растягивать колонки на всю ширину панели – Если включено, при изменении размера окна (или если есть свободное место) Double Commander изменит размер колонки, выбранной в следующем параметре Изменять размер колонки: (первую или последнюю). Горизонтальная полоса прокрутки будет недоступна.
-Выравнивать заголовки как значения(Бета-версия) – Если включено, Double Commander будет выравнивать заголовок колонки так же, как содержимое (вместо выравнивания по левому краю).
+Выравнивать заголовки как значения – Если включено, Double Commander будет выравнивать заголовок колонки так же, как содержимое (вместо выравнивания по левому краю).
Если содержимое колонки больше её ширины:
Обрезать текст по ширине колонки – Иногда текст колонки может перекрываться текстом других. Эта опция обрезает любой выступающий текст на границе колонки.
GETFILEEXT – расширение файла (всё, что идёт с конца до точки, например, txt).
GETFILESIZE – размер файла или каталога. По умолчанию вид будет зависеть от настроек в разделе Список файлов, но все возможные форматы размера также доступны.
GETFILETIME – дата модификации файла или каталога. Вид будет зависеть от настроек в разделе Список файлов.
GETFILECREATIONTIME – дата создания файла или каталога (не работает в Linux/BSD, ограничение POSIX).
GETFILECREATIONTIME – дата создания файла или каталога.
GETFILELASTACCESSTIME – дата последнего доступа файла или каталога.
GETFILECHANGETIME – дата изменения статуса файла или каталога.
GETFILEATTR – атрибуты файла или каталога. Вы можете выбрать строковое или числовое (восьмеричное) значение. В Windows восьмеричное значение можно использовать, если в файловой панели отображаются Unix-атрибуты (например, с плагином FTP). Подробное описание строкового значения смотрите здесь.
Плагины поиска – собственный тип плагинов Double Commander, эти плагины используют консольные программы для поиска файлов (например, Locate, Everything или Recoll). Интерфейс DSX-плагинов позволяет отправлять им значения параметров поиска из вкладок "Стандартный" и "Расширенный".
Кнопки:
Добавить – открывает диалог выбора файла. В качестве альтернативы вы можете использовать внутреннюю команду cm_AddPlugin.
Добавить – открывает диалог выбора файла. В качестве альтернативы вы можете использовать внутреннюю команду cm_AddPlugin (также плагины могут быть установлены автоматически).
Отключить – позволяет временно отключить выбранный плагин.
Удалить – удаляет выбранный плагин из списка (но не файл плагина!).
@@ -689,7 +721,7 @@
2.10.3. Вид окна > Цвета древовидного меню
Здесь вы можете настроить внешний вид меню по своему вкусу, предварительный просмотр покажет все изменения до сохранения.
-

2.11. Панель инструментов и Панель инструментов > Центральная панель
@@ -786,7 +818,7 @@При восстановлении сохранить существующие вкладки: – то есть избранные вкладки будут добавлены к уже открытым вкладкам.
Для каждого параметра доступны следующие значения: Слева, Справа, В активной, В неактивной, В обеих или Нет.
-Сохранять историю каталогов для избранных вкладок – включает или отключает сохранение истории каждой вкладки.
+Сохранять историю каталогов для избранных вкладок – включает или отключает сохранение истории посещённых каталогов для каждой вкладки.
Также вы можете применить эти параметры отдельно для каждого набора вкладок.
Позиция в меню по умолчанию при сохранении новых избранных вкладок – определяет порядок добавления нового набора:


Расположение файлов конфигурации – Здесь можно выбрать место хранения всех файлов конфигурации (также вы можете увидеть здесь полный путь):
Каталог программы (портативная версия).
Папка "settings" в каталоге программы (портативная версия).
Домашний каталог пользователя.
В качестве индикатора Double Commander использует пустой файл doublecmd.inf в каталоге программы: - если файл существует, Double Commander будет загружать файлы конфигурации из каталога программы и сохранять сюда же, в противном случае Double Commander будет использовать папку текущего пользователя. +
В качестве индикатора Double Commander использует пустой файл doublecmd.inf в папке "settings" в каталоге программы: + если файл существует, Double Commander будет загружать файлы конфигурации из папки "settings" и сохранять сюда же, в противном случае Double Commander будет использовать папку текущего пользователя. Вы можете вручную добавить файл doublecmd.inf и получить портативную версию, или удалить, переключив способ хранения на папку пользователя.
Если вы запустили Double Commander с параметром --config-dir, то DC просто напишет Задано через командную строку и покажет полный путь к файлам конфигурации.
Для быстрого перехода в каталог с файлами конфигурации вы можете использовать меню Специальные каталоги в меню избранных каталогов или используйте переменную %DC_CONFIG_PATH%.
@@ -856,11 +888,16 @@В этом разделе находятся параметры, для которых не нашлось подходящего места в других разделах настроек:
-
Показывать заставку при запуске(Бета-версия) – Если включено, до отображения главного окна Double Commander покажет заставку, содержашую значок и версию программы, дату компиляции, а также версию Lazarus, FPC и операционной системы.
+
Показывать заставку при запуске – Если включено, до отображения главного окна Double Commander покажет заставку, содержашую значок и версию программы, дату компиляции, а также версию Lazarus, FPC и операционной системы.
Показывать некритические сообщения об ошибках (с одной кнопкой "ОК") – если программа совершит действие или операцию с ошибкой и при этом не произойдёт никаких фатальных потерь, то будет показано окно с текстом ошибки и одной кнопкой "ОК". Иначе ошибка выводится не будет. (Например, если Double Commander не может установить какое-либо свойство или атрибут файла из-за ограничений файловой системы в целевом каталоге.)
При смене диска всегда переходить в корневой каталог – Если не отмечено, Double Commander будет переходить в последний открытый каталог этого диска (в этом случае вы можете перейти в корневой каталог диска, дважды нажав его кнопку).
Показывать текущий каталог в заголовке окна – Если включено, Double Commander будет отображать в заголовке окна имя текущей папки и путь активной панели.
+Однобайтовая кодировка текста по умолчанию: – По умолчанию (NONE) встроенная программа просмотра файлов и встроенный редактор используют автоматическое определение кодировки, но вы можете указать одну из поддерживаемых однобайтовых кодировок как значение по умолчанию. Этот параметр не затрагивает автоматическое определение многобайтовых кодировок (UTF-8, UTF-16 и другие). Также доступны специальные значения:
+ANSI – системная кодировка ANSI по умолчанию (зависит от языковых стандартов системы).
OEM – системная кодировка OEM (DOS) по умолчанию (зависит от языковых стандартов системы).
Эскизы – Здесь вы можете включить сохранение кэша миниатюр изображений и установить их размер. Каталог для хранения кэша эскизов можно узнать в разделе Конфигурация. Double Commander использует форматы PNG или JPEG (только для .bmp, .jpg и .jpeg). В качестве имени эскиза используется MD5-сумма полного имени исходного файла. В файл будут добавлены полное имя исходного файла, его размер и дата модификации.
Кнопка Удалить эскизы для отсутствующих файлов поможет удалить устаревшие эскизы.
Комментарии к файлам (descript.ion) – Здесь вы можете установить кодировку по умолчанию для файлов с комментариями (OEM, ANSI или UTF-8) и кодировку для новых файлов (UTF-8 BOM, UTF-16 LE или UTF-16 BE).
@@ -1014,6 +1051,7 @@{!TERMSTAYOPEN} – запустить в терминале и оставить его открытым;
{!TERMANDCLOSE} – запустить в терминале и закрыть его после завершения.
Действия "View" с макросом {!DC-VIEWER} будут учитываться при быстром просмотре, другие макросы и команды будут проигнорированы.
{!TERMSTAYOPEN} и {!TERMANDCLOSE} были добавлены для унификации и возможности использовать переменные %t0 и %t1, {!SHELL} был сохранён для обеспечения обратной совместимости.
В качестве команды можно использовать внутренние команды Double Commander. Параметры внутренних команд задаются по одному на строку, поэтому здесь вы можете указать только один. Также с помощью внутренней команды cm_ExecuteScript можно запускать скрипты Lua, в этом случае вы можете получить имена выделенных файлов с помощью cm_CopyFullNamesToClip или cm_SaveSelectionToFile.
Параметры – параметры команды, включая переменные:
@@ -1028,11 +1066,11 @@2.23.1. Файловые ассоциации > Файловые ассоциации (дополнительно)
-

Предлагать добавить в файловые ассоциации файл под курсором (если ещё не включен) – При открытии настроек файловых ассоциаций будет предложено добавить тип с расширением файла под курсором (если оно не найдено в уже существующих типах). Это быстрый способ добавить действие "Открыть с помощью": Double Commander предложит вам указать имя типа и исполняемый файл, всё остальное будет сделано автоматически.
Расширенное контекстное меню – позволяет добавить некоторые пункты в подменю "Команды":
Контекстные действия по умолчанию (просмотр/редактирование)(Бета-версия) – Команды для открытия файла в просмотрщике и редакторе. Будут использоваться встроенные инструменты или внешние приложения (в зависимости от настроек), настройки внутренних файловых ассоциаций будут проигнорированы.
Контекстные действия по умолчанию (просмотр/редактирование) – Команды для открытия файла в просмотрщике и редакторе. Будут использоваться встроенные инструменты или внешние приложения (в зависимости от настроек), настройки внутренних файловых ассоциаций будут проигнорированы.
Запустить с помощью макросов {!SHELL}, {!TERMANDCLOSE} и {!TERMSTAYOPEN} (подробнее смотрите здесь):
Запустить с помощью оболочки
Так что, как правило, нам не придётся вручную редактировать содержимое файла конфигурации.
Но есть несколько параметров, которые могут быть изменены только ручным редактированием doublecmd.xml.
ПРЕДУПРЕЖДЕНИЕ: Мы не будем редактировать файл пока Double Commander запущен! Не только потому, что в любом случае значения из него будут прочитаны только при запуске приложения, но и потому, что после закрытия DC наши изменения будут перезаписаны значениями текущей сессии. Если нужно изменить файл doublecmd.xml вручную, мы должны убедиться, что закрыли Double Commander, затем отредактировать файл и запустить приложение.
-О формате цвета: Мы можем использовать код цвета в шестнадцатеричном виде в формате $BBGGRR. Например, если хотим использовать цвет индиго #4B0082, то запишем $82004B.
ПРЕДУПРЕЖДЕНИЕ: Мы не будем редактировать файл пока Double Commander запущен! Не только потому, что в любом случае значения из него будут прочитаны только при запуске приложения, но и потому, что после закрытия DC наши изменения будут перезаписаны значениями текущей сессии. Если нужно изменить файл doublecmd.xml вручную, мы должны убедиться, что закрыли Double Commander, затем отредактировать файл и запустить приложение.
+ Есть альтернативное решение, подробнее смотрите здесь (но для применения изменений некоторых параметров всё равно может потребоваться перезапустить приложение).
Таблица ниже содержит описание параметров, изменение которых возможно только вручную.
True) или нет (False). По умолчанию False.| Тег | -Файловая панель | -Описание | -
|---|---|---|
| <ActiveColor> | -активная | -цвет фона | -
| <ActiveFontColor> | -цвет шрифта | -|
| <InactiveColor> | -неактивная | -цвет фона | -
| <InactiveFontColor> | -цвет шрифта | -
True) или текст из истории поиска (False). По умолчанию True.True) или количество файлов (False, по умолчанию).True, строка состояния также будет показывать количество файлов, когда курсор находится на пункте "..". Для ссылок дополнительно будут отображаться целевые объекты.| Значение | -Описание | -
|---|---|
| ANSI | -Системная кодировка ANSI по умолчанию (зависит от локали). | -
| OEM | -Системная кодировка OEM (DOS) по умолчанию (зависит от локали). | -
True позволяет использовать диалоговое окно свойств файла файлового менеджера, который указан как программа по умолчанию в настройках среды рабочего стола (если это возможно), иначе Double Commander будет использовать собственное окно свойств. По умолчанию False.True на False| Тег | -Описание | -
|---|---|
| <Left> | -Файлы, выбранные для копирования или удаления слева. | -
| <Right> | -Файлы, выбранные для копирования или удаления справа. | -
| <Unknown> | -Файлы с одинаковыми именами, но не идентичные. | -
yyyy.mm.dd hh:nn:ss.True) или выключает (False) автоматическое копирование выделенного текста в буфер обмена. По умолчанию True.ImageBackColor2 определяет цвет клеток.Список следующих параметров будет различаться в зависимости от типа файловой операции и семейства операционных систем.
Проверить после завершения – Если отмечено, Double Commander сравнит исходный файл и скопированный файл в целевом каталоге: побайтовое сравнение (Windows) или контрольные суммы BLAKE2 (Linux и другие). Double Commander попытается свести к минимуму эффекты дискового кэша; если файловая система не поддерживает прямой доступ к файлу (например, tmpfs), программа сообщит о неудаче проверки. Имейте в виду, эта функция заметно снижает скорость операции. Недоступно в macOS(*).
Проверить после завершения – Если отмечено, Double Commander сравнит исходный файл и скопированный файл в целевом каталоге: побайтовое сравнение (Windows) или контрольные суммы BLAKE2 (Linux и другие). Double Commander попытается свести к минимуму эффекты дискового кэша; если файловая система не поддерживает прямой доступ к файлу (например, tmpfs), программа сообщит о неудаче проверки. Имейте в виду, эта функция заметно снижает скорость операции. Недоступно в macOS.
Проверять свободное место – Перед копированием файла Double Commander проверит, достаточно ли свободного места на диске в целевом каталоге.
Резервировать место – Если отмечено, Double Commander будет использовать предварительное выделение дискового пространства, это снизит вероятность фрагментации файла. Также это более быстрый способ создания файлов. В Windows Double Commander всегда резервирует место.
Следовать ссылкам – Если отмечено, Double Commander будет считать символьные ссылки на папки обычными папками и копировать их содержимое; вместо ссылок на файл будут скопированы файлы, на которые они указывают. Неопределённое (третье) состояние флажка: программа будет каждый раз спрашивать, что она должна делать.
В: Это версия Total Commander для Linux, да?
-О: Нет, это независимая программа от других разработчиков. Сейчас существуют версии для ОС Windows, GNU/Linux с графическими интерфейсами GTK и Qt (зависит от Lazarus, поэтому на данный момент GTK2 и Qt5) и macOS(*), также Double Commander доступен в портах FreeBSD.
+О: Нет, это независимая программа от других разработчиков. Сейчас существуют версии для ОС Windows, GNU/Linux с графическими интерфейсами GTK и Qt (зависит от Lazarus, поэтому на данный момент GTK2 и Qt5) и macOS, также Double Commander доступен в портах FreeBSD.
В: В чём отличия этой программы от моего любимого Total Commander?
@@ -127,22 +124,13 @@О: Официальный форум проекта или GitHub.
Убедитесь, что вы используете последнюю версию программы, и перед тем, как сообщать об ошибке или запрашивать новую функцию, рекомендуется проверить разрабатываемую (альфа) версию.
Также смотрите #117.
В: Как обновить портативную версию и не потерять настройки?
-О: Обновление осуществляется простой распаковкой и заменой файлов, но следует обратить внимание на следующие файлы:
-Если вы не меняли эти настройки, то просто согласитесь с заменой файлов. В противном случае, сравните со своими и скопируйте изменения.
В: Какую версию мне скачивать?
-О: Если у вас KDE или LXQt – качайте Qt-сборку, иначе (Cinnamon, GNOME, LXDE, MATE или Xfce) сборку с GTK. Но это не строгое правило.
+О: Если у вас KDE, LXQt или Fly – качайте Qt-сборку, иначе (Cinnamon, GNOME, LXDE, MATE или Xfce) сборку с GTK. Но это не строгое правило.
В: Есть ли у проекта репозиторий?
@@ -340,35 +328,26 @@В: В некоторых текстовых файлах строки выходят за пределы края окна.
-О: В просмотрщике используйте режим "Показать как текст с разрывами строк" (в меню "Вид"). Встроенный редактор не поддерживает перенос строк.
+О: В просмотрщике включите "Переносить строки" (в меню "Вид"). Встроенный редактор не поддерживает перенос строк.
В: Можете добавить функцию редактирования колонок (как в Notepad++, UltraEdit и т.д.)?
О: Встроенный редактор поддерживает режимы выделения колонкой и построчно и мульти-каретки, клавиатурные сочетания см. здесь.
В: Возможно ли добавить поддержку SVG во встроенный просмотрщик?
-О: Поддерживается с помощью librsvg:
-Linux: установите пакет librsvg.
Windows: необходимы libcairo-2.dll, librsvg-2-2.dll и libgobject-2.0-0.dll (+ все зависимости), например, можно взять файлы из GIMP. Вы должны скопировать эти DLL в папку Double Commander или в PATH.
В: Как я могу использовать регулярные выражения для поиска в UTF-8?
О: Возможность была добавлена в версии 1.0.0. Необходима библиотека PCRE2 с поддержкой 8-битной кодировки и включенной поддержкой юникода (обычно включено по умолчанию):
Linux: необходим файл libpcre2-8.so.0. Например, пакет libpcre2-8-0 в Debian/Ubuntu или pcre2 в Arch Linux.
Windows: необходим файл libpcre2-8.dll (по умолчанию дистрибутив Double Commander содежит эту DLL).
macOS(*): необходим файл libpcre2-8.dylib.
macOS: необходим файл libpcre2-8.dylib.
В: Как изменить схему подсветки синтаксиса во встроенном редакторе или добавить новые?
О: DC использует два компонента:
1. SynEdit со встроенными правилами подсветки синтаксиса. Если хотите изменить любую схему, вы должны изменить исходный код DC или Lazarus.
- Но вы можете легко изменить используемые цвета и списки расширений файлов: откройте "Настройки" в главном меню > Параметры... > Инструменты > Редактор > Подсветка. Не забывайте сохранять изменения для каждого типа файлов.
- Все настройки сохраняются в файле highlighters.xml.
2. SynUniHighlighter для пользовательских схем подсветки синтаксиса (.hgl) и вы можете попробовать найти или создать эти файлы самостоятельно (смотрите ниже).
Это обычные XML-файлы, вы можете открыть их в текстовом редакторе и прочитать/отредактировать. В начале файлов расположен тег <General> (внутри <Info>):
1) Старый формат: теги <General>
@@ -381,7 +360,7 @@
Как создать или изменить:
Используйте UniHighlighter Editor или HglEditor (скачать). Обе программы были написаны для Windows, но вы можете использовать Wine. HglEditor сохранит HGL-файл в новом формате.
Также доступны два архива с различными схемами подсветки синтаксиса.
- В разделе Инструменты > Редактор > Подсветка вы можете изменить используемые цвета текста и фона и стиль шрифта.(Бета-версия)
Как добавить:
1) Портативная версия
Скопируйте (или переместите) HGL-файл(ы) в папку "highlighters" рядом с doublecmd.exe и перезапустите DC.
О: Формат даты и времени легко настраивается: перейдите в Настройки > Параметры... > Список файлов > Форматирование > Формат даты и времени и используйте эту таблицу.
В: Возможно ли добавить поддержку миниатюр SVG в просмотр эскизов?
-О: Уже поддерживается, см. Возможно ли добавить поддержку SVG во встроенный просмотрщик?
-В: Хочу видеть в колонке "Имя" имена файлов с расширением, я могу это сделать?
О: Да, это возможно. Откройте "Настройки" в главном меню > Параметры... > Список файлов > Колонки > Наборы колонок,
теперь создайте новый набор колонок или измените существующий: по умолчанию для имени DC использует поле GETFILENAMENOEXT, используйте вместо него GETFILENAME.
О: Сервер требует поддержки повторного использования сеанса (session reuse) и плагин FTP это поддерживает, но нужны библиотеки OpenSSL: поместите libeay32.dll и ssleay32.dll рядом с doublecmd.exe или в PATH.
+О: Сервер требует поддержки повторного использования сеанса (session reuse) и плагин FTP это поддерживает, но требуется библиотека, поддерживающая протоколы SSL и TLS (смотрите описание плагина). Поместите библиотеки рядом с doublecmd.exe или в PATH (Windows) или установите соответствующий пакет (Linux и другие Unix-подобные системы).
О: Требуются библиотеки OpenSSL: поместите libeay32.dll и ssleay32.dll рядом с doublecmd.exe или в PATH.
+О: Требуется библиотека, поддерживающая протоколы SSL и TLS (смотрите описание плагина). Поместите библиотеки рядом с doublecmd.exe или в PATH (Windows) или установите соответствующий пакет (Linux и другие Unix-подобные системы).
В открытых вкладках – будут использоваться только каталоги открытых вкладок (вкладки активной и неактивной панелей).
Выделенные файлы и каталоги – если включено, то поиск будет вестись только среди выделенных в активной панели файлов и папок. Если в файловой панели есть выделенные файлы/папки, то этот параметр будет включен автоматически.
Следовать ссылкам – если будет найдена символьная ссылка на каталог, целевой каталог будет прочитан и использован, иначе эта символьная ссылка будет считаться обычным файлом.
Исключить подкаталоги – список каталогов, которые нужно исключить из поиска, здесь мы можем указать имена папок и относительные или абсолютные(Бета-версия) пути.
Исключить подкаталоги – список каталогов, которые нужно исключить из поиска, здесь мы можем указать имена папок и относительные или абсолютные пути.
Глубина вложенности подкаталогов может принимать значения:
только текущий,
ANSI – системная кодировка ANSI по умолчанию (зависит от языковых стандартов системы).
OEM – системная кодировка OEM (DOS) по умолчанию (зависит от языковых стандартов системы).
Кнопка Кодировка (
) позволяет указать более одной кодировки.(Бета-версия)
Кнопка Кодировка (
) позволяет указать более одной кодировки.
Кнопка Старт запускает поиск, Отмена останавливает, а Закрыть закрывает окно поиска файлов.
Новый поиск – очищает поле результатов и позволяет запустить поиск заново (возможно, с другими условиями).
Предыдущий поиск – загружает параметры из предыдущего поиска (в текущей сессии, до закрытия Double Commander).
-Если включено сохранение истории, то для удаления ненужных записей из истории полей ввода мы можем использовать Shift+Del.
+По умолчанию Double Commander сохраняет историю полей ввода, для удаления ненужных записей из истории мы можем использовать Shift+Del, также мы можем отключить сохранение истории в разделе настроек Конфигурация.
diff --git a/doc/ru/help.html b/doc/ru/help.html index 1829e32a..99757aff 100644 --- a/doc/ru/help.html +++ b/doc/ru/help.html @@ -93,14 +93,13 @@И вы можете собрать Double Commander самостоятельно.
Также доступен архив версий.
-Сначала вы должны определиться с операционной системой (Windows, Linux, macOS(*)), архитектурой процессора, а затем можете выбрать версию для загрузки.
+Сначала вы должны определиться с операционной системой (Windows, Linux, macOS), архитектурой процессора, а затем можете выбрать версию для загрузки.
Для Windows доступны инсталляторы (.exe и .msi, Inno Setup и MSI соответственно) и архив ZIP с портативной версией.
-Для Linux существуют версии с использованием библиотек GTK и Qt. Также доступны портативные версии (скомпилированные двоичные файлы, упакованные XZ, для запуска используйте doublecmd.sh).
-Примечание: Особенности обновления портативной версии описаны в FAQ.
+Для Linux существуют версии с использованием библиотек GTK и Qt. Также доступны: портативные версии (скомпилированные двоичные файлы, упакованные XZ) и файлы в формате AppImage.
При первом запуске Double Commander автоматически определит системный язык и установит его для интерфейса. DC переведён на многие языки. Язык можно изменить в Настройки > Параметры... > Язык.
Double Commander определяет и использует текущую системную тему. Выглядит это так (Ubuntu, три темы и два набора значков):

На изображении видны левая файловая панель, командная строка и ниже окно протокола (оно показывает все действия файлового менеджера). Double Commander также поддерживает тёмный режим в Windows (Windows 10 1809 и новее).(Бета-версия)
+На изображении видны левая файловая панель, командная строка и ниже окно протокола (оно показывает все действия файлового менеджера). Double Commander также поддерживает тёмный режим в Windows (Windows 10 1809 и новее).
Double Commander использует API плагинов Total Commander, так что под Windows вы можете использовать плагины для Total Commander (многие из них совместимы с DC). Описание типов плагинов смотрите в разделе настроек Плагины. DC поставляется с несколькими предустановленными плагинами, другие плагины могут быть установлены вручную.
@@ -130,7 +129,7 @@Создать каталог (команда cm_MakeDir) – создаёт новый подкаталог в текущем каталоге. Будет предложено имя файла (без расширения) или имя каталога под курсором, это удобно для создания нескольких каталогов с похожими именами. Также можно создавать несколько подкаталогов за одну операцию, просто отделите подкаталоги разделителем каталогов (в системах Unix/Linux это будет "/" и "\" в Windows).

Если включен Расширенный синтаксис(Бета-версия), для вставки текущей даты/времени может быть использован шаблон <[]: внутри квадратных скобок можно использовать символы форматирования даты и времени, а также любые символы, допустимые для имён файлов.
Если включен Расширенный синтаксис, для вставки текущей даты/времени может быть использован шаблон <[]: внутри квадратных скобок можно использовать символы форматирования даты и времени, а также любые символы, допустимые для имён файлов.
Создать ярлык (только Windows) – Double Commander создаёт ярлык Microsoft Windows (LNK-файл) на файл под курсором и помещает в папку, открытую в противоположной панели.
@@ -138,11 +137,11 @@Свойства файла... (команда cm_FileProperties) покажет системный диалог "Свойства" (Windows) или собственное диалоговое окно Double Commander (Linux и другие Unix-подобные системы):
-
-
-
+
+
+
в котором указано имя файла или папки, расположение, размер, время модификации и последнего доступа, а также владелец и группа. На вкладке "Атрибуты" можно изменить уровень доступа к файлу (если у вас есть на это права). Вкладка "Плагины" опциональна и доступна только если есть подходящий информационный плагин (в данном случае это DEB). Также смотрите описание <SystemItemProperties>.
+в котором отображается имя файла или папки, MIME-тип, расположение, размер, время модификации и последнего доступа. Для ссылок Double Commander дополнительно покажет объект ссылки (символьная ссылка) или их общее количество (жёсткая ссылка). На вкладке "Атрибуты" можно изменить уровень доступа к файлу и его владельца (если у вас есть на это права). Вкладка "Плагины" опциональна и доступна только если есть подходящий информационный плагин (в данном случае это DEB). Также смотрите описание <SystemItemProperties>.
Воспользовавшись пунктом Редактировать комментарий (команда cm_EditComment) вы можете создавать или изменять комментарии к файлам, которые хранятся в файле descript.ion. Поддерживаются кодировки UTF, ISO, KOI и ANSI. В разделе настроек Разное вы можете задать кодировку текста по умолчанию.
Комментарии работают только с обычными файлами в локальной файловой системе, но не с удалёнными или виртуальными файловыми системами (например, на FTP-сервере, в архиве и тому подобное). Чтобы Double Commander учитывал содержимое descript.ion при копировании или перемещении файлов, убедитесь, что в разделе настроек Файловые операции включено Обрабатывать комментарии с файлами/папками.
@@ -162,7 +161,7 @@Бинарный режим – Сравнение файлов в двоичном виде.
Синхронная прокрутка – Позволяет просматривать файлы с одновременной синхронной прокруткой (вертикальная и горизонтальная).
Также смотрите описание параметров <Added>, <Deleted>, <Modified> и Позиция панели после сравнения.
Используемые цвета можно изменить в разделе настроек Цвета (категория Поиск различий). Также смотрите Позиция панели после сравнения.
Два файла будут выбраны следующим образом:
Если в активной панели выделено два файла, они будут открыты в инструменте сравнения. Первый выделенный файл будет открыт в левой панели инструмента сравнения.

В поле Распаковать файлы по маске можно указать маску, определяющую, какие файлы будут распакованы. История масок доступна в выпадающем списке. В следующей строке указывается каталог назначения (то есть куда будет распакован архив). Его можно сменить вручную или нажав на кнопку обзора справа.
-Распаковать каждый архив в отдельный каталог (с именем архива) – Если отмечено, Double Commander создаст в каталоге назначения папку с именем архива и извлечёт файлы в эту папку. С помощью этой опции вы можете распаковать сразу несколько архивов и каждый будет распакован в свою папку в целевом каталоге. Неопределённое (третье) состояние флажка включает "умную" распаковку(Бета-версия): если в корне архива несколько объектов, то содержимое архива будет распаковано в папку с именем архива, но если один объект, то содержимое будет распаковано как есть. По умолчанию не отмечено и состояние не сохраняется для следующего вызова команды извлечения.
+Распаковать каждый архив в отдельный каталог (с именем архива) – Если отмечено, Double Commander создаст в каталоге назначения папку с именем архива и извлечёт файлы в эту папку. С помощью этой опции вы можете распаковать сразу несколько архивов и каждый будет распакован в свою папку в целевом каталоге. Неопределённое (третье) состояние флажка включает "умную" распаковку: если в корне архива несколько объектов, то содержимое архива будет распаковано в папку с именем архива, но если один объект, то содержимое будет распаковано как есть. По умолчанию не отмечено и состояние не сохраняется для следующего вызова команды извлечения.
Учитывать подкаталоги – Если отмечено, структура каталогов в архиве будет сохранена. В противном случае все файлы будут извлечены без воссоздания структуры каталогов.
Флажок Заменять существующие файлы запрещает подтверждение перезаписи файлов.
@@ -212,13 +211,15 @@
Сохранить файл(ы) контрольных сумм как: – строка указывает, где и под каким именем будет сохранён файл, содержащий контрольную сумму.
Для каждого файла создать отдельный файл контрольной суммы – если сумма считается для нескольких выделенных файлов, то для каждого будет создан отдельный файл с контрольной суммой, иначе будет создан один общий, с контрольными суммами всех выделенных файлов.
+Формат файла – позволяет указать тип окончания строк и разделитель каталогов вместо обычно используемых значений в Windows (CRLF и "\") и Unix-подобных системах (LF и "/").
Список доступных алгоритмов – выбор алгоритма, по которому будут подсчитаны контрольные суммы файлов.
Пункт Проверить контрольные суммы... (команда cm_CheckSumVerify) начнёт проверку списка контрольных сумм из файла контрольной суммы под курсором. Также вы можете запустить эту команду, дважды щёлкнув мышью по файлу контрольной суммы (или с помощью клавиши Enter).
Double Commander может проверять файлы по одному: выберите файл, запустите эту команду, теперь введите его контрольную сумму (или вставьте из буфера обмена) и выберите алгоритм.
Вы можете использовать файлы контрольной суммы, созданные другими программами, но сначала убедитесь, что Double Commander поддерживает их алгоритм и формат.
-Пункт Стереть (Wipe) (команда cm_Wipe) для безопасного удаления (Alt+Del по умолчанию): перед удалением с жёсткого диска файл будет переименован со случайным именем и его содержимое будет перезаписано нулями, единицами или случайными данными. Вы можете установить количество проходов перезаписи в Настройки > Параметры... > Файловые операции. Каталоги и ссылки перед удалением будут просто переименованы.
+Пункт Стереть (Wipe) (команда cm_Wipe) для безопасного удаления (Alt+Del по умолчанию): перед удалением с жёсткого диска файл будет переименован со случайным именем и его содержимое будет перезаписано три раза (нулями, единицами и случайными данными). Вы можете установить количество проходов перезаписи в Настройки > Параметры... > Файловые операции. Каталоги и ссылки перед удалением будут просто переименованы.
+Примечание: Некоторые особенности твердотельных накопителей (сборщик мусора, TRIM) существенно затрудняют восстановление удалённых файлов или делают это невозможным, поэтому использование команды cm_Wipe на SSD может быть бессмысленной тратой ресурса устройства.
Пункт Удалить (команда cm_Delete) – удалит выбранные файлы или файл под курсором в корзину или навсегда. По умолчанию программа перемещает файлы в корзину, вы можете изменить это в Настройки > Параметры... > Файловые операции. Удаление в корзину может быть доступно не для всех платформ.
Чтобы удалить файлы внутри архива (в этом случае файлы будут удалены сразу), вам необходимо добавить подходящий WCX-плагин или настроить внешний архиватор, также формат архива должен поддерживать операцию удаления.
@@ -266,8 +267,8 @@Показать все файлы без подкаталогов (команда cm_FlatView) просканирует все каталоги панели и покажет всё содержимое.
Открыть список VFS (команда cm_OpenVirtualFileSystemList) откроет список добавленных плагинов файловой системы (WFX-плагинов), использующих собственные файловые системы или предоставляющие доступ к другим файловым системам и устройствам (локальным или удалённым). А также виртуальные папки:
Компьютер(Бета-версия) – содержит список обычных дисков с буквой диска и устройств, которые не имеют буквы диска (например, USB-устройства, которые подключены по протоколу MTP, то есть смартфоны, планшеты или плееры). Только Windows.
Linux(Бета-версия) – список всех дистрибутивов Linux, которые вы добавили в WSL, и их корневые файловые системы (Windows 10 и новее).
Компьютер – содержит список обычных дисков с буквой диска и устройств, которые не имеют буквы диска (например, USB-устройства, которые подключены по протоколу MTP, то есть смартфоны, планшеты или плееры). Только Windows.
Linux – список всех дистрибутивов Linux, которые вы добавили в WSL, и их корневые файловые системы (Windows 10 и новее).
Сеть – используется для доступа к общим сетевым ресурсам (только Windows).
Корзина – используется для доступа к файлам, удалённым в корзину.
![]()
Показывает вкладки, для перехода между ними можно использовать щелчок левой кнопки мыши или горячие клавиши (по умолчанию Ctrl+Tab и Ctrl+Shift+Tab). Чтобы изменить порядок вкладок, используйте перетаскивание мышью или команды cm_MoveTabLeft и cm_MoveTabRight(Бета-версия).
+Показывает вкладки, для перехода между ними можно использовать щелчок левой кнопки мыши или горячие клавиши (по умолчанию Ctrl+Tab и Ctrl+Shift+Tab). Чтобы изменить порядок вкладок, используйте перетаскивание мышью или команды cm_MoveTabLeft и cm_MoveTabRight.
Вы можете защитить вкладки от закрытия или изменения каталога, доступные состояния вкладок описаны в подразделе "Вкладки". Заблокированные вкладки отмечаются звёздочкой (если включена опция Отмечать заблокированные вкладки звёздочкой *).
Способы создания эскизов и поддерживаемые форматы файлов зависят от семейства используемой операционной системы.
Windows: Double Commander использует возможности операционной системы (как в Проводнике Windows), WLX-плагины с поддержкой создания эскизов и дополняет список форматами изображений, которые поддерживаются встроенным просмотрщиком.
macOS(*): Double Commander использует возможности операционной системы (Quick Look) и дополняет список форматами изображений, которые поддерживаются встроенным просмотрщиком. Программа также поддерживает формат OpenDocument (.odt, .ods, .odp, .odg) и попробует создать эскизы (если файлы содержат "Thumbnails/thumbnail.png") до использования API Quick Look.
macOS: Double Commander использует возможности операционной системы (Quick Look) и дополняет список форматами изображений, которые поддерживаются встроенным просмотрщиком. Программа также поддерживает формат OpenDocument (.odt, .ods, .odp, .odg) и попробует создать эскизы (если файлы содержат "Thumbnails/thumbnail.png") до использования API Quick Look.
Linux и другие Unix-подобные системы: Double Commander создаёт эскизы для следующих форматов:
Double Commander поддерживает возможность перетаскивания файлов с помощью мыши (то есть при зажатой левой кнопке мыши) в окна внешних приложений (например, текстовый или графический редактор или программа просмотра), на панель инструментов и копирование/перемещение файлов между каталогами. Если действие возможно, рядом с курсором мыши будет отображаться символ "+".
При перетаскивании файла на свободное место панели инструментов будет создана кнопка с внешней командой, переданный файл будет использоваться как команда. Перетаскивание файла на кнопку возможно только если это кнопка с внешней командой: команда будет запущена и файл будет передан ей как параметр запуска.
Для операций копирования или перемещения (используя клавишу Ctrl или Shift) файлов возможны следующие цели: противоположная файловая панель, любая папка в активной или неактивной панели (имя папки будет выделено рамкой), каталог любой открытой вкладки (просто бросьте файлы на заголовок нужной вкладки). Используйте ".." для копирования файлов в родительский каталог. Double Commander также может копировать файлы в архив, если добавление файлов поддерживается.
-Если выделено более одного файла, зажимайте клавишу-модификатор после начала перетаскивания.
Перетаскивание с помощью правой кнопки мыши покажет меню со следующими действиями: Копировать, Переместить, Создать ссылку (жёсткую ссылку), Создать символьную ссылку и Отмена. Если выделено несколько файлов, то Double Commander предложит создать ссылку только для первого в списке файла.
Создать символьную ссылку можно с помощью Ctrl+Shift.
Когда вы перетаскиваете файлы в окно другого приложения, Double Commander использует системную реализацию перетаскивания мышью. Используя клавишу Alt, вы можете вызвать альтернативное действие (например, при перетаскивании файла в окно Проводника Windows вместо копирования файла будет создан ярлык).
@@ -511,9 +511,15 @@Открыть – Открыть файл под курсором в программе по умолчанию (будут использоваться системные файловые ассоциации).
Подменю Команды – содержит все действия, добавленные в файловые ассоциации для файлов с расширением файла под курсором. Также вы можете добавить несколько дополнительных действий.
Подменю Открыть с помощью – содержит список приложений, подходящих для открытия файла. Для получения списка в macOS(*) Double Commander использует API Launch Services (как в Finder), в других системах программа следует спецификации Desktop Menu.
- Дополнительный пункт Другое... (недоступно в macOS(*)) откроет окно выбора приложения: вы сможете выбрать приложение из списка всех доступных приложений или вручную указать командную строку для открытия файла. Также здесь вы можете сохранить дополнительную системную ассоциацию для типа файла, добавить новую или изменить программу по умолчанию (Double Commander будет использовать файл ~/.config/mimeapps.list, смотрите Association between MIME types and applications).
Службы – системные службы (только macOS(*)).
Подменю Открыть с помощью – содержит список приложений, подходящих для открытия файла. Для получения списка в macOS Double Commander использует API Launch Services (как в Finder), в других системах программа следует спецификации Desktop Menu.
+ Дополнительный пункт Другое...:
macOS: откроет список всех установленных приложений.
Linux и другие Unix-подобные системы: откроет окно выбора приложения, вы сможете выбрать приложение из списка всех доступных приложений или вручную указать командную строку для открытия файла. Также здесь вы можете сохранить дополнительную системную ассоциацию для типа файла, добавить новую или изменить программу по умолчанию (Double Commander будет использовать файл ~/.config/mimeapps.list, смотрите Association between MIME types and applications).
Службы – Только macOS, аналог системного подменю "Службы".
Поделиться... – Только macOS, аналог системного подменю "Поделиться".
Упаковать здесь... – вызывает команду упаковки выделенного файла(ов), в качестве каталога назначения будет использоваться текущий каталог.
Распаковать здесь... – вызывает команду распаковки выделенного файла, в качестве каталога назначения будет использоваться текущий каталог. Этот пункт будет добавлен только если расширение файла указано в настройках архиваторных плагинов или внешних архиваторов.
Вызов основных файловых операций: Переместить (F6), Копировать (F5), Удалить (F8), Переименовать (F2).
Обновить – команда перечитать содержимое каталога в панели.
Подменю Упорядочить по – содержит команды переключения способа сортировки: по имени, расширению файлов, размеру, дате модификации или атрибутам. Также добавлена команда Обратный порядок, которая переключает направление сортировки.
Вставить – используется для копирования и перемещения файлов с помощью буфера обмена.
Подменю Создать – содержит команды создания каталога (F7) и текстового файла (Shift+F4). Также это подменю содержит шаблоны новых файлов, если системный каталог с шаблонами существует и не пуст (недоступно в macOS(*)).
Подменю Создать – содержит команды создания каталога (F7) и текстового файла (Shift+F4). Также это подменю содержит шаблоны новых файлов, если системный каталог с шаблонами существует и не пуст (недоступно в macOS).
Свойства файла – Показать окно свойств текущего каталога.
Контекстное меню внутри открытого архива или плагина файловой системы (WFX) всегда одно и то же и не зависит от операционной системы:
diff --git a/doc/ru/images/imgDC/archiveimg1.png b/doc/ru/images/imgDC/archiveimg1.png index 0eca0836..d86fd565 100644 Binary files a/doc/ru/images/imgDC/archiveimg1.png and b/doc/ru/images/imgDC/archiveimg1.png differ diff --git a/doc/ru/images/imgDC/archiveimg11.png b/doc/ru/images/imgDC/archiveimg11.png index 4d2af2da..4ff60711 100644 Binary files a/doc/ru/images/imgDC/archiveimg11.png and b/doc/ru/images/imgDC/archiveimg11.png differ diff --git a/doc/ru/images/imgDC/archiveimg15.png b/doc/ru/images/imgDC/archiveimg15.png index 3797d09e..950b77f8 100644 Binary files a/doc/ru/images/imgDC/archiveimg15.png and b/doc/ru/images/imgDC/archiveimg15.png differ diff --git a/doc/ru/images/imgDC/archiveimg3.png b/doc/ru/images/imgDC/archiveimg3.png index e6244160..a30c8412 100644 Binary files a/doc/ru/images/imgDC/archiveimg3.png and b/doc/ru/images/imgDC/archiveimg3.png differ diff --git a/doc/ru/images/imgDC/btemplate.png b/doc/ru/images/imgDC/btemplate.png index a94a6969..2a71c198 100644 Binary files a/doc/ru/images/imgDC/btemplate.png and b/doc/ru/images/imgDC/btemplate.png differ diff --git a/doc/ru/images/imgDC/dirhotconfigure.png b/doc/ru/images/imgDC/dirhotconfigure.png index de638e31..1692060a 100644 Binary files a/doc/ru/images/imgDC/dirhotconfigure.png and b/doc/ru/images/imgDC/dirhotconfigure.png differ diff --git a/doc/ru/images/imgDC/dirhotoverview.png b/doc/ru/images/imgDC/dirhotoverview.png index 799153a3..05fbbf7d 100644 Binary files a/doc/ru/images/imgDC/dirhotoverview.png and b/doc/ru/images/imgDC/dirhotoverview.png differ diff --git a/doc/ru/images/imgDC/dirhotpersonalize.png b/doc/ru/images/imgDC/dirhotpersonalize.png index 66745453..0307ae18 100644 Binary files a/doc/ru/images/imgDC/dirhotpersonalize.png and b/doc/ru/images/imgDC/dirhotpersonalize.png differ diff --git a/doc/ru/images/imgDC/dirhotsettarget.png b/doc/ru/images/imgDC/dirhotsettarget.png index a65889c1..86365b75 100644 Binary files a/doc/ru/images/imgDC/dirhotsettarget.png and b/doc/ru/images/imgDC/dirhotsettarget.png differ diff --git a/doc/ru/images/imgDC/luaimg1.png b/doc/ru/images/imgDC/luaimg1.png index 2018a245..0d70b4d9 100644 Binary files a/doc/ru/images/imgDC/luaimg1.png and b/doc/ru/images/imgDC/luaimg1.png differ diff --git a/doc/ru/images/imgDC/luaimg3.png b/doc/ru/images/imgDC/luaimg3.png index b72f0b77..36fafef2 100644 Binary files a/doc/ru/images/imgDC/luaimg3.png and b/doc/ru/images/imgDC/luaimg3.png differ diff --git a/doc/ru/images/imgDC/ris16.png b/doc/ru/images/imgDC/ris16.png index 235b6bf1..c8d3d983 100644 Binary files a/doc/ru/images/imgDC/ris16.png and b/doc/ru/images/imgDC/ris16.png differ diff --git a/doc/ru/images/imgDC/ris17.png b/doc/ru/images/imgDC/ris17.png index e50433e7..3b1d5a60 100644 Binary files a/doc/ru/images/imgDC/ris17.png and b/doc/ru/images/imgDC/ris17.png differ diff --git a/doc/ru/images/imgDC/ris18.png b/doc/ru/images/imgDC/ris18.png index 5c7e7ebf..009067b8 100644 Binary files a/doc/ru/images/imgDC/ris18.png and b/doc/ru/images/imgDC/ris18.png differ diff --git a/doc/ru/images/imgDC/ris26.png b/doc/ru/images/imgDC/ris26.png index 46879a97..5ce9c927 100644 Binary files a/doc/ru/images/imgDC/ris26.png and b/doc/ru/images/imgDC/ris26.png differ diff --git a/doc/ru/images/imgDC/ris30.png b/doc/ru/images/imgDC/ris30.png index e27d28db..31e90569 100644 Binary files a/doc/ru/images/imgDC/ris30.png and b/doc/ru/images/imgDC/ris30.png differ diff --git a/doc/ru/images/imgDC/ris31.png b/doc/ru/images/imgDC/ris31.png index 3e8036ff..bfaaaf8b 100644 Binary files a/doc/ru/images/imgDC/ris31.png and b/doc/ru/images/imgDC/ris31.png differ diff --git a/doc/ru/images/imgDC/ris32.png b/doc/ru/images/imgDC/ris32.png index a2fe5089..34c5ae6d 100644 Binary files a/doc/ru/images/imgDC/ris32.png and b/doc/ru/images/imgDC/ris32.png differ diff --git a/doc/ru/images/imgDC/ris41.png b/doc/ru/images/imgDC/ris41.png index 64f1250b..b932fec5 100644 Binary files a/doc/ru/images/imgDC/ris41.png and b/doc/ru/images/imgDC/ris41.png differ diff --git a/doc/ru/images/imgDC/ris46.png b/doc/ru/images/imgDC/ris46.png index aff5813c..57dfd820 100644 Binary files a/doc/ru/images/imgDC/ris46.png and b/doc/ru/images/imgDC/ris46.png differ diff --git a/doc/ru/images/imgDC/ris48.png b/doc/ru/images/imgDC/ris48.png index 083a9019..f88a8c6e 100644 Binary files a/doc/ru/images/imgDC/ris48.png and b/doc/ru/images/imgDC/ris48.png differ diff --git a/doc/ru/images/imgDC/ris50.png b/doc/ru/images/imgDC/ris50.png index 5b522890..dda217cb 100644 Binary files a/doc/ru/images/imgDC/ris50.png and b/doc/ru/images/imgDC/ris50.png differ diff --git a/doc/ru/images/imgDC/ris51.png b/doc/ru/images/imgDC/ris51.png index d569ef3c..c62df3d1 100644 Binary files a/doc/ru/images/imgDC/ris51.png and b/doc/ru/images/imgDC/ris51.png differ diff --git a/doc/ru/images/imgDC/ris59.png b/doc/ru/images/imgDC/ris59.png new file mode 100644 index 00000000..3582319f Binary files /dev/null and b/doc/ru/images/imgDC/ris59.png differ diff --git a/doc/ru/images/imgDC/ris6.png b/doc/ru/images/imgDC/ris6.png index 575bbd5e..24115403 100644 Binary files a/doc/ru/images/imgDC/ris6.png and b/doc/ru/images/imgDC/ris6.png differ diff --git a/doc/ru/images/imgDC/ris68.png b/doc/ru/images/imgDC/ris68.png index 33e41ed5..9bf17834 100644 Binary files a/doc/ru/images/imgDC/ris68.png and b/doc/ru/images/imgDC/ris68.png differ diff --git a/doc/ru/images/imgDC/ris69.png b/doc/ru/images/imgDC/ris69.png index 3b584f7c..7a3b4189 100644 Binary files a/doc/ru/images/imgDC/ris69.png and b/doc/ru/images/imgDC/ris69.png differ diff --git a/doc/ru/images/imgDC/ris75.png b/doc/ru/images/imgDC/ris75.png index 314883b0..6d666de9 100644 Binary files a/doc/ru/images/imgDC/ris75.png and b/doc/ru/images/imgDC/ris75.png differ diff --git a/doc/ru/images/imgDC/ris79.png b/doc/ru/images/imgDC/ris79.png index 79d2df54..0cb9c883 100644 Binary files a/doc/ru/images/imgDC/ris79.png and b/doc/ru/images/imgDC/ris79.png differ diff --git a/doc/ru/images/imgDC/ris81.png b/doc/ru/images/imgDC/ris81.png new file mode 100644 index 00000000..a4f6a359 Binary files /dev/null and b/doc/ru/images/imgDC/ris81.png differ diff --git a/doc/ru/images/imgDC/syncdirscomp.png b/doc/ru/images/imgDC/syncdirscomp.png index 67143da6..44bf31c9 100644 Binary files a/doc/ru/images/imgDC/syncdirscomp.png and b/doc/ru/images/imgDC/syncdirscomp.png differ diff --git a/doc/ru/images/imgDC/toolbarconfig2.png b/doc/ru/images/imgDC/toolbarconfig2.png index 1acf1cc8..2deb6f65 100644 Binary files a/doc/ru/images/imgDC/toolbarconfig2.png and b/doc/ru/images/imgDC/toolbarconfig2.png differ diff --git a/doc/ru/images/imgDC/toolbarconfig3.png b/doc/ru/images/imgDC/toolbarconfig3.png index 36eaa1ac..09d1ec19 100644 Binary files a/doc/ru/images/imgDC/toolbarconfig3.png and b/doc/ru/images/imgDC/toolbarconfig3.png differ diff --git a/doc/ru/images/imgDC/toolbarexternal.png b/doc/ru/images/imgDC/toolbarexternal.png index f3e1492e..e3c99c05 100644 Binary files a/doc/ru/images/imgDC/toolbarexternal.png and b/doc/ru/images/imgDC/toolbarexternal.png differ diff --git a/doc/ru/images/imgDC/toolbarinbar.png b/doc/ru/images/imgDC/toolbarinbar.png index 0e77d1ad..8de97e7f 100644 Binary files a/doc/ru/images/imgDC/toolbarinbar.png and b/doc/ru/images/imgDC/toolbarinbar.png differ diff --git a/doc/ru/images/imgDC/toolbarinternal1.png b/doc/ru/images/imgDC/toolbarinternal1.png index 3c026e37..192b7d01 100644 Binary files a/doc/ru/images/imgDC/toolbarinternal1.png and b/doc/ru/images/imgDC/toolbarinternal1.png differ diff --git a/doc/ru/images/imgDC/toolbarinternal2.png b/doc/ru/images/imgDC/toolbarinternal2.png index 640d42b3..88d88844 100644 Binary files a/doc/ru/images/imgDC/toolbarinternal2.png and b/doc/ru/images/imgDC/toolbarinternal2.png differ diff --git a/doc/ru/images/imgDC/toolbarmenu.png b/doc/ru/images/imgDC/toolbarmenu.png index 63bd422b..57517698 100644 Binary files a/doc/ru/images/imgDC/toolbarmenu.png and b/doc/ru/images/imgDC/toolbarmenu.png differ diff --git a/doc/ru/images/imgDC/viewer.png b/doc/ru/images/imgDC/viewer.png index e0503341..8f570308 100644 Binary files a/doc/ru/images/imgDC/viewer.png and b/doc/ru/images/imgDC/viewer.png differ diff --git a/doc/ru/images/imgDC/viewerpreview.png b/doc/ru/images/imgDC/viewerpreview.png index a7c46bb3..2faaec8c 100644 Binary files a/doc/ru/images/imgDC/viewerpreview.png and b/doc/ru/images/imgDC/viewerpreview.png differ diff --git a/doc/ru/images/screenshot.png b/doc/ru/images/screenshot.png index 01ff3e7e..90807799 100644 Binary files a/doc/ru/images/screenshot.png and b/doc/ru/images/screenshot.png differ diff --git a/doc/ru/lua.html b/doc/ru/lua.html index 8140b337..d5341e5a 100644 --- a/doc/ru/lua.html +++ b/doc/ru/lua.html @@ -59,7 +59,7 @@Подробную информацию о скриптовом языке программирования Lua можно найти на веб-сайте Lua.
Double Commander может выполнять скрипты Lua с помощью команды cm_ExecuteScript.
Параметры скриптов должны передаваться как есть, без экранирования (без кавычек или "\"), для этого необходимо использовать переменную %"0: например, %"0%p0 для файла под курсором вместо %p0 или %"0%D для текущего каталога вместо %D. В противном случае, если Double Commander автоматически добавит кавычки, они будут переданы как часть параметра и вам придётся их учитывать.
- Для получения списка всех выделенных файлов мы можем использовать переменные (%LU, %FU или %RU) или внутренние команды (cm_SaveSelectionToFile, cm_SaveFileDetailsToFile(Бета-версия), cm_CopyFullNamesToClip или cm_CopyFileDetailsToClip).
+ Для получения списка всех выделенных файлов мы можем использовать переменные (%LU, %FU или %RU) или внутренние команды (cm_SaveSelectionToFile, cm_SaveFileDetailsToFile, cm_CopyFullNamesToClip или cm_CopyFileDetailsToClip).
Мы можем использовать, например, %p: в этом случае Double Commander передаст имена всех выделенных файлов одной строкой, разделяя имена пробелом.
Также на языке Lua можно писать информационные плагины, примеры можно найти в папке программы (plugins/wdx/scripts). В Вики есть страница, посвящённая написанию плагинов. @@ -106,7 +106,7 @@
Чтобы использовать скрипты Lua, нам требуется интерпретатор Lua, Double Commander поддерживает версии 5.1 - 5.4.
-По умолчанию DC ищет файл с именем lua5.1.dll (Windows), liblua5.1.so.0 (Unix или GNU/Linux) или liblua5.1.dylib (macOS(*)) в своём каталоге и в системном. Мы можем изменить имя файла (и путь) в параметре Библиотека Lua.
+По умолчанию DC ищет файл с именем lua5.1.dll (Windows), liblua5.1.so.0 (Unix или GNU/Linux) или liblua5.1.dylib (macOS) в своём каталоге и в системном. Мы можем изменить имя файла (и путь) в параметре Библиотека Lua.
Мы можем использовать DLL-файл проекта LuaJIT. LuaJIT сочетает в себе высокоскоростной интерпретатор, написанный на ассемблере, и JIT-компилятор. Также мы получаем библиотеку FFI: с её помощью в скриптах можно будет вызывать внешние функции C и использовать структуры данных C.
Дистрибутивы DC для Windows включают в себя DLL-файл Lua (в DC 0.9.7 и новее из проекта LuaJIT), в иных случаях мы можем найти и установить его с помощью менеджера пакетов или скомпилировать. Если используем 64-битную версию DC, то DLL-файл также должен быть 64-битным.
@@ -432,6 +432,13 @@sSeparator и iMaskOptions (см. выше) – необязательные параметры.
sTempFileName = SysUtils.GetTempName()
+Возвращает строку с именем файла, который может быть использован в качестве временного файла (в системном каталоге для временных файлов), подобно функции os.tmpname, но файл будет создан в подкаталоге, который автоматически удаляется при закрытии Double Commander.
Если функции не удалось создать уникальное имя, то она вернёт пустую строку.
sItem = Dialogs.InputListBox(sTitle, sMessage, aItems, sDefault)
+sItem, iItem = Dialogs.InputListBox(sTitle, sMessage, aItems, sDefault)
Показывает диалоговое окно с возможностью выбора из списка элементов.
Описание:
nil в случае отмены.LazUtf8.Next(String)
Функция-итератор, которая при каждом вызове возвращает следующий символ в строке String и позицию начала этого символа (в байтах).
@@ -1018,12 +1026,19 @@sEnc = LazUtf8.DetectEncoding(String)
+Возвращает значение кодировки переданного текста.
Список поддерживаемых кодировок аналогичен тем, которые используются в функции LazUtf8.ConvertEncoding.
Эта библиотека содержит функции для проверки принадлежности символа к определённой категории юникода, а также для получения категории символа.
Список доступных функций: