|
|
|
|
Re: How am I supposed to install Eclipse 3.7 C++ in ubuntu 11.10? [message #760661 is a reply to message #760567] |
Sat, 03 December 2011 18:23   |
Eclipse User |
|
|
|
On 2011.12.02 16:32, David Wegener wrote:
> On 12/02/2011 12:22 PM, Russell Bateman wrote:
>> On 02-Dec-11 06:05, Arman wrote:
>>> So I know we're not supposed to install eclipse some the repositories,
>>> so I downloaded it from this website. I extracted it and it runs, but I
>>> have no desktop/unity shortcut now, and ubuntu being ubuntu I can't add
>>> a shortcut to Unity without installing more software I don't want.
>>> So how am I supposed to install the Eclipse 3.7 C++ for linux developers
>>> (32 bit) under ubuntu 11.10?
>>
>> Here are the steps I use to create a launcher for Eclipse on my GNOME
>> desktop in Ubuntu (all Ubuntu releases I've ever used):
>>
>> 1. Right-click out on empty desktop.
>> 2. Choose Create Launcher...
>> 3. Type "Indigo" for Name:
>> 4. Click Browse...
>> 5. Go find file eclipse where you exploded your Eclipse download.
>> 6. Click the funny icon in the Create Launcher dialog.
>> 7. Go back to where you exploded your Eclipse download and click on
>> icon.xpm.
>> 8. Click OK.
>>
>> And there you are. If you want it on the top (panel) bar, just click on
>> it and drag it up there.
>>
>> Hope this helps.
> You must not have upgraded to 11.10 yet. Right clicking on the Desktop
> no longer provides the Create Launcher option. You now have to manually
> create the desktop file or copy an existing one.
Ah, good to know. This is yet another reason to eschew Natty, Oneiric
and Unity altogether.
|
|
|
Re: How am I supposed to install Eclipse 3.7 C++ in ubuntu 11.10? [message #760737 is a reply to message #760512] |
Sun, 04 December 2011 18:50  |
Eclipse User |
|
|
|
dpwegener wrote on Fri, 02 December 2011 11:12You will have to manually create a desktop file for Eclipse. Once you create the file, you can use Nautilus to browse to the folder containing the desktop file. Drag to the Ubuntu Launcher.
One shortcut is to create the desktop file in the Desktop folder. This will then display the file on the Desktop. You can just drag and drop from their.
Here is a sample desktop file. Call it indigo.desktop and make sure that you have execute permission on the file. Change the paths in Icon, Exec, and Icon[en_US] to point to the appropriate places in your system.
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=/home/myname/indigo/eclipse/icon.xpm
Name[en_US]=Indigo
Exec=/home/myname/indigo/eclipse/eclipse
Name=Indigo
Icon=/home/myname/indigo/eclipse/icon.xpm
That worked for me, thanks. So why did they make it so hard to just run a simple program? Why doesn't unity have a "add launcher" option?
|
|
|
Powered by
FUDForum. Page generated in 0.09815 seconds