我打开 PDF 文件的默认应用程序是 Adobe Acrobat XI Pro。
我希望能够通过适用于 Linux 的 Windows 子系统使用此程序打开 PDF 文件。
目前,当我运行时,xdg-open main.pdf
我得到了这个输出:
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%{ <-- HERE (.*?)}/ at /usr/bin/run-mailcap line 528.
Error: no "view" rule for type "application/pdf" passed its test case
(for more information, add "--debug=1" on the command line)
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: www-browser: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: links2: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: elinks: not found …
Run Code Online (Sandbox Code Playgroud)