codrut.pro
  • CV
  • Projects
  • Snippets
  • Tags
  • More

CLI universal opener

April 22, 2021 One-minute read
linux • cli • productivity

Install Link to heading

sudo pacman -S xdg-utils

Use Link to heading

xdg-open path/to/file/or/direcotry

But typing xdg-open is hard, shorten it with:

sudo ln -s /usr/bin/xdg-open /usr/bin/open

Why this is not set up like so by default is beyond me…