Saturday, September 3, 2016

Nautilus: Add touch action in context menu

This is a modification I make to nautilus in every computer I own.

Just make a 'touch' option available when you select a file or folder. This tutorial can be modified to include other commands as well. I have used it for Ubuntu 12.04, 14.04 and 16.04.



First, install nautilus actions

sudo apt-get install nautilus-actions

and launch it.

nautilus-actions

(1) Create a new item
  • Create the item using the '+' icon and name the action (Ex: 'Touch'). Use a short name, since it is used in teh context menu
  • Edit Action and Command tabs accordingliy. Ex:
    • Path: /usr/bin/touch
    • Parameters: %F (see Legend button to get more options)
    • Working directory: %d
  • Save (icon save)




(2) Right click on the new action that appeared in the Item list area
  • go to preferences
  • Ensure the 'Nautilus menu layout' > 'Create a root...' is disabled

Restart Nautilus
pkill nautilus


Well done!

2 comments:

  1. Wow! fantastic blog post from you. Thank you so much. This blog has some very useful information regarding Another Step Forward for Customize Your Twitter Backgrounds to Boost Traffic. ASK US FOR MORE INFORMATION ABOUT OUR SERVICES IF YOU ARE LOOKING FOR THE FASTEST AND CHEAPEST Dubai VPS Server.

    ReplyDelete
  2. Your article is worth reading and informative but if you are interested to know about Russia VPS Server contact us now

    ReplyDelete