小编Abr*_*ham的帖子

Ubuntu for Windows -- 无法通过 xdg-open 打开 PDF 文件

我打开 PDF 文件的默认应用程序是 Adob​​e 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)

bash pdf windows-subsystem-for-linux

6
推荐指数
1
解决办法
3306
查看次数

标签 统计

bash ×1

pdf ×1

windows-subsystem-for-linux ×1