The main change I'm after was in 1.6.3 - "Allow keyboard shortcuts for user customizable actions (bug #1941)".
Slackware for Pandora, and PyraOS, have 1.6.3 already.
I built 1.6.10 using Slackware and have been trying to make a PND out of it. The 1.0.2 in SuperZaxxon is old enough that they can run at the same time (in Slackware it was necessary to make sure one version was completely closed before opening the other).
The current PND basically works. But when trying to use "Open Terminal Here", it fails with "exo-open: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory". I did copy that file, so I guess it's losing the environment variables at that point, or maybe there's another environment variable I need to set. I still need to test actual custom actions that don't use exo-open.
And then there's the problem of what to do about home directory config. The PND launcher remaps the relevant environment variables to the appdata, which is good for Thunar itself, but opening other programs from it (e.g. Mousepad) creates new config files for these other programs in the appdata too. If I set these folders back to the system locations, config for the new Thunar would end up in the same place as the system Thunar, and system Thunar will probably break it. Before bringing different versions into it, system Thunar has already clobbered my custom actions and accels.scm in a seemingly arbitrary way - it can go for several reboots and be fine, and then one day it's gone.
It should be possible to change the config directories in the source code, from "Thunar" to something else. But it's not a neat change. Would need to figure out which of the following should be changed, and whether there are any more scattered about which don't look like that...
Any thoughts on the best strategy here?
Slackware for Pandora, and PyraOS, have 1.6.3 already.
I built 1.6.10 using Slackware and have been trying to make a PND out of it. The 1.0.2 in SuperZaxxon is old enough that they can run at the same time (in Slackware it was necessary to make sure one version was completely closed before opening the other).
The current PND basically works. But when trying to use "Open Terminal Here", it fails with "exo-open: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory". I did copy that file, so I guess it's losing the environment variables at that point, or maybe there's another environment variable I need to set. I still need to test actual custom actions that don't use exo-open.
And then there's the problem of what to do about home directory config. The PND launcher remaps the relevant environment variables to the appdata, which is good for Thunar itself, but opening other programs from it (e.g. Mousepad) creates new config files for these other programs in the appdata too. If I set these folders back to the system locations, config for the new Thunar would end up in the same place as the system Thunar, and system Thunar will probably break it. Before bringing different versions into it, system Thunar has already clobbered my custom actions and accels.scm in a seemingly arbitrary way - it can go for several reboots and be fine, and then one day it's gone.
It should be possible to change the config directories in the source code, from "Thunar" to something else. But it's not a neat change. Would need to figure out which of the following should be changed, and whether there are any more scattered about which don't look like that...
Code:
[thunar-1.6.10]$ grep -r "Thunar/"
Thunar-bulk-rename.desktop.in.in:Exec=@HELPERDIR@/Thunar/ThunarBulkRename %F
FAQ: $XDG_CONFIG_HOME/Thunar/thunarrc
FAQ: $XDG_CONFIG_HOME/Thunar/accels.scm
FAQ: Thunar/accels.scm in one of the $XDG_CONFIG_DIRS. For example, if /etc/xdg
FAQ: /etc/xdg/Thunar/accels.scm
plugins/thunar-sendto-email/thunar-sendto-email.desktop.in.in:Exec=@HELPERDIR@/Thunar/thunar-sendto-email %F
plugins/thunar-sendto-email/Makefile.am:desktopdir = $(datadir)/Thunar/sendto
plugins/thunar-uca/thunar-uca-model.c: filename = xfce_resource_lookup (XFCE_RESOURCE_CONFIG, "Thunar/uca.xml");
plugins/thunar-uca/thunar-uca-model.c: path = xfce_resource_save_location (XFCE_RESOURCE_CONFIG, "Thunar/uca.xml", TRUE);
thunar/thunar-renamer-dialog.c: rc = xfce_rc_config_open (XFCE_RESOURCE_CONFIG, "Thunar/renamerrc", TRUE);
thunar/thunar-renamer-dialog.c: rc = xfce_rc_config_open (XFCE_RESOURCE_CONFIG, "Thunar/renamerrc", FALSE);
thunar/thunar-sendto-model.c: specs = xfce_resource_match (XFCE_RESOURCE_DATA, "Thunar/sendto/*.desktop", TRUE);
thunar/thunar-preferences.c: filename = xfce_resource_lookup (XFCE_RESOURCE_CONFIG, "Thunar/thunarrc");
thunar/thunar-application.c:#define ACCEL_MAP_PATH "Thunar/accels.scm"
thunar/thunar-dialogs.c: logo = gdk_pixbuf_new_from_file (DATADIR "/pixmaps/Thunar/Thunar-about-logo.png", NULL);
Any thoughts on the best strategy here?