在 Ubuntu 中启用 "新建文档" 上下文菜单 17.04 nautilus

ubuntu 17.04

The default Nautilus file browser lacks ‘New Document’ option in its context menu (right-click menu) in my fresh installed Ubuntu 17.04 Unity Desktop.

When you right-click on blank area in Nautilus or Ubuntu Desktop, you’ll find there miss the ‘New Document’ option in the pop up menu.

It’s easy to re-enable the option in Nautilus context menu. As it prompts in Templates folder, simply create an empty document in Templates, the file name will be displayed as sub-menu option of ‘New Document’ menu.

While you can’t create a file via the context menu, do it via touch 命令:

1. 按下 Ctrl + Alt + T 或寻找"终端",从开始菜单打开终端. 当它打开, 运行命令:

touch ~/Templates/Untitled Document

This command creates an empty file called ‘Untitled Document‘ in the Templates folder.

Tip: the backslash in the code tells that the space following it is part of the filename since the shell treats whatever comes after a space as a separate argument.

2. Now right-click on your desktop or blank area in Nautilus browser, the pop up context menu will look like:

一个响应

  1. 但丁Leoncini

留言