总目录 - Ubuntu 应用软件安装 && 开发环境搭建测试 目录
Intro
查看对应的程序名
右击Dock栏中的Files图标,单击Show Details
。
可看到:
可知这个文件管理的程序名称为
nautilus
。
位置
wuyujin@ubuntu18:~$ which nautilus
/usr/bin/nautilus
wuyujin@ubuntu18:~$
可知该命令在/usr/bin/nautilus
,该路径在PATH环境变量中。
应用
设置快捷键打开文件管理器
Settings
-> Devices
-> Keyboard
,就是快捷键设置。
下拉至最后,点击+
,
设置name和command以及快捷键。
如图:
之后可按
Windows+E
呼出文件管理器。
(windows中默认有这个功能快捷键)
命令行中打开对应路径的快捷键
已经知道Ubuntu的文件管理程序的程序名为nautilus
- 查看帮助信息
wuyujin@ubuntu18:~$ nautilus --help
Usage:
nautilus [OPTION…] [URI…]
Help Options:
-h, --help Show help options
--help-all Show all help options
--help-gapplication Show GApplication options
--help-gtk Show GTK+ Options
Application Options:
-c, --check Perform a quick set of self-check tests.
--version Show the version of the program.
-w, --new-window Always open a new window for browsing specified URIs
-n, --no-default-window Only create windows for explicitly specified URIs.
-q, --quit Quit Nautilus.
-s, --select Select specified URI in parent folder.
--display=DISPLAY X display to use
wuyujin@ubuntu18:~$
可知,用法为nautilus [OPTION…] [URI…]
那么打开文件管理器,并同时指定路径的命令:
nautilus . &
打开文件管理器,打开位置为当前目录。
其中&
表示命令后台运行。
也可以将.
换成自己想要查看的URI。