Search code examples
gnome-shellgnome-3nautilus

Display "open with other application" as a sub-menu


I am almost certain in an older version of Gnome 3, the context menu when right clicking on a file would contain an open with sub-menu. This menu is very useful for HTML files where sometimes I want to open these files in the browser, sometimes in a text editor.

The current solution (shown below) which requires selecting the application for the file using an open with dialog is much slower. Is there a way to revert to the older more efficient behaviour?

enter image description here


Solution

  • As an alternative using nautilus actions all you have to do is to download it using this command:

    sudo apt-get install nautilus-actions
    
    1. Search for "nautilus-actions" and click Nautilus-Actions Configuration.
    2. Click the add icon.
    3. from the actions tab write your context label like 'Open with firefox'
    4. Choose an appropriate icon.
    5. Go to command tab and browse or write your browser path like /usr/bin/firefox
    6. Save and go to your file right-click and you'll notice the Open With Firefox action.

    NOTE: you may have to logout to see the changes.