Ubuntu右键添加Sublime打开文件夹
1,进入【~/.local/share/nautilus/scripts】目录
cd ~/.local/share/nautilus/scripts
2,创建一个名为Sublime(可自定义)的文件
touch Sublime
3,添加如下内容(引号内容为Sublime应用程序的绝对路径)
#!/bin/bash exec "Sublime应用程序全路径" $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS
4,添加执行权限
chmod +x Sublime
参考如下:
参考来源:https://blog.csdn.net/sinat_19447667/article/details/72781455?utm_medium=distribute.pc_relevant_t0.none-task-blog-OPENSEARCH-1.not_use_machine_learn_pai&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-OPENSEARCH-1.not_use_machine_learn_pai