How can I add a custom item to the nautilus context menu, but NOT in a sub-menu?

Mendhak

I am interested in adding a custom script to the Nautilus context menu. I am aware of solutions such as the Scripts folder and the Nautilus Actions application.

I created a test action in Nautilus Actions, but it only appears under the "Nautilus-Actions actions" submenu.

I would like to be able to add an item to the root level of the context menu itself (at the same level as cut, copy, dropbox, compress...) and not in a submenu.

Is this possible with Nautilus Actions?

If it isn't, is there any other way? (If it involves coding or strange configuration changes, that's OK too)

user55822

You can do it with nautilus-actions. Launch nautilus-actions-config-tool and go to Edit > Preferences > uncheck "Create a root Nautilus Actions menu" and bottom of the first tab. -- This affects all actions.

enter image description here

Also, in the left panel the entries (actions) can be grouped as sub-menus. Create your actions (New action'), then create a 'New menu' with right-click or under 'File' for each action category, and then drag&drop your actions of that category on it.

enter image description here

Which gives this:

enter image description here

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How do I add a custom context menu for 'git gui' in Nautilus?

How can I add an icon to my custom context menu item in Windows 7?

How can I add an item to the 'new' context menu?

How can I add a custom item to a NavigationView with a menu layout?

How can I restores Nautilus' old open with context menu?

How can I add sub navigation to menu?

How can I assign a context menu to a toolstrip menu item in winform?

How to add item to context menu?

How do I customize the context menu in Nautilus?

How can i add a tooltip to menu item?

How can I add a menu item to the right click menu?

How to add <i> item if menu has sub-menu into wp_nav_menu

How can I add context menu on listview item right click with the mouse?

How to add an item to my "Send To" context menu

How can I create a desktop icon with a custom context menu

How to add "Open terminal here" to Nautilus' context menu?

How do I make my extension add a menu item to a context menu in VS Code?

How to add a menu item in Delphi's IDE context menu

How can I add a context menu to a browser action with a Chrome extension?

How can I add a context menu to the Windows Explorer for a Java application?

How can I add an option to the context menu dynamically in a Chrome extension?

How can I add a context menu for an entire row of a WPF grid?

How can I add a Context Menu to a Table Layout?

How can I add a program to the context menu of all files?

How can I add a context menu extension for the root directory?

How can i add a context menu to a richTextBox control?

How can I add a option to a GameObject in the Hierarchy context menu?

How can I add a Click Event Handler to a DataGrid Context Menu?

How can I add a context menu to UI element in MAUI?