Code Monkey home page Code Monkey logo

doublecmd / doublecmd Goto Github PK

View Code? Open in Web Editor NEW
2.3K 50.0 179.0 77.36 MB

Double Commander is a free cross platform open source file manager with two panels side by side.

Home Page: https://doublecmd.sourceforge.io

License: GNU General Public License v2.0

Batchfile 0.10% Shell 0.33% Pascal 95.03% SourcePawn 0.04% Assembly 2.18% Pawn 0.16% HTML 0.54% Makefile 0.03% Roff 0.01% Inno Setup 0.03% C 1.14% Lua 0.02% Python 0.02% CSS 0.03% C++ 0.15% POV-Ray SDL 0.12% NASL 0.05% AppleScript 0.01%
cross-platform file-manager double-commander

doublecmd's Introduction

Double Commander is a free cross-platform open source file manager with two panels side by side (or one above the other). It is inspired by Total Commander and features some innovative new ideas.

Double Commander can be run on several platforms and operating systems. It supports 32-bit and 64-bit processors. See Supported platforms for a complete list.

See Double Commander in action in the Screenshot Gallery.

Where to start

Download

Go to the Double Commander download page to download the latest release.

You can check the latest version on the Versions page.

See if Double Commander is supported for your platform on the Supported platforms page.

Develop

For more information on the development of Double Commander, see the Development page.

Discuss

Go to our forum for discussions. There are English and Russian sections.

If you want to stay up-to-date with the project, you can check out the available news feeds.

doublecmd's People

Contributors

alexx2000 avatar antikruk avatar avmaksimov avatar btwise avatar corvus1 avatar decart avatar denis-bisson avatar dimonomid avatar fuwt avatar ginggs avatar gitoffthelawn avatar iglezz avatar j2969719 avatar jack2m avatar kolcha avatar larinsv avatar rich2014 avatar richboss avatar rseleven avatar sitiom avatar skif-off avatar sragin avatar stefre avatar thenicker avatar urmatej avatar vedantmgoyal9 avatar venusgirl avatar wesinator avatar whitechairfromikea avatar xbzzzz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

doublecmd's Issues

Feature request: Add actions to queues paused

Often when I click "add to queue" for example when moving I want an option to add it in a paused state so I can control when it starts. Now the whole queue feature seems useless as it starts immediately and finishes just as fast. I would use it to plan things ahead.

Very slow files copy to NFS share

Hi!

I have mounted NFS share from NAS (D-Link D320L) (on Linux Ubuntu). The DC is copying a file very slow. Once copying is started, the file on NFS is created, but then the dialog shows 0/0 progress for about 40sec!!! Actually it hangs, since even cancel is effective after 40sec! It is for each file copied. Any other tools in my system, copy files with expected speed: cp/mc/Nautilius etc.
The NFS is mounted with flags: rw,hard,intr
DC:0.9.6

Thanks in advance for your help
Regards,
Piotr

Feature Request: Use upper case drive letters on Windows

Discovered your file manager by change on linux, and now I install it on my windows machines too. Very nice project!
The only issue, if you can call it that, is that it seems all the Windows drive letters are lowercase. Is it reasonably possible to present them in uppercase, for a more complete windows experience?
image

qt5 version - file panel doesn't make use of configured fonts

Hello,

I'm using the qt5 version of doubleCommander on Manjaro Linux KDE. I recognized that the
file panel doesn't make use of the configured font.

The default setting is monospace. I tried to use another one which
I use in all of my editors. But the file panel always uses an sans-serif
font.

Cheers
Kiwix

-- I tried the GTK version on linux and the mac OS version - here everything works as expected

feature request and bug report

feature request
  • search in options dialog
  • search in menu items or in all available commands
bug report
  • when selecting files/folders by holding ctrl/shift, only the last clicked item is highlighted as blue, while other items are unhighlighted and only marked with red. i suppose this does not conform to the normal windows operation customs.
  • windows starts up somewhat slowly on a HP Elitebook 840 G5
  • options dialog hangs to not responding even if i make no changes and click cancel button
  • when i select 2 files by holding ctrl and then select one file by clicking it, now i press F5 to copy the file to another pane, the popup dialog shows that 2 but not 1 file is going to be copied.

Featrure request: search only directories

Frequently I am searching for project (directory) instead of specific file. It would be very helpful, if there is option to limit only for directories in search dialog box (ALT-F7). For example next to "Search in archives".

More human readable bytes formatting in "Synchronize dirs"

With large dirs to synchonize the currently existing formatting of number of bytes can be quite unreadable:

doublecmd-synchonize-dirs-bytes-formatting

1GB? 10GB? 100GB? :-). You need to take a closer look to distinguish them.

Maybe it would be possible to format it in "human readable form" M, G, T instead of just bytes (usually precised number of bytes is not crucial here)? Alternatively maybe just 100 000 000 bytes instead of 100000000 bytes

Tested with 1.0.0 alpha - revision: 9321.

Reading of tar archives with files larger than 4 and 8GiB fails

I noticed that the tar plugin for double commander has issues with archives with files larger than 4 and 8GiBs.

The 8 GiB limitation is that is shows the wrong size (and I assume, will unpack it wrong) and comes from that tar encodes size etc as a 12 character ascii string with octal numbers. There is a star extension from 2001 that adds a base 256 mode, but the tar implementation in fp archive does not support it. See https://en.wikipedia.org/wiki/Tar_(computing).

The 4GiB issue is that is does not show files later in the archive if a file is > 4GiB and comes from seeks > 32bit. I found an alternative api with a bit of googling that supports 64bit arguments. See https://www.freepascal.org/docs-html/rtl/classes/tstream.seek.html.

I fixed both issues in the attached diff, but with the caveat that I have never programmed in pascal before, so this is just from looking at the sorrounding code and a bit of googeling.

I did not find any contribution guidelines, but you can take this issue report as permission to use and/or re-license my changes to double commander source file plugins/wcx/zip/src/fparchive/abtartyp.pas freely.

tarfix.diff.txt

sync an SFTP directory do not work -> Error open file

Syncing an SFTP directory do not work. (Connected an SFTP directory with Gnome files)
I DC is able to compare the directory but seems not able to sync it.
I get
grafik
for every file. Autoskip also not work.
Also interesting, the mentioned file in the dialog above is the destination file where a filee should get synced.
I try to sync a directory with many subdirectories from sftp into an empty directory on the local drive

Crashes after disabling tabstop headers

After disabling 'Show tabstop headers' under the Layout options, Double Commander chrashes if I try to change Color or Columns options, for example.

It seems this generates two errors (see examples from the error file below): EAccessViolation: Access violation and EGridException: Grid index out of range.

--------------- 21-02-2019, 16:09:36 ---------------
| DC v0.9.1 beta Rev. 8664M -- x86_64-Win64-win32/win64
| Windows 10 1803 x86_64 | PID 4528
Unhandled exception: EAccessViolation: Access violation
  Stack trace:
  $000000010039BB50 line 206, column 1 of udisplayfile.pas in C:\Program Files\Double Commander\doublecmd.exe
  $00000001004A47DE line 1817, column 49 of fileviews/ucolumnsfileview.pas in C:\Program Files\Double Commander\doublecmd.exe
  $0000000100240DB8 line 4306, column 31 of grids.pas in C:\Program Files\Double Commander\doublecmd.exe
  $0000000100240A29 line 4340, column 9 of grids.pas in C:\Program Files\Double Commander\doublecmd.exe
  $0000000100240780 line 4260, column 7 of grids.pas in C:\Program Files\Double Commander\doublecmd.exe
  $000000010023EBBD line 3757, column 5 of grids.pas in C:\Program Files\Double Commander\doublecmd.exe
  $0000000100184F0F line 118, column 5 of include/customcontrol.inc in C:\Program Files\Double Commander\doublecmd.exe
  $000000010016E0E9 line 4848, column 7 of include/wincontrol.inc in C:\Program Files\Double Commander\doublecmd.exe
  $0000000100172134 line 6835, column 23 of include/wincontrol.inc in C:\Program Files\Double Commander\doublecmd.exe
  $0000000100184E26 line 98, column 28 of include/customcontrol.inc in C:\Program Files\Double Commander\doublecmd.exe
  $0000000100010AB5 in C:\Program Files\Double Commander\doublecmd.exe
  $000000010017B7F1 line 2238, column 26 of include/control.inc in C:\Program Files\Double Commander\doublecmd.exe
  $000000010016F46C line 5419, column 28 of include/wincontrol.inc in C:\Program Files\Double Commander\doublecmd.exe
  $0000000100242229 line 4837, column 31 of grids.pas in C:\Program Files\Double Commander\doublecmd.exe
  $0000000100238517 line 112, column 36 of lclmessageglue.pas in C:\Program Files\Double Commander\doublecmd.exe
  $000000010014CEB6 line 690, column 43 of win32/win32callback.inc in C:\Program Files\Double Commander\doublecmd.exe
  $0000000100150D70 line 2268, column 36 of win32/win32callback.inc in C:\Program Files\Double Commander\doublecmd.exe

--------------- 21-02-2019, 16:10:17 ---------------
| DC v0.9.1 beta Rev. 8664M -- x86_64-Win64-win32/win64
| Windows 10 1803 x86_64 | PID 9912
Unhandled exception: EGridException: Grid index out of range.
  Stack trace:
  $000000010024B89F line 8026, column 6 of grids.pas in C:\Program Files\Double Commander\doublecmd.exe
  $000000010023D033 line 3134, column 30 of grids.pas in C:\Program Files\Double Commander\doublecmd.exe
  $00000001004A18C8 line 451, column 5 of fileviews/ucolumnsfileview.pas in C:\Program Files\Double Commander\doublecmd.exe
  $00000001002C5350 line 2966, column 12 of fileviews/ufileview.pas in C:\Program Files\Double Commander\doublecmd.exe
  $00000001002BEA96 line 1003, column 3 of fileviews/ufileview.pas in C:\Program Files\Double Commander\doublecmd.exe
  $00000001002BDCBB line 692, column 3 of fileviews/ufileview.pas in C:\Program Files\Double Commander\doublecmd.exe
  $00000001003FE331 line 306, column 3 of fileviews/ufileviewwithmainctrl.pas in C:\Program Files\Double Commander\doublecmd.exe
  $00000001004A3114 line 862, column 3 of fileviews/ucolumnsfileview.pas in C:\Program Files\Double Commander\doublecmd.exe
  $00000001004A2C62 line 805, column 1 of fileviews/ucolumnsfileview.pas in C:\Program Files\Double Commander\doublecmd.exe
  $000000010007512C line 4487, column 34 of fmain.pas in C:\Program Files\Double Commander\doublecmd.exe
  $00000001000788BA line 5374, column 3 of fmain.pas in C:\Program Files\Double Commander\doublecmd.exe
  $0000000100069DC1 line 1090, column 3 of fmain.pas in C:\Program Files\Double Commander\doublecmd.exe
  $0000000100048B11 line 939, column 26 of include/customform.inc in C:\Program Files\Double Commander\doublecmd.exe
  $0000000100046A49 line 149, column 3 of include/customform.inc in C:\Program Files\Double Commander\doublecmd.exe
  $000000010006E8CB line 2633, column 3 of fmain.pas in C:\Program Files\Double Commander\doublecmd.exe
  $000000010006E875 line 2628, column 1 of fmain.pas in C:\Program Files\Double Commander\doublecmd.exe
  $00000001000567D7 line 2241, column 5 of include/application.inc in C:\Program Files\Double Commander\doublecmd.exe

Feature request: Rename by a slow double click and Create a new folder auto escaping special characters

Thank you for a nice File Manager.

I'm using Double Command v0.8.2 on both Windows and Linux.

I have simple feature requests:

  1. When I give a slow double click on a file or folder, Double Command allows me to rename the file or folder. Double Command should select the whole folder name or the whole file name (without file extension) so that I can start typing a new name right away. This feature is available in Windows' File Explorer.

  2. When I create a new folder (pressing F7) and give a name containing special characters (e.g. ':'), Double Command can automatically escape those special characters (e.g. by removing them or replacing them with white spaces) so that I don't need to manually find and delete those special characters to have a valid name. This feature is available in SpeedCommander on Windows.

Thank you in advance.

Filenames in different language aren't shown

On Kubuntu x64 20.04 & Double Commander 0.9.9 beta, all filenames containing Greek characters (I tried creating files on Linux & on WIndows) are completely hidden. (I noticed the problem on 0.9.8 also, and I upgraded just in case, so its not new to 0.9.9.)

I can see the files fine with $ ls and on Dolphin but not on Double Commander...!

I have Show Hidden & System files enabled, just in case...

image

Project organization

I've been using DC for years and only now have I found out it has some GitHub presence. It's pretty strange though:

@alexx2000 any chance to clarify this mess and switch completely to GitHub, as others have been requesting? I understand this can't be done all at once, but we can at least start by closing Mantis to new issues, and directing users to file issues on GitHub. The interface here is far more pleasant.

I believe that having a proper presence on GitHub will enable Double Commander to attract many more users, testers and developers than by living on Sourceforge.

Dark mode? (Windows 10)

Is there anyway we are going to see a dark-mode added to Double Commander? The current bright white is kind of strong when I'm working in the middle of the night on something. :)

Parameter variables are not set in context menu for [..]

I've added a custom context menu item to open a terminal window in the folder being right-clicked on. This works fine for most folders, but when right-clicking on the [..] entry, the variables are all empty. This seems wrong to me, as the rest of the context menu functions work the same with [..] as they do with other folders.

The configuration (substituted yad for terminal for debugging):
image

On a regular folder:
image

On the [..] folder:
image

Code migration to Git(Hub)?

The svn2github project was recently closed and the GitHub mirror I've been using to find suspected commits why tracking down issues in my nightly RPM builds for Fedora is no longer updated.

The SVN UI available at Sourceforge is somehow "problematic to use" (at least for me). It would be really nice to have the project migrated to Git and (at least) mirrored to GitHub (the main Git repository could be at Sourceforge, GitLab or anything else if you @alexx2000 don't like the idea to use GitHub for that).

That, by the way, would allow people to do some minor pull requests via GitHub which could be even merged manually to the main repository (and mirrored to GitHub) - most of the incidental developers don't like to install SVN just to fix some type or documentation.

This is a follow-up of the corresponding old thread on the project forum. Created here to allow interested "GitHub guys" to know about the status of (potential) migration.

Feature request : column with lifetime

Hi,

the idea of the feature is to be able to configure a column to show how old a file is (since last saved for example).
For now, you can use [DC().GETFILETIME{}] to show the date in your default format, but sometimes it is more efficient to compare "age" instead of "birth" of files.

An additional feature request (wich must be harder to implement) is the possibility to use file coloring scheme like it is already possible, but only to a specific(s) column(s).

Combining those two, you could color the "age" colomn according to it's age and following other coloring schemes.

Thanks for the great work and have a nice day

-Glenn

Strange behaviour when a file is open and cannot be deleted

In Windows, when a file cannot be moved to trash because it is open in some application(s) DC asks for direct deletion. Of course, nothing happens if one answers "Yes" because the file is locked.
In my opinion, a more proper behaviour would be to ask for "Retry" (if in the meantime one has closed the application that was locking the file), "Retry All" (if more than one file was open), "Skip", "Skip All", and "Abort".

Provide AppImages

Please, provide AppImages instead of (or in addition to) the existing portable GNU/Linux versions of Double Commander.

Loosing focus after copy or move of a file

Using double commander on macos (testing on catalina 10.15.4 & 10.15.5)
Snapshot 1.0.0. alpha build 9404

When you try to copy a file using F5 double commander loose its focus and in order to copy another file you need to use the mouse and click on the double commander to gain back the focus.

Versions .09.8 beta build 9296 doest have this issue so its something that was introduced between the versions

feature request: edit main menu

Is it possible to edit the main menu (like total cimmanders .mnu file)?
Otherwise please include something like "Start" menu in totalcmd.
I know i can create button bars but I prefer textual menu items to more or less self-explaining buttons.

feature request: unzip support Extract Here (Smart)

It is a feature of Bandisoft.

By right-clicking on an archive file, you can see 'Extract Here (Smart)' on the menu, and this feature works as follows:
If there is only one file/folder in an archive, it will extract to the target folder.
If all files in an archive is bundled in a single folder, it will extract to the target folder.
In other cases, it will extract to the 'Archive-Name' folder.
Archive files compressed in Unix are often bundled into a single folder.
So, if these files are extracted in the Archive-Name folder, it is inconvenient because two folders of the same name will be created.
In this case, using 'Extract Here (Smart)' is useful.

If an archive contains 100 files, I want to avoid that these 100 files are extracted in the middle of the other files of the current folder. But I don't want to always create a folder, because sometimes, the archive contains only one folder, which can have a name different from the one of the archive. And even in this case, I don't want to have a subfolder for nothing.

I also don't want to create a subfolder if the archive contains only one file, which can also have a different name than the one of the archive.

Currently, to avoid these issues, the only way is either to open the archive to see what is inside, close it, and then use the context menu of Explorer; or to always extract in a subfolder, and then move its content if there is only one file or folder.

trunk build fails with fpc 3.2.0-beta

I don't know if it is a valid place to report the issues (definitely more confortable for most of the users), but doublecmd from trunk (rev. 9300) fails to build with fpc 3.2.0-beta [2020/02/02] (available in Fedora Rawhide and targetted at Fedora 32) with the following error:

(10001) PPU Loading /usr/lib64/lazarus/lcl/units/x86_64-linux/extctrls.ppu
(10011) PPU Source: extctrls.pp not found
(10011) PPU Source: lcl_defines.inc not available
(10011) PPU Source: page.inc not available
(10011) PPU Source: notebook.inc not available
(10011) PPU Source: idletimer.inc not available
(10011) PPU Source: shape.inc not available
(10011) PPU Source: customsplitter.inc not available
(10011) PPU Source: paintbox.inc not available
(10011) PPU Source: customcheckgroup.inc not available
(10011) PPU Source: boundlabel.inc not available
(10011) PPU Source: customlabelededit.inc not available
(10011) PPU Source: custompanel.inc not available
(10011) PPU Source: customflowpanel.inc not available
(10011) PPU Source: radiogroup.inc not available
(10011) PPU Source: bevel.inc not available
(10011) PPU Source: customimage.inc not available
(10011) PPU Source: customtrayicon.inc not available
(10011) PPU Source: controlbar.inc not available
(10028) Recompiling ExtCtrls, checksum changed for /usr/lib64/fpc/3.2.0/units/x86_64-linux/rtl/sysutils.ppu
/builddir/build/BUILD/doublecmd-1.0.0/components/CmdLine/ucmdbox.pas(66,25) Fatal: (10022) Can't find unit ExtCtrls used by uCmdBox
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
Error: (lazarus) Compile package cmdbox 0.0: stopped with exit code 1
Error: (lazbuild) cmdbox 0.0 compilation failed

Detected in my weekly builds of doublecmd for Fedora. Failing COPR build.

Wrong background with gtk2 theme Gnome OSX-IV-1.3

doublecmd 0.9.9 beta has wrong background, when Gnome OSX-IV-1.3 gtk2/gtk3 theme is used.

Expected behaviour

grayish background for main window background (excluding file lists, of course).

Actual behaviour

blue background for main window background (excluding file lists, menu and toolbar).

Steps to reproduce

  1. install the theme (unfortunately I do not have a link to it, only source files)

  2. apply the theme system-wide or run doublecmd with

     GTK2_RC_FILES="/path/to/theme/folder/gtk-2.0/gtkrc" doublecmd 
    

Version

doublecmd version: 0.9.9 Beta, gtk2, Linux 64-bit
(tar downloaded from sourceforge)
OS: Debian 10 Buster
WM: openbox

Other info

Screenshot attached.

Theme files are attached.

Other apps in the system look fine.

Even doublecmd-qt 0.9.1 looks fine, though it uses the same theme through qt-style-plugins package. (That package makes qt apps to use gtk2 theme.)

I investigated the problem a little, and found that changing this color

    gtk-color-scheme = "selected_bg_color: #f5f6f7

in gtkrc file of gtk-2.0 folder of the theme changes the color, but as a side effect it also affects text selection color and many other colors, including the colors of the applications spawned by doublecmd.

Because other apps work just fine, I consider this is a bug.

May be someone knows any workaround to it, excluding modification of source code of the doublecmd and recompiling?

2020-10-04--161759--538021816

Gnome OSX-IV-1.3.zip

feature request: drag and drop files and folders from anywhere to 'tree view panel'

while i may have folders open anywhere, i usually can see a overview of the system drives and folders in the "tree view panel" it would nice to be able to drag and drop anything from the other panels to the "tree view panel" drive/folder and then have the dragged files or folders copied or moved there.
(which i was used to with directory opus)

Unable to retrieve selected files with 7-zip plugin if headers encryption is enabled and password contains odd number of "

I've encountered that error accidentally with one of my archive with randomly generated long password. Using bisect it turned out that " is a culprit. Having one in the password (even just ") or their odd number """ (or "a"a"a) makes it impossible to retrieve selected files from that password-protected archive with header archive encryption on (important) using the embedded 7-zip plugin for DC - "Exit status 1792".

It works fine if headers are not encrypted. Or when the whole archive is extracted. Steps to reproduce:
0. Create password-protected 7-zip archive with headers encryption (7za a -p -mhe=on broken.7z someFile) with password ".

  1. Enter into that 7-zip archive - enter on file
  2. Enter valid password (").
  3. Select file(s)
  4. F5 to copy

image

The visible difference is that DC with encrypted headers asks for password when file is opened (when you enter it), not when the file(s) is copied (as with visible headers). Maybe there is some problem with keeping the odd number of " in memory. Attached sample file (just remove .gz - GH doesn't allow to upload .7z files).

valid-but-broken.7z.gz

Update. Tested with: 1.0.0 alpha, revision 9522 (nightly Fedora build)

Request function (Save all settings to file)

Request function (Save all settings to file)

For a very long time I customized the look for myself. When removing or installing DC on a new OS, you have to reconfigure in a new way.
Please: add the function to save all settings to the file (conveniently when migrating)

Viewer opens in a wrong position

Preliminary notes

A lot of ♥ for the team making doublecmd, thank you so much!

Doublecmd 0.9.7 beta
Win 10
3 monitors in linear (i.e. 1-2-3 horizintal) configuration
Windows task bar on the top

Steps to reproduce:

  • View some file with F3
  • Position the viewer window to fully occupy the middle window (*)
  • Close the viewer
  • View the same file again

Result:

The window does not open at the same location; instead it shifts to the left so it's left side is at ~2/3 of the left monitor.

This does not happen if the positioning in the step marked with (*) is such that it's moved a few pixels to the right (i.e. it's not right at the left edge of the 2nd / middle monitor, but a few pixels right of it).

Additional notes:

The same happens on 2nd / middle and 3rd / right monitor. When on 1st / left monitor, it instead shifts a few pixels right, which looks like exactly how much is needed for the viewer to be moved right in order for the window not to shift left on 2nd / 3rd monitors when doing the previous.

Let me know if you need more information to reproduce. I'd also like to hear from other doublecmd users regarding whether they experience the same issue.

Drag&Drop files to Outlook not working

When you try to drag a file out of Double Commander and drop it into a new E-Mail in Outlook 2016 it's not attached. Dropping it to the Desktop or somewhere into the file system works fine under Windows 10 1803.

Can't open new tabs in existing DC instance

Regardless of what the "Allow only one DC instance at a time" option is set to, running doublecmd --client some_dir fails (even after you restart DC after applying new options):

~ > doublecmd --client -T ~/Projects
XInitThreads: 1
Starting GuiMessageQueue
Starting Double Commander
Double Commander 0.9.9 beta
Revision: 9478
Build: 2020/11/12
Lazarus: 2.0.10.0
Free Pascal: 3.2.0
Platform: x86_64-Linux-gtk2
System: Arch Linux
Desktop Environment: Unknown
Widgetset library: GTK 2.24.32
This program is free software released under terms of GNU GPL 2
(C)opyright 2006-2020 Alexander Koblov ([email protected])
   and contributors (see about dialog)
Executable directory: /usr/lib/doublecmd/
Loading configuration from /home/tdemin/.config/doublecmd/
Another instance of DC is already running. Exiting.
Finished Double Commander
Finishing GuiMessageQueue

The new tab will only open if DC is closed.

Shift+Enter on script in directory with spaces in name

Steps:

  1. Create a script: ~/dir with spaces/script
  2. Select this script in doublecmd
  3. Press 'Shift + Enter'

Xterm shows:

sh: /home/elk/dir: No such file or directory
Press ENTER to exit...

image

I fixed this for myself by changing "command to run in terminal and stay open"

from -e sh -c '{command}; echo -n Press ENTER to exit... ; read a'

to -e /home/elk/.local/bin/run-in-term-and-wait '{command}'

and run-in-term-and-wait script is (it also does some additional output for myself):

#!/bin/bash

# -e /home/elk/.local/bin/run-in-term-and-wait '{command}'

echo "Command: $1"
bash -c "'$1'"

echo "---- Press enter to close ----"
read a

by the way, great work, thanks I just switched to doublecmd and I'm very excited by it!

GPG issue

At https://software.opensuse.org/download.html?project=home%3AAlexx2000&package=doublecmd-gtk you have (Ubuntu -> xUbuntu 20.04):

echo 'deb http://download.opensuse.org/repositories/home:/Alexx2000/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/home:Alexx2000.list

curl -fsSL https://download.opensuse.org/repositories/home:Alexx2000/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home:Alexx2000.gpg > /dev/null

I got an error, when apt-get update:

gpg: invalid key resource URL '/etc/apt/trusted.gpg.d/home:Alexx2000.gpg'
gpg: keyblock resource '(null)': General error

I suggest to remove old ones and add fixed ones:

rm -fr /etc/apt/sources.list.d/home:Alexx2000.list /etc/apt/trusted.gpg.d/home:Alexx2000.gpg

echo 'deb http://download.opensuse.org/repositories/home:/Alexx2000/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/doublecmd.list

curl -fsSL https://download.opensuse.org/repositories/home:Alexx2000/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/doublecmd.gpg > /dev/null

Basically this means, that colon in filename is not a good idea.

Feature Request Toolbar

Maybe support for .bar files could be added in the future. I find it useful for changing the toolbar buttons when another toolbar button is pressed, like in Total Commander

[Feature Request] gnome baobab like overview in synctool

While checking files for sync direction DC check every file in a given directory.
Would it may be possible to use this data too could see the file structure like with the gnome tool baobab?
In baobab, you could get the weight and location of directory and files in context of all files in a directory. May with two directories you may get the weight of tho be changed files on both sides.

  • add a baobab like view for both side to check havy directories
  • add a merged view to see weight and location of a change that has to be done per direction.

Sorting configuration options

First of all, so many thanks indeed for your priceless work with this software.
I was wondering whether there is any way to have the items in the left-hand part of the configuration options panel sorted in alphabetic order. In my case (Windows 10, Italian language) they appear in a rather random order, making it somewhat difficult to find a specific item. I see "Lingua", "Comportamenti", "Strumenti" and so on, and the order remains the same in English ("Language", "Behaviors", "Tools", and so on) and I suppose in other languages as well.

Manage folders with space character at end

From Double commander is possible to create a new folder including an space character at the end. However, Double commander is not able to delete or rename a folder like this.

The worst for en users is that Windows Explorer has also problems with this folders, so deleting or renaming requires advanced skills(commandline).

IMO, double commander should do one of the following:
Trim names to avoid spaces at beginning or end
or
(if technically possible) Being able to delete, rename

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.