LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 11-05-2003, 12:10 PM   #1
unholy
Member
 
Registered: Sep 2003
Location: Eire
Distribution: Ubuntu 7.10
Posts: 344

Rep: Reputation: 30
Some apps run from console but not desktop


Strangeness. I can run NetBeans from the command prompt

linux:/etc # cd /opt/NetBeans\ IDE\ 3.5.1/bin/
linux:/opt/NetBeans IDE 3.5.1/bin #./runide.sh

But it won't run from an icon I put on the desktop. The little sandtimer turns up in the panel, but then it goes away after a few seconds.

Another strange thing. Tab completion only gets me as far as /opt/NetBeans IDE 3.5.1/bin. Further tabbing usually presents a list of possible executables. I don't know what's going on here. Any help appreciated.

I'm using KDE.

Regards,
unholy
 
Old 11-05-2003, 01:38 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Re: Some apps run from console but not desktop

Quote:
Originally posted by unholy
Strangeness. I can run NetBeans from the command prompt

linux:/etc # cd /opt/NetBeans\ IDE\ 3.5.1/bin/
linux:/opt/NetBeans IDE 3.5.1/bin #./runide.sh

But it won't run from an icon I put on the desktop. The little sandtimer turns up in the panel, but then it goes away after a few seconds.
The program might require a terminal. Try something like this:

xterm -e <program>

slrn has the same problem as described by you, my 'shortcut' looks like this:

xterm +sb -fg black -bg gray -fn 8x13 -geometry 141x73-0+0 -e /usr/bin/slrn -f .jnewsrc --spool

I do a bit more, for details about all the options I use:

man xterm
Quote:

Another strange thing. Tab completion only gets me as far as /opt/NetBeans IDE 3.5.1/bin. Further tabbing usually presents a list of possible executables. I don't know what's going on here.
When the tab gives you a list of executables (or even direcories and/or files), it's asking you to help pick one. You do this by typing the first letter and hit tab again. If there are more files beginning with the letter you typed you need to type 2 letters (and so on and so on). I usually type 2 letters before hitting tab.

Hope this helps.
 
Old 11-05-2003, 03:19 PM   #3
unholy
Member
 
Registered: Sep 2003
Location: Eire
Distribution: Ubuntu 7.10
Posts: 344

Original Poster
Rep: Reputation: 30
Hey Drunna,
thanks, but that didn't work. I got it working by writing a script that cd's to the directory and runs the executable.

I think the executable has to be run from the directory it lives in. At least that's what I tell myself so I can sleep tonight

Thanks a lot!

Regards,
unholy
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE malfunctions, Apps won't run from kicker or desktop TMVanatta Linux - General 1 10-25-2004 09:20 AM
How to Run Win32 Console App in linux Console Lokie Linux - Software 2 08-12-2004 10:00 PM
Where have all my console apps gone? JordanH Red Hat 2 11-01-2003 09:14 PM
X apps from console after su tobyl Slackware 14 04-16-2003 04:37 PM
using custom fonts for console apps Beav Linux - General 1 09-28-2002 10:43 AM


All times are GMT -5. The time now is 12:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration