On Thu, Dec 02, 1999 at 06:23:19PM -0600, Bill Jacobs wrote:
> Let me clarify my question. I want to add a icon/shortcut to my RH 6.1
> desktop for Sun office 5.1. Which file do I use for the shortcut? I right
> click on the desktop and choose what......?  Does the file have a
> particular extension? because most files are executable, I don't which
> executable launches/starts the software so I can use it. Thanks.

For Staroffice, the executable would be "soffice". Extensions usually
don't come into the picture to determine whether a file is executable or
not, as this is solely detemrined by the permissions (see previous
mail). Other than that, you really only have the name to go by - pretty
much like in DOS or Windows as well.

Nonetheless, I'm surprised about your statement that "most files are
executable" - they should not be. In which directory are you looking? If
you are looking e.g. /usr/bin, it's normal that all files are
executable, as that directory is one of the main directory for binaries.
Same goes for other "bin" directories, e.g. /usr/local/bin, /bin,
/usr/X11R6/bin, etc. Outside of these directories, there are usually
only few executables.

If you have an application already running and its window is on screen,
the command "xprop" might help you to find out which executable belongs
to the window in question:

In a terminal window (e.g. xterm, konsole, kvt, rxvt, or similar), run
the command "xprop". The cursor should change to a cross. Click on the
window you want to get information about and you'll get a long list of
stuff in the window where you started xprop. Among the lines you get
should be one starting in "WM_COMMAND" - that'll give the command which
was used to start the window in question.
There might be KDE or Gnome utilities for this, however, as I'm not
using either, I don't know them.

HTH,

Thomas
-- 
             "Look, Ma, no obsolete quotes and plain text only!"

     Thomas Ribbrock | http://www.bigfoot.com/~kaytan | ICQ#: 15839919
   "You have to live on the edge of reality - to make your dreams come true!"


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to