Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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/



Thanks 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.


Yours is really cool too! I'll definitely try it out :).


I have something similar with this short Python script:

https://github.com/vincentbernat/i3wm-configuration/blob/mas...


That's just the GNOME xdg portal app, right? Other DEs like Plasma have their own versions of that as well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: