1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>DC - Frequently Asked Questions (FAQ)</title>
<link rel="stylesheet" type="text/css" href="doublecmd.css">
<link rel="shortcut icon" href="../../pixmaps/common/favicon.ico">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<a name="topofpage"></a>
<div class="header"><a href="index.html"><img src="../../pixmaps/common/dclogo2017.png" alt="Double Commander" height="48" width="374"></a>
<div id="global-nav" class="nav"><a title="Double Commander Home Page" href="https://doublecmd.sourceforge.io/" target="_blank">Homepage</a> | <a title="Double Commander Wiki" href="https://github.com/doublecmd/doublecmd/wiki" target="_blank">Wiki</a></div>
</div>
<div class="footer"><div class="nav"><a title="Index" href="index.html">Index</a> | <a title="Previous page" href="about.html">Previous</a> | <a title="Next page" href="help.html">Next</a></div></div>
<div class="dchelpage">
<div>
<h1>1.2. Frequently Asked Questions (FAQ)</h1>
</div>
<div>
<h2>Content</h2>
<dl>
<dt><a name="common">1. Common questions</a></dt>
<dd>
<dl>
<dt>1.1. <a href="#whatisit">What is Double Commander?</a></dt>
<dt>1.2. <a href="#whatsnew">What's new in this version?</a></dt>
<dt>1.3. <a href="#linux">Is it a Total Commander for Linux?</a></dt>
<dt>1.4. <a href="#wincmd">What is the difference between this program and my favorite file manager (Total Commander)?</a></dt>
<dt>1.5. <a href="#link">How can I contact the developers of Double Commander?</a></dt>
</dl>
</dd>
<dt><a name="tux">2. Issues related to GNU/Linux</a></dt>
<dd>
<dl>
<dt>2.1. <a href="#version">Which version do I download?</a></dt>
<dt>2.2. <a href="#repo">Where is the project repository?</a></dt>
<dt>2.3. <a href="#plugs">Plugins from Total Commander do not work?!</a></dt>
<dt>2.4. <a href="#gvfs">Can I get access to network resources like in Nautilus or Thunar?</a></dt>
<dt>2.5. <a href="#tray">Clicking on the tray icon displays a menu with "Restore" and "Exit" items instead of restoring the window (GTK2 only).</a></dt>
<dt>2.6. <a href="#systheme">Why does the program's appearance not change or change only partially when switching the system theme? I have to close the program and open it again.</a></dt>
</dl>
</dd>
<dt><a name="interface">3. Interface configuration</a></dt>
<dd>
<dl>
<dt>3.1. <a href="#color">How can I change color settings for the panels?</a></dt>
<dt>3.2. <a href="#colorbuttons">What are buttons <kbd>R</kbd> and <kbd>All</kbd> in the color settings?</a></dt>
<dt>3.3. <a href="#columns">Some text in a column overwrites another column's text!</a></dt>
<dt>3.4. <a href="#icons">How to associate my own icons with some file types?</a></dt>
<dt>3.5. <a href="#splitter">How to create a splitter on the buttons panel?</a></dt>
<dt>3.6. <a href="#theme">Does DC has other icon themes?</a></dt>
<dt>3.7. <a href="#cs_size">How to make function keys and address bar bigger?</a></dt>
<dt>3.8. <a href="#height">File panels: how to change the height of elements (strings) and the intervals between them?</a></dt>
</dl>
</dd>
<dt><a name="navigation">4. Issues related to control and navigation</a></dt>
<dd>
<dl>
<dt>4.1. <a href="#cursor_down">Is it possible to automatically move the cursor down one line after selecting using the <kbd>Space</kbd> key?</a></dt>
<dt>4.2. <a href="#queue">Is there an ability to create a file operations queue?</a></dt>
<dt>4.3. <a href="#hotkeys_default"><kbd>Ctrl+A</kbd> doesn't work, how to enable it?</a></dt>
<dt>4.4. <a href="#mouse_unmark">When all files are selected in a directory, there is no way to deselect them using a mouse.</a></dt>
<dt>4.5. <a href="#context_menu_create">How to create my own context menu in this program?</a></dt>
<dt>4.6. <a href="#context_menu_edit">How to customise the context menu, for example, add the item "Open With"?</a></dt>
<dt>4.7. <a href="#auto_extract">How to automatically unpack and run file from an open archive? It is inconvenient to use the "Unpack and execute" button in the properties window of the packed file every time.</a></dt>
<dt>4.8. <a href="#descript_ion">Can the comments (via the descript.ion file) be copied/moved when a file is copied/moved from one directory to another?</a></dt>
<dt>4.9. <a href="#set_property">In some cases I see warning "Can not set [attributes, date/time, owner/group or permissions] for xxx" when I copy or move files, I want that DC use action "skip"/"skip all" by default. How I can do it?</a></dt>
<dt>4.10. <a href="#admin_shares">Why doesn't the program show a list of admin shares?</a></dt>
<dt>4.11. <a href="#hotkey_controls">I assigned the left and right arrows to navigate back and forth through the directory history, but now I can't use them while renaming a file. How to fix it?</a></dt>
</dl>
</dd>
<dt><a name="viewer">5. Issues related to the built-in viewer (<kbd>F3</kbd>) and editor (<kbd>F4</kbd>)</a></dt>
<dd>
<dl>
<dt>5.1. <a href="#f3_compiz">Editor and browser windows appear in random positions, when Compiz is enabled.</a></dt>
<dt>5.2. <a href="#f3_font">The font looks strange (horizontal characters overwrite each other and etc) or the selection does not work correctly.</a></dt>
<dt>5.3. <a href="#f3_jpg">Viewer does not work with a few images, but works with most.</a></dt>
<dt>5.4. <a href="#f3_hscroll">On some text files lines go beyond the window's edge.</a></dt>
<dt>5.5. <a href="#f4_colmode">Can you add column editing feature (like in Notepad++, UltraEdit etc)?</a></dt>
<dt>5.6. <a href="#f34_regutf8">How can I use regular expressions to search in UTF-8?</a></dt>
<dt>5.7. <a href="#f4_syntax">How to change the syntax highlighting scheme in the internal editor or add new ones?</a></dt>
<dt>5.8. <a href="#f4_open">How to open a specific file from a manually specified location in the built-in viewer?</a></dt>
</dl>
</dd>
<dt><a name="fv">6. Issues related to the file panels</a></dt>
<dd>
<dl>
<dt>6.1. <a href="#fv_datetime">I didn't find a suitable date format for file panels in the list! How to add my own?</a></dt>
<dt>6.2. <a href="#fn_ext">I want to see the filenames in the "Name" column with extensions, can I do it?</a></dt>
<dt>6.3. <a href="#folder_sort">Is it possible to sort folders by clicking on column header ("Date", "Size" and so on)?</a></dt>
<dt>6.4. <a href="#slinkt">How to see the target objects of symbolic links?</a></dt>
<dt>6.5. <a href="#parent">How to hide the ".." item for the parent directory in the file list?</a></dt>
</dl>
</dd>
<dt><a name="plugins">7. Plugins</a></dt>
<dd>
<dl>
<dt>7.1. <a href="#not_valid">What does the message "This is not a valid plugin!" mean?</a></dt>
<dt>7.2. <a href="#ftps_reuse">ftp.wfx: I try to use FTPS (FTP+SSL), but I get "522 SSL connection failed: session reuse required".</a></dt>
<dt>7.3. <a href="#ftp_openssl">ftp.wfx: Does not work with some servers! After connecting, I get errors: "104,Connection reset by peer" and "CSOCK ERROR Connection reset by peer" or "10060,Connection timed out" and "CSOCK ERROR Connection timed out".</a></dt>
</dl>
</dd>
</dl>
</div>
<div>
<h2>1. Common questions</h2>
<p class="bold"><a name="whatisit">Q: What is Double Commander?</a></p>
<p><span class="bold">A:</span> Double Commander is a cross-platform, twin-panel file manager. Details see <a href="about.html">here</a>.</p>
<br>
<p class="bold"><a name="whatsnew">Q: What's new in this version?</a></p>
<p><span class="bold">A:</span> List of changes can be found on the <a href="https://github.com/doublecmd/doublecmd/wiki" target="_blank">Wiki page</a>.
But the project is now under development, so later <a href="https://doublecmd.sourceforge.io/site/eng/snapshots.php" target="_blank">nightly builds</a> contain many new features and improvements.</p>
<br>
<p class="bold"><a name="linux">Q: Is it a Total Commander for Linux?</a></p>
<p><span class="bold">A:</span> No, this is another program from other developers. It now supports Windows, GNU/Linux and macOS, also Double Commander is available in the FreeBSD Ports collection.</p>
<br>
<p class="bold"><a name="wincmd">Q: What is the difference between this program and my favorite file manager (Total Commander)?</a></p>
<p><span class="bold">A:</span> The goal of the project is to create a program close to TC in operation and with maximum compatibility via the plugins and configuration files.
However, Double Commander has some important advantages: it's free to use, works with different operating systems, and is open source.</p>
<br>
<p class="bold"><a name="link">Q: How can I contact the developers of Double Commander?</a></p>
<p><span class="bold">A:</span> The project's <a href="https://doublecmd.h1n.ru/" target="_blank">official forum</a> or <a href="https://github.com/doublecmd/doublecmd" target="_blank">GitHub</a>.<br>
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 <a title="Creating a new issue" href="https://github.com/doublecmd/doublecmd/issues/117" target="_blank">#117</a>.<br>
Note: It may be useful to run Double Commander and receive debug messages, see the description of <a href="commandline.html">--debug-log</a>. The application also allows to copy the contents of the message window to the clipboard, just press <kbd>Ctrl+C</kbd>.</p>
<p class="navback"><a href="#topofpage">(back to top)</a></p>
</div>
<div>
<h2>2. Issues related to GNU/Linux</h2>
<p class="bold"><a name="version">Q: Which version do I download?</a></p>
<p><span class="bold">A:</span> 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 and there are methods available that allow to get a more or less similar look of Qt applications in a GTK environment and vice versa.<br>
A few words about some details:<br>
- The GTK2 library do not support Wayland, so Xwayland will be used to run the application in a Wayland session. If you need native Wayland support, then try the Qt version (Qt5 or Qt6).<br>
- If you use a scaling factor greater than 1 (HiDPI or just a big monitor), then perhaps the Qt version (Qt5 or Qt6) will look more acceptable, check it.</p>
<br>
<p class="bold"><a name="repo">Q: Where is the project repository?</a></p>
<p><span class="bold">A:</span> Repositories for some GNU/Linux distributions:</p>
<ul>
<li>
<p>release:
<a href="https://software.opensuse.org/download.html?project=home:Alexx2000&package=doublecmd-gtk" target="_blank">GTK2</a>,
<a href="https://software.opensuse.org/download.html?project=home:Alexx2000&package=doublecmd-qt" target="_blank">Qt5</a>
or
<a href="https://software.opensuse.org/download.html?project=home:Alexx2000&package=doublecmd-qt6" target="_blank">Qt6</a>
</p>
</li>
<li>
<p>alpha ("nightly") build:
<a href="https://software.opensuse.org/download.html?project=home:Alexx2000:doublecmd-svn&package=doublecmd-gtk" target="_blank">GTK2</a>,
<a href="https://software.opensuse.org/download.html?project=home:Alexx2000:doublecmd-svn&package=doublecmd-qt" target="_blank">Qt5</a>
or
<a href="https://software.opensuse.org/download.html?project=home:Alexx2000:doublecmd-svn&package=doublecmd-qt6" target="_blank">Qt6</a>
</p>
</li>
</ul>
<p>Also portable versions are available (see details <a href="help.html#usage">here</a>).</p>
<br>
<p class="bold"><a name="plugs">Q: Plugins from Total Commander do not work?!</a></p>
<p><span class="bold">A:</span> They work, but not all of them. Plugins from TC compiled for Windows can only be used with Windows version of Double Commander.
But if the plugins have open source code, you can try to build them for GNU/Linux (or maybe ask the plugin developer to do it :)).<br>
There are a number of plugins for Linux and cross-platform plugins (see <a href="https://github.com/doublecmd/doublecmd/wiki/Plugins" target="_blank">Wiki</a>, repositories <a href="https://github.com/doublecmd/plugins" target="_blank">plugins</a>, <a href="https://github.com/j2969719/doublecmd-plugins" target="_blank">doublecmd-plugins</a> and others),
as well as several topics on the official forum (for example, <a href="https://doublecmd.h1n.ru/viewtopic.php?f=8&t=4106" target="_blank">one</a>, <a href="https://doublecmd.h1n.ru/viewtopic.php?f=8&t=3333" target="_blank">two</a>).</p>
<br>
<p class="bold"><a name="gvfs">Q: Can I get access to network resources like in Nautilus or Thunar?</a></p>
<p><span class="bold">A:</span> Yes, DC can use GVfs. GVfs supports many protocols: NFS, SMB, FTP, SFTP, WebDAV, MTP, mobile phones (Windows, Android, Apple), media players and other.</p>
<p>First, packages <tt>gvfs</tt>, <tt>gvfs-backends</tt> and <tt>gvfs-fuse</tt> should be installed.
Keep in mind that some distributions have not packages <tt>gvfs-backends</tt> and <tt>gvfs-fuse</tt>,
because they are part of package <tt>gvfs</tt>, or it can be several packages with names <tt>gvfs-backends-*</tt> or <tt>gvfs-*</tt>.</p>
<p>Now insert GVfs path in the address bar: click by right mouse button at address bar to edit it (or call internal command <tt>cm_EditPath</tt>).</p>
<p>For example, access to</p>
<ul>
<li>FTP: <code>ftp://ftpuser@ftpserver</code></li>
<li>SMB: <code>smb://servername/sharename/</code></li>
<li>WebDAV: <code>davs://servername</code></li>
</ul>
<p>For a list of supported protocols, see the GVfs documentation.</p>
<p>Well, for access to FTP (for SSH+SCP too) you can use the <a href="plugins.html#ftp.wfx">FTP plugin</a>.</p>
<br>
<p class="bold"><a name="tray">Q: Clicking on the tray icon displays a menu with "Restore" and "Exit" items instead of restoring the window (GTK2 only).</a></p>
<p><span class="bold">A:</span> Add a library of general system tray support: for example, package <tt>libappindicator1</tt> in Debian/Ubuntu or <tt>libappindicator-gtk2</tt> in Arch Linux.</p>
<br>
<p class="bold"><a name="systheme">Q: Why does the program's appearance not change or change only partially when switching the system theme? I have to close the program and open it again.</a></p>
<p><span class="bold">A:</span> GTK2 version? This is a feature of Lazarus, in this case, it does not update controls colors under GTK2.</p>
<p class="navback"><a href="#topofpage">(back to top)</a></p>
</div>
<div>
<h2>3. Interface configuration</h2>
<p class="bold"><a name="color">Q: How can I change color settings for the panels?</a></p>
<p><span class="bold">A:</span> To change the color, you must go to Configurations > Options... > Colors > File panels.
These are global settings for both panels and can be overridden, see Configurations > Options... > Files views > Columns > Custom columns.</p>
<br>
<p class="bold"><a name="colorbuttons">Q: What are buttons <kbd>R</kbd> and <kbd>All</kbd> in the color settings?</a></p>
<p><span class="bold">A:</span> They are as follows:</p>
<ul>
<li><p><kbd>R</kbd> – restore color to the default.</p></li>
<li><p><kbd>All</kbd> – apply selected color to all columns.</p></li>
</ul>
<br>
<p class="bold"><a name="columns">Q: Some text in a column overwrites another column's text!</a></p>
<p><span class="bold">A:</span> Configurations > Options... > Files views > Columns, set checkbox "Cut text to column width".</p>
<br>
<p class="bold"><a name="icons">Q: How to associate my own icons with some file types?</a></p>
<p><span class="bold">A:</span> You should do the following: Configurations > Options... > <a href="configuration.html#ConfigAssociations">File associations</a>.</p>
<br>
<p class="bold"><a name="splitter">Q: How to create a splitter on the buttons panel?</a></p>
<p><span class="bold">A:</span> Add a button from the category <a href="toolbar.html#catseparator">separator</a>.</p>
<br>
<p class="bold"><a name="theme">Q: Does DC has other icon themes?</a></p>
<p><span class="bold">A:</span> Now we know only one small theme <a href="https://doublecmd.h1n.ru/viewtopic.php?f=5&t=3658" target="_blank">DoubleMac</a>, but the installation instruction is outdated (see below).<br>
You can make icon theme yourself, it's easy (we will use the name "MyDCTheme" as an example).</p>
<p><span class="uline"><i>How to make:</i></span><br>
- open DC folder and see directory structure of "pixmaps/dctheme";<br>
- make copy of "dctheme" with name "mydctheme";<br>
- open "mydctheme/index.theme" and change the theme name: replace "Name=DCTheme" on "Name=MyDCTheme";<br>
- now replace icons.</p>
<p><span class="uline"><i>Notes:</i></span><br>
1. Don't use the default icon replacement! Your icons will be replaced after DC update.<br>
2. If you want to keep some existing default icons then just delete them in "mydctheme" and DC will use them from default theme.<br>
3. Some nonstandard icon sizes (such as 40x40, 60x60 and so one) uses for HiDPI monitors.<br>
4. Also see <a href="configxml.html"><CustomIcons></a>.</p>
<p><span class="uline"><i>How to install:</i></span></p>
<p>1. Portable version<br>
Copy (or move) your "mydctheme" folder to the "pixmaps" folder near <tt>doublecmd.exe</tt>, restart DC, go to "Configuration" in the main menu > Options... > Icons > Icon theme, choose your theme and restart DC again.</p>
<p>2. Installed version<br>
Go to "Configuration" in the main menu > Options... > Configuration > Directories > Icon themes:, here you will see the list of possible directories.<br>
Don't use <i>/usr/share/doublecmd/pixmaps</i>, <i>C:\Program Files\Double Commander\pixmaps</i> or other system directory: this requires root/admin privileges, also this would be a intervention to the packages manager's work in Linux or DC installer for Windows.
DC usually suggests the following additional path (besides the "pixmaps" folder near <tt>doublecmd.exe</tt>):</p>
<ul>
<li>Windows XP: <i>C:\Documents and Settings\<UserName>\Local Settings\doublecmd\pixmaps</i></li>
<li>Windows Vista/7+: <i>C:\Users\<UserName>\AppData\Local\doublecmd\pixmaps</i></li>
<li>Unix-like OS: <i>/home/<UserName>/.local/share/doublecmd/pixmaps</i></li>
</ul>
<p>If the directory doesn't exist, create it.<br>
Now restart DC, go to "Configuration" in the main menu > Options... > Icons > Icon theme, choose your theme and restart DC again.</p>
<br>
<p class="bold"><a name="cs_size">Q: How to make function keys and address bar bigger?</a></p>
<p><span class="bold">A:</span> The size depends on the font size, three ways exists:</p>
<p>1. Simple and fast: you can use <kbd>Ctrl</kbd>+mouse wheel, it works for the following interface elements or part of DC:<br>
- file list in left and right panels;<br>
- current directory (address) bar;<br>
- function key buttons bar;<br>
- TreeView menu;<br>
- search results in find files dialog;<br>
- internal editor;<br>
- internal viewer (if viewer shows text then this action will change font size, if image then action will work as zoom in/zoom out commands).</p>
<p>2. Go to "Configuration" in the main menu > Options... > Fonts.<br>
Note: All possible are available in version 1.0.0+ only, for 0.9.x and below additionally see the third item.</p>
<p>3. Close DC > open <tt>doublecmd.xml</tt> > find tag <code><Fonts></Fonts></code> and change <code><Size></code> of the interface element manually.</p>
<br>
<p class="bold"><a name="height">Q: File panels: how to change the height of elements (strings) and the intervals between them?</a></p>
<p><span class="bold">A:</span> The view depends on the following parameters:</p>
<ul>
<li>Configuration > Options... > Fonts > Main font</li>
<li>Configuration > Options... > Icons > Icon size > File panel</li>
<li><a href="configxml.html"><ExtraLineSpan></a> (from <code><FilesViews></code>)</li>
</ul>
<p class="navback"><a href="#topofpage">(back to top)</a></p>
</div>
<div>
<h2>4. Issues related to control and navigation</h2>
<p class="bold"><a name="cursor_down">Q: Is it possible to automatically move the cursor down one line after selecting using the <kbd>Space</kbd> key?</a></p>
<p><span class="bold">A:</span> You should do the following: Configurations > Options... > File views > When selecting file with spacebar, move down to next file (as with insert).</p>
<br>
<p class="bold"><a name="queue">Q: Is there an ability to create a file operations queue?</a></p>
<p><span class="bold">A:</span> A file operations queue was implemented in version 0.4.6 alpha, and was added to the next stable release.</p>
<br>
<p class="bold"><a name="hotkeys_default">Q: <kbd>Ctrl+A</kbd> doesn't work, how to enable it?</a></p>
<p><span class="bold">A:</span> You should do the following: Configurations > Options... > Keys > Hot keys > In the category "Main", scroll to see command <tt>cm_MarkMarkAll</tt> and set <kbd>Ctrl+A</kbd> shortcut key for it.</p>
<br>
<p class="bold"><a name="mouse_unmark">Q: When all files are selected in a directory, there is no way to deselect them using a mouse.</a></p>
<p><span class="bold">A:</span> Several ways:</p>
<ul>
<li>Use the ".." item at the beginning of the file list (but if the list of files is long, it will be necessary to scroll it for this).</li>
<li>Use the main menu: Mark > Unselect All.</li>
<li>Add the "Unselect All" button (internal command <tt>cm_MarkUnmarkAll</tt>) on the toolbar.</li>
<li>Go to "Configuration" in the main menu > Options... > Mouse > Selection by mouse > enable "By clicking on icon": the first click will unmark one file, now click on his name. (How to use in thumbnail view, see the <a href="configuration.html#ConfigMouse">description</a> of this parameter.)</li>
</ul>
<br>
<p class="bold"><a name="context_menu_create">Q: How to create my own context menu in this program?</a></p>
<p><span class="bold">A:</span> Add button to the toolbar of the category "menu". See <a href="toolbar.html#catmenu">this section</a> for an example.</p>
<br>
<p class="bold"><a name="context_menu_edit">Q: How to customize the context menu, for example, add the item "Open With"?</a></p>
<p><span class="bold">A:</span> This can been incorporated into Double Commander; however, it's easy to add a command to the "Actions" submenu of the context menu.
Here is an example of how to open any directory with root privileges:</p>
<ol>
<li>Under File Types, click Add, then enter, e.g. <code>Dir</code> in the popup.</li>
<li>Under Extensions, click Add, and enter, e.g. <code>folder</code> in the popup.</li>
<li>Under Actions, click Add, then in the Action: edit line below, enter the action desired, e.g. <code>Open as root</code></li>
<li>In the Command edit line, enter the desired command: eg. <code>pkexec doublecmd %p</code></li>
<li>After this just right click on any folder, choose "Open as root" and enter root's password. :)</li>
</ol>
<br>
<p class="bold"><a name="auto_extract">Q: How to automatically unpack and run file from an open archive? It is inconvenient to use the "Unpack and execute" button in the properties window of the packed file every time.</a></p>
<p><span class="bold">A:</span> See description of <a href="configxml.html"><AutoExtractOpenMask></a>.</p>
<br>
<p class="bold"><a name="descript_ion">Q: Can the comments (via the descript.ion file) be copied/moved when a file is copied/moved from one directory to another?</a></p>
<p><span class="bold">A:</span> Yes, it is possible: go to Configurations > Options > File operations and enable "Process comments with files/folders".</p>
<br>
<p class="bold"><a name="set_property">Q: In some cases I see warning "Can not set [attributes, date/time, owner/group or permissions] for xxx" when I copy or move files, I want that DC use action "skip"/"skip all" by default. How I can do it?</a></p>
<p><span class="bold">A:</span> Run a copy or move operation and change the value of the <a href="copymove.html#confirmation">When cannot set property</a> option to "Ignore". The "Save these options as default" button will allow to use this value for subsequent operations.</p>
<br>
<p class="bold"><a name="admin_shares">Q: Why doesn't the program show a list of admin shares?</a></p>
<p><span class="bold">A:</span> Administrative shares are hidden network shares, make sure that you have enabled the display of hidden files and folders (use the <a href="configuration.html#ConfigViewEx">program settings</a> or the corresponding item in the <a href="help.html#mnu_view">Show</a> menu).</p>
<br>
<p class="bold"><a name="hotkey_controls">Q: I assigned the left and right arrows to navigate back and forth through the directory history, but now I can't use them while renaming a file. How to fix it?</a></p>
<p><span class="bold">A:</span> When assigning a hot key, Double Commander allows to limit the scope of the keyboard shortcut, see <a href="configuration.html#ConfigHotKeys">Only for these controls</a>.<br>In this case, you need to enable the "Files Panel".</p>
<p class="navback"><a href="#topofpage">(back to top)</a></p>
</div>
<div>
<h2>5. Issues related to the built-in viewer (<kbd>F3</kbd>) and editor (<kbd>F4</kbd>)</h2>
<p class="bold"><a name="f3_compiz">Q: Editor and browser windows appear in random positions, when Compiz is enabled.</a></p>
<p><span class="bold">A:</span> Edit Compiz settings: place windows > windows with fixed positions and window rules > fixed size windows.</p>
<pre class="CODE">(class=Doublecmd) & (title=/)</pre>
<br>
<p class="bold"><a name="f3_font">Q: The font looks strange (horizontal characters overwrite each other and etc) or the selection does not work correctly.</a></p>
<p><span class="bold">A:</span> You should use monospace fonts in the viewer and editor.</p>
<p>Note: "Monospace" is a font alias and the value may not be from the monospace font family. If you have a problem, try specifying a real monospace font in the Double Commander settings.</p>
<br>
<p class="bold"><a name="f3_jpg">Q: Viewer does not work with a few images, but works with most.</a></p>
<p><span class="bold">A:</span> A component used to view the images did not support some JPEG files.</p>
<br>
<p class="bold"><a name="f3_hscroll">Q: On some text files lines go beyond the window's edge.</a></p>
<p><span class="bold">A:</span> Enable "Wrap text" option in the viewer (in the "View" menu). Internal editor does not support wrap lines.</p>
<br>
<p class="bold"><a name="f4_colmode">Q: Can you add column editing feature (like in Notepad++, UltraEdit etc)?</a></p>
<p><span class="bold">A:</span> Internal editor supports column and line selection modes and multi-carets, see keyboard shortcuts <a href="shortcuts.html#editor">here</a>.</p>
<br>
<p class="bold"><a name="f34_regutf8">Q: How can I use regular expressions to search in UTF-8?</a></p>
<p><span class="bold">A:</span> 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):</p>
<ul>
<li><p>Windows: needs <tt>libpcre2-8.dll</tt> (by default, the Double Commander distribution contains this DLL).</p></li>
<li><p>Linux: needs <tt>libpcre2-8.so.0</tt>. For example, package <tt>libpcre2-8-0</tt> in Debian/Ubuntu or <tt>pcre2</tt> in Arch Linux.</p></li>
<li><p>macOS: needs <tt>libpcre2-8.dylib</tt>.</p></li>
</ul>
<br>
<p class="bold"><a name="f4_syntax">Q: How to change the syntax highlighting scheme in the internal editor or add new ones?</a></p>
<p><span class="bold">A:</span> DC uses two components:</p>
<p>1. <i>SynEdit</i> 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.</p>
<p>2. <i>SynUniHighlighter</i> for custom syntax highlighting schemes (.hgl) and you can try to find or create this files yourself (see below).</p>
<p>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 <code><General></code> tag (inside <code><Info></code>):</p>
<p>1) Old format: <code><General></code> has tags<br>
- <code><Name></code>: name for the <i>Syntax highlight</i> menu;<br>
- <code><FileTypeName></code>: list of supported file extensions.</p>
<p>2) New format: <code><General></code> has attributes<br>
- <code>Name</code>: name for the <i>Syntax highlight</i> menu;<br>
- <code>Extensions</code>: list of supported file extensions.</p>
<p>(DC supports both formats.)</p>
<p><span class="uline"><i>How to create or edit:</i></span></p>
<p>Use UniHighlighter Editor or HglEditor (<a href="https://sourceforge.net/projects/doublecmd/files/Double%20Commander%20Addons/" target="_blank">download</a>). Both programs were written for Windows, but you can use Wine. HglEditor will save HGL-file in the new format.<br>
Two packs of various highlighters are also available.<br>
In the <a href="configuration.html#ConfigToolsEditorHL">Tools > Editor > Highlighters</a> section, you can change the text and background colors and font style.</p>
<p><span class="uline"><i>How to add:</i></span></p>
<p>1) Portable version<br>
Copy (or move) your HGL-file(s) to the "highlighters" folder near <tt>doublecmd.exe</tt> and restart DC.</p>
<p>2) Installed version<br>
Go to "Configuration" in the main menu > Options... > Configuration > Directories > Highlight:, here you will see the list of possible directories.<br>
Don't use <i>/usr/share/doublecmd/highlighters</i>, <i>C:\Program Files\Double Commander\highlighters</i> or other system directory: this requires root/admin privileges, also this would be a intervention to the packages manager's work in Linux or DC installer for Windows.
DC usually suggests the following additional path (besides the "highlighters" folder near <tt>doublecmd.exe</tt>):</p>
<ul>
<li>Windows XP: <i>C:\Documents and Settings\<UserName>\Local Settings\doublecmd\highlighters</i></li>
<li>Windows Vista/7+: <i>C:\Users\<UserName>\AppData\Local\doublecmd\highlighters</i></li>
<li>Unix-like OS: <i>/home/<UserName>/.local/share/doublecmd/highlighters</i></li>
</ul>
<p>If the directory doesn't exist, create it. Now restart DC.</p>
<p><span class="uline"><i>Additional features:</i></span></p>
<p>1) <i>Other</i> submenu</p>
<p>Additional <i>Syntax highlight</i> menu item: if menu is too long then you can move some items to the <i>Other</i> submenu.
Just add new attribute <code>Other</code> and value 1 to the <code><General></code> tag and restart DC.<br>
For example, before<br>
<code><General Name="AutoIt v3*" Extensions="AU3"/></code><br>
and after<br>
<code><General Name="AutoIt v3*" Extensions="AU3" Other="1"/></code></p>
<br>
<p class="bold"><a name="f4_open">Q: How to open a specific file from a manually specified location in the built-in viewer?</a></p>
<p><span class="bold">A:</span> Add a button with an external command to the <a href="toolbar.html">toolbar</a>, specify the <a href="configuration.html#ConfigAssociations">{!DC-VIEWER}</a> macro as the command, and add the full name of the desired file in the parameters field.</p>
<p class="navback"><a href="#topofpage">(back to top)</a></p>
</div>
<div>
<h2>6. Issues related to the file panels</h2>
<p class="bold"><a name="fv_datetime">Q: I didn't find a suitable date format for file panels in the list! How to add my own?</a></p>
<p><span class="bold">A:</span> Date and time format is easy configurable: go to Configurations > Options > Files views > Formatting > Date and time format and use <a href="configuration.html#dt_format">this table</a>.</p>
<br>
<p class="bold"><a name="fn_ext">Q: I want to see the filenames in the "Name" column with extensions, can I do it?</a></p>
<p><span class="bold">A:</span> 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 <code>GETFILENAMENOEXT</code> field for name, use <code>GETFILENAME</code> instead.</p>
<br>
<p class="bold"><a name="folder_sort">Q: Is it possible to sort folders by clicking on column header ("Date", "Size" and so on)?</a></p>
<p><span class="bold">A:</span> Yes, you can enable this feature: go to "Configuration" in the main menu > Options... >
Files views > Sorting > Sorting directories and use "sort like files and show first" or "sort like files".</p>
<br>
<p class="bold"><a name="slinkt">Q: How to see the target objects of symbolic links?</a></p>
<p><span class="bold">A:</span> In addition to the file properties dialog, you can use <code>GETFILELINKTO</code> in a <a href="configuration.html#ConfigColumns">set of columns</a> or a <a href="configuration.html#ConfigTooltips">tooltip</a>. In the last case, you should create a search template and specify <code>l+</code> in the attributes.<br>
Also you can <a href="lua.html">use Lua</a> and write in the log window.</p>
<br>
<p class="bold"><a name="parent">Q: How to hide the ".." item for the parent directory in the file list?</a></p>
<p><span class="bold">A:</span> Use the <a href="configuration.html#ConfigIgnore">Ignore list</a> in the program settings (a less global way is also possible, for example, <code>///Search result/..</code> will hide this item only in search results).</p>
<p class="navback"><a href="#topofpage">(back to top)</a></p>
</div>
<div>
<h2>7. Plugins</h2>
<p class="bold"><a name="not_valid">Q: What does the message "This is not a valid plugin!" mean?</a></p>
<p><span class="bold">A:</span> This usually means a problem with dependencies: not all required libraries are available in your system. If there are no details in the description of the plugin, could not contact the author or find a solution using search engines, then try the following:</p>
<ul>
<li>Windows: FileInfo or PEViewer plugin, utilities such as DLL Export Viewer or Dependency Walker.</li>
<li>Linux: use terminal and command <tt>ldd</tt> (the easiest way, <code>ldd pluginname | grep "not found"</code>), GNU Binutils or AnyELF plugin.</li>
</ul>
<p>If this is a WDX plugin written in Lua:</p>
<p>1. The Lua library is not available: see <a href="lua.html#dllrequired">DLL required</a>.</p>
<p>2. The script requires an additional module: see the description of the script or contact the author.</p>
<p>3. Error in the script. For debugging, you can use Lua in a terminal or advanced code editor/IDE (for example, ZeroBrane Studio).<br>
If you use the <a href="lua.html#libraries">Double Commander functions</a>: create a button with internal command <a href="cmds.html#cm_ExecuteScript">cm_ExecuteScript</a> and use available functions (<code>DC.LogWrite</code>, <code>Dialogs.MessageBox</code>, <code>Clipbrd.SetAsText</code> or save the results to a file).</p>
<br>
<p class="bold"><a name="ftps_reuse">Q: ftp.wfx: I try to use FTPS (FTP+SSL), but I get "522 SSL connection failed: session reuse required".</a></p>
<p><span class="bold">A:</span> This server requires session reuse support and the FTP plugin supports it, but requires a library that supports SSL and TLS protocols (see the <a href="plugins.html#ftp.wfx">description</a> of the plugin).</p>
<br>
<p class="bold"><a name="ftp_openssl">Q: ftp.wfx: Does not work with some servers! After connecting, I get errors: "104,Connection reset by peer" and "CSOCK ERROR Connection reset by peer" or "10060,Connection timed out" and "CSOCK ERROR Connection timed out".</a></p>
<p><span class="bold">A:</span> Requires a library that supports SSL and TLS protocols (see the <a href="plugins.html#ftp.wfx">description</a> of the plugin).</p>
<p class="navback"><a href="#topofpage">(back to top)</a></p>
<br>
</div>
</div>
<div class="footer"><div class="nav"><a title="Index" href="index.html">Index</a> | <a title="Previous page" href="about.html">Previous</a> | <a title="Next page" href="help.html">Next</a></div></div>
<div class="checker">
<a href="https://validator.w3.org/check?uri=referer" target="_blank"><img src="https://www.w3.org/Icons/valid-html40" alt="Valid HTML 4.0 Transitional" height="31" width="88"></a>
<a href="https://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img style="border:0;width:88px;height:31px" src="https://jigsaw.w3.org/css-validator/images/vcss" alt="CSS Valid!"></a>
</div>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>
|