6

I followed this question:

How to add my favorite places as a quicklist in my home's icon in Unity?

And created the launcher. It's pretty good, as you can see here:

But when I click it (be 'it' itself or any of the shortcuts) another launcher, the dull one, gets to represent nautilus in Unity, as you can see here:

I even backed nautilus.desktop up at /usr/share/applications so and then copied my custom launcher to this system folder --- but it still doesn't work!!!

So, what can I do?

4 Answers4

3

I did't copy /usr/share/applications/nautilus.desktop to ~/.local/applications and just worked on the original file.

gksu gedit /usr/share/applications/nautilus.desktop

Afterwards I pulled the Nautilus/File Manager starter from /usr/share/applications to the launcher. Even worked after a reboot.

As you only add something at the end of the file it's easily reversible.

joschi
  • 1,794
0

Alright I think I've figured this out. First of all you do need to edit the file in /usr/share/applications/ but the thing is after you've edited it instead of right-clicking on the icon while Nautilus is open and selecting "Keep in Launcher" you need to open up the dash and drag the Home folder icon over to the Launcher instead. For some reason that made it work for me!

0

This is a duplicate of this question. I put a detailed description of the solution there. There is also a bug report.

It is not the nautilus.desktop but the nautilus-home.desktop that you are supposed to modify, I think that's why you had to find another launcher and had icon problems. If you modify /usr/share/applications/nautilus-home.desktop, it works after reboot without any more steps.

smoortema
  • 170
0

There is no reason why you can't use a modded nautilus-home.desktop in ~/.local/share/applications or any other copied & modded .desktop

Actually in many/most cases it's preferred for various reasons.

The issue is that when copying the .desktop there is a line that needs to be removed for it to work correctly from the alternate location.

Just remove this line & it's space from your modded .desktop in ~/local/share/applications. (if the line exists - does in many .desktops

OnlyShowIn=GNOME;Unity;

All should be well, if need be log out/in. This is for 11.10 & atm 12.04 pre-alpha

doug
  • 17,212