2012-03-22 81 views

回答

8

xdg-open如果您有一个freedesktop.org兼容的环境。

0

Linux中有几个命令可以帮助您打开与应用程序相关的文件。如果你知道打开文件的应用程序,那么这可能工作。我不知道你是否在寻找这个

env DISPLAY =:0.0 firefox“google.com” 打开Firefox并打开google.com打开它。您可以替换应用程序名称和文件名并使用此命令。

0

尝试“gnome-open”,为Gnome供电的发行版。

gnome-open random-file.torrent将打开我的torrent应用程序。

相关问题