Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As it's a shell script it won't open by just pointing the link at it.
When I try the link "in terminal" it shows up for a few seconds then disappears.
I can start Azureus no problem from the cli no problem.
Hi Scorpio,
select "Create New -> File -> Link to application" in kde and in the Application tab add "sh /path/to/script" to the string in the line labeled Command:.
Hi Scorpio,
do you call the script with an absolute file name? If not, try adding the full path.
Also, try using the very same command on the command line and look out for any errors. If there are any, post them here, please.
I've tried using the full path including the .sh at the end and everything.
I don't get any errors because when I start a terminal in the directory and call up ./azureus it starts up fine.
I've tried using the full path including the .sh at the end and everything.
I don't get any errors because when I start a terminal in the directory and call up ./azureus it starts up fine.
I am confused: "./azureus" does not contain any .sh at the end? are you sure you are calling the correct command at all? ./azureus executes an executable called azureus (and nothing more and nothing less) in the current directory.
When I mouse over the file it tell's me it's a shell script.
But it indeed hasn't got the .sh file ext.
But still won't open when calling without the .sh.
Have you tried dragging the file on the desktop and choosing "link here" in the menu that pops up when you release it?
Works for me. But then the other ways worked also
Sounds like you got the wrong file. Check if there is an executable (probably called azureus) in the path (there has got to be at least one). Try the dragging trick with that.
Good luck,
- drowstar
Scorpio,
I was wrong about this being the wrong file. It probably was the right one in the first place. However, I cannot imagine, why it would not work adding the command sh before the path to the script. (the thing we tried first)
By the way: Are you certain, you added shbefore the path to the script? This thought just occured to me, when I was going over the steps we have tried (I am wondering, because your idea of adding ".sh" came up right after that).
It dosn't do anything because it has to be run from a terminal
Does it say, it cannot be launched from the Desktop? Else, how did you come to this conclusion?
Anyways, if this does not work, I had a look at the azureus website:
Quote:
If Azureus does not show up after a minute, you can try starting it manually:
GTK: java -cp swt.jar:swt-pi.jar:systray4j.jar:Azureus2.jar -Djava.library.path=./ org.gudy.azureus2.ui.swt.Main
Try using this command in "link to application" instead of the link to the azureus script file.
Good luck,
- drowstar
ps: I have no clue why it wont work the usual way, however. You can ICQ or Jabber me (see my profile) if you would like to work this out in a more direct way.
Scorpio,
azureus is a java bit torrent client, right? and it uses a graphical user interface, right again? (These are real questions)
If I am correct about the above, you dont need to launch it in a terminal as long as it is correctly interpreted (i.e. the program sh (or bash, ...) is called to interpret the file).
There is another idea: what happens, when you click on the file named azureus in the directory (not a link, the real thing)?
Open with dialog? make sure it is executable for the user:
try this in the terminal: ls -lx azureus
if azureus is listed, everything should be fine (damn!)
else: chown <user>:users * -R
where <user> is your username chmod u+rx azureus
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.