In Ubuntu 16.04: when I run sudo nautilus from the terminal, a new window pops up but no arrow indicating an opened window appears besides the nautilus icon at the unity panel. When I minimize the root window and then click again on the icon, instead of opening the root window, a new non-root window pops up and suddenly two arrows appear near the nautilus icon. (Not even scrolling on top of the icon works to show the minimized window.) When I close the non-root window, only then the arrow indicating the root window stays on the panel and everything works like it should.
I also tried removing the nautilus icon from the panel and run sudo nautilus from the terminal. In that case a new icon appears with the arrow and everything behaves normal.
Is there a way to fix this? It is annoying.
gksuorgksudo nautilusbecause sudo wont really create a correct execution environment for GTK (programs w/ gui) programs. – ForceMagic Apr 24 '16 at 21:50gksu. And in addition to that, after runninggksu nautilusmy wallpaper reset to the default 16.04-one. Only after clicking the nautilus icon again, the arrows appeared and my custom wallpaper is back. – Václav Pavlík Apr 24 '16 at 21:54apt-get update && apt-get upgrade– ForceMagic Apr 24 '16 at 21:57sudo kateit does show the arrow besides an existing icon... And I have never usedgksuon 14.04 and still after runningsudo nautilusthere the arrow showed every time... – Václav Pavlík Apr 24 '16 at 21:59sudo kateand closing the window, the terminal resets itself normally.) – Václav Pavlík Apr 24 '16 at 22:084.4.0-64-generic. – Václav Pavlík Mar 13 '17 at 09:50