[HN Gopher] Drag and Drop from Terminal
       ___________________________________________________________________
        
       Drag and Drop from Terminal
        
       Author : xk3
       Score  : 22 points
       Date   : 2022-12-02 20:19 UTC (2 hours ago)
        
 (HTM) web link (blog.meain.io)
 (TXT) w3m dump (blog.meain.io)
        
       | aendruk wrote:
       | See also:                 ls --hyperlink
       | 
       | With a compatible terminal you can then just click on results.
       | Another nicety is making your shell prompt a link to the working
       | directory.
       | 
       | Haven't seen a terminal that lets you drag the links but that
       | sounds like a logical feature.
        
         | codetrotter wrote:
         | Neat! Here's a blog post with more details
         | 
         | https://purpleidea.com/blog/2018/06/29/hyperlinks-in-gnome-t...
        
       | flobosg wrote:
       | Cool idea. I get some Plan 9/plumbing vibes from this.
        
       | angry_octet wrote:
       | Nice. Linux has been missing out on this.
       | 
       | On macos you have the 'open <path>' command, which is equivalent
       | to double clicking that <path> object, whether it be a folder,
       | file or application; you can also drag a folder/file to the
       | terminal to paste it's path. No context menu <open terminal here>
       | by default, but I think there are add one which do that.
        
         | dixie_land wrote:
         | FWIW xdg-open works similar to open
         | 
         | https://linux.die.net/man/1/xdg-open
        
         | synthc wrote:
         | Linux has xdg-open to open files from the terminal
        
       | hprotagonist wrote:
       | https://news.ycombinator.com/item?id=33137057
       | 
       | dragon is great. goes very nicely with emacs/dired!
        
       | [deleted]
        
       ___________________________________________________________________
       (page generated 2022-12-02 23:00 UTC)