Tapatalk

How to link to UltraEdit from UltraCompare inside a flatpak?

How to link to UltraEdit from UltraCompare inside a flatpak?

5
NewbieNewbie
5

Post1:49 - Jan 07#1

Good day all!

Long time user that put Windows in the rear-view a few years back, and it occurred to me the other day that the only thing I really miss is UltraEdit :)

After a short wrestle I have managed to get both UltraEdit and UltraCompare working inside a flatpak.

However, I can't see anyway to link UltraEdit from UltraCompare. (I can link UltraCompare from UltraEdit … see screen.)

Can anyone please tell me if there's a config option or setting that I can use to ensure that UltraCompare can find UltraEdit? (Similar to the corresponding one in UltraEdit?)

Thanks for any help

PS: Flatpak: I'm testing with `org.geany.Geany` as this has the gtk dependencies already met: annoyingly I needed to get a few older libs from Debian repositories to satisfy all of UltraEdit's dependencies. Within flatpaks the /usr and /bin paths are read-only and can't be modified after they have been built, so I can't put the binaries in the "usual spot".
link-ucx-path.png (34.29KiB)
Linux UltraCompare Professional path configuration in UltraEdit for Linux

6,823625
Grand MasterGrand Master
6,823625

Post15:46 - Feb 01#2

I use UltraCompare just on Windows and know very well how UltraCompare for Windows detects the existence of UltraEdit or UEStudio (App Paths registration).

I have temporarily installed UltraCompare for Linux 21.00.0.18 in a virtual Debian 10 (Buster) Linux machine, see for more details: How to do a folder compare with UltraCompare for Linux?

UltraCompare for Linux has most likely like UltraCompare for Linux no configuration setting in Edit - Preferences to define the fully qualified file name of UltraEdit (or UEStudio on Windows).

I think that UltraCompare for Linux lets Linux search for uex on startup and if found handles UltraEdit for Linux as installed.

I get an UltraEdit is not installed window displayed on UltraEdit for Linux is not installed and I click in UltraCompare for Linux on the UE button in the toolbar. But there is no such window displayed if I exit UltraCompare, run sudo cp -p /usr/bin/gedit /usr/bin/uex, start ucx and click on the UE button in the toolbar. There is no gedit started. Running next sudo rm /usr/bin/uex while ucx is still running and clicking again on the UE button in the toolbar does not change anything. There is still not displayed the window UltraEdit is not installed and gedit is still not started. Exiting ucx, restarting it and clicking with active text comparison on the UE button in toolbar results now again in the display of the UltraEdit is not installed window. The same behavior occurs after running sudo cp -p /usr/bin/gedit /usr/local/bin/uex and later sudo rm /usr/local/bin/uex. There is no UltraEdit is not installed window displayed on /usr/local/bin/uex existing on startup of UltraCompare for Linux but gedit is nevertheless not run (or fails to interpret the passed arguments and exits therefore immediately).