本文主要是介绍用nautilus命令打开文件管理器,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
Ubuntu下面,用nautilus命令可以打开文件管理器。后面可以直接跟一个.打开当前目录,然后在打开的文件管理器中再自由跳转。当然,也可以传目标目录。如果不跟任何参数,则打开Home目录。
flying-bird@flyingbird:~/examples/cpp/read_write_read$ nautilus .
flying-bird@flyingbird:~/examples/cpp/read_write_read$ nautilus --help
Usage:nautilus [OPTION...] [URI...] Browse the file system with the file managerHelp Options:-h, --help Show help options--help-all Show all help options--help-gtk Show GTK+ OptionsApplication Options:-c, --check Perform a quick set of self-check tests.--version Show the version of the program.-g, --geometry=GEOMETRY Create the initial window with the given geometry.-w, --new-window Always open a new window for browsing specified URIs-n, --no-default-window Only create windows for explicitly specified URIs.--no-desktop Never manage the desktop (ignore the GSettings preference).--force-desktop Always manage the desktop (ignore the GSettings preference).-q, --quit Quit Nautilus.-s, --select Select specified URI in parent folder.--display=DISPLAY X display to useflying-bird@flyingbird:~/examples/cpp/read_write_read$ nautilus --version
GNOME nautilus 3.10.1
flying-bird@flyingbird:~/examples/cpp/read_write_read$
这篇关于用nautilus命令打开文件管理器的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!