bcpierce00 / unison

Unison file synchronizer
GNU General Public License v3.0
3.86k stars 224 forks source link

Add open file option to the -ui graphic #1005

Open Massimo-B opened 3 months ago

Massimo-B commented 3 months ago

Enhancement or feature request:

Please add an option to "Open" a file from the graphic ui with the default application or additionally "Open with". This would be very useful when comparing pictures or other documents before going to apply the changes.

gdt commented 3 months ago

If you or anyone else would like to write the code, please post the details of the proposed behavior to the hackers list. Otherwise, I'll move this to the not-likely-to-be-implemented features wiki page after a while.

Massimo-B commented 3 months ago

I'm not involved in the development, and don't know about the portability and target platforms of unison... But as for Linux, isn't this just an xdg-open $file ?

gdt commented 3 months ago

Anything we do has to work on all platforms unison runs on. If someone wants to put the time into figuring out a broader plan and propose/discuss on -hacikers, that's fine.

gdt commented 3 months ago

This is similar to but not quite the same as #843.

tleedjarv commented 3 months ago

I could potentially help with the code, given that a specification is provided for how this should work on each platform (I guess XDG, macOS, Windows is what we need). Examples of this working cross-platform in other software could be useful.