Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7617369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:08:02+00:00 2026-05-31T03:08:02+00:00

In /usr/share/applications/ there are many desktop files. Here is an example: [Desktop Entry] Type=Application

  • 0

In /usr/share/applications/ there are many desktop files. Here is an example:

[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
Icon=eclipse
Exec=eclipse
Terminal=false
Categories=Development;IDE;Java;

I don’t understand why it doesn’t have something like:

Location=/usr/lib/eclipseEE/eclipse

As without this, how does the Ubuntu know which eclipse to run if there are more than one?
Tutorials keep pointing to these .Desktop files, which don’t seem to point to specific executables.

veterans please stop reading

For the glorious benefit of complete beginners: To view a list of your .Desktop files, press ctrl+alt+T to open a terminal. Type “cd /” to change directory to root, type “cd usr/share/applications” to change directory to where the links (shortcuts) are apparently located (They are also located in “/home/yourusername/.local/share/applications”, the unity menu will display links from both, it depends if you want to have the link for just your login, in case you put programs in your home folder, or whether you want to make the link available for other users. If you’re the only user it doesn’t matter). Type “ls” (LS) to list all files. To edit, say, “eclipse.Desktop” type “sudo nano eclipse.Desktop”, give password if asked, then you can edit. “^” means the control key, there is a list of commands at the bottom for save etc. To create an entry, “sudo nano newname.Desktop” and it will make one.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T03:08:03+00:00Added an answer on May 31, 2026 at 3:08 am

    See “Exec” line…

    [Desktop Entry]
    Type=Application
    Name=Eeeclipse
    Comment=Eclipse Integrated Development Environment
    Icon=eclipse
    Exec=/usr/lib/eeeclipse/eclipse
    Terminal=false
    Categories=Development;IDE;Java;
    Comment[en_GB]=Eeeclipse Integrated Development Environment
    

    Ubuntu assumes that things are in “/usr/lib/*look_in_ALL_the_folders*” and will ratch around for it… specify exactly where to avoid problems.

    THE HOLY GRAIL OF MAKING SHORTCUTS:

    sudo gnome-desktop-item-edit /usr/share/applications/ --create-new
    

    This one command, will create a link which will appear when you search unity launcher (ubuntu start menu) 0_0
    Make sure that for ‘command’, you type in “/usr/lib/teh_folder/application_executable” (or browse to it). If it doesn’t work, install:

    sudo apt-get install --no-install-recommends gnome-panel
    

    Noob note: The lines beginning “sudo” give root (admin) permission, and its inferred you type those commands into a terminal (and press enter. ctrl+alt+t to open a terminal in ubuntu. Ctrl+shift+V to paste into ubuntu terminal).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm on Linux mint 12. I want to run a program usr/share/application/firefox and then
My folder at: /usr/local/www/.ext_env_vars has a bunch of files in it that my app
Looking in my /usr/local/lib/python.../dist-package directory, I have .egg directories and .egg files. Why does
I have a .desktop file which associates my application (mmxfer) with specific mime types,
I'm buildnig application with boost.python library. I want to link it. Here is the
I have a project that shares some files between a Mac application and an
#!/usr/bin/python # -*- coding: iso-8859-1 -*- import Tkinter import twitter class simpleapp_tk(Tkinter.Tk): def __init__(self,parent):
#!/usr/bin/python # -*- coding: iso-8859-1 -*- import Tkinter class simpleapp_tk(Tkinter.Tk): def __init__(self,parent): Tkinter.Tk.__init__(self,parent) self.parent=parent
!/usr/bin/env perl use warnings; use strict; my $text = 'hello ' x 30; printf
in /usr/local i now have two mysql folders: mysql-5.1.34-osx10.5-x86 mysql-5.1.37-osx10.5-x86_64 is it possible to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.