LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-18-2003, 01:30 AM   #1
newbutold
LQ Newbie
 
Registered: Jul 2003
Location: Vancouver, Canada
Distribution: RedHat 8.0
Posts: 3

Rep: Reputation: 0
Gnome create launcher for binary


I have been trying to create a launcher on my desktop for IBM's eclipse. Apparently the eclipse executable is a binary. When I create a launcher for it I get an invalid directory message...? e.g. /user/java/eclipse/eclipse where the last entry is the program to be executed. I've tried to put a ";" between the "/" and "eclipse" nut nothing seeems to work. Can anyone shed some light here?

Thanks in advance

newbutold
 
Old 07-18-2003, 02:07 AM   #2
aizkorri
Member
 
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434
Blog Entries: 1

Rep: Reputation: 55
well, I don't know...
are you sure that this is the binary?, I mean, it can be possible to be a binary called eclipse in /usr/bin.
can you execute /user/java/eclipse/eclipse in the console?
 
Old 07-18-2003, 08:11 AM   #3
newbutold
LQ Newbie
 
Registered: Jul 2003
Location: Vancouver, Canada
Distribution: RedHat 8.0
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your response.

I can go to the directory and execute the eclipse binary using ./eclipse. No problem. When I try it in the launcher it does'nt execute.

newbutold
 
Old 07-18-2003, 03:35 PM   #4
synecdoche
Member
 
Registered: Jul 2003
Location: British Columbia, Canada
Distribution: CollegeLinux 2.5
Posts: 148

Rep: Reputation: 15
I have the same problem.

For example, the binary for Neverwinter Nights is in /home/user/NWN/

And to run it, I would go to that directory and at the bash prompt type ./nwn

I wanted to make an icon for it on my root window, and so made a shortcut pointing to /home/user/NWN/nwn and it didn't work. Tried telling to run in a terminal. Didn't work. Tried changing it to ./nwn and it still didn't work.

I've yet been unable to figure it out.

-dave
 
Old 07-18-2003, 04:39 PM   #5
newbutold
LQ Newbie
 
Registered: Jul 2003
Location: Vancouver, Canada
Distribution: RedHat 8.0
Posts: 3

Original Poster
Rep: Reputation: 0
Well synecdoche, looks like no one has a solution for us. I've been to the gnome site and red hat to check the docs. There is no indication anywhere that I have looked that tells you what to do with a problem like this. The closest thing I came to involved the file/program associations function. I couldn't find any clear definition about this to understand it sufficiently to allow me to try anything with it. I'm not sure I'm even in the right forum!

Does anyone out there know where to get solid dependable information on how to use GNOME?

newbutold
 
Old 07-21-2003, 01:28 AM   #6
aizkorri
Member
 
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434
Blog Entries: 1

Rep: Reputation: 55
hi,
it could be that the binary is not in the PATH,
you can type

>PATH=/the/directory/where/binary/is:$PATH
in the console or add it to your .bashrc or .cshrc file so that it is set whenever you log in.
Then you should be able to execute the binary everywhere.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
create launcher in gnome innersmile Linux - General 3 06-09-2005 08:57 AM
create launcher in gnome innersmile Linux - Newbie 2 06-09-2005 07:32 AM
How to create a menu group and application launcher? kiranprashant Programming 5 02-26-2005 12:15 AM
How do I create application launcher using bash script msgclb Programming 2 01-30-2005 06:28 AM
Gnome Launcher Problem tonyfreeman Linux - Software 1 08-18-2004 05:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:54 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