Results 1 to 3 of 3

Thread: Finishing Touches to Eclipse Configuration

  1. #1

    Default Finishing Touches to Eclipse Configuration

    I'm currently using OpenSuse 13.1 64bit with the KDE desktop.

    I downloaded the Eclipse Luna 64bit tarball from the official site. One thing before I state the problem is that after configuring Eclipse it does run successfully with no problems. However, when I created the desktop shortcut for the program, it does exist on the Desktop and works properly, but the specialized image for the shortcut isn't displayed. I looked back into the eclipse directory to verify if an icon design existed, and there indeed is. The file name for the icon is simply "icon.xpm". I might've done something wrong when creating the desktop shortcut, but I can't find out why. I'll explain my process of how I configured the program, and perhaps someone can explain how I messed up, or if it might be something else.

    First, I logged into root, then unpacked the tarball. After that I copied the extracted folder into /opt. Basic configuration was complete, now I needed to create the desktop shortcut. So I opened nano in the terminal and typed all of this in:

    Code:
    [Desktop Entry]Name=Eclipse 
    Type=Application
    Exec=eclipse
    Terminal=false
    Icon=eclipse
    Comment=Integrated Development Environment
    NoDisplay=false
    Categories=Development;IDE; Name[en]=Eclipse
    I exited nano, then I typed this code in:

    Code:
    desktop-file-install eclipse.desktop
    Then created a symlink using:

    Code:
    cd /usr/local/bin
    ln -s /opt/eclipse/eclipse
    And that's all I did.

    Now the other thing I'd like to be done before declaring the configuration complete is to have a shortcut in the Application launcher. I don't know how to add shortcuts to the launcher (new to KDE). so hopefully someone can enlighten me on how to do that.

    These aren't really critical problems, since I can run Eclipse just fine, but if I just let it be, it'd soon bug the heck out of me. I'm just nitpicky like that Anyway, any help you can give would be great. Thanks!

    Cmiller

  2. #2
    josephkk NNTP User

    Default Re: Finishing Touches to Eclipse Configuration

    On Fri, 27 Jun 2014 04:36:01 GMT, Cmiller21
    <Cmiller21@no-mx.forums.opensuse.org> wrote:

    >
    >I'm currently using OpenSuse 13.1 64bit with the KDE desktop.
    >
    >I downloaded the Eclipse Luna 64bit tarball from the official site.


    I try to avoid installing from tarballs but when i do i expect to use the
    following standard method (with tarball the target directory):

    CODE:
    ---------------------
    untar -xvf ./the_tarball.tar [whatever the filenames is]
    ../configure
    make
    su -
    make install
    exit
    ---------------------
    /CODE:

    >One
    >thing before I state the problem is that after configuring Eclipse it
    >does run successfully with no problems. However, when I created the
    >desktop shortcut for the program, it does exist on the Desktop and works
    >properly, but the specialized image for the shortcut isn't displayed. I
    >looked back into the eclipse directory to verify if an icon design
    >existed, and there indeed is. The file name for the icon is simply
    >"icon.xpm". I might've done something wrong when creating the desktop
    >shortcut, but I can't find out why. I'll explain my process of how I
    >configured the program, and perhaps someone can explain how I messed up,
    >or if it might be something else.
    >
    >First, I logged into root, then unpacked the tarball. After that I
    >copied the extracted folder into /opt.


    Please always unpack to where you are going to use it. It helps untar get
    the prefixes right.

    >Basic configuration was complete,
    >now I needed to create the desktop shortcut. So I opened nano in the
    >terminal and typed all of this in:
    >
    >
    >Code:
    >--------------------
    > [Desktop Entry]Name=Eclipse
    > Type=Application
    > Exec=eclipse
    > Terminal=false
    > Icon=eclipse
    > Comment=Integrated Development Environment
    > NoDisplay=false
    > Categories=Development;IDE; Name[en]=Eclipse
    >--------------------
    >
    >
    >I exited nano, then I typed this code in:
    >
    >
    >Code:
    >--------------------
    > desktop-file-install eclipse.desktop
    >--------------------
    >
    >
    >Then created a symlink using:
    >
    >
    >Code:
    >--------------------
    > cd /usr/local/bin
    > ln -s /opt/eclipse/eclipse
    >--------------------
    >
    >
    >And that's all I did.


    All of that should have been automatic by using the standard install from
    tarball method.
    >
    >Now the other thing I'd like to be done before declaring the
    >configuration complete is to have a shortcut in the Application
    >launcher. I don't know how to add shortcuts to the launcher (new to
    >KDE). so hopefully someone can enlighten me on how to do that.
    >
    >These aren't really critical problems, since I can run Eclipse just
    >fine, but if I just let it be, it'd soon bug the heck out of me. I'm
    >just nitpicky like that Anyway, any help you can give would be great.
    >Thanks!
    >
    >Cmiller


  3. #3
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,746

    Default Re: Finishing Touches to Eclipse Configuration

    To associate a icon with a shortcut on KDE right click the short cut select properties click the big icon on the first tab navigate to icon file and select

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •