3 ms·
On gnome there is a GTK4 app called "Junction". It pops up a dialog that let's you choose what application to open the given content in. I highly recommend just
by sureglymop 2y ago
On gnome there is a GTK4 app called "Junction". It pops up a dialog that let's you choose what application to open the given content in. I highly recommend just aliasing 'open' to use that.
https://apps.gnome.org/Junction/ https://apps.gnome.org/Junction/
- koiueo 2y agoThanks for sharing this. I'm not on Gnome and don't need the option to choose an application every time I click on a link or a file. Nevertheless, seeing how other people approach a similar problem is interesting. Looking through the source code briefly, it seems like it's almost a full re-implementation of `xdg-open`. My solution is in a different league. I didn't mean to replace `xdg-open` and aimed to augment `xdg-open` while being as simple as possible.
- sureglymop 2y agoYours is really cool too! I'll definitely try it out :).
- vbernat 2y agoI have something similar with this short Python script: https://github.com/vincentbernat/i3wm-configuration/blob/master/bin/xdg-app-chooser https://github.com/vincentbernat/i3wm-configuration/blob/mas...
- LorenDB 2y agoThat's just the GNOME xdg portal app, right? Other DEs like Plasma have their own versions of that as well.