# URI open plumber and xclip If you are not blessed with a terminal which can identify URI's and take some programmable action on selection[0], then I offer the following solution: Double clicking on a URI should put it into your xclip buffer. Verify this by selecting some text or URI and then running: > $ xclip -o If the above prints out the selected text or URI then you can proceed to install the plumber[1] and configure it to your requirements. ## Plumber configuration Configuration involves exporting environment variables to determine the application to be used for opening the specific URI/file type: PLUMB_IMAGE= PLUMB_MEDIA= PLUMB_GOPHER= PLUMB_TXTGOPHER= PLUMB_PDF= PLUMB_FILEMANAGER= PLUMB_WEB= PLUMB_TXTWEB= PLUMB_FEED= PLUMB_WAIS= PLUMB_CSO= PLUMB_NEWS= PLUMB_NEX= *Note: * If you are into self flagellation you could instead use xdg-open. Create a key binding to trigger calling the plumber with the contents of the xclip buffer. ## An example for ratpoison Edit .ratpoisonrc and add the following: > bind o exec plumb $(xclip -o) After restarting ratpoison you should be able to Ctrl-t+o to open selected URI's. ## References [0](gopher://gopher.icu/0/phlog/Computing/Smart-terminal-not-client.md) [1](git://r-36.net/plumber)