LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-03-2017, 10:29 PM   #1
openation
LQ Newbie
 
Registered: Sep 2017
Location: EL PASO, TEXAS
Distribution: LINUX MINT 18.2
Posts: 2

Rep: Reputation: Disabled
Smile I am trying to install eclipse oxygen in the menu


Hello everyone, first of all i want to wish you all a very happy labor day! ............. well my question is. I am trying to install eclipse-oxygen in linux mint. The one it has it's kind of old and I am going to replace it with this one. I am a newbie in linux mint, I haven't learn it that well yet. The instructions they are giving me are these. To first download it, second extract it to home , and if I want it to run it from the menu to do this.i am using linux mint 18.2
I started to do this but its telling me that :

openation@ThinkCentre-A70 ~ $ sudo gedit /usr/share/applications/eclipse-oxygen.desktop
[sudo] password for openation:
sudo: gedit: command not found


to run eclipse from the menu
1. in the terminal enter this code:
sudo gedit /usr/share/applications/eclipse-luna.desktop
eclipse-luna will be replaced by your app name
2. copy paste the following lines into the newly opened .desktop file
[Desktop Entry]
Encoding=UTF-8
Exec=/home/user/eclipse-version/eclipse/eclipse
Icon=/home/user/eclipse-version/eclipse/icon.xpm
Type=Application
Terminal=false
Comment=Eclipse Integrated Development Environment
Name=Eclipse Luna
GenericName=eclipse-4.4 M4
StartupNotify=false
Categories=Development;IDE;Java;
user will be replaced by your user name. (must).
For Exec and Icon, the path should be correct i.e you must change "user" & "eclipse-version" according to your path. (must).
in "Name= Eclipse Luna " you can change the name whatever you want.(optional).

in "GenericName" you can put whatever you want. you can cut off this line too.(optional).
save & exit the .desktop file.
a new entry named "Eclipse Luna" will be added in the menu under the programming section.
3. now go to menu->programming->Eclipse Luna.
Enjoy... your eclipse environment....

LOL I am not going to say I am dum but this is how I feel. If there's someone out there that can instruct me step by step I would appreciated very much. Thank you so much.

Last edited by openation; 09-03-2017 at 10:30 PM.
 
Old 09-04-2017, 05:15 PM   #2
andros705
LQ Newbie
 
Registered: Feb 2016
Posts: 11

Rep: Reputation: Disabled
First at all replace all <USER> with your username.
Replace all <PATH> with the path to the directory you've just unpacked.

Go to this directory: /home/<USER>/.local/share/applications/
Inside this directory create a new file "eclipse.desktop"
Open it with a text editor of your choice and paste this into it:
Code:
[Desktop Entry]
Version=1.0
Type=Application
Name=Eclipse
Comment=A Java Development Environment
Icon=eclipse
Terminal=false
StartupNotify=true
Exec=<PATH>/eclipse
Path=<PATH>
Icon=<PATH>/icon.xpm
Notice the last three lines:
Exec = is the path to the eclipse executable inside the directory you've just unpacked. E.G: /home/<USER>/eclipse/eclipse
Path = is just the path to this directory E.G: /home/<USER>/eclipse
Icon = is the path to the icon.xpm which can be found inside this directory E.G: /home/<USER>/eclipse/icon.xpm

Save the file, open the terminal and type "cd /home/<USER>/.local/share/applications/" then type "sudo chmod +x eclipse.desktop"

After this you should log off and log in again so that your "menu" can reload itself.

Last edited by andros705; 09-04-2017 at 05:17 PM. Reason: Add one very important point
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install eclipse for java and eclipse cdt on Slack 14? vectrum Linux - Software 3 04-30-2013 12:13 AM
LXer: HOW TO Install Oxygen Transparent In KDE 4.10 LXer Syndicated Linux News 0 03-05-2013 04:50 AM
How do I install the Eclipse package downloaded from the Eclipse website? jamesth Linux - Newbie 14 11-01-2012 11:55 AM
LXer: Install Oxygen-transparent in KDE 4.8 (Kubuntu 11.10) LXer Syndicated Linux News 0 02-12-2012 04:10 AM
So, how exactly do I install Eric's Oxygen-GTK KDE theme? Lufbery Slackware 4 05-22-2011 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration