Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm attempting to use the 'home icon quicklist' from Which custom Unity launchers and quicklists do you use?

I've checked perms and the like, but I'm no expert on quicklist syntax so I figured I'd ask here since others may be having this problem if they've done an inline upgrade from Lucid or Karmic.

After logging back in, the icon disappears completely as if there's some type of syntax error.

I'm pretty sure the OnlyShowIn line might be affecting it - is this the case and which lines can I safely nuke from the "Gnome" list before the desktop shortcuts? Is there a specific log file I can tail to take a look at why this might be failing?

[Desktop Entry]
Name=Home Folder
Comment=Open your personal folder
TryExec=nautilus
Exec=nautilus --no-desktop
Icon=user-home
Terminal=false
StartupNotify=true
Type=Application
Categories=GNOME;GTK;Core;
OnlyShowIn=GNOME;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=nautilus
X-GNOME-Bugzilla-Component=general
X-Ubuntu-Gettext-Domain=nautilus

X-Ayatana-Desktop-Shortcuts=Videos;Documents;Music;Pictures;Downloads
[Videos Shortcut Group]
Name=Videos
Exec=nautilus Videos
TargetEnvironment=Unity

[Documents Shortcut Group]
Name=Documents
Exec=nautilus Documents
TargetEnvironment=Unity

[Music Shortcut Group]
Name=Music
Exec=nautilus Music
TargetEnvironment=Unity

[Pictures Shortcut Group]
Name=Pictures
Exec=nautilus Pictures
TargetEnvironment=Unity

[Downloads Shortcut Group]
Name=Downloads
Exec=nautilus Downloads
share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

Removing this line and readding to the dock seems to have fixed the problem:

OnlyShowIn=GNOME;

You can also edit this line as follows:

OnlyShowIn=GNOME;Unity;
share|improve this answer
1  
The single line OnlyShowIn=GNOME; should be the only one needing removed, the others although not required are useful. –  Cas May 3 '11 at 16:03
1  
That seems to be true. Alternatively you can also add "Unity;" to the end of the OnlyShowIn line - it acts as a semicolon-delimited list. –  AvatarKava May 3 '11 at 17:58
    
Funnily enough I was reading the desktop entry specs and found that. –  Cas May 3 '11 at 18:19
    
Could you edit your answer to reflect this change in resolution. –  Cas May 3 '11 at 18:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.