Nautilus missing context-menu button (gear icon) in Ubuntu 14.04

Solution 1:

As far as I know... with nautilus 3.10 in Ubuntu 14.04 there is a new patch to the source named restore-traditional-menu-bar.patch to bring back the "File | Edit | View | Go | Bookmarks | Help" menus instead the new "View" & "Location" buttons.

In Nautilus 3.6, introduced in raring, the menu layout was changed from the traditional all-entries-in-one-menubar to: * an application menu called "Files" in the Unity menu bar * a view menu has moved to some toolbar buttons and a dropdown under an arrow in the upper right of a window * all other menu items have moved to a cog button dropdown in the upper right of a window

For Unity, we should probably switch back to the more traditional layout (and keep the new layout for GNOME). I'll assign an Ayatana task to get design guidance on what the layout should be.

------------------------ Desired resolution:

  • Remove the 'cog' icon from the top right of the Nautilus toolbar. Move the view and search buttons over to the right, so that the right most view button occupies the position which previously held the cog button.

In this way if you are using Unity you have the traditional menu, but if you are using gnome, gnome-session-flashback you have the new menu buttons.

Nautilus in Unity:

enter image description here

Nautilus in Gnome-Flashback:

enter image description here

If you want to have the traditional menu with the new buttons in Unity...You can try to edit the nautilus source code.

NOTE: I recommend you to do this in a Virtual Machine or in a Test Machine to see is everything is OK. In this example I'm running Ubuntu "14.04" with "nautilus 3.10.1".

1) Make sure you have enable the Source code repository

  • Open the Ubuntu Software Center
  • In the Menu Bar choose Edit -> Software Sources. Click to enable "Source code repository". Just in case I use the "Main Server" to Download.

enter image description here

Open a Terminal window Ctrl+Alt+T and type:

  • sudo apt-get update

2) In the Terminal type the following to install the necessary packages.

  • sudo apt-get install build-essential quilt

3) Install build dependencies.

  • sudo apt-get build-dep nautilus

4) Create a folder to download the source code.

  • mkdir ~/Downloads/src

  • cd ~/Downloads/src

5) Download the source code & Export variables.

  • apt-get source nautilus

  • export QUILT_PATCHES=debian/patches

  • export EDITOR=gedit

6) Create the patch and Edit the source code.

  • cd nautilus-3.10.1/

  • quilt new 99_restore_menu_buttons.patch

  • quilt edit src/nautilus-toolbar.c

Remove the lines... 550 and 572.

Remove the line 550

if (nautilus_toolbar_show_menu_buttons ()) {

Remove the line 572

}

Save the changes.

Before:

enter image description here

After:

enter image description here

7) Compile and build the deb packages.

  • quilt refresh

  • fakeroot dpkg-buildpackage

8) Install the deb packages.

  • cd ..

  • sudo dpkg -i *deb

9) Finally you can logout & Login or Kill Nautilus and restart it or Reboot your machine to see the changes.

Before:

enter image description here

After:

enter image description here

enter image description here

Hope this helps.

Solution 2:

That button has been replaced by a standard menu, which will be (by default) the global menu at the top of the screen or (if changed) in the title bar. Not sure if the menu is laid out the same or not, but no functionality is removed with this change.

Solution 3:

Just a thought here I just installed mine and the gear icon exists so I figure since I have default options

if you launch dconf editor

and set defaults

to all tabs under gnome > nautilus

with

nautilus -q

and open nautilus

could it be related to this bug ??

pic

it seems that they are working on it

did you tried nemo and things are missing there too ??

Solution 4:

Combining NGRhodes and billybadass's answers, I can confirm that this is a Unity-only feature. Upstream GNOME nautilus still has this feature and this feature has specifically been changed for users using Unity. The gear icon has been removed in Unity to combine them in the menu bars- all features of the gear icon are in the respective menus.

I confirmed this with the nautilus mailing provide and will soon attach the respective mails(it seems like they are not in Google's index right now, so you won't get them googling). Posting a part of the mail here, for you reference, replied by Emmanuele Bassi, the Director at GNOME Foundation:

it(The gear icon)'s still there. I think Ubuntu is patching out some stuff related to header bars, but that's a Ubuntu-only thing, and upstream GNOME has nothing to do with it.

The easiest but the most undesirable way would be switch to GNOME(no one would do that for the gear icon, I believe). I'll update my answer as soon as I find a way, if possible, to get this gear icon back on Unity.