XDG-OPEN(1) xdg-open Manual XDG-OPEN(1) (NAME) xdg-open - (SYNOPSIS) xdg-open {file | URL} xdg-open {--help | --manual | --version} (DESCRIPTION) xdg-open (URL) . . . xdg-open file ftp http https . xdg-open . xdg-open (root) . xdg-open "-" : o realpath . o "./" . sed -E 's|^[^/]|./\0|'. o (file URL). (OPTIONS) --help . --manual . --version xdg-utils. (EXIT CODES) 0 . : 1 () . 2 . 3 . 4 . .desktop (fork) xdg-open . xdg-open . (REPORTING ISSUES) xdg-open . xdg-mime query default "$(xdg-mime query filetype path/to/troublesome_file)" (handler) . ( ) xdg- mime(1) default . ( ): ( xdg-utils xdg-utils ). xdg-open : https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues . (SEE ALSO) xdg-mime(1), xdg-settings(1), MIME applications associations specification[1] (EXAMPLES) xdg-open 'http://www.freedesktop.org' freedesktop.org . xdg-open /tmp/foobar.png PNG /tmp/foobar.png . (AUTHORS) Kevin Krammer . Jeremy White . (COPYRIGHT) (C) 2006 (NOTES) 1. MIME applications associations specification http://www.freedesktop.org/wiki/Specifications/mime-apps-spec xdg-utils 1.0 12/06/2025 XDG-OPEN(1)