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 am trying to install ZendStudio 8 (Eclipse based) on 11.04 and am kinda stuck at the part were I can get it into the Applications list.

ZendStudio prior to version 8 came with a magic .bin which installed it all no problems, but now it simply comes as a folder all set up to be run as-is. I have copied this folder to /opt/ZendStudio, and I can launch the program using /opt/ZendStudio/ZendStudio but in the Unity Launcher it shows up with a grey box and a big Question Mark as it's icon.

However, I'd like it to be show up in the Applications list so I can search for it and load it like a normal application.

I also want to Pin it to the launcher so it stays there the whole time, and I tried this with running it directly but it didn't work and it didn't load up the application icon.

Any ideas how I can finish the install so it is in my menus etc?

share|improve this question
add comment

2 Answers

up vote 8 down vote accepted

Try this (from a terminal):

  1. Create a new .desktop file:

    gedit ~/.local/share/applications/zend-studio.desktop

  2. Add the following to that file:

    [Desktop Entry]
    Name=Zend Studio 8
    Exec=/opt/ZendStudio/ZendStudio
    Icon=/path/to/icon
    Terminal=false
    Type=Application
    StartupNotify=true
    

    For Icon=/path/to/icon: you'll likely find the icon somewhere in /opt/ZendStudio.

  3. Save it and make that file executable:

    chmod +x ~/.local/share/applications/zend-studio.desktop
    
  4. Now browse to that file in Nautilus, double-click to start and then try to pin it to the launcher.

share|improve this answer
    
Fantastic, thank you, now it shows up in the Applications list :) Although it still doesn't have the icon in the Launcher –  Valorin Mar 14 '11 at 0:00
    
mmm... and the global menu doesn't work either. I think there might be issues with Eclipse and Unity which are causing this. –  Valorin Mar 14 '11 at 0:04
    
Followed these instructions for IntelliJ and it didn't work until after a restart. –  jnewman Oct 20 '11 at 14:04
    
@Josh What exactly didn't work? Running it, pinning it? –  htorque Oct 20 '11 at 14:16
    
Hard to say, it froze while loading. I logged out and back in and it would launch from terminal, but not from the launcher. On restart it launched as expected. –  jnewman Oct 20 '11 at 17:34
add comment

For the global menu, try this:

env UBUNTU_MENUPROXY=0 ./ZendStudio

And there's also a bug report about it: https://bugs.launchpad.net/ubuntu/+source/indicator-appmenu/+bug/725331

share|improve this answer
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.