[HN Gopher] xdg-override: change default application temporarily...
       ___________________________________________________________________
        
       xdg-override: change default application temporarily on Linux
        
       Author : koiueo
       Score  : 13 points
       Date   : 2024-08-01 21:32 UTC (1 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | sureglymop wrote:
       | 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/
        
         | koiueo wrote:
         | 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.
        
       ___________________________________________________________________
       (page generated 2024-08-01 23:00 UTC)