LinuxQuestions.org
Review your favorite Linux distribution.
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 06-25-2011, 01:43 PM   #1
daudiam
Member
 
Registered: Mar 2010
Posts: 68

Rep: Reputation: 15
problem assigning custom command for an application


I am using Ubuntu 11.04 (in the classic mode)

Whenever I double-click my sqldeveloper.sh file, it gives weird errors. When I did :
Code:
sh /home/user/Softwares/sqldeveloper/sqldeveloper.sh
on the terminal, the program started up. So, I went to the "open with" on the shell file, "Select custom command" and typed the above, but nothing happened. What should I type as the custom command ?

Last edited by daudiam; 06-25-2011 at 01:44 PM.
 
Old 06-26-2011, 07:54 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
For a start we'd need to see the errors, the script content (possibly) and the ownerships/permissions.
 
Old 07-02-2011, 09:44 AM   #3
daudiam
Member
 
Registered: Mar 2010
Posts: 68

Original Poster
Rep: Reputation: 15
Thanks. When I changed the permission of the sh file to 777, it started offering me an option to execute it in the terminal. Thanks a lot.
 
  


Reply

Tags
custom


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
[SOLVED] problem with assigning output of ls command to variable when ls produces error tanasqui Linux - Newbie 5 04-30-2011 06:02 PM
Assigning custom string to std::string in C++ jh7777 Programming 4 10-13-2009 01:02 AM
assigning timestamp of one file to another using touch command Fond_of_Opensource Linux - Newbie 2 11-08-2006 12:17 AM
command application problem mkingiii Programming 4 10-27-2006 01:24 AM
Web hosting application- assigning disk space ssudhi Linux - Newbie 1 05-01-2004 06:09 PM

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

All times are GMT -5. The time now is 05:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration