Package Details: doublecmd-gtk2 1.1.26-1

Git Clone URL: https://aur.archlinux.org/doublecmd-gtk2.git (read-only, click to copy)
Package Base: doublecmd-gtk2
Description: File manager with two panels side by side (GTK version)
Upstream URL: https://doublecmd.sourceforge.io/
Licenses: GPL2
Conflicts: doublecmd, doublecmd-gtk2-alpha-bin, doublecmd-qt
Provides: doublecmd
Submitter: gitaarik
Maintainer: gitaarik
Last Packager: gitaarik
Votes: 1
Popularity: 0.090760
First Submitted: 2025-06-25 12:49 (UTC)
Last Updated: 2025-06-25 12:49 (UTC)

Dependencies (27)

Required by (3)

Sources (1)

Latest Comments

attila123 commented on 2025-11-11 08:14 (UTC)

One more note: for the gtk2 themes I needed to install gnome-themes-extra-gtk2 AUR package.

attila123 commented on 2025-11-11 06:51 (UTC)

I did not want to bother anymore with the env variables for the doublecmd-qt5, e.g. Exec=env QT_STYLE_OVERRIDE=gtk2 QT_QPA_PLATFORMTHEME=gtk2 doublecmd %F (see below) in a .desktop file as it did not work in Cinnamon. Yes, I could have wrapped that into some script, etc.
Also I noticed that doublecmd-qt5 seems to be better packaged.
So I just downloaded the PKGBUILD from here, updated the pkgver line in it to: pkgver=1.1.30 (see https://github.com/doublecmd/doublecmd/releases) and just build it with makepkg -s.
With the doublecmd-qt5 package installed, I just copied over its binary with the doublecmd-gtk2 one: sudo cp -p pkg/doublecmd-gtk2/usr/bin/doublecmd /usr/bin/doublecmd.
Finally locked its version in /etc/pacman.conf for now:

# Locked due to /usr/bin/doublecmd is replaced with the doublecmd-gtk2 binary
IgnorePkg   = doublecmd-qt5

Arguably it's a bit more hacky way, but I allows me to use the gtk2 version.

attila123 commented on 2025-11-02 18:40 (UTC) (edited on 2025-11-02 18:45 (UTC) by attila123)

OK, let's use extra/doublecmd-qt5 instead. I asked chatgpt why the qt5 version looked that ugly, especially the 2 panels (even after I did some setup with kvantum / Kvantum Manager and set up the KvLibadvaita theme). I uploaded screenshots with both versions.

Because "Qt5 by default uses the Qt Fusion style (flat, minimal, no bevels)." So it turned out that the another thing to "fix" for the qt5 verion is to use QT_STYLE_OVERRIDE=gtk2 env. var, e.g. in /usr/share/applications/doublecmd.desktop use
Exec=env QT_STYLE_OVERRIDE=gtk2 doublecmd %F. After this it looks much better.

To get an even better gtk2 look, install aur/qt5-styleplugins and then use QT_QPA_PLATFORMTHEME=gtk2 as well (this was also mentioned by chatgpt). I think I will use this one. So the last version in the .desktop file:
Exec=env QT_STYLE_OVERRIDE=gtk2 QT_QPA_PLATFORMTHEME=gtk2 doublecmd %F

attila123 commented on 2025-11-02 13:51 (UTC)

I ended up adding some debug logs (in uiconfigtheme.pas / constructor TIconTheme.Create) because of the Theme dctheme not found error and looks like it is looking for the pixmaps dir in the following places, looks like the system dir is not OK:

Creating PixmapManager
Dir /home/avangel/.local/share/doublecmd/pixmaps/dctheme not found
Dir /usr/bin/pixmaps/dctheme not found

As a workaround:

sudo mkdir -p /usr/bin/pixmaps
sudo ln -s /usr/share/doublecmd/pixmaps/dctheme /usr/bin/pixmaps/dctheme

another issue was that index.theme is somehow not copied to /usr/share/doublecmd/pixmaps/dctheme/ (did not check why), so just copied that as well:

# from the PKGBUILD's dir
sudo cp src/doublecmd-1.1.29/pixmaps/dctheme/index.theme /usr/share/doublecmd/pixmaps/dctheme/

then finally doublecmd started.

attila123 commented on 2025-11-02 12:20 (UTC)

Thanks. pkgver() is trying to take the latest version from github, but then it's using ${pkgver}, so it breaks if there is a newer upstream release, not sure if it was the intent behind this? Hmm, but it also modified the pkgver in the local PKGBUILD file? I am not too familiar with this build system.
Anyway, as I tried to to build with makepkg -si (after it failed with and AUR helper) with the 2nd makepkg -si it went fine.